armmigrationassessment

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: MIT Imports: 15 Imported by: 0

README

Azure Migrationassessment Module for Go

The armmigrationassessment module provides operations for working with Azure Migrationassessment.

Source code

Getting started

Prerequisites

  • an Azure subscription
  • Go 1.18 or above (You could download and install the latest version of Go from here. It will replace the existing Go on your machine. If you want to install multiple Go versions on the same machine, you could refer this doc.)

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Migrationassessment module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Migrationassessment. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Client Factory

Azure Migrationassessment module consists of one or more clients. We provide a client factory which could be used to create any client in this module.

clientFactory, err := armmigrationassessment.NewClientFactory(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options := arm.ClientOptions {
    ClientOptions: azcore.ClientOptions {
        Cloud: cloud.AzureChina,
    },
}
clientFactory, err := armmigrationassessment.NewClientFactory(<subscription ID>, cred, &options)

Clients

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.

client := clientFactory.NewAksAssessmentOperationsClient()

Fakes

The fake package contains types used for constructing in-memory fake servers used in unit tests. This allows writing tests to cover various success/error conditions without the need for connecting to a live service.

Please see https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/samples/fakes for details and examples on how to use fakes.

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Migrationassessment label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AKSAssessment

type AKSAssessment struct {
	// The resource-specific properties for this resource.
	Properties *AKSAssessmentProperties

	// READ-ONLY; If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
	// Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
	// (section 14.27) header fields.
	ETag *string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AKSAssessment - ARM model of AKS Assessment.

func (AKSAssessment) MarshalJSON

func (a AKSAssessment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessment.

func (*AKSAssessment) UnmarshalJSON

func (a *AKSAssessment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessment.

type AKSAssessmentDetails

type AKSAssessmentDetails struct {
	// READ-ONLY; Gets date and time when assessment was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Gets the number of machines.
	MachineCount *int32

	// READ-ONLY; Gets assessment status.
	Status *AssessmentStatus

	// READ-ONLY; Gets the total monthly cost.
	TotalMonthlyCost *float32

	// READ-ONLY; Gets date and time when assessment was last updated.
	UpdatedTimestamp *time.Time

	// READ-ONLY; Gets the number of web apps.
	WebAppCount *int32

	// READ-ONLY; Gets the number of web servers.
	WebServerCount *int32

	// READ-ONLY; Gets Confidence score.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; Gets last time when rates were queried.
	PricesTimestamp *time.Time
}

AKSAssessmentDetails - Data model of AKS Assessment Details.

func (AKSAssessmentDetails) MarshalJSON

func (a AKSAssessmentDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentDetails.

func (*AKSAssessmentDetails) UnmarshalJSON

func (a *AKSAssessmentDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentDetails.

type AKSAssessmentListResult

type AKSAssessmentListResult struct {
	// REQUIRED; The AKSAssessment items on this page
	Value []*AKSAssessment

	// The link to the next page of items
	NextLink *string
}

AKSAssessmentListResult - The response of a AKSAssessment list operation.

func (AKSAssessmentListResult) MarshalJSON

func (a AKSAssessmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentListResult.

func (*AKSAssessmentListResult) UnmarshalJSON

func (a *AKSAssessmentListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentListResult.

type AKSAssessmentOptions

type AKSAssessmentOptions struct {
	// The resource-specific properties for this resource.
	Properties *AKSAssessmentOptionsProperties

	// READ-ONLY; If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
	// Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
	// (section 14.27) header fields.
	ETag *string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AKSAssessmentOptions - ARM model of AKS Assessment Options.

func (AKSAssessmentOptions) MarshalJSON

func (a AKSAssessmentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentOptions.

func (*AKSAssessmentOptions) UnmarshalJSON

func (a *AKSAssessmentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentOptions.

type AKSAssessmentOptionsListResult

type AKSAssessmentOptionsListResult struct {
	// REQUIRED; The AKSAssessmentOptions items on this page
	Value []*AKSAssessmentOptions

	// The link to the next page of items
	NextLink *string
}

AKSAssessmentOptionsListResult - The response of a AKSAssessmentOptions list operation.

func (AKSAssessmentOptionsListResult) MarshalJSON

func (a AKSAssessmentOptionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentOptionsListResult.

func (*AKSAssessmentOptionsListResult) UnmarshalJSON

func (a *AKSAssessmentOptionsListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentOptionsListResult.

type AKSAssessmentOptionsProperties

type AKSAssessmentOptionsProperties struct {
	// READ-ONLY; Gets the mapping of Assessment Options in graph representation.
	Edges map[string]map[string][]*string
}

AKSAssessmentOptionsProperties - ARM model of AKS Assessment Options Properties.

func (AKSAssessmentOptionsProperties) MarshalJSON

func (a AKSAssessmentOptionsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentOptionsProperties.

func (*AKSAssessmentOptionsProperties) UnmarshalJSON

func (a *AKSAssessmentOptionsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentOptionsProperties.

type AKSAssessmentProperties

type AKSAssessmentProperties struct {
	// REQUIRED; Gets or sets AKS Assessment Settings.
	Settings *AKSAssessmentSettings

	// Gets or sets scope parameters to identify inventory items for assessment.
	Scope *AssessmentScopeParameters

	// READ-ONLY; Gets AKS Assessment Details.
	Details *AKSAssessmentDetails

	// READ-ONLY; Gets the provisioning state.
	ProvisioningState *ProvisioningStatus
}

AKSAssessmentProperties - ARM model of AKS Assessment Properties.

func (AKSAssessmentProperties) MarshalJSON

func (a AKSAssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentProperties.

func (*AKSAssessmentProperties) UnmarshalJSON

func (a *AKSAssessmentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentProperties.

type AKSAssessmentSettings

type AKSAssessmentSettings struct {
	// REQUIRED; Gets or sets azure location.
	AzureLocation *string

	// REQUIRED; Gets or sets azure VM category.
	Category *AzureVMCategory

	// REQUIRED; Gets or sets consolidation type.
	Consolidation *ConsolidationType

	// REQUIRED; Gets or sets currency.
	Currency *AzureCurrency

	// REQUIRED; Gets or sets environment type.
	EnvironmentType *AzureEnvironmentType

	// REQUIRED; Gets or sets licensing program.
	LicensingProgram *LicensingProgram

	// REQUIRED; Gets or sets pricing tier.
	PricingTier *PricingTier

	// REQUIRED; Gets or sets savings options.
	SavingsOptions *SavingsOptions

	// REQUIRED; Gets or sets sizing criteria.
	SizingCriteria *AssessmentSizingCriterion

	// Gets or sets discount percentage.
	DiscountPercentage *float32

	// Gets or sets performance data settings.
	PerformanceData *PerfDataSettings

	// Gets or sets scaling factor.
	ScalingFactor *float32
}

AKSAssessmentSettings - Data model of AKS Assessment Settings.

func (AKSAssessmentSettings) MarshalJSON

func (a AKSAssessmentSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentSettings.

func (*AKSAssessmentSettings) UnmarshalJSON

func (a *AKSAssessmentSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentSettings.

type AKSAssessmentSummary

type AKSAssessmentSummary struct {
	// READ-ONLY; Gets the number of machines.
	MachineCount *int32

	// READ-ONLY; Gets SKU summary.
	SKUSummary map[string]*SummaryDetails

	// READ-ONLY; Gets the total monthly cost.
	TotalMonthlyCost *float32

	// READ-ONLY; Gets the number of web apps.
	WebAppCount *int32

	// READ-ONLY; Gets web app summary.
	WebAppSummary map[string]*SummaryDetails

	// READ-ONLY; Gets the number of web servers.
	WebServerCount *int32

	// READ-ONLY; Gets web server summary.
	WebServerSummary map[string]*int32
}

AKSAssessmentSummary - Data model of AKS Assessment Summary.

func (AKSAssessmentSummary) MarshalJSON

func (a AKSAssessmentSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSAssessmentSummary.

func (*AKSAssessmentSummary) UnmarshalJSON

func (a *AKSAssessmentSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSAssessmentSummary.

type AKSCluster

type AKSCluster struct {
	// The resource-specific properties for this resource.
	Properties *AKSClusterProperties

	// READ-ONLY; If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
	// Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
	// (section 14.27) header fields.
	ETag *string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AKSCluster - ARM model of AKS Cluster.

func (AKSCluster) MarshalJSON

func (a AKSCluster) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSCluster.

func (*AKSCluster) UnmarshalJSON

func (a *AKSCluster) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSCluster.

type AKSClusterListResult

type AKSClusterListResult struct {
	// REQUIRED; The AKSCluster items on this page
	Value []*AKSCluster

	// The link to the next page of items
	NextLink *string
}

AKSClusterListResult - The response of a AKSCluster list operation.

func (AKSClusterListResult) MarshalJSON

func (a AKSClusterListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSClusterListResult.

func (*AKSClusterListResult) UnmarshalJSON

func (a *AKSClusterListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSClusterListResult.

type AKSClusterProperties

type AKSClusterProperties struct {
	// READ-ONLY; Gets monthly cost.
	MonthlyCost *float32

	// READ-ONLY; Gets name.
	Name *string

	// READ-ONLY; Gets list of node pools.
	NodePools []*NodePool

	// READ-ONLY; Gets pod count.
	PodCount *int32

	// READ-ONLY; Gets region.
	Region *string

	// READ-ONLY; Gets system node count.
	SystemNodeCount *int32

	// READ-ONLY; Gets system node pool count.
	SystemNodePoolCount *int32

	// READ-ONLY; Gets user node count.
	UserNodeCount *int32

	// READ-ONLY; Gets user node pool count.
	UserNodePoolCount *int32
}

AKSClusterProperties - ARM model of AKS Cluster Properties.

func (AKSClusterProperties) MarshalJSON

func (a AKSClusterProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSClusterProperties.

func (*AKSClusterProperties) UnmarshalJSON

func (a *AKSClusterProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSClusterProperties.

type AKSCostDetail

type AKSCostDetail struct {
	// The resource-specific properties for this resource.
	Properties *AKSCostDetailProperties

	// READ-ONLY; If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
	// Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
	// (section 14.27) header fields.
	ETag *string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AKSCostDetail - ARM model of AKS Cost Detail.

func (AKSCostDetail) MarshalJSON

func (a AKSCostDetail) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSCostDetail.

func (*AKSCostDetail) UnmarshalJSON

func (a *AKSCostDetail) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSCostDetail.

type AKSCostDetailListResult

type AKSCostDetailListResult struct {
	// REQUIRED; The AKSCostDetail items on this page
	Value []*AKSCostDetail

	// The link to the next page of items
	NextLink *string
}

AKSCostDetailListResult - The response of a AKSCostDetail list operation.

func (AKSCostDetailListResult) MarshalJSON

func (a AKSCostDetailListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSCostDetailListResult.

func (*AKSCostDetailListResult) UnmarshalJSON

func (a *AKSCostDetailListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSCostDetailListResult.

type AKSCostDetailProperties

type AKSCostDetailProperties struct {
	// READ-ONLY; Gets arm sku name.
	ArmSKUName *string

	// READ-ONLY; Gets cluster name.
	ClusterName *string

	// READ-ONLY; Gets id.
	ID *string

	// READ-ONLY; Gets mode.
	Mode *NodePoolMode

	// READ-ONLY; Gets monthly cost.
	MonthlyCost *float32

	// READ-ONLY; Gets name.
	Name *string

	// READ-ONLY; Gets node count.
	NodeCount *int32

	// READ-ONLY; Gets os type.
	OSType *OSType

	// READ-ONLY; Gets pod approximate monthly cost.
	PodApproxMonthlyCost *float32

	// READ-ONLY; Gets pod count.
	PodCount *int32
}

AKSCostDetailProperties - ARM model of AKS Cost Detail Properties.

func (AKSCostDetailProperties) MarshalJSON

func (a AKSCostDetailProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSCostDetailProperties.

func (*AKSCostDetailProperties) UnmarshalJSON

func (a *AKSCostDetailProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSCostDetailProperties.

type AKSSummary

type AKSSummary struct {
	// The resource-specific properties for this resource.
	Properties *AKSSummaryProperties

	// READ-ONLY; If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
	// Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
	// (section 14.27) header fields.
	ETag *string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AKSSummary - ARM model of AKS Summary.

func (AKSSummary) MarshalJSON

func (a AKSSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSSummary.

func (*AKSSummary) UnmarshalJSON

func (a *AKSSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSSummary.

type AKSSummaryListResult

type AKSSummaryListResult struct {
	// REQUIRED; The AKSSummary items on this page
	Value []*AKSSummary

	// The link to the next page of items
	NextLink *string
}

AKSSummaryListResult - The response of a AKSSummary list operation.

func (AKSSummaryListResult) MarshalJSON

func (a AKSSummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSSummaryListResult.

func (*AKSSummaryListResult) UnmarshalJSON

func (a *AKSSummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSSummaryListResult.

type AKSSummaryProperties

type AKSSummaryProperties struct {
	// READ-ONLY; Gets AKS assessment summary.
	AksAssessmentSummary *AKSAssessmentSummary

	// READ-ONLY; Gets the assessment name.
	AssessmentName *string

	// READ-ONLY; Gets the confidence score.
	ConfidenceScore *float32

	// READ-ONLY; Gets the monthly compute cost.
	MonthlyComputeCost *float32

	// READ-ONLY; Gets the monthly storage cost.
	MonthlyStorageCost *float32

	// READ-ONLY; Gets the cloud suitability summary for all entities in the assessment per target.
	SuitabilityPerTarget map[string]map[string]*int32

	// READ-ONLY; Gets the summary name.
	SummaryName *string
}

AKSSummaryProperties - ARM model of AKS Summary Properties.

func (AKSSummaryProperties) MarshalJSON

func (a AKSSummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AKSSummaryProperties.

func (*AKSSummaryProperties) UnmarshalJSON

func (a *AKSSummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AKSSummaryProperties.

type ActionType

type ActionType string

ActionType - Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.

const (
	ActionTypeInternal ActionType = "Internal"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns the possible values for the ActionType const type.

type AksAssessmentOperationsClient

type AksAssessmentOperationsClient struct {
	// contains filtered or unexported fields
}

AksAssessmentOperationsClient contains the methods for the AksAssessmentOperations group. Don't use this type directly, use NewAksAssessmentOperationsClient() instead.

func NewAksAssessmentOperationsClient

func NewAksAssessmentOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AksAssessmentOperationsClient, error)

NewAksAssessmentOperationsClient creates a new instance of AksAssessmentOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AksAssessmentOperationsClient) BeginCreate

BeginCreate - Create a AKSAssessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • resource - Resource create parameters.
  • options - AksAssessmentOperationsClientBeginCreateOptions contains the optional parameters for the AksAssessmentOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksAssessmentOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAksAssessmentOperationsClient().BeginCreate(ctx, "rgaksswagger", "testproject", "testaksassessment", armmigrationassessment.AKSAssessment{
		Properties: &armmigrationassessment.AKSAssessmentProperties{
			Scope: &armmigrationassessment.AssessmentScopeParameters{
				ServerGroupID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"),
			},
			Settings: &armmigrationassessment.AKSAssessmentSettings{
				AzureLocation:      to.Ptr("Unknown"),
				Currency:           to.Ptr(armmigrationassessment.AzureCurrencyUnknown),
				DiscountPercentage: to.Ptr[float32](15),
				EnvironmentType:    to.Ptr(armmigrationassessment.AzureEnvironmentTypeUnknown),
				LicensingProgram:   to.Ptr(armmigrationassessment.LicensingProgramDefault),
				PerformanceData: &armmigrationassessment.PerfDataSettings{
					Percentile:        to.Ptr(armmigrationassessment.PercentilePercentile50),
					PerfDataEndTime:   to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t }()),
					PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t }()),
					TimeRange:         to.Ptr(armmigrationassessment.TimeRangeDay),
				},
				ScalingFactor:  to.Ptr[float32](3),
				SizingCriteria: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
				Category:       to.Ptr(armmigrationassessment.AzureVMCategoryAll),
				Consolidation:  to.Ptr(armmigrationassessment.ConsolidationTypeFull),
				PricingTier:    to.Ptr(armmigrationassessment.PricingTierStandard),
				SavingsOptions: to.Ptr(armmigrationassessment.SavingsOptionsNone),
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AKSAssessment = armmigrationassessment.AKSAssessment{
	// 	Name: to.Ptr("testaksassessment"),
	// 	Type: to.Ptr("AKSAssessment"),
	// 	ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		CreatedBy: to.Ptr("User"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("User"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
	// 	Properties: &armmigrationassessment.AKSAssessmentProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStatusSucceeded),
	// 		Scope: &armmigrationassessment.AssessmentScopeParameters{
	// 			ServerGroupID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"),
	// 		},
	// 		Settings: &armmigrationassessment.AKSAssessmentSettings{
	// 			AzureLocation: to.Ptr("Unknown"),
	// 			Currency: to.Ptr(armmigrationassessment.AzureCurrencyUnknown),
	// 			DiscountPercentage: to.Ptr[float32](15),
	// 			EnvironmentType: to.Ptr(armmigrationassessment.AzureEnvironmentTypeUnknown),
	// 			LicensingProgram: to.Ptr(armmigrationassessment.LicensingProgramDefault),
	// 			PerformanceData: &armmigrationassessment.PerfDataSettings{
	// 				Percentile: to.Ptr(armmigrationassessment.PercentilePercentile50),
	// 				PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 				PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 				TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 			},
	// 			ScalingFactor: to.Ptr[float32](3),
	// 			SizingCriteria: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 			Category: to.Ptr(armmigrationassessment.AzureVMCategoryAll),
	// 			Consolidation: to.Ptr(armmigrationassessment.ConsolidationTypeFull),
	// 			PricingTier: to.Ptr(armmigrationassessment.PricingTierStandard),
	// 			SavingsOptions: to.Ptr(armmigrationassessment.SavingsOptionsNone),
	// 		},
	// 		Details: &armmigrationassessment.AKSAssessmentDetails{
	// 			ConfidenceRatingInPercentage: to.Ptr[float32](1),
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 			PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 			Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 			MachineCount: to.Ptr[int32](15),
	// 			TotalMonthlyCost: to.Ptr[float32](1),
	// 			WebAppCount: to.Ptr[int32](25),
	// 			WebServerCount: to.Ptr[int32](29),
	// 		},
	// 	},
	// }
}
Output:

func (*AksAssessmentOperationsClient) BeginDownloadURL

BeginDownloadURL - Get URL for downloading AKS Assessment Report. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • body - The content of the action request
  • options - AksAssessmentOperationsClientBeginDownloadURLOptions contains the optional parameters for the AksAssessmentOperationsClient.BeginDownloadURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksAssessmentOperations_DownloadUrl_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAksAssessmentOperationsClient().BeginDownloadURL(ctx, "rgaksswagger", "testproject", "testaksassessment", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.DownloadURL = armmigrationassessment.DownloadURL{
	// 	AssessmentReportURL: to.Ptr("vthjjfdenyh"),
	// 	ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:25.205Z"); return t}()),
	// }
}
Output:

func (*AksAssessmentOperationsClient) Delete

Delete - Delete a AKSAssessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • options - AksAssessmentOperationsClientDeleteOptions contains the optional parameters for the AksAssessmentOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksAssessmentOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewAksAssessmentOperationsClient().Delete(ctx, "rgaksswagger", "testproject", "testaksassessment", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*AksAssessmentOperationsClient) Get

Get - Get a AKSAssessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • options - AksAssessmentOperationsClientGetOptions contains the optional parameters for the AksAssessmentOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksAssessmentOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAksAssessmentOperationsClient().Get(ctx, "rgaksswagger", "testproject", "testaksassessment", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AKSAssessment = armmigrationassessment.AKSAssessment{
	// 	Name: to.Ptr("testaksassessment"),
	// 	Type: to.Ptr("AKSAssessment"),
	// 	ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		CreatedBy: to.Ptr("User"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("User"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
	// 	Properties: &armmigrationassessment.AKSAssessmentProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStatusSucceeded),
	// 		Scope: &armmigrationassessment.AssessmentScopeParameters{
	// 			ServerGroupID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"),
	// 		},
	// 		Settings: &armmigrationassessment.AKSAssessmentSettings{
	// 			AzureLocation: to.Ptr("Unknown"),
	// 			Currency: to.Ptr(armmigrationassessment.AzureCurrencyUnknown),
	// 			DiscountPercentage: to.Ptr[float32](15),
	// 			EnvironmentType: to.Ptr(armmigrationassessment.AzureEnvironmentTypeUnknown),
	// 			LicensingProgram: to.Ptr(armmigrationassessment.LicensingProgramDefault),
	// 			PerformanceData: &armmigrationassessment.PerfDataSettings{
	// 				Percentile: to.Ptr(armmigrationassessment.PercentilePercentile50),
	// 				PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 				PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 				TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 			},
	// 			ScalingFactor: to.Ptr[float32](3),
	// 			SizingCriteria: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 			Category: to.Ptr(armmigrationassessment.AzureVMCategoryAll),
	// 			Consolidation: to.Ptr(armmigrationassessment.ConsolidationTypeFull),
	// 			PricingTier: to.Ptr(armmigrationassessment.PricingTierStandard),
	// 			SavingsOptions: to.Ptr(armmigrationassessment.SavingsOptionsNone),
	// 		},
	// 		Details: &armmigrationassessment.AKSAssessmentDetails{
	// 			ConfidenceRatingInPercentage: to.Ptr[float32](1),
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 			PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 			Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
	// 			MachineCount: to.Ptr[int32](15),
	// 			TotalMonthlyCost: to.Ptr[float32](1),
	// 			WebAppCount: to.Ptr[int32](25),
	// 			WebServerCount: to.Ptr[int32](29),
	// 		},
	// 	},
	// }
}
Output:

func (*AksAssessmentOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List AKSAssessment resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AksAssessmentOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AksAssessmentOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksAssessmentOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAksAssessmentOperationsClient().NewListByAssessmentProjectPager("rgaksswagger", "testproject", &armmigrationassessment.AksAssessmentOperationsClientListByAssessmentProjectOptions{ContinuationToken: to.Ptr("polt"),
		Top:              to.Ptr[int32](5),
		Filter:           to.Ptr("azekdtdhupdngbqxzdppicwf"),
		TotalRecordCount: to.Ptr[int32](18),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AKSAssessmentListResult = armmigrationassessment.AKSAssessmentListResult{
		// 	Value: []*armmigrationassessment.AKSAssessment{
		// 		{
		// 			Name: to.Ptr("testaksassessment"),
		// 			Type: to.Ptr("AKSAssessment"),
		// 			ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				CreatedBy: to.Ptr("User"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("User"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
		// 			Properties: &armmigrationassessment.AKSAssessmentProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStatusSucceeded),
		// 				Scope: &armmigrationassessment.AssessmentScopeParameters{
		// 					ServerGroupID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/groups/testgrp"),
		// 				},
		// 				Settings: &armmigrationassessment.AKSAssessmentSettings{
		// 					AzureLocation: to.Ptr("Unknown"),
		// 					Currency: to.Ptr(armmigrationassessment.AzureCurrencyUnknown),
		// 					DiscountPercentage: to.Ptr[float32](15),
		// 					EnvironmentType: to.Ptr(armmigrationassessment.AzureEnvironmentTypeUnknown),
		// 					LicensingProgram: to.Ptr(armmigrationassessment.LicensingProgramDefault),
		// 					PerformanceData: &armmigrationassessment.PerfDataSettings{
		// 						Percentile: to.Ptr(armmigrationassessment.PercentilePercentile50),
		// 						PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
		// 						PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
		// 						TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 					},
		// 					ScalingFactor: to.Ptr[float32](3),
		// 					SizingCriteria: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 					Category: to.Ptr(armmigrationassessment.AzureVMCategoryAll),
		// 					Consolidation: to.Ptr(armmigrationassessment.ConsolidationTypeFull),
		// 					PricingTier: to.Ptr(armmigrationassessment.PricingTierStandard),
		// 					SavingsOptions: to.Ptr(armmigrationassessment.SavingsOptionsNone),
		// 				},
		// 				Details: &armmigrationassessment.AKSAssessmentDetails{
		// 					ConfidenceRatingInPercentage: to.Ptr[float32](1),
		// 					CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
		// 					PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
		// 					Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.320Z"); return t}()),
		// 					MachineCount: to.Ptr[int32](15),
		// 					TotalMonthlyCost: to.Ptr[float32](1),
		// 					WebAppCount: to.Ptr[int32](25),
		// 					WebServerCount: to.Ptr[int32](29),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type AksAssessmentOperationsClientBeginCreateOptions

type AksAssessmentOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AksAssessmentOperationsClientBeginCreateOptions contains the optional parameters for the AksAssessmentOperationsClient.BeginCreate method.

type AksAssessmentOperationsClientBeginDownloadURLOptions

type AksAssessmentOperationsClientBeginDownloadURLOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AksAssessmentOperationsClientBeginDownloadURLOptions contains the optional parameters for the AksAssessmentOperationsClient.BeginDownloadURL method.

type AksAssessmentOperationsClientCreateResponse

type AksAssessmentOperationsClientCreateResponse struct {
	// ARM model of AKS Assessment.
	AKSAssessment
}

AksAssessmentOperationsClientCreateResponse contains the response from method AksAssessmentOperationsClient.BeginCreate.

type AksAssessmentOperationsClientDeleteOptions

type AksAssessmentOperationsClientDeleteOptions struct {
}

AksAssessmentOperationsClientDeleteOptions contains the optional parameters for the AksAssessmentOperationsClient.Delete method.

type AksAssessmentOperationsClientDeleteResponse

type AksAssessmentOperationsClientDeleteResponse struct {
}

AksAssessmentOperationsClientDeleteResponse contains the response from method AksAssessmentOperationsClient.Delete.

type AksAssessmentOperationsClientDownloadURLResponse

type AksAssessmentOperationsClientDownloadURLResponse struct {
	// Data model of Download URL for assessment report.
	DownloadURL
}

AksAssessmentOperationsClientDownloadURLResponse contains the response from method AksAssessmentOperationsClient.BeginDownloadURL.

type AksAssessmentOperationsClientGetOptions

type AksAssessmentOperationsClientGetOptions struct {
}

AksAssessmentOperationsClientGetOptions contains the optional parameters for the AksAssessmentOperationsClient.Get method.

type AksAssessmentOperationsClientGetResponse

type AksAssessmentOperationsClientGetResponse struct {
	// ARM model of AKS Assessment.
	AKSAssessment
}

AksAssessmentOperationsClientGetResponse contains the response from method AksAssessmentOperationsClient.Get.

type AksAssessmentOperationsClientListByAssessmentProjectOptions

type AksAssessmentOperationsClientListByAssessmentProjectOptions struct {
	// Continuation Token Query Parameter.
	ContinuationToken *string

	// Filter Query Parameter.
	Filter *string

	// Page Size Query Parameter.
	Top *int32

	// Total Record Count Query Parameter.
	TotalRecordCount *int32
}

AksAssessmentOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AksAssessmentOperationsClient.NewListByAssessmentProjectPager method.

type AksAssessmentOperationsClientListByAssessmentProjectResponse

type AksAssessmentOperationsClientListByAssessmentProjectResponse struct {
	// The response of a AKSAssessment list operation.
	AKSAssessmentListResult
}

AksAssessmentOperationsClientListByAssessmentProjectResponse contains the response from method AksAssessmentOperationsClient.NewListByAssessmentProjectPager.

type AksClusterOperationsClient

type AksClusterOperationsClient struct {
	// contains filtered or unexported fields
}

AksClusterOperationsClient contains the methods for the AksClusterOperations group. Don't use this type directly, use NewAksClusterOperationsClient() instead.

func NewAksClusterOperationsClient

func NewAksClusterOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AksClusterOperationsClient, error)

NewAksClusterOperationsClient creates a new instance of AksClusterOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AksClusterOperationsClient) Get

func (client *AksClusterOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, assessmentName string, clusterName string, options *AksClusterOperationsClientGetOptions) (AksClusterOperationsClientGetResponse, error)

Get - Get a AKSCluster If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • clusterName - AKS Cluster Name.
  • options - AksClusterOperationsClientGetOptions contains the optional parameters for the AksClusterOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksClusterOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAksClusterOperationsClient().Get(ctx, "rgaksswagger", "testproject", "testaksassessment", "testaksassessment-cluster", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AKSCluster = armmigrationassessment.AKSCluster{
	// 	Name: to.Ptr("testaksassessment-cluster"),
	// 	Type: to.Ptr("AKSAssessmentCluster"),
	// 	ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment/clusters/testaksassessment-cluster"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		CreatedBy: to.Ptr("User"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("User"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
	// 	Properties: &armmigrationassessment.AKSClusterProperties{
	// 		Name: to.Ptr("testaksassessment-cluster"),
	// 		MonthlyCost: to.Ptr[float32](14),
	// 		NodePools: []*armmigrationassessment.NodePool{
	// 			{
	// 				Name: to.Ptr("testaksassessmentCostDetail"),
	// 				ArmSKUName: to.Ptr("StandardDS_v2"),
	// 				ClusterName: to.Ptr("testaksassessment-cluster"),
	// 				ID: to.Ptr("testaksassessmentCostDetail"),
	// 				Mode: to.Ptr(armmigrationassessment.NodePoolModeUser),
	// 				MonthlyCost: to.Ptr[float32](10),
	// 				NodeCount: to.Ptr[int32](1),
	// 				OSType: to.Ptr(armmigrationassessment.OSTypeLinux),
	// 				PodApproxMonthlyCost: to.Ptr[float32](10),
	// 				PodCount: to.Ptr[int32](1),
	// 		}},
	// 		PodCount: to.Ptr[int32](26),
	// 		Region: to.Ptr("Unknown"),
	// 		SystemNodeCount: to.Ptr[int32](18),
	// 		SystemNodePoolCount: to.Ptr[int32](16),
	// 		UserNodeCount: to.Ptr[int32](6),
	// 		UserNodePoolCount: to.Ptr[int32](0),
	// 	},
	// }
}
Output:

func (*AksClusterOperationsClient) NewListByAksAssessmentPager

func (client *AksClusterOperationsClient) NewListByAksAssessmentPager(resourceGroupName string, projectName string, assessmentName string, options *AksClusterOperationsClientListByAksAssessmentOptions) *runtime.Pager[AksClusterOperationsClientListByAksAssessmentResponse]

NewListByAksAssessmentPager - List AKSCluster resources by AKSAssessment

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • options - AksClusterOperationsClientListByAksAssessmentOptions contains the optional parameters for the AksClusterOperationsClient.NewListByAksAssessmentPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksClusterOperations_ListByAksAssessment_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAksClusterOperationsClient().NewListByAksAssessmentPager("rgaksswagger", "testproject", "testaksassessment", &armmigrationassessment.AksClusterOperationsClientListByAksAssessmentOptions{Filter: to.Ptr("sfmesuqkmjezolfjvalm")})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AKSClusterListResult = armmigrationassessment.AKSClusterListResult{
		// 	Value: []*armmigrationassessment.AKSCluster{
		// 		{
		// 			Name: to.Ptr("testaksassessment-cluster"),
		// 			Type: to.Ptr("AKSAssessmentCluster"),
		// 			ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment/clusters/testaksassessment-cluster"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				CreatedBy: to.Ptr("User"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("User"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
		// 			Properties: &armmigrationassessment.AKSClusterProperties{
		// 				Name: to.Ptr("testaksassessment-cluster"),
		// 				MonthlyCost: to.Ptr[float32](14),
		// 				NodePools: []*armmigrationassessment.NodePool{
		// 					{
		// 						Name: to.Ptr("testaksassessmentCostDetail"),
		// 						ArmSKUName: to.Ptr("StandardDS_v2"),
		// 						ClusterName: to.Ptr("testaksassessment-cluster"),
		// 						ID: to.Ptr("testaksassessmentCostDetail"),
		// 						Mode: to.Ptr(armmigrationassessment.NodePoolModeUser),
		// 						MonthlyCost: to.Ptr[float32](10),
		// 						NodeCount: to.Ptr[int32](1),
		// 						OSType: to.Ptr(armmigrationassessment.OSTypeLinux),
		// 						PodApproxMonthlyCost: to.Ptr[float32](10),
		// 						PodCount: to.Ptr[int32](1),
		// 				}},
		// 				PodCount: to.Ptr[int32](26),
		// 				Region: to.Ptr("Unknown"),
		// 				SystemNodeCount: to.Ptr[int32](18),
		// 				SystemNodePoolCount: to.Ptr[int32](16),
		// 				UserNodeCount: to.Ptr[int32](6),
		// 				UserNodePoolCount: to.Ptr[int32](0),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AksClusterOperationsClientGetOptions

type AksClusterOperationsClientGetOptions struct {
}

AksClusterOperationsClientGetOptions contains the optional parameters for the AksClusterOperationsClient.Get method.

type AksClusterOperationsClientGetResponse

type AksClusterOperationsClientGetResponse struct {
	// ARM model of AKS Cluster.
	AKSCluster
}

AksClusterOperationsClientGetResponse contains the response from method AksClusterOperationsClient.Get.

type AksClusterOperationsClientListByAksAssessmentOptions

type AksClusterOperationsClientListByAksAssessmentOptions struct {
	// Filter Query Parameter.
	Filter *string
}

AksClusterOperationsClientListByAksAssessmentOptions contains the optional parameters for the AksClusterOperationsClient.NewListByAksAssessmentPager method.

type AksClusterOperationsClientListByAksAssessmentResponse

type AksClusterOperationsClientListByAksAssessmentResponse struct {
	// The response of a AKSCluster list operation.
	AKSClusterListResult
}

AksClusterOperationsClientListByAksAssessmentResponse contains the response from method AksClusterOperationsClient.NewListByAksAssessmentPager.

type AksCostDetailOperationsClient

type AksCostDetailOperationsClient struct {
	// contains filtered or unexported fields
}

AksCostDetailOperationsClient contains the methods for the AksCostDetailOperations group. Don't use this type directly, use NewAksCostDetailOperationsClient() instead.

func NewAksCostDetailOperationsClient

func NewAksCostDetailOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AksCostDetailOperationsClient, error)

NewAksCostDetailOperationsClient creates a new instance of AksCostDetailOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AksCostDetailOperationsClient) NewListByAksAssessmentPager

NewListByAksAssessmentPager - List AKSCostDetail resources by AKSAssessment

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • options - AksCostDetailOperationsClientListByAksAssessmentOptions contains the optional parameters for the AksCostDetailOperationsClient.NewListByAksAssessmentPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksCostDetailOperations_ListByAksAssessment_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAksCostDetailOperationsClient().NewListByAksAssessmentPager("rgaksswagger", "testproject", "testaksassessment", &armmigrationassessment.AksCostDetailOperationsClientListByAksAssessmentOptions{Filter: to.Ptr("ww")})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AKSCostDetailListResult = armmigrationassessment.AKSCostDetailListResult{
		// 	Value: []*armmigrationassessment.AKSCostDetail{
		// 		{
		// 			Name: to.Ptr("testaksassessmentCostDetail"),
		// 			Type: to.Ptr("AKSAssessmentCostDetail"),
		// 			ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment/costDetails/testaksassessmentCostDetail"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				CreatedBy: to.Ptr("User"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("User"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
		// 			Properties: &armmigrationassessment.AKSCostDetailProperties{
		// 				Name: to.Ptr("testaksassessmentCostDetail"),
		// 				ArmSKUName: to.Ptr("StandardDS_v2"),
		// 				ClusterName: to.Ptr("testaksassessment-cluster"),
		// 				ID: to.Ptr("testaksassessmentCostDetail"),
		// 				Mode: to.Ptr(armmigrationassessment.NodePoolModeUser),
		// 				MonthlyCost: to.Ptr[float32](6),
		// 				NodeCount: to.Ptr[int32](16),
		// 				OSType: to.Ptr(armmigrationassessment.OSTypeLinux),
		// 				PodApproxMonthlyCost: to.Ptr[float32](27),
		// 				PodCount: to.Ptr[int32](7),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AksCostDetailOperationsClientListByAksAssessmentOptions

type AksCostDetailOperationsClientListByAksAssessmentOptions struct {
	// Filter Query Parameter.
	Filter *string
}

AksCostDetailOperationsClientListByAksAssessmentOptions contains the optional parameters for the AksCostDetailOperationsClient.NewListByAksAssessmentPager method.

type AksCostDetailOperationsClientListByAksAssessmentResponse

type AksCostDetailOperationsClientListByAksAssessmentResponse struct {
	// The response of a AKSCostDetail list operation.
	AKSCostDetailListResult
}

AksCostDetailOperationsClientListByAksAssessmentResponse contains the response from method AksCostDetailOperationsClient.NewListByAksAssessmentPager.

type AksOptionsOperationsClient

type AksOptionsOperationsClient struct {
	// contains filtered or unexported fields
}

AksOptionsOperationsClient contains the methods for the AksOptionsOperations group. Don't use this type directly, use NewAksOptionsOperationsClient() instead.

func NewAksOptionsOperationsClient

func NewAksOptionsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AksOptionsOperationsClient, error)

NewAksOptionsOperationsClient creates a new instance of AksOptionsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AksOptionsOperationsClient) Get

func (client *AksOptionsOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, assessmentOptionsName string, options *AksOptionsOperationsClientGetOptions) (AksOptionsOperationsClientGetResponse, error)

Get - Get a AKSAssessmentOptions If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentOptionsName - AKS Assessment Options Name.
  • options - AksOptionsOperationsClientGetOptions contains the optional parameters for the AksOptionsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksOptionsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAksOptionsOperationsClient().Get(ctx, "rgaksswagger", "testproject", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AKSAssessmentOptions = armmigrationassessment.AKSAssessmentOptions{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("AKSAssessmentOptions"),
	// 	ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessmentOptions/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		CreatedBy: to.Ptr("User"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("User"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
	// 	Properties: &armmigrationassessment.AKSAssessmentOptionsProperties{
	// 		Edges: map[string]map[string][]*string{
	// 			"AKS": map[string][]*string{
	// 				"AzureLocation": []*string{
	// 					to.Ptr("EastAsia")},
	// 				},
	// 			},
	// 		},
	// 	}
}
Output:

func (*AksOptionsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List AKSAssessmentOptions resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AksOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AksOptionsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAksOptionsOperationsClient().NewListByAssessmentProjectPager("rgaksswagger", "testproject", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AKSAssessmentOptionsListResult = armmigrationassessment.AKSAssessmentOptionsListResult{
		// 	Value: []*armmigrationassessment.AKSAssessmentOptions{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("AKSAssessmentOptions"),
		// 			ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessmentOptions/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				CreatedBy: to.Ptr("User"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("User"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
		// 			Properties: &armmigrationassessment.AKSAssessmentOptionsProperties{
		// 				Edges: map[string]map[string][]*string{
		// 					"AKS": map[string][]*string{
		// 						"AzureLocation": []*string{
		// 							to.Ptr("EastAsia")},
		// 						},
		// 					},
		// 				},
		// 		}},
		// 	}
	}
}
Output:

type AksOptionsOperationsClientGetOptions

type AksOptionsOperationsClientGetOptions struct {
}

AksOptionsOperationsClientGetOptions contains the optional parameters for the AksOptionsOperationsClient.Get method.

type AksOptionsOperationsClientGetResponse

type AksOptionsOperationsClientGetResponse struct {
	// ARM model of AKS Assessment Options.
	AKSAssessmentOptions
}

AksOptionsOperationsClientGetResponse contains the response from method AksOptionsOperationsClient.Get.

type AksOptionsOperationsClientListByAssessmentProjectOptions

type AksOptionsOperationsClientListByAssessmentProjectOptions struct {
}

AksOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AksOptionsOperationsClient.NewListByAssessmentProjectPager method.

type AksOptionsOperationsClientListByAssessmentProjectResponse

type AksOptionsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a AKSAssessmentOptions list operation.
	AKSAssessmentOptionsListResult
}

AksOptionsOperationsClientListByAssessmentProjectResponse contains the response from method AksOptionsOperationsClient.NewListByAssessmentProjectPager.

type AksSummaryOperationsClient

type AksSummaryOperationsClient struct {
	// contains filtered or unexported fields
}

AksSummaryOperationsClient contains the methods for the AksSummaryOperations group. Don't use this type directly, use NewAksSummaryOperationsClient() instead.

func NewAksSummaryOperationsClient

func NewAksSummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AksSummaryOperationsClient, error)

NewAksSummaryOperationsClient creates a new instance of AksSummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AksSummaryOperationsClient) Get

func (client *AksSummaryOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, assessmentName string, summaryName string, options *AksSummaryOperationsClientGetOptions) (AksSummaryOperationsClientGetResponse, error)

Get - Get a AKSSummary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • summaryName - AKS Assessment Summary Name.
  • options - AksSummaryOperationsClientGetOptions contains the optional parameters for the AksSummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksSummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAksSummaryOperationsClient().Get(ctx, "rgaksswagger", "testproject", "testaksassessment", "AKS", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AKSSummary = armmigrationassessment.AKSSummary{
	// 	Name: to.Ptr("AKS"),
	// 	Type: to.Ptr("AKSAssessmentSummary"),
	// 	ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment/summaries/AKS"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		CreatedBy: to.Ptr("User"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("User"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
	// 	Properties: &armmigrationassessment.AKSSummaryProperties{
	// 		AssessmentName: to.Ptr("testaksassessment"),
	// 		ConfidenceScore: to.Ptr[float32](7),
	// 		MonthlyComputeCost: to.Ptr[float32](8),
	// 		MonthlyStorageCost: to.Ptr[float32](26),
	// 		SuitabilityPerTarget: map[string]map[string]*int32{
	// 			"AKS": map[string]*int32{
	// 				"Ready": to.Ptr[int32](11),
	// 			},
	// 		},
	// 		SummaryName: to.Ptr("testaksassessmentsummary"),
	// 		AksAssessmentSummary: &armmigrationassessment.AKSAssessmentSummary{
	// 			MachineCount: to.Ptr[int32](17),
	// 			SKUSummary: map[string]*armmigrationassessment.SummaryDetails{
	// 				"StandardDS_v2": &armmigrationassessment.SummaryDetails{
	// 					Count: to.Ptr[int32](17),
	// 					MonthlyCost: to.Ptr[float32](18),
	// 				},
	// 			},
	// 			TotalMonthlyCost: to.Ptr[float32](6),
	// 			WebAppCount: to.Ptr[int32](19),
	// 			WebAppSummary: map[string]*armmigrationassessment.SummaryDetails{
	// 				"IIS": &armmigrationassessment.SummaryDetails{
	// 					Count: to.Ptr[int32](17),
	// 					MonthlyCost: to.Ptr[float32](18),
	// 				},
	// 			},
	// 			WebServerCount: to.Ptr[int32](28),
	// 			WebServerSummary: map[string]*int32{
	// 				"IIS": to.Ptr[int32](13),
	// 			},
	// 		},
	// 	},
	// }
}
Output:

func (*AksSummaryOperationsClient) NewListByAksAssessmentPager

func (client *AksSummaryOperationsClient) NewListByAksAssessmentPager(resourceGroupName string, projectName string, assessmentName string, options *AksSummaryOperationsClientListByAksAssessmentOptions) *runtime.Pager[AksSummaryOperationsClientListByAksAssessmentResponse]

NewListByAksAssessmentPager - List AKSSummary resources by AKSAssessment

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • options - AksSummaryOperationsClientListByAksAssessmentOptions contains the optional parameters for the AksSummaryOperationsClient.NewListByAksAssessmentPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AksSummaryOperations_ListByAksAssessment_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAksSummaryOperationsClient().NewListByAksAssessmentPager("rgaksswagger", "testproject", "testaksassessment", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AKSSummaryListResult = armmigrationassessment.AKSSummaryListResult{
		// 	Value: []*armmigrationassessment.AKSSummary{
		// 		{
		// 			Name: to.Ptr("AKS"),
		// 			Type: to.Ptr("AKSAssessmentSummary"),
		// 			ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentProjects/testproject/aksAssessments/testaksassessment/summaries/AKS"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				CreatedBy: to.Ptr("User"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("User"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
		// 			Properties: &armmigrationassessment.AKSSummaryProperties{
		// 				AssessmentName: to.Ptr("testaksassessment"),
		// 				ConfidenceScore: to.Ptr[float32](7),
		// 				MonthlyComputeCost: to.Ptr[float32](8),
		// 				MonthlyStorageCost: to.Ptr[float32](26),
		// 				SuitabilityPerTarget: map[string]map[string]*int32{
		// 					"AKS": map[string]*int32{
		// 						"Ready": to.Ptr[int32](11),
		// 					},
		// 				},
		// 				SummaryName: to.Ptr("testaksassessmentsummary"),
		// 				AksAssessmentSummary: &armmigrationassessment.AKSAssessmentSummary{
		// 					MachineCount: to.Ptr[int32](17),
		// 					SKUSummary: map[string]*armmigrationassessment.SummaryDetails{
		// 						"StandardDS_v2": &armmigrationassessment.SummaryDetails{
		// 							Count: to.Ptr[int32](17),
		// 							MonthlyCost: to.Ptr[float32](18),
		// 						},
		// 					},
		// 					TotalMonthlyCost: to.Ptr[float32](6),
		// 					WebAppCount: to.Ptr[int32](19),
		// 					WebAppSummary: map[string]*armmigrationassessment.SummaryDetails{
		// 						"IIS": &armmigrationassessment.SummaryDetails{
		// 							Count: to.Ptr[int32](17),
		// 							MonthlyCost: to.Ptr[float32](18),
		// 						},
		// 					},
		// 					WebServerCount: to.Ptr[int32](28),
		// 					WebServerSummary: map[string]*int32{
		// 						"IIS": to.Ptr[int32](13),
		// 					},
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type AksSummaryOperationsClientGetOptions

type AksSummaryOperationsClientGetOptions struct {
}

AksSummaryOperationsClientGetOptions contains the optional parameters for the AksSummaryOperationsClient.Get method.

type AksSummaryOperationsClientGetResponse

type AksSummaryOperationsClientGetResponse struct {
	// ARM model of AKS Summary.
	AKSSummary
}

AksSummaryOperationsClientGetResponse contains the response from method AksSummaryOperationsClient.Get.

type AksSummaryOperationsClientListByAksAssessmentOptions

type AksSummaryOperationsClientListByAksAssessmentOptions struct {
}

AksSummaryOperationsClientListByAksAssessmentOptions contains the optional parameters for the AksSummaryOperationsClient.NewListByAksAssessmentPager method.

type AksSummaryOperationsClientListByAksAssessmentResponse

type AksSummaryOperationsClientListByAksAssessmentResponse struct {
	// The response of a AKSSummary list operation.
	AKSSummaryListResult
}

AksSummaryOperationsClientListByAksAssessmentResponse contains the response from method AksSummaryOperationsClient.NewListByAksAssessmentPager.

type AppServiceSKU

type AppServiceSKU struct {
	// READ-ONLY; The cost details.
	Cost *float32

	// READ-ONLY; The number of service plans recommended.
	Count *int32

	// READ-ONLY; The SKU name.
	SKUName *string
}

AppServiceSKU - The app service SKU with corresponding cost.

func (AppServiceSKU) MarshalJSON

func (a AppServiceSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppServiceSKU.

func (*AppServiceSKU) UnmarshalJSON

func (a *AppServiceSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppServiceSKU.

type AppSvcContainerSettings

type AppSvcContainerSettings struct {
	// REQUIRED; Gets or sets the isolation required.
	IsolationRequired *bool
}

AppSvcContainerSettings - App service container settings.

func (AppSvcContainerSettings) MarshalJSON

func (a AppSvcContainerSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppSvcContainerSettings.

func (*AppSvcContainerSettings) UnmarshalJSON

func (a *AppSvcContainerSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppSvcContainerSettings.

type AppSvcNativeSettings

type AppSvcNativeSettings struct {
	// REQUIRED; Gets or sets the isolation required.
	IsolationRequired *bool
}

AppSvcNativeSettings - App service native settings.

func (AppSvcNativeSettings) MarshalJSON

func (a AppSvcNativeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AppSvcNativeSettings.

func (*AppSvcNativeSettings) UnmarshalJSON

func (a *AppSvcNativeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AppSvcNativeSettings.

type AssessedDisk

type AssessedDisk struct {
	// Gets the machine display name.
	DisplayName *string

	// Gets the recommended disk size.
	GigabytesForRecommendedDiskSize *int32

	// Gets the gigabytes provisioned.
	GigabytesProvisioned *float32

	// Gets the megabytes per second of read.
	MegabytesPerSecondOfRead *float32

	// Gets the megabytes per second of write.
	MegabytesPerSecondOfWrite *float32

	// Gets the monthly storage cost.
	MonthlyStorageCost *float32

	// Gets the name.
	Name *string

	// Gets the number of read operations per second.
	NumberOfReadOperationsPerSecond *float32

	// Gets the number of write operations per second.
	NumberOfWriteOperationsPerSecond *float32

	// Gets the recommended disk throughput.
	RecommendDiskThroughputInMbps *float32

	// Gets the recommended disk iops.
	RecommendedDiskIops *float32

	// Gets the recommended disk size.
	RecommendedDiskSize *AzureDiskSize

	// Gets the recommended disk type.
	RecommendedDiskType *AzureDiskType

	// Gets the suitability.
	Suitability *CloudSuitability

	// Gets the suitability detail.
	SuitabilityDetail *AzureDiskSuitabilityDetail

	// Gets the suitability explanation.
	SuitabilityExplanation *AzureDiskSuitabilityExplanation
}

AssessedDisk - Assessed disk properties class.

func (AssessedDisk) MarshalJSON

func (a AssessedDisk) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedDisk.

func (*AssessedDisk) UnmarshalJSON

func (a *AssessedDisk) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedDisk.

type AssessedDiskData

type AssessedDiskData struct {
	// Gets the machine display name.
	DisplayName *string

	// Gets the gigabytes provisioned.
	GigabytesProvisioned *float32

	// Gets the megabytes per second of read.
	MegabytesPerSecondOfRead *float32

	// Gets the megabytes per second of write.
	MegabytesPerSecondOfWrite *float32

	// Gets the monthly storage cost.
	MonthlyStorageCost *float32

	// Gets the name.
	Name *string

	// Gets the number of read operations per second.
	NumberOfReadOperationsPerSecond *float32

	// Gets the number of write operations per second.
	NumberOfWriteOperationsPerSecond *float32

	// Gets the recommended disk throughput.
	RecommendDiskThroughputInMbps *float32

	// Gets the recommended disk iops.
	RecommendedDiskIops *float32

	// Gets the recommended disk size.
	RecommendedDiskSize *AzureDiskSize

	// Gets the recommended disk size.
	RecommendedDiskSizeGigabytes *int32

	// Gets the recommended disk type.
	RecommendedDiskType *AzureDiskType

	// Gets the suitability.
	Suitability *CloudSuitability

	// Gets the suitability detail.
	SuitabilityDetail *AzureDiskSuitabilityDetail

	// Gets the suitability explanation.
	SuitabilityExplanation *AzureDiskSuitabilityExplanation
}

AssessedDiskData - Assessed Disk data. Used in Assessed SQL machine DTO.

func (AssessedDiskData) MarshalJSON

func (a AssessedDiskData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedDiskData.

func (*AssessedDiskData) UnmarshalJSON

func (a *AssessedDiskData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedDiskData.

type AssessedMachine

type AssessedMachine struct {
	// The resource-specific properties for this resource.
	Properties *AssessedMachineProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedMachine - Machine assessment Assessed Machine resource.

func (AssessedMachine) MarshalJSON

func (a AssessedMachine) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedMachine.

func (*AssessedMachine) UnmarshalJSON

func (a *AssessedMachine) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedMachine.

type AssessedMachineListResult

type AssessedMachineListResult struct {
	// REQUIRED; The AssessedMachine items on this page
	Value []*AssessedMachine

	// The link to the next page of items
	NextLink *string
}

AssessedMachineListResult - The response of a AssessedMachine list operation.

func (AssessedMachineListResult) MarshalJSON

func (a AssessedMachineListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedMachineListResult.

func (*AssessedMachineListResult) UnmarshalJSON

func (a *AssessedMachineListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedMachineListResult.

type AssessedMachineProperties

type AssessedMachineProperties struct {
	// Gets or sets the collection of cost components.
	CostComponents []*CostComponent

	// Gets or sets the processor details of the host.
	HostProcessor *ProcessorInfo

	// READ-ONLY; Boot type of machine discovered in private data center.
	BootType *MachineBootType

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; When was machine first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Data center machine ARM id.
	DatacenterMachineArmID *string

	// READ-ONLY; Data center management server ARM id.
	DatacenterManagementServerArmID *string

	// READ-ONLY; Data center management server name.
	DatacenterManagementServerName *string

	// READ-ONLY; Description for the machine.
	Description *string

	// READ-ONLY; Dictionary of disks attached to the machine. Key is ID of disk. Value is a disk object.
	Disks map[string]*AssessedDisk

	// READ-ONLY; Display Name of the Machine.
	DisplayName *string

	// READ-ONLY; List of errors for this machine.
	Errors []*Error

	// READ-ONLY; Megabytes of memory found allocated for the machine in private data center.
	MegabytesOfMemory *float32

	// READ-ONLY; Megabytes of memory for recommended size. Read Only.
	MegabytesOfMemoryForRecommendedSize *float32

	// READ-ONLY; Monthly networking cost.
	MonthlyBandwidthCost *float32

	// READ-ONLY; Monthly Compute cost calculated for Recommended size, for a 31-day month.
	MonthlyComputeCostForRecommendedSize *float32

	// READ-ONLY; Monthly premium storage cost.
	MonthlyPremiumStorageCost *float32

	// READ-ONLY; Monthly standard SSD storage cost.
	MonthlyStandardSsdStorageCost *float32

	// READ-ONLY; Monthly storage cost.
	MonthlyStorageCost *float32

	// READ-ONLY; Monthly ultra storage cost.
	MonthlyUltraStorageCost *float32

	// READ-ONLY; List of Network Adapters that were assessed as part of this machine's assessment.
	NetworkAdapters map[string]*AssessedNetworkAdapter

	// READ-ONLY; Number of CPU cores found on the machine.
	NumberOfCores *int32

	// READ-ONLY; Number of cores for recommended size. Read Only.
	NumberOfCoresForRecommendedSize *int32

	// READ-ONLY; Operating system architecture as reported by datacenter management solution.
	OperatingSystemArchitecture *GuestOperatingSystemArchitecture

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemName *string

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemType *string

	// READ-ONLY; Operating system version as reported by datacenter management solution.
	OperatingSystemVersion *string

	// READ-ONLY; Percentile of Percentage of Cores Utilized noted during time period T.
	// Here N and T are settings on Assessment.
	PercentageCoresUtilization *float32

	// READ-ONLY; Percentile of Percentage of Memory Utilized noted during time period T.
	// Here N and T are settings on Assessment.
	PercentageMemoryUtilization *float32

	// READ-ONLY; Gets the product support status related details.
	ProductSupportStatus *ProductSupportStatus

	// READ-ONLY; Recommended Azure Size for the machine.
	RecommendedSize *AzureVMSize

	// READ-ONLY; Gets a value indicating whether machine is suitable for the cloud platform selected.
	Suitability *CloudSuitability

	// READ-ONLY; Gets the details if machine is not suitable for cloud.
	SuitabilityDetail *AzureVMSuitabilityDetail

	// READ-ONLY; Gets the explanation if machine is not suitable for cloud.
	SuitabilityExplanation *AzureVMSuitabilityExplanation

	// READ-ONLY; Assessed machine type.
	Type *AssessedMachineType

	// READ-ONLY; When was machine last updated.
	UpdatedTimestamp *time.Time
}

AssessedMachineProperties - Assessed machine properties class.

func (AssessedMachineProperties) MarshalJSON

func (a AssessedMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedMachineProperties.

func (*AssessedMachineProperties) UnmarshalJSON

func (a *AssessedMachineProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedMachineProperties.

type AssessedMachineType

type AssessedMachineType string
const (
	AssessedMachineTypeAssessedMachine    AssessedMachineType = "AssessedMachine"
	AssessedMachineTypeAvsAssessedMachine AssessedMachineType = "AvsAssessedMachine"
	AssessedMachineTypeSQLAssessedMachine AssessedMachineType = "SqlAssessedMachine"
	AssessedMachineTypeUnknown            AssessedMachineType = "Unknown"
)

func PossibleAssessedMachineTypeValues

func PossibleAssessedMachineTypeValues() []AssessedMachineType

PossibleAssessedMachineTypeValues returns the possible values for the AssessedMachineType const type.

type AssessedMachinesOperationsClient

type AssessedMachinesOperationsClient struct {
	// contains filtered or unexported fields
}

AssessedMachinesOperationsClient contains the methods for the AssessedMachinesOperations group. Don't use this type directly, use NewAssessedMachinesOperationsClient() instead.

func NewAssessedMachinesOperationsClient

func NewAssessedMachinesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedMachinesOperationsClient, error)

NewAssessedMachinesOperationsClient creates a new instance of AssessedMachinesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedMachinesOperationsClient) Get

func (client *AssessedMachinesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, assessedMachineName string, options *AssessedMachinesOperationsClientGetOptions) (AssessedMachinesOperationsClientGetResponse, error)

Get - Get a AssessedMachine If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Machine Assessment ARM name
  • assessedMachineName - Machine assessment Assessed Machine ARM name
  • options - AssessedMachinesOperationsClientGetOptions contains the optional parameters for the AssessedMachinesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedMachinesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedMachinesOperationsClient().Get(ctx, "rgopenapi", "pavqtntysjn", "smawqdmhfngray", "qjlumxyqsitd", "oqxjeheiipjmuo", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedMachine = armmigrationassessment.AssessedMachine{
	// 	Name: to.Ptr("riigi"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1/assessedMachines/50fa865c-8c5c-4371-b7eb-5b900d7f9451"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T12:46:17.892Z"); return t}()),
	// 		CreatedBy: to.Ptr("jsfqnyqqwykkv"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByType("sakanwar")),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T12:46:17.892Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AssessedMachineProperties{
	// 		Type: to.Ptr(armmigrationassessment.AssessedMachineTypeAssessedMachine),
	// 		BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](14),
	// 		CostComponents: []*armmigrationassessment.CostComponent{
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAzureHybridCostSavings),
	// 				Value: to.Ptr[float32](273.792),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 				Value: to.Ptr[float32](14.88),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyPremiumV2StorageCost),
	// 				Value: to.Ptr[float32](25.141248),
	// 		}},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:13.816Z"); return t}()),
	// 		DatacenterMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app18700site/machines/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3_50150976-65ec-de99-1b54-a52710c3066e"),
	// 		DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app18700site/vcenters/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3"),
	// 		DatacenterManagementServerName: to.Ptr("idclab-vcen67.fareast.corp.microsoft.com"),
	// 		Disks: map[string]*armmigrationassessment.AssessedDisk{
	// 			"6000C297-455f-f81e-37b7-dc17da4433d4": &armmigrationassessment.AssessedDisk{
	// 				Name: to.Ptr("6000C297-455f-f81e-37b7-dc17da4433d4"),
	// 				DisplayName: to.Ptr("scsi0:0"),
	// 				GigabytesForRecommendedDiskSize: to.Ptr[int32](17),
	// 				GigabytesProvisioned: to.Ptr[float32](8),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](9),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](29),
	// 				MonthlyStorageCost: to.Ptr[float32](5),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](12),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](28),
	// 				RecommendDiskThroughputInMbps: to.Ptr[float32](125),
	// 				RecommendedDiskIops: to.Ptr[float32](3000),
	// 				RecommendedDiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumV2),
	// 				RecommendedDiskType: to.Ptr(armmigrationassessment.AzureDiskTypePremiumV2),
	// 				Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 				SuitabilityDetail: to.Ptr(armmigrationassessment.AzureDiskSuitabilityDetailNumberOfReadOperationsPerSecondMissing),
	// 				SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureDiskSuitabilityExplanationNotApplicable),
	// 			},
	// 		},
	// 		DisplayName: to.Ptr("SQLTestDBVM28"),
	// 		Errors: []*armmigrationassessment.Error{
	// 		},
	// 		HostProcessor: &armmigrationassessment.ProcessorInfo{
	// 			Name: to.Ptr("Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz"),
	// 			NumberOfCoresPerSocket: to.Ptr[int32](24),
	// 			NumberOfSockets: to.Ptr[int32](2),
	// 		},
	// 		MegabytesOfMemory: to.Ptr[float32](21),
	// 		MegabytesOfMemoryForRecommendedSize: to.Ptr[float32](27),
	// 		MonthlyBandwidthCost: to.Ptr[float32](4),
	// 		MonthlyComputeCostForRecommendedSize: to.Ptr[float32](1),
	// 		MonthlyPremiumStorageCost: to.Ptr[float32](6),
	// 		MonthlyStandardSsdStorageCost: to.Ptr[float32](4),
	// 		MonthlyStorageCost: to.Ptr[float32](10),
	// 		MonthlyUltraStorageCost: to.Ptr[float32](11),
	// 		NetworkAdapters: map[string]*armmigrationassessment.AssessedNetworkAdapter{
	// 			"4000": &armmigrationassessment.AssessedNetworkAdapter{
	// 				DisplayName: to.Ptr("VM Network"),
	// 				IPAddresses: []*string{
	// 					to.Ptr("2404:f801:4800:1c:c4c2:1cd:7154:a028")},
	// 					MacAddress: to.Ptr("00:50:56:95:98:e8"),
	// 					MegabytesPerSecondReceived: to.Ptr[float32](10),
	// 					MegabytesPerSecondTransmitted: to.Ptr[float32](24),
	// 					MonthlyBandwidthCosts: to.Ptr[float32](4),
	// 					NetGigabytesTransmittedPerMonth: to.Ptr[float32](6),
	// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 					SuitabilityDetail: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityDetail("NotApplicable")),
	// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityExplanation("MegabytesOfDataTransmittedMissing, MegabytesOfDataRecievedMissing")),
	// 				},
	// 			},
	// 			NumberOfCores: to.Ptr[int32](7),
	// 			NumberOfCoresForRecommendedSize: to.Ptr[int32](8),
	// 			OperatingSystemArchitecture: to.Ptr(armmigrationassessment.GuestOperatingSystemArchitectureX64),
	// 			OperatingSystemName: to.Ptr("Microsoft Windows Server 2016 or later (64-bit)"),
	// 			OperatingSystemType: to.Ptr("windowsGuest"),
	// 			PercentageCoresUtilization: to.Ptr[float32](24),
	// 			PercentageMemoryUtilization: to.Ptr[float32](5),
	// 			ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
	// 				CurrentEsuYear: to.Ptr("Unknown"),
	// 				EsuStatus: to.Ptr("Unknown"),
	// 				Eta: to.Ptr[int32](0),
	// 				ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-10-08T00:00:00.000Z"); return t}()),
	// 				ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-10-14T00:00:00.000Z"); return t}()),
	// 				ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-13T00:00:00.000Z"); return t}()),
	// 				ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-10T00:00:00.000Z"); return t}()),
	// 				MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-09T00:00:00.000Z"); return t}()),
	// 				ServicePackStatus: to.Ptr("Unknown"),
	// 				SupportStatus: to.Ptr("Extended"),
	// 			},
	// 			RecommendedSize: to.Ptr(armmigrationassessment.AzureVMSizeStandardF4SV2),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 			SuitabilityDetail: to.Ptr(armmigrationassessment.AzureVMSuitabilityDetailPercentageOfCoresUtilizedMissing),
	// 			SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureVMSuitabilityExplanationNotApplicable),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:13.816Z"); return t}()),
	// 		},
	// 	}
}
Output:

func (*AssessedMachinesOperationsClient) NewListByAssessmentPager

func (client *AssessedMachinesOperationsClient) NewListByAssessmentPager(resourceGroupName string, projectName string, groupName string, assessmentName string, options *AssessedMachinesOperationsClientListByAssessmentOptions) *runtime.Pager[AssessedMachinesOperationsClientListByAssessmentResponse]

NewListByAssessmentPager - List AssessedMachine resources by Assessment

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Machine Assessment ARM name
  • options - AssessedMachinesOperationsClientListByAssessmentOptions contains the optional parameters for the AssessedMachinesOperationsClient.NewListByAssessmentPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedMachinesOperations_ListByAssessment_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedMachinesOperationsClient().NewListByAssessmentPager("rgopenapi", "sloqixzfjk", "kjuepxerwseq", "rhzcmubwrrkhtocsibu", &armmigrationassessment.AssessedMachinesOperationsClientListByAssessmentOptions{Filter: to.Ptr("sbkdovsfqldhdb"),
		PageSize:          to.Ptr[int32](10),
		ContinuationToken: to.Ptr("hbyseetshbplfkjmpjhsiurqgt"),
		TotalRecordCount:  to.Ptr[int32](25),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedMachineListResult = armmigrationassessment.AssessedMachineListResult{
		// 	Value: []*armmigrationassessment.AssessedMachine{
		// 		{
		// 			Name: to.Ptr("riigi"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/assessments/assessedMachines"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1/assessedMachines/50fa865c-8c5c-4371-b7eb-5b900d7f9451"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T12:46:17.892Z"); return t}()),
		// 				CreatedBy: to.Ptr("jsfqnyqqwykkv"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByType("sakanwar")),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T12:46:17.892Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AssessedMachineProperties{
		// 				Type: to.Ptr(armmigrationassessment.AssessedMachineTypeAssessedMachine),
		// 				BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](14),
		// 				CostComponents: []*armmigrationassessment.CostComponent{
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAzureHybridCostSavings),
		// 						Value: to.Ptr[float32](273.792),
		// 					},
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 						Value: to.Ptr[float32](14.88),
		// 					},
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyPremiumV2StorageCost),
		// 						Value: to.Ptr[float32](25.141248),
		// 				}},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:13.816Z"); return t}()),
		// 				DatacenterMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app18700site/machines/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3_50150976-65ec-de99-1b54-a52710c3066e"),
		// 				DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app18700site/vcenters/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3"),
		// 				DatacenterManagementServerName: to.Ptr("idclab-vcen67.fareast.corp.microsoft.com"),
		// 				Disks: map[string]*armmigrationassessment.AssessedDisk{
		// 					"6000C297-455f-f81e-37b7-dc17da4433d4": &armmigrationassessment.AssessedDisk{
		// 						Name: to.Ptr("6000C297-455f-f81e-37b7-dc17da4433d4"),
		// 						DisplayName: to.Ptr("scsi0:0"),
		// 						GigabytesForRecommendedDiskSize: to.Ptr[int32](17),
		// 						GigabytesProvisioned: to.Ptr[float32](8),
		// 						MegabytesPerSecondOfRead: to.Ptr[float32](9),
		// 						MegabytesPerSecondOfWrite: to.Ptr[float32](29),
		// 						MonthlyStorageCost: to.Ptr[float32](5),
		// 						NumberOfReadOperationsPerSecond: to.Ptr[float32](12),
		// 						NumberOfWriteOperationsPerSecond: to.Ptr[float32](28),
		// 						RecommendDiskThroughputInMbps: to.Ptr[float32](125),
		// 						RecommendedDiskIops: to.Ptr[float32](3000),
		// 						RecommendedDiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumV2),
		// 						RecommendedDiskType: to.Ptr(armmigrationassessment.AzureDiskTypePremiumV2),
		// 						Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 						SuitabilityDetail: to.Ptr(armmigrationassessment.AzureDiskSuitabilityDetailNumberOfReadOperationsPerSecondMissing),
		// 						SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureDiskSuitabilityExplanationNotApplicable),
		// 					},
		// 				},
		// 				DisplayName: to.Ptr("SQLTestDBVM28"),
		// 				Errors: []*armmigrationassessment.Error{
		// 				},
		// 				HostProcessor: &armmigrationassessment.ProcessorInfo{
		// 					Name: to.Ptr("Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz"),
		// 					NumberOfCoresPerSocket: to.Ptr[int32](24),
		// 					NumberOfSockets: to.Ptr[int32](2),
		// 				},
		// 				MegabytesOfMemory: to.Ptr[float32](21),
		// 				MegabytesOfMemoryForRecommendedSize: to.Ptr[float32](27),
		// 				MonthlyBandwidthCost: to.Ptr[float32](4),
		// 				MonthlyComputeCostForRecommendedSize: to.Ptr[float32](1),
		// 				MonthlyPremiumStorageCost: to.Ptr[float32](6),
		// 				MonthlyStandardSsdStorageCost: to.Ptr[float32](4),
		// 				MonthlyStorageCost: to.Ptr[float32](10),
		// 				MonthlyUltraStorageCost: to.Ptr[float32](11),
		// 				NetworkAdapters: map[string]*armmigrationassessment.AssessedNetworkAdapter{
		// 					"4000": &armmigrationassessment.AssessedNetworkAdapter{
		// 						DisplayName: to.Ptr("VM Network"),
		// 						IPAddresses: []*string{
		// 							to.Ptr("2404:f801:4800:1c:c4c2:1cd:7154:a028")},
		// 							MacAddress: to.Ptr("00:50:56:95:98:e8"),
		// 							MegabytesPerSecondReceived: to.Ptr[float32](10),
		// 							MegabytesPerSecondTransmitted: to.Ptr[float32](24),
		// 							MonthlyBandwidthCosts: to.Ptr[float32](4),
		// 							NetGigabytesTransmittedPerMonth: to.Ptr[float32](6),
		// 							Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 							SuitabilityDetail: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityDetail("NotApplicable")),
		// 							SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityExplanation("MegabytesOfDataTransmittedMissing, MegabytesOfDataRecievedMissing")),
		// 						},
		// 					},
		// 					NumberOfCores: to.Ptr[int32](7),
		// 					NumberOfCoresForRecommendedSize: to.Ptr[int32](8),
		// 					OperatingSystemArchitecture: to.Ptr(armmigrationassessment.GuestOperatingSystemArchitectureX64),
		// 					OperatingSystemName: to.Ptr("Microsoft Windows Server 2016 or later (64-bit)"),
		// 					OperatingSystemType: to.Ptr("windowsGuest"),
		// 					PercentageCoresUtilization: to.Ptr[float32](24),
		// 					PercentageMemoryUtilization: to.Ptr[float32](5),
		// 					ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
		// 						CurrentEsuYear: to.Ptr("Unknown"),
		// 						EsuStatus: to.Ptr("Unknown"),
		// 						Eta: to.Ptr[int32](0),
		// 						ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-10-08T00:00:00.000Z"); return t}()),
		// 						ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-10-14T00:00:00.000Z"); return t}()),
		// 						ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-13T00:00:00.000Z"); return t}()),
		// 						ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-10T00:00:00.000Z"); return t}()),
		// 						MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-09T00:00:00.000Z"); return t}()),
		// 						ServicePackStatus: to.Ptr("Unknown"),
		// 						SupportStatus: to.Ptr("Extended"),
		// 					},
		// 					RecommendedSize: to.Ptr(armmigrationassessment.AzureVMSizeStandardF4SV2),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 					SuitabilityDetail: to.Ptr(armmigrationassessment.AzureVMSuitabilityDetailPercentageOfCoresUtilizedMissing),
		// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureVMSuitabilityExplanationNotApplicable),
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:13.816Z"); return t}()),
		// 				},
		// 		}},
		// 	}
	}
}
Output:

type AssessedMachinesOperationsClientGetOptions

type AssessedMachinesOperationsClientGetOptions struct {
}

AssessedMachinesOperationsClientGetOptions contains the optional parameters for the AssessedMachinesOperationsClient.Get method.

type AssessedMachinesOperationsClientGetResponse

type AssessedMachinesOperationsClientGetResponse struct {
	// Machine assessment Assessed Machine resource.
	AssessedMachine
}

AssessedMachinesOperationsClientGetResponse contains the response from method AssessedMachinesOperationsClient.Get.

type AssessedMachinesOperationsClientListByAssessmentOptions

type AssessedMachinesOperationsClientListByAssessmentOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AssessedMachinesOperationsClientListByAssessmentOptions contains the optional parameters for the AssessedMachinesOperationsClient.NewListByAssessmentPager method.

type AssessedMachinesOperationsClientListByAssessmentResponse

type AssessedMachinesOperationsClientListByAssessmentResponse struct {
	// The response of a AssessedMachine list operation.
	AssessedMachineListResult
}

AssessedMachinesOperationsClientListByAssessmentResponse contains the response from method AssessedMachinesOperationsClient.NewListByAssessmentPager.

type AssessedNetworkAdapter

type AssessedNetworkAdapter struct {
	// Gets the display name.
	DisplayName *string

	// Gets the mac address.
	MacAddress *string

	// Gets the megabytes per second received.
	MegabytesPerSecondReceived *float32

	// Gets the megabytes per second transmitted.
	MegabytesPerSecondTransmitted *float32

	// Gets the monthly bandwidth costs.
	MonthlyBandwidthCosts *float32

	// Gets the net gigabytes transmitted per month.
	NetGigabytesTransmittedPerMonth *float32

	// Gets the suitability.
	Suitability *CloudSuitability

	// Gets the suitability detail.
	SuitabilityDetail *AzureNetworkAdapterSuitabilityDetail

	// Gets the suitability explanation.
	SuitabilityExplanation *AzureNetworkAdapterSuitabilityExplanation

	// READ-ONLY; Gets the ip addresses.
	IPAddresses []*string
}

AssessedNetworkAdapter - Assessed Network Adapter.

func (AssessedNetworkAdapter) MarshalJSON

func (a AssessedNetworkAdapter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedNetworkAdapter.

func (*AssessedNetworkAdapter) UnmarshalJSON

func (a *AssessedNetworkAdapter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedNetworkAdapter.

type AssessedSQLDatabaseV2

type AssessedSQLDatabaseV2 struct {
	// The resource-specific properties for this resource.
	Properties *AssessedSQLDatabaseV2Properties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedSQLDatabaseV2 - Assessed SQL database web model class.

func (AssessedSQLDatabaseV2) MarshalJSON

func (a AssessedSQLDatabaseV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLDatabaseV2.

func (*AssessedSQLDatabaseV2) UnmarshalJSON

func (a *AssessedSQLDatabaseV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLDatabaseV2.

type AssessedSQLDatabaseV2ListResult

type AssessedSQLDatabaseV2ListResult struct {
	// REQUIRED; The AssessedSqlDatabaseV2 items on this page
	Value []*AssessedSQLDatabaseV2

	// The link to the next page of items
	NextLink *string
}

AssessedSQLDatabaseV2ListResult - The response of a AssessedSqlDatabaseV2 list operation.

func (AssessedSQLDatabaseV2ListResult) MarshalJSON

func (a AssessedSQLDatabaseV2ListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLDatabaseV2ListResult.

func (*AssessedSQLDatabaseV2ListResult) UnmarshalJSON

func (a *AssessedSQLDatabaseV2ListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLDatabaseV2ListResult.

type AssessedSQLDatabaseV2OperationsClient

type AssessedSQLDatabaseV2OperationsClient struct {
	// contains filtered or unexported fields
}

AssessedSQLDatabaseV2OperationsClient contains the methods for the AssessedSQLDatabaseV2Operations group. Don't use this type directly, use NewAssessedSQLDatabaseV2OperationsClient() instead.

func NewAssessedSQLDatabaseV2OperationsClient

func NewAssessedSQLDatabaseV2OperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedSQLDatabaseV2OperationsClient, error)

NewAssessedSQLDatabaseV2OperationsClient creates a new instance of AssessedSQLDatabaseV2OperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedSQLDatabaseV2OperationsClient) Get

func (client *AssessedSQLDatabaseV2OperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, assessedSQLDatabaseName string, options *AssessedSQLDatabaseV2OperationsClientGetOptions) (AssessedSQLDatabaseV2OperationsClientGetResponse, error)

Get - Get a AssessedSqlDatabaseV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • assessedSQLDatabaseName - Sql assessment Assessed Databases ARM name.
  • options - AssessedSQLDatabaseV2OperationsClientGetOptions contains the optional parameters for the AssessedSQLDatabaseV2OperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlDatabaseV2Operations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedSQLDatabaseV2OperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", "858eb860-9e07-417c-91b6-bca1bffb3bf5", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedSQLDatabaseV2 = armmigrationassessment.AssessedSQLDatabaseV2{
	// 	Name: to.Ptr("858eb860-9e07-417c-91b6-bca1bffb3bf5"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/assessedSqlDatabases"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlDatabases/858eb860-9e07-417c-91b6-bca1bffb3bf5"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.AssessedSQLDatabaseV2Properties{
	// 		AssessedSQLInstanceArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlInstances/b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
	// 		AzureSQLDBSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
	// 			AzureSQLSKU: &armmigrationassessment.AzureSQLPaasSKUDTO{
	// 				AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 				AzureSQLHardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 				AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
	// 				AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 				Cores: to.Ptr[int32](2),
	// 				PredictedDataSizeInMB: to.Ptr[float32](10),
	// 				PredictedLogSizeInMB: to.Ptr[float32](5),
	// 				StorageMaxSizeInMB: to.Ptr[float32](1024),
	// 			},
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("SuitabilityReportMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("Finance_User10"),
	// 							ObjectType: to.Ptr("SqlDatabase"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 			MonthlyComputeCost: to.Ptr[float32](118.999824),
	// 			MonthlyStorageCost: to.Ptr[float32](0.69),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("AllocatedCores"),
	// 							ContextValue: to.Ptr("2"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TargetCoresRecommended"),
	// 							ContextValue: to.Ptr("2"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("CpuType"),
	// 					ReasoningID: to.Ptr("DatabaseCpuScalingFactorRequirementUnavailable"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("TotalStorageConsumedByDataFilesInGB"),
	// 							ContextValue: to.Ptr("0.01"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TotalStorageConsumedByLogFilesInGB"),
	// 							ContextValue: to.Ptr("0.005"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TotalRecommendedStorageInGB"),
	// 							ContextValue: to.Ptr("1024"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("StorageType"),
	// 					ReasoningID: to.Ptr("MeetsDatabaseStorageRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("ComputeTier"),
	// 							ContextValue: to.Ptr("Provisioned"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("ComputeTier"),
	// 					ReasoningID: to.Ptr("MeetsProvisionedComputeTierRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("ServiceTier"),
	// 							ContextValue: to.Ptr("GeneralPurpose"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("ServiceTier"),
	// 					ReasoningID: to.Ptr("MeetsServiceTierRequirement"),
	// 			}},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			SharedResources: &armmigrationassessment.SharedResourcesDTO{
	// 				NumberOfMounts: to.Ptr[int32](0),
	// 				SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 			},
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityReadinessUnknown),
	// 		},
	// 		AzureSQLMISuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("SuitabilityReportMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("Finance_User10"),
	// 							ObjectType: to.Ptr("SqlDatabase"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryIssue),
	// 					IssueID: to.Ptr("SkuNotFound"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
	// 			MonthlyComputeCost: to.Ptr[float32](0),
	// 			MonthlyStorageCost: to.Ptr[float32](0),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 			},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityNotSuitable),
	// 		},
	// 		BufferCacheSizeInMB: to.Ptr[float32](18.87557603686636),
	// 		CompatibilityLevel: to.Ptr(armmigrationassessment.CompatibilityLevelCompatLevel120),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](0),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:34.857Z"); return t}()),
	// 		DatabaseName: to.Ptr("Finance_User10"),
	// 		DatabaseSizeInMB: to.Ptr[float32](15),
	// 		InstanceName: to.Ptr("MSSQLSERVER"),
	// 		IsDatabaseHighlyAvailable: to.Ptr(false),
	// 		MachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/machines/cc64c9dc-b38e-435d-85ad-d509df5d92c6"),
	// 		MachineName: to.Ptr("SQLHAVM17"),
	// 		MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 		MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 		NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 		NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 		PercentageCoresUtilization: to.Ptr[float32](100),
	// 		ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
	// 			CurrentEsuYear: to.Ptr("Unknown"),
	// 			EsuStatus: to.Ptr("Unknown"),
	// 			Eta: to.Ptr[int32](9),
	// 			ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-07-09T00:00:00.000Z"); return t}()),
	// 			MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-09T00:00:00.000Z"); return t}()),
	// 			ServicePackStatus: to.Ptr("Unknown"),
	// 			SupportStatus: to.Ptr("Extended"),
	// 		},
	// 		RecommendedAzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 		RecommendedSuitability: to.Ptr(armmigrationassessment.RecommendedSuitabilitySuitableForSQLVM),
	// 		SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
	// 		SQLDatabaseSdsArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/mastersites/fci-ankit-test6065mastersite/sqlsites/fci-ankit-test6065sqlsites/sqldatabases/ea92ba27-3656-5370-8bcc-e5eed9d7ba5e"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:36.466Z"); return t}()),
	// 	},
	// }
}
Output:

func (*AssessedSQLDatabaseV2OperationsClient) NewListBySQLAssessmentV2Pager

NewListBySQLAssessmentV2Pager - List AssessedSqlDatabaseV2 resources by SqlAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLDatabaseV2OperationsClient.NewListBySQLAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlDatabaseV2Operations_ListBySqlAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedSQLDatabaseV2OperationsClient().NewListBySQLAssessmentV2Pager("rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", &armmigrationassessment.AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Options{Filter: to.Ptr("(contains(Properties/DatabaseName,'adv130'))"),
		PageSize:          to.Ptr[int32](23),
		ContinuationToken: nil,
		TotalRecordCount:  to.Ptr[int32](1),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedSQLDatabaseV2ListResult = armmigrationassessment.AssessedSQLDatabaseV2ListResult{
		// 	Value: []*armmigrationassessment.AssessedSQLDatabaseV2{
		// 		{
		// 			Name: to.Ptr("858eb860-9e07-417c-91b6-bca1bffb3bf5"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/assessedSqlDatabases"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlDatabases/858eb860-9e07-417c-91b6-bca1bffb3bf5"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.AssessedSQLDatabaseV2Properties{
		// 				AssessedSQLInstanceArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlInstances/b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
		// 				AzureSQLDBSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
		// 					AzureSQLSKU: &armmigrationassessment.AzureSQLPaasSKUDTO{
		// 						AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 						AzureSQLHardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 						AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
		// 						AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 						Cores: to.Ptr[int32](2),
		// 						PredictedDataSizeInMB: to.Ptr[float32](10),
		// 						PredictedLogSizeInMB: to.Ptr[float32](5),
		// 						StorageMaxSizeInMB: to.Ptr[float32](1024),
		// 					},
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](0),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 					},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("SuitabilityReportMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("Finance_User10"),
		// 									ObjectType: to.Ptr("SqlDatabase"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
		// 							IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 					MonthlyComputeCost: to.Ptr[float32](118.999824),
		// 					MonthlyStorageCost: to.Ptr[float32](0.69),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("AllocatedCores"),
		// 									ContextValue: to.Ptr("2"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TargetCoresRecommended"),
		// 									ContextValue: to.Ptr("2"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("CpuType"),
		// 							ReasoningID: to.Ptr("DatabaseCpuScalingFactorRequirementUnavailable"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("TotalStorageConsumedByDataFilesInGB"),
		// 									ContextValue: to.Ptr("0.01"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TotalStorageConsumedByLogFilesInGB"),
		// 									ContextValue: to.Ptr("0.005"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TotalRecommendedStorageInGB"),
		// 									ContextValue: to.Ptr("1024"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("StorageType"),
		// 							ReasoningID: to.Ptr("MeetsDatabaseStorageRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("ComputeTier"),
		// 									ContextValue: to.Ptr("Provisioned"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ComputeTier"),
		// 							ReasoningID: to.Ptr("MeetsProvisionedComputeTierRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("ServiceTier"),
		// 									ContextValue: to.Ptr("GeneralPurpose"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ServiceTier"),
		// 							ReasoningID: to.Ptr("MeetsServiceTierRequirement"),
		// 					}},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
		// 					SharedResources: &armmigrationassessment.SharedResourcesDTO{
		// 						NumberOfMounts: to.Ptr[int32](0),
		// 						SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 					},
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityReadinessUnknown),
		// 				},
		// 				AzureSQLMISuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](0),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 					},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("SuitabilityReportMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("Finance_User10"),
		// 									ObjectType: to.Ptr("SqlDatabase"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryIssue),
		// 							IssueID: to.Ptr("SkuNotFound"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
		// 					MonthlyComputeCost: to.Ptr[float32](0),
		// 					MonthlyStorageCost: to.Ptr[float32](0),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 					},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityNotSuitable),
		// 				},
		// 				BufferCacheSizeInMB: to.Ptr[float32](18.87557603686636),
		// 				CompatibilityLevel: to.Ptr(armmigrationassessment.CompatibilityLevelCompatLevel120),
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](0),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:34.857Z"); return t}()),
		// 				DatabaseName: to.Ptr("Finance_User10"),
		// 				DatabaseSizeInMB: to.Ptr[float32](15),
		// 				InstanceName: to.Ptr("MSSQLSERVER"),
		// 				IsDatabaseHighlyAvailable: to.Ptr(false),
		// 				MachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/machines/cc64c9dc-b38e-435d-85ad-d509df5d92c6"),
		// 				MachineName: to.Ptr("SQLHAVM17"),
		// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
		// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
		// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
		// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
		// 				PercentageCoresUtilization: to.Ptr[float32](100),
		// 				ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
		// 					CurrentEsuYear: to.Ptr("Unknown"),
		// 					EsuStatus: to.Ptr("Unknown"),
		// 					Eta: to.Ptr[int32](9),
		// 					ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-07-09T00:00:00.000Z"); return t}()),
		// 					MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-09T00:00:00.000Z"); return t}()),
		// 					ServicePackStatus: to.Ptr("Unknown"),
		// 					SupportStatus: to.Ptr("Extended"),
		// 				},
		// 				RecommendedAzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 				RecommendedSuitability: to.Ptr(armmigrationassessment.RecommendedSuitabilitySuitableForSQLVM),
		// 				SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
		// 				SQLDatabaseSdsArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/mastersites/fci-ankit-test6065mastersite/sqlsites/fci-ankit-test6065sqlsites/sqldatabases/ea92ba27-3656-5370-8bcc-e5eed9d7ba5e"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:36.466Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AssessedSQLDatabaseV2OperationsClientGetOptions

type AssessedSQLDatabaseV2OperationsClientGetOptions struct {
}

AssessedSQLDatabaseV2OperationsClientGetOptions contains the optional parameters for the AssessedSQLDatabaseV2OperationsClient.Get method.

type AssessedSQLDatabaseV2OperationsClientGetResponse

type AssessedSQLDatabaseV2OperationsClientGetResponse struct {
	// Assessed SQL database web model class.
	AssessedSQLDatabaseV2
}

AssessedSQLDatabaseV2OperationsClientGetResponse contains the response from method AssessedSQLDatabaseV2OperationsClient.Get.

type AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Options

type AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Options struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLDatabaseV2OperationsClient.NewListBySQLAssessmentV2Pager method.

type AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Response

type AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Response struct {
	// The response of a AssessedSqlDatabaseV2 list operation.
	AssessedSQLDatabaseV2ListResult
}

AssessedSQLDatabaseV2OperationsClientListBySQLAssessmentV2Response contains the response from method AssessedSQLDatabaseV2OperationsClient.NewListBySQLAssessmentV2Pager.

type AssessedSQLDatabaseV2Properties

type AssessedSQLDatabaseV2Properties struct {
	// READ-ONLY; Assessed SQL instance arm id.
	AssessedSQLInstanceArmID *string

	// READ-ONLY; Gets or sets the azure SQL DB suitability details.
	AzureSQLDBSuitabilityDetails *SQLAssessmentV2PaasSuitabilityData

	// READ-ONLY; Gets or sets the azure SQL MI suitability details.
	AzureSQLMISuitabilityDetails *SQLAssessmentV2PaasSuitabilityData

	// READ-ONLY; Gets or sets the aggregated cache size of this database. This is a performance data metric for this DB.
	BufferCacheSizeInMB *float32

	// READ-ONLY; Database compatibility level.
	CompatibilityLevel *CompatibilityLevel

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; When was assessed SQL database first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; SQL database name.
	DatabaseName *string

	// READ-ONLY; SQL database size in megabytes.
	DatabaseSizeInMB *float32

	// READ-ONLY; SQL instance name.
	InstanceName *string

	// READ-ONLY; Gets a value indicating whether the assessed SQL database is highly available or not.
	IsDatabaseHighlyAvailable *bool

	// READ-ONLY; Gets the linked availability group overview if the database being assessed is highly available.
	LinkedAvailabilityGroupOverview *SQLAvailabilityGroupDataOverview

	// READ-ONLY; Machine arm id.
	MachineArmID *string

	// READ-ONLY; Machine display name.
	MachineName *string

	// READ-ONLY; The read throughput of the SQL database.
	MegabytesPerSecondOfRead *float32

	// READ-ONLY; The write throughput of the SQL database.
	MegabytesPerSecondOfWrite *float32

	// READ-ONLY; The read operations per second of the SQL database.
	NumberOfReadOperationsPerSecond *float32

	// READ-ONLY; The write operations per second of the SQL database.
	NumberOfWriteOperationsPerSecond *float32

	// READ-ONLY; The percentage of the total number of cores being utilized by the SQL database.
	PercentageCoresUtilization *float32

	// READ-ONLY; Gets the product support status related details.
	ProductSupportStatus *ProductSupportStatus

	// READ-ONLY; Gets or sets the recommended azure SQL target type.
	RecommendedAzureSQLTargetType *TargetType

	// READ-ONLY; Gets or sets the recommended azure SQL suitability.
	RecommendedSuitability *RecommendedSuitability

	// READ-ONLY; SQL database SDS arm id.
	SQLDatabaseSdsArmID *string

	// READ-ONLY; Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// READ-ONLY; When was assessed SQL database last updated.
	UpdatedTimestamp *time.Time
}

AssessedSQLDatabaseV2Properties - Assessed SQL database properties web model.

func (AssessedSQLDatabaseV2Properties) MarshalJSON

func (a AssessedSQLDatabaseV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLDatabaseV2Properties.

func (*AssessedSQLDatabaseV2Properties) UnmarshalJSON

func (a *AssessedSQLDatabaseV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLDatabaseV2Properties.

type AssessedSQLInstanceDatabaseSummary

type AssessedSQLInstanceDatabaseSummary struct {
	// Gets the largest database size in MB.
	LargestDatabaseSizeInMB *float32

	// Gets the number of user databases.
	NumberOfUserDatabases *int32

	// Gets the total database size in MB.
	TotalDatabaseSizeInMB *float32

	// Gets the total discovered user databases.
	TotalDiscoveredUserDatabases *int32
}

AssessedSQLInstanceDatabaseSummary - Assessed Sql Instance Database Summary.

func (AssessedSQLInstanceDatabaseSummary) MarshalJSON

func (a AssessedSQLInstanceDatabaseSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceDatabaseSummary.

func (*AssessedSQLInstanceDatabaseSummary) UnmarshalJSON

func (a *AssessedSQLInstanceDatabaseSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceDatabaseSummary.

type AssessedSQLInstanceDiskDetails

type AssessedSQLInstanceDiskDetails struct {
	// Gets the disk id.
	DiskID *string

	// Gets the disk size in mb.
	DiskSizeInMB *float32

	// Gets the megabytes per second of read.
	MegabytesPerSecondOfRead *float32

	// Gets the megabytes per second of write.
	MegabytesPerSecondOfWrite *float32

	// Gets the number of read operations per second.
	NumberOfReadOperationsPerSecond *float32

	// Gets the number of write operations per second.
	NumberOfWriteOperationsPerSecond *float32
}

AssessedSQLInstanceDiskDetails - Assessed Sql Instance Disk Details.

func (AssessedSQLInstanceDiskDetails) MarshalJSON

func (a AssessedSQLInstanceDiskDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceDiskDetails.

func (*AssessedSQLInstanceDiskDetails) UnmarshalJSON

func (a *AssessedSQLInstanceDiskDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceDiskDetails.

type AssessedSQLInstanceStorageDetails

type AssessedSQLInstanceStorageDetails struct {
	// Gets the disk size in mb.
	DiskSizeInMB *float32

	// Gets the megabytes per second of read.
	MegabytesPerSecondOfRead *float32

	// Gets the megabytes per second of read.
	MegabytesPerSecondOfWrite *float32

	// Gets the number of read operations per second.
	NumberOfReadOperationsPerSecond *float32

	// Gets the number of write operations per second.
	NumberOfWriteOperationsPerSecond *float32

	// Gets the storage type.
	StorageType *string
}

AssessedSQLInstanceStorageDetails - Assessed Sql Instance Storage Details.

func (AssessedSQLInstanceStorageDetails) MarshalJSON

func (a AssessedSQLInstanceStorageDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceStorageDetails.

func (*AssessedSQLInstanceStorageDetails) UnmarshalJSON

func (a *AssessedSQLInstanceStorageDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceStorageDetails.

type AssessedSQLInstanceSummary

type AssessedSQLInstanceSummary struct {
	// Gets the instance id.
	InstanceID *string

	// Gets the instance name.
	InstanceName *string

	// Gets whether Sql is clustered.
	IsClustered *bool

	// Gets whether Sql is highly available.
	IsHighAvailabilityEnabled *bool

	// Gets the Sql edition.
	SQLEdition *string

	// Gets the Sql Fci state.
	SQLFciState *SQLFCIState

	// Gets the instance entity id.
	SQLInstanceEntityID *string

	// Gets the instance arm id.
	SQLInstanceSdsArmID *string

	// Gets the Sql version.
	SQLVersion *string
}

AssessedSQLInstanceSummary - Assessed Sql Instance Summary.

func (AssessedSQLInstanceSummary) MarshalJSON

func (a AssessedSQLInstanceSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceSummary.

func (*AssessedSQLInstanceSummary) UnmarshalJSON

func (a *AssessedSQLInstanceSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceSummary.

type AssessedSQLInstanceV2

type AssessedSQLInstanceV2 struct {
	// The resource-specific properties for this resource.
	Properties *AssessedSQLInstanceV2Properties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedSQLInstanceV2 - Assessed SQL instance web model class.

func (AssessedSQLInstanceV2) MarshalJSON

func (a AssessedSQLInstanceV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceV2.

func (*AssessedSQLInstanceV2) UnmarshalJSON

func (a *AssessedSQLInstanceV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceV2.

type AssessedSQLInstanceV2ListResult

type AssessedSQLInstanceV2ListResult struct {
	// REQUIRED; The AssessedSqlInstanceV2 items on this page
	Value []*AssessedSQLInstanceV2

	// The link to the next page of items
	NextLink *string
}

AssessedSQLInstanceV2ListResult - The response of a AssessedSqlInstanceV2 list operation.

func (AssessedSQLInstanceV2ListResult) MarshalJSON

func (a AssessedSQLInstanceV2ListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceV2ListResult.

func (*AssessedSQLInstanceV2ListResult) UnmarshalJSON

func (a *AssessedSQLInstanceV2ListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceV2ListResult.

type AssessedSQLInstanceV2OperationsClient

type AssessedSQLInstanceV2OperationsClient struct {
	// contains filtered or unexported fields
}

AssessedSQLInstanceV2OperationsClient contains the methods for the AssessedSQLInstanceV2Operations group. Don't use this type directly, use NewAssessedSQLInstanceV2OperationsClient() instead.

func NewAssessedSQLInstanceV2OperationsClient

func NewAssessedSQLInstanceV2OperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedSQLInstanceV2OperationsClient, error)

NewAssessedSQLInstanceV2OperationsClient creates a new instance of AssessedSQLInstanceV2OperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedSQLInstanceV2OperationsClient) Get

func (client *AssessedSQLInstanceV2OperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, assessedSQLInstanceName string, options *AssessedSQLInstanceV2OperationsClientGetOptions) (AssessedSQLInstanceV2OperationsClientGetResponse, error)

Get - Get a AssessedSqlInstanceV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • assessedSQLInstanceName - Sql assessment Assessed Instance ARM name.
  • options - AssessedSQLInstanceV2OperationsClientGetOptions contains the optional parameters for the AssessedSQLInstanceV2OperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlInstanceV2Operations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedSQLInstanceV2OperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", "3c6574cf-b4e1-4fdc-93db-6bbcc570dda2", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedSQLInstanceV2 = armmigrationassessment.AssessedSQLInstanceV2{
	// 	Name: to.Ptr("3c6574cf-b4e1-4fdc-93db-6bbcc570dda2"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/assessedSqlInstances"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlInstances/3c6574cf-b4e1-4fdc-93db-6bbcc570dda2"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.AssessedSQLInstanceV2Properties{
	// 		AvailabilityReplicaSummary: &armmigrationassessment.SQLAvailabilityReplicaSummary{
	// 			NumberOfAsynchronousNonReadReplicas: to.Ptr[int32](0),
	// 			NumberOfAsynchronousReadReplicas: to.Ptr[int32](0),
	// 			NumberOfPrimaryReplicas: to.Ptr[int32](6),
	// 			NumberOfSynchronousNonReadReplicas: to.Ptr[int32](0),
	// 			NumberOfSynchronousReadReplicas: to.Ptr[int32](0),
	// 		},
	// 		AzureSQLDBSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("SuitabilityReportMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 			MonthlyComputeCost: to.Ptr[float32](833.165424),
	// 			MonthlyStorageCost: to.Ptr[float32](24.69),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 			},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityReadinessUnknown),
	// 		},
	// 		AzureSQLMISuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
	// 			AzureSQLSKU: &armmigrationassessment.AzureSQLPaasSKUDTO{
	// 				AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 				AzureSQLHardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 				AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierBusinessCritical),
	// 				AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
	// 				Cores: to.Ptr[int32](4),
	// 				PredictedDataSizeInMB: to.Ptr[float32](112),
	// 				PredictedLogSizeInMB: to.Ptr[float32](112),
	// 				StorageMaxSizeInMB: to.Ptr[float32](32768),
	// 			},
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("SuitabilityReportMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
	// 			MonthlyComputeCost: to.Ptr[float32](475.999296),
	// 			MonthlyStorageCost: to.Ptr[float32](0),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("AllocatedCores"),
	// 							ContextValue: to.Ptr("2"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TargetCoresRecommended"),
	// 							ContextValue: to.Ptr("4"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("CpuType"),
	// 					ReasoningID: to.Ptr("InstanceCpuScalingFactorRequirementUnavailable"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("TotalStorageConsumedByDataFilesInGB"),
	// 							ContextValue: to.Ptr("0.109"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TotalStorageConsumedByLogFilesInGB"),
	// 							ContextValue: to.Ptr("0.109"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TotalRecommendedStorageInGB"),
	// 							ContextValue: to.Ptr("32"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("IncrementsInStorageInGB"),
	// 							ContextValue: to.Ptr("32"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("MaxAvailableStorageInGB"),
	// 							ContextValue: to.Ptr("1024"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("StorageType"),
	// 					ReasoningID: to.Ptr("MeetsInstanceStorageRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("AlwaysOnDatabaseServiceTier"),
	// 							ContextValue: to.Ptr("BusinessCritical"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("AlwaysOnAG"),
	// 					ReasoningID: to.Ptr("MeetsAlwaysOnInstanceReplicaRequirementWithoutSecondaries"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("ComputeTier"),
	// 							ContextValue: to.Ptr("Provisioned"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("ComputeTier"),
	// 					ReasoningID: to.Ptr("MeetsProvisionedComputeTierRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("ServiceTier"),
	// 							ContextValue: to.Ptr("BusinessCritical"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("ServiceTier"),
	// 					ReasoningID: to.Ptr("MeetsServiceTierRequirement"),
	// 			}},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			SharedResources: &armmigrationassessment.SharedResourcesDTO{
	// 				NumberOfMounts: to.Ptr[int32](0),
	// 				SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 			},
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityReadinessUnknown),
	// 		},
	// 		AzureSQLVMSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2IaasSuitabilityData{
	// 			AzureSQLSKU: &armmigrationassessment.AzureSQLIaasSKUDTO{
	// 				AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 				DataDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 					{
	// 						DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
	// 						DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
	// 						DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
	// 						RecommendedIops: to.Ptr[float32](120),
	// 						RecommendedSizeInGib: to.Ptr[float32](8),
	// 						RecommendedThroughputInMbps: to.Ptr[float32](25),
	// 						StorageCost: to.Ptr[float32](1.56),
	// 				}},
	// 				LogDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 					{
	// 						DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
	// 						DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
	// 						DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
	// 						RecommendedIops: to.Ptr[float32](120),
	// 						RecommendedSizeInGib: to.Ptr[float32](8),
	// 						RecommendedThroughputInMbps: to.Ptr[float32](25),
	// 						StorageCost: to.Ptr[float32](1.56),
	// 				}},
	// 				VirtualMachineSize: &armmigrationassessment.AzureVirtualMachineSKUDTO{
	// 					AvailableCores: to.Ptr[int32](2),
	// 					AzureSKUName: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
	// 					AzureVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 					Cores: to.Ptr[int32](2),
	// 					MaxNetworkInterfaces: to.Ptr[int32](0),
	// 				},
	// 			},
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 				{
	// 					GuidelineID: to.Ptr("MigrateDataFromSourceSqlServerToVM"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 				},
	// 				{
	// 					GuidelineID: to.Ptr("MigrateNonReplicatedDatabasesAndAutoSeedSecondaryIfNeeded"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryAvailabilityGroupGuideline),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 				},
	// 				{
	// 					GuidelineID: to.Ptr("MigratePrimaryReplicaAndAllOtherReplicasToIaaS"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryAvailabilityGroupGuideline),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 			}},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 			MonthlyComputeCost: to.Ptr[float32](32.94432),
	// 			MonthlyStorageCost: to.Ptr[float32](3.12),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("AllocatedCores"),
	// 							ContextValue: to.Ptr("2"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TargetCoresRecommended"),
	// 							ContextValue: to.Ptr("2"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("CpuType"),
	// 					ReasoningID: to.Ptr("VirtualMachineCpuScalingFactorRequirementUnavailable"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("BufferPoolSizeInGB"),
	// 							ContextValue: to.Ptr("4"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("RAMRecommendedInGB"),
	// 							ContextValue: to.Ptr("8"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("MemoryType"),
	// 					ReasoningID: to.Ptr("MeetsVirtualMachineMemoryRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("CommaSeperatedManagedDisks"),
	// 							ContextValue: to.Ptr("2 PremiumSSD(P2)"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("StorageType"),
	// 					ReasoningID: to.Ptr("MeetsVirtualMachineStorageRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("VirtualMachineSize"),
	// 							ContextValue: to.Ptr("standardDASv4Family"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("ServiceTier"),
	// 					ReasoningID: to.Ptr("MeetsVirtualMachineFamilyRequirement"),
	// 			}},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLIaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			SharedResources: &armmigrationassessment.SharedResourcesDTO{
	// 				NumberOfMounts: to.Ptr[int32](0),
	// 				SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 			},
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 		},
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](0),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:34.935Z"); return t}()),
	// 		DatabaseSummary: &armmigrationassessment.AssessedSQLInstanceDatabaseSummary{
	// 			LargestDatabaseSizeInMB: to.Ptr[float32](144),
	// 			NumberOfUserDatabases: to.Ptr[int32](6),
	// 			TotalDatabaseSizeInMB: to.Ptr[float32](224),
	// 			TotalDiscoveredUserDatabases: to.Ptr[int32](7),
	// 		},
	// 		HasScanOccurred: to.Ptr(true),
	// 		InstanceName: to.Ptr("MSSQLSERVER"),
	// 		IsClustered: to.Ptr(false),
	// 		IsHighAvailabilityEnabled: to.Ptr(true),
	// 		LogicalDisks: []*armmigrationassessment.AssessedSQLInstanceDiskDetails{
	// 			{
	// 				DiskID: to.Ptr("s:"),
	// 				DiskSizeInMB: to.Ptr[float32](104),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 			},
	// 			{
	// 				DiskID: to.Ptr("l:"),
	// 				DiskSizeInMB: to.Ptr[float32](104),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 			},
	// 			{
	// 				DiskID: to.Ptr("c:"),
	// 				DiskSizeInMB: to.Ptr[float32](16),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 		}},
	// 		MachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/machines/184b8433-6991-45db-9f57-3dd3f6397a60"),
	// 		MachineName: to.Ptr("SQLAGVM02"),
	// 		MemoryInUseInMB: to.Ptr[float32](4096),
	// 		NumberOfCoresAllocated: to.Ptr[int32](2),
	// 		PercentageCoresUtilization: to.Ptr[float32](100),
	// 		ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
	// 			CurrentEsuYear: to.Ptr("Unknown"),
	// 			EsuStatus: to.Ptr("Unknown"),
	// 			Eta: to.Ptr[int32](34),
	// 			ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-07-14T00:00:00.000Z"); return t}()),
	// 			MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-07-13T00:00:00.000Z"); return t}()),
	// 			ServicePackStatus: to.Ptr("Unknown"),
	// 			SupportStatus: to.Ptr("Extended"),
	// 		},
	// 		RecommendedAzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 		RecommendedSuitability: to.Ptr(armmigrationassessment.RecommendedSuitabilitySuitableForSQLVM),
	// 		RecommendedTargetReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 			{
	// 				ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 					{
	// 						ContextKey: to.Ptr("MigrationIssuesCount"),
	// 						ContextValue: to.Ptr("0"),
	// 					},
	// 					{
	// 						ContextKey: to.Ptr("MigrationWarningsCount"),
	// 						ContextValue: to.Ptr("1"),
	// 					},
	// 					{
	// 						ContextKey: to.Ptr("RecommendedCost"),
	// 						ContextValue: to.Ptr("36.06432"),
	// 				}},
	// 				ReasoningCategory: to.Ptr("RecommendedTargetReasoning"),
	// 				ReasoningID: to.Ptr("RecommendedWithWarningsForSQLVM"),
	// 			},
	// 			{
	// 				ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 					{
	// 						ContextKey: to.Ptr("RecommendedCost"),
	// 						ContextValue: to.Ptr("36.06432"),
	// 				}},
	// 				ReasoningCategory: to.Ptr("RecommendedTargetReasoning"),
	// 				ReasoningID: to.Ptr("RecommendedCost"),
	// 		}},
	// 		SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
	// 		SQLEdition: to.Ptr("Enterprise Edition: Core-based Licensing (64-bit)"),
	// 		SQLInstanceSdsArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/mastersites/fci-ankit-test6065mastersite/sqlsites/fci-ankit-test6065sqlsites/sqlservers/13c17b85-8842-4d50-a640-df0e45e56670"),
	// 		SQLVersion: to.Ptr("SQL Server 2016"),
	// 		StorageTypeBasedDetails: []*armmigrationassessment.AssessedSQLInstanceStorageDetails{
	// 			{
	// 				DiskSizeInMB: to.Ptr[float32](112),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 				StorageType: to.Ptr("Rows"),
	// 			},
	// 			{
	// 				DiskSizeInMB: to.Ptr[float32](112),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 				StorageType: to.Ptr("Log"),
	// 		}},
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:35.966Z"); return t}()),
	// 	},
	// }
}
Output:

func (*AssessedSQLInstanceV2OperationsClient) NewListBySQLAssessmentV2Pager

NewListBySQLAssessmentV2Pager - List AssessedSqlInstanceV2 resources by SqlAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLInstanceV2OperationsClient.NewListBySQLAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlInstanceV2Operations_ListBySqlAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedSQLInstanceV2OperationsClient().NewListBySQLAssessmentV2Pager("rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", &armmigrationassessment.AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Options{Filter: to.Ptr("(contains(Properties/InstanceName,'MSSQLSERVER'))"),
		PageSize:          to.Ptr[int32](23),
		ContinuationToken: nil,
		TotalRecordCount:  to.Ptr[int32](1),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedSQLInstanceV2ListResult = armmigrationassessment.AssessedSQLInstanceV2ListResult{
		// 	Value: []*armmigrationassessment.AssessedSQLInstanceV2{
		// 		{
		// 			Name: to.Ptr("27b94796-026e-4278-a546-664d46977c0a"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/assessedSqlInstances"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/dhlodhiccy/providers/Microsoft.Migrate/assessmentprojects/dhccy30279project/groups/test_paas_pref_grp_2812/sqlAssessments/test_train_250823/assessedSqlInstances/27b94796-026e-4278-a546-664d46977c0a"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.AssessedSQLInstanceV2Properties{
		// 				AzureSQLDBSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](15),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 						{
		// 							GuidelineID: to.Ptr("MigrateDataFromSourceSqlServerToDB"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 					}},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("accessibilitytestdiag917"),
		// 									ObjectType: to.Ptr("ServerCredential"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
		// 							IssueID: to.Ptr("ServerCredentials"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 					MonthlyComputeCost: to.Ptr[float32](1199.994624),
		// 					MonthlyStorageCost: to.Ptr[float32](7.13),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 					},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 				},
		// 				AzureSQLMISuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
		// 					AzureSQLSKU: &armmigrationassessment.AzureSQLPaasSKUDTO{
		// 						AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 						AzureSQLHardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 						AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
		// 						AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
		// 						Cores: to.Ptr[int32](4),
		// 						PredictedDataSizeInMB: to.Ptr[float32](6696.25),
		// 						PredictedLogSizeInMB: to.Ptr[float32](14220.125),
		// 						StorageMaxSizeInMB: to.Ptr[float32](65536),
		// 					},
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](15),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 						{
		// 							GuidelineID: to.Ptr("MigrateDataFromSourceSqlServerToMI"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 					}},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
		// 					MonthlyComputeCost: to.Ptr[float32](199.999104),
		// 					MonthlyStorageCost: to.Ptr[float32](3.68),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("CoreUtilizationPercentage"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("AllocatedCores"),
		// 									ContextValue: to.Ptr("4"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TargetCoresRecommended"),
		// 									ContextValue: to.Ptr("4"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("CpuType"),
		// 							ReasoningID: to.Ptr("MeetsInstanceCpuScalingFactorRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("TotalStorageConsumedByDataFilesInGB"),
		// 									ContextValue: to.Ptr("6.539"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TotalStorageConsumedByLogFilesInGB"),
		// 									ContextValue: to.Ptr("13.887"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TotalRecommendedStorageInGB"),
		// 									ContextValue: to.Ptr("64"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("IncrementsInStorageInGB"),
		// 									ContextValue: to.Ptr("32"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("MaxAvailableStorageInGB"),
		// 									ContextValue: to.Ptr("2048"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("StorageType"),
		// 							ReasoningID: to.Ptr("MeetsInstanceStorageRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("InstanceLevelThroughputRequiredInMBPerSec"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("InstanceLevelThroughputAvailableInMBPerSec"),
		// 									ContextValue: to.Ptr("10"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ThroughputType"),
		// 							ReasoningID: to.Ptr("MeetsInstanceIOThroughputRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("InstanceLevelIOPSRequiredInIOPerSec"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("InstanceLevelIOPSAvailableInIOPerSec"),
		// 									ContextValue: to.Ptr("6000"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("IOPSType"),
		// 							ReasoningID: to.Ptr("MeetsInstanceIOPSDataLogRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("ComputeTier"),
		// 									ContextValue: to.Ptr("Provisioned"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ComputeTier"),
		// 							ReasoningID: to.Ptr("MeetsProvisionedComputeTierRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("ServiceTier"),
		// 									ContextValue: to.Ptr("GeneralPurpose"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ServiceTier"),
		// 							ReasoningID: to.Ptr("MeetsServiceTierRequirement"),
		// 					}},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 					SharedResources: &armmigrationassessment.SharedResourcesDTO{
		// 						NumberOfMounts: to.Ptr[int32](0),
		// 						SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 					},
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 				},
		// 				AzureSQLVMSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2IaasSuitabilityData{
		// 					AzureSQLSKU: &armmigrationassessment.AzureSQLIaasSKUDTO{
		// 						AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 						DataDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 							{
		// 								DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
		// 								DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
		// 								DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
		// 								StorageCost: to.Ptr[float32](1.2),
		// 						}},
		// 						LogDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 							{
		// 								DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
		// 								DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP3),
		// 								DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
		// 								StorageCost: to.Ptr[float32](2.4),
		// 						}},
		// 						VirtualMachineSize: &armmigrationassessment.AzureVirtualMachineSKUDTO{
		// 							AvailableCores: to.Ptr[int32](2),
		// 							AzureSKUName: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
		// 							AzureVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 							Cores: to.Ptr[int32](2),
		// 							MaxNetworkInterfaces: to.Ptr[int32](0),
		// 						},
		// 					},
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](15),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 						{
		// 							GuidelineID: to.Ptr("MigrateDataFromSourceSqlServerToVM"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 					}},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 					MonthlyComputeCost: to.Ptr[float32](26.361408),
		// 					MonthlyStorageCost: to.Ptr[float32](3.6),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("CoreUtilizationPercentage"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("AllocatedCores"),
		// 									ContextValue: to.Ptr("4"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TargetCoresRecommended"),
		// 									ContextValue: to.Ptr("2"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("CpuType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineCpuScalingFactorRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("BufferPoolSizeInGB"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("RAMRecommendedInGB"),
		// 									ContextValue: to.Ptr("8"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("MemoryType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineMemoryRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("VirtualMachineIOPSRequiredInIOPerSec"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("VirtualMachineUncachedDiskIOPSAvailableInIOPerSec"),
		// 									ContextValue: to.Ptr("3200"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("IOPSType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineIOPSRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("VirtualMachineIOThroughputRequiredInInMBPerSec"),
		// 									ContextValue: to.Ptr("0"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("VirtualMachineIOThroughputUncachedAvailableInIOPerSec"),
		// 									ContextValue: to.Ptr("48"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ThroughputType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineIOThroughputRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("CommaSeperatedManagedDisks"),
		// 									ContextValue: to.Ptr("1 PremiumSSD_P2,1 PremiumSSD_P3"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("StorageType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineStorageRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("VirtualMachineSize"),
		// 									ContextValue: to.Ptr("standardDASv4Family"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ServiceTier"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineFamilyRequirement"),
		// 					}},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLIaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 					SharedResources: &armmigrationassessment.SharedResourcesDTO{
		// 						NumberOfMounts: to.Ptr[int32](0),
		// 						SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 					},
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 				},
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](0),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-25T09:20:24.554Z"); return t}()),
		// 				DatabaseSummary: &armmigrationassessment.AssessedSQLInstanceDatabaseSummary{
		// 					LargestDatabaseSizeInMB: to.Ptr[float32](20815),
		// 					NumberOfUserDatabases: to.Ptr[int32](12),
		// 					TotalDatabaseSizeInMB: to.Ptr[float32](20916.375),
		// 					TotalDiscoveredUserDatabases: to.Ptr[int32](12),
		// 				},
		// 				HasScanOccurred: to.Ptr(true),
		// 				InstanceName: to.Ptr("MSSQLSERVER"),
		// 				IsClustered: to.Ptr(false),
		// 				IsHighAvailabilityEnabled: to.Ptr(false),
		// 				LogicalDisks: []*armmigrationassessment.AssessedSQLInstanceDiskDetails{
		// 					{
		// 						DiskID: to.Ptr("d:"),
		// 						DiskSizeInMB: to.Ptr[float32](20916.375),
		// 						MegabytesPerSecondOfRead: to.Ptr[float32](0),
		// 						MegabytesPerSecondOfWrite: to.Ptr[float32](0),
		// 						NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
		// 						NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
		// 				}},
		// 				MachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/dhlodhiccy/providers/Microsoft.Migrate/assessmentprojects/dhccy30279project/machines/daf51245-560b-4caa-9c18-5409ab93d319"),
		// 				MachineName: to.Ptr("SQLTestDBVM46"),
		// 				MemoryInUseInMB: to.Ptr[float32](0),
		// 				NumberOfCoresAllocated: to.Ptr[int32](4),
		// 				PercentageCoresUtilization: to.Ptr[float32](0),
		// 				ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
		// 					CurrentEsuYear: to.Ptr("Unknown"),
		// 					EsuStatus: to.Ptr("Unknown"),
		// 					Eta: to.Ptr[int32](34),
		// 					ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-07-14T00:00:00.000Z"); return t}()),
		// 					MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-07-13T00:00:00.000Z"); return t}()),
		// 					ServicePackStatus: to.Ptr("Unknown"),
		// 					SupportStatus: to.Ptr("Extended"),
		// 				},
		// 				RecommendedAzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 				RecommendedSuitability: to.Ptr(armmigrationassessment.RecommendedSuitabilitySuitableForSQLVM),
		// 				RecommendedTargetReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 					{
		// 						ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 							{
		// 								ContextKey: to.Ptr("MigrationIssuesCount"),
		// 								ContextValue: to.Ptr("0"),
		// 							},
		// 							{
		// 								ContextKey: to.Ptr("MigrationWarningsCount"),
		// 								ContextValue: to.Ptr("0"),
		// 							},
		// 							{
		// 								ContextKey: to.Ptr("RecommendedCost"),
		// 								ContextValue: to.Ptr("29.961408"),
		// 						}},
		// 						ReasoningCategory: to.Ptr("RecommendedTargetReasoning"),
		// 						ReasoningID: to.Ptr("RecommendedForSQLVM"),
		// 					},
		// 					{
		// 						ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 							{
		// 								ContextKey: to.Ptr("RecommendedCost"),
		// 								ContextValue: to.Ptr("29.961408"),
		// 						}},
		// 						ReasoningCategory: to.Ptr("RecommendedTargetReasoning"),
		// 						ReasoningID: to.Ptr("RecommendedCost"),
		// 					},
		// 					{
		// 						ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 							{
		// 								ContextKey: to.Ptr("SQLMICost"),
		// 								ContextValue: to.Ptr("203.679104"),
		// 						}},
		// 						ReasoningCategory: to.Ptr("RecommendedTargetReasoning"),
		// 						ReasoningID: to.Ptr("SQLMICost"),
		// 					},
		// 					{
		// 						ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 							{
		// 								ContextKey: to.Ptr("SQLDBCost"),
		// 								ContextValue: to.Ptr("1207.124624"),
		// 						}},
		// 						ReasoningCategory: to.Ptr("RecommendedTargetReasoning"),
		// 						ReasoningID: to.Ptr("SQLDBCost"),
		// 				}},
		// 				SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 				SQLEdition: to.Ptr("Enterprise Edition: Core-based Licensing (64-bit)"),
		// 				SQLInstanceSdsArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/dhlodhiccy/providers/microsoft.offazure/mastersites/dhccy37819mastersite/sqlsites/dhccy37819sqlsites/sqlservers/a5a6441d-9f63-463e-a720-73fecd90a2e4"),
		// 				SQLVersion: to.Ptr("SQL Server 2016"),
		// 				StorageTypeBasedDetails: []*armmigrationassessment.AssessedSQLInstanceStorageDetails{
		// 					{
		// 						DiskSizeInMB: to.Ptr[float32](6696.25),
		// 						MegabytesPerSecondOfRead: to.Ptr[float32](0),
		// 						MegabytesPerSecondOfWrite: to.Ptr[float32](0),
		// 						NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
		// 						NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
		// 						StorageType: to.Ptr("Rows"),
		// 					},
		// 					{
		// 						DiskSizeInMB: to.Ptr[float32](14220.125),
		// 						MegabytesPerSecondOfRead: to.Ptr[float32](0),
		// 						MegabytesPerSecondOfWrite: to.Ptr[float32](0),
		// 						NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
		// 						NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
		// 						StorageType: to.Ptr("Log"),
		// 				}},
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-25T09:20:25.219Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AssessedSQLInstanceV2OperationsClientGetOptions

type AssessedSQLInstanceV2OperationsClientGetOptions struct {
}

AssessedSQLInstanceV2OperationsClientGetOptions contains the optional parameters for the AssessedSQLInstanceV2OperationsClient.Get method.

type AssessedSQLInstanceV2OperationsClientGetResponse

type AssessedSQLInstanceV2OperationsClientGetResponse struct {
	// Assessed SQL instance web model class.
	AssessedSQLInstanceV2
}

AssessedSQLInstanceV2OperationsClientGetResponse contains the response from method AssessedSQLInstanceV2OperationsClient.Get.

type AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Options

type AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Options struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLInstanceV2OperationsClient.NewListBySQLAssessmentV2Pager method.

type AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Response

type AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Response struct {
	// The response of a AssessedSqlInstanceV2 list operation.
	AssessedSQLInstanceV2ListResult
}

AssessedSQLInstanceV2OperationsClientListBySQLAssessmentV2Response contains the response from method AssessedSQLInstanceV2OperationsClient.NewListBySQLAssessmentV2Pager.

type AssessedSQLInstanceV2Properties

type AssessedSQLInstanceV2Properties struct {
	// READ-ONLY; Gets the overview counts of availability replicas in the assessed instance, by commit mode and read type.
	AvailabilityReplicaSummary *SQLAvailabilityReplicaSummary

	// READ-ONLY; SQL instance azure SQL DB suitability details.
	AzureSQLDBSuitabilityDetails *SQLAssessmentV2PaasSuitabilityData

	// READ-ONLY; SQL instance azure SQL MI suitability details.
	AzureSQLMISuitabilityDetails *SQLAssessmentV2PaasSuitabilityData

	// READ-ONLY; SQL instance azure SQL VM suitability details.
	AzureSQLVMSuitabilityDetails *SQLAssessmentV2IaasSuitabilityData

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; When was assessed SQL instance first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; The databases summary.
	DatabaseSummary *AssessedSQLInstanceDatabaseSummary

	// READ-ONLY; Gets the FCI metadata if this instance represents an FCI instance.
	FciMetadata *SQLFCIMetadata

	// READ-ONLY; Gets or sets a value indicating whether SQL instance has been deep discovered.
	HasScanOccurred *bool

	// READ-ONLY; SQL instance name.
	InstanceName *string

	// READ-ONLY; Gets a value indicating whether the SQL instance is clustered or not.
	IsClustered *bool

	// READ-ONLY; Gets a value indicating whether the high availability is enabled or not.
	IsHighAvailabilityEnabled *bool

	// READ-ONLY; The logical disk details.
	LogicalDisks []*AssessedSQLInstanceDiskDetails

	// READ-ONLY; Machine arm id.
	MachineArmID *string

	// READ-ONLY; Machine display name.
	MachineName *string

	// READ-ONLY; Gets or sets the memory used by SQL instance in megabytes.
	MemoryInUseInMB *float32

	// READ-ONLY; Number of CPU cores assigned to the SQL instance.
	NumberOfCoresAllocated *int32

	// READ-ONLY; The percentage of the total number of cores being utilized by the SQL instance.
	PercentageCoresUtilization *float32

	// READ-ONLY; Gets the product support status related details.
	ProductSupportStatus *ProductSupportStatus

	// READ-ONLY; Gets or sets the recommended azure SQL target type.
	RecommendedAzureSQLTargetType *TargetType

	// READ-ONLY; Gets or sets the recommended azure SQL suitability.
	RecommendedSuitability *RecommendedSuitability

	// READ-ONLY; Gets the list of recommended target reasoning.
	RecommendedTargetReasonings []*SQLRecommendationReasoning

	// READ-ONLY; SQL instance edition.
	SQLEdition *string

	// READ-ONLY; SQL instance SDS arm id.
	SQLInstanceSdsArmID *string

	// READ-ONLY; SQL instance version.
	SQLVersion *string

	// READ-ONLY; Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// READ-ONLY; Gets the storage details.
	StorageTypeBasedDetails []*AssessedSQLInstanceStorageDetails

	// READ-ONLY; When was assessed SQL instance last updated.
	UpdatedTimestamp *time.Time
}

AssessedSQLInstanceV2Properties - Assessed SQL instance properties web model.

func (AssessedSQLInstanceV2Properties) MarshalJSON

func (a AssessedSQLInstanceV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLInstanceV2Properties.

func (*AssessedSQLInstanceV2Properties) UnmarshalJSON

func (a *AssessedSQLInstanceV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLInstanceV2Properties.

type AssessedSQLMachine

type AssessedSQLMachine struct {
	// The resource-specific properties for this resource.
	Properties *AssessedSQLMachineProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedSQLMachine - SQL Assessment REST resource.

func (AssessedSQLMachine) MarshalJSON

func (a AssessedSQLMachine) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLMachine.

func (*AssessedSQLMachine) UnmarshalJSON

func (a *AssessedSQLMachine) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLMachine.

type AssessedSQLMachineListResult

type AssessedSQLMachineListResult struct {
	// REQUIRED; The AssessedSqlMachine items on this page
	Value []*AssessedSQLMachine

	// The link to the next page of items
	NextLink *string
}

AssessedSQLMachineListResult - The response of a AssessedSqlMachine list operation.

func (AssessedSQLMachineListResult) MarshalJSON

func (a AssessedSQLMachineListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLMachineListResult.

func (*AssessedSQLMachineListResult) UnmarshalJSON

func (a *AssessedSQLMachineListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLMachineListResult.

type AssessedSQLMachineProperties

type AssessedSQLMachineProperties struct {
	// Gets the collection of cost components.
	CostComponents []*CostComponent

	// READ-ONLY; Gets or sets the BIOS GUID for the machine.
	BiosGUID *string

	// READ-ONLY; Boot type of machine discovered in private data center.
	BootType *MachineBootType

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; When was machine first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Data center machine ARM id.
	DatacenterMachineArmID *string

	// READ-ONLY; Data center management server ARM id.
	DatacenterManagementServerArmID *string

	// READ-ONLY; Data center management server name.
	DatacenterManagementServerName *string

	// READ-ONLY; Description for the machine.
	Description *string

	// READ-ONLY; Gets the list of data disks that were assessed as part of this assessment.
	Disks map[string]*AssessedDiskData

	// READ-ONLY; Display Name of the Machine.
	DisplayName *string

	// READ-ONLY; Gets or sets the FQDN for the machine.
	Fqdn *string

	// READ-ONLY; Megabytes of memory found allocated for the machine in private data center.
	MegabytesOfMemory *float32

	// READ-ONLY; Gets the list of migration guidelines applicable.
	MigrationGuidelines []*SQLMigrationGuideline

	// READ-ONLY; Gets or sets the monthly networking cost.
	MonthlyBandwidthCost *float32

	// READ-ONLY; Gets or sets the monthly compute cost calculated for recommended size.
	MonthlyComputeCost *float32

	// READ-ONLY; Gets or sets the monthly total storage cost.
	MonthlyStorageCost *float32

	// READ-ONLY; Gets the list of network adapters that were assessed as part of this assessment.
	NetworkAdapters map[string]*SQLAssessedNetworkAdapter

	// READ-ONLY; Number of CPU cores found on the machine.
	NumberOfCores *int32

	// READ-ONLY; Operating system architecture as reported by datacenter management solution.
	OperatingSystemArchitecture *GuestOperatingSystemArchitecture

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemName *string

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemType *string

	// READ-ONLY; Operating system version as reported by datacenter management solution.
	OperatingSystemVersion *string

	// READ-ONLY; Percentile of Percentage of Cores Utilized noted during time period T.
	// Here N and T are settings on Assessment.
	PercentageCoresUtilization *float32

	// READ-ONLY; Percentile of Percentage of Memory Utilized noted during time period T.
	// Here N and T are settings on Assessment.
	PercentageMemoryUtilization *float32

	// READ-ONLY; Gets the product support status related details.
	ProductSupportStatus *ProductSupportStatus

	// READ-ONLY; Gets or sets the Recommended Azure VM Family for the machine.
	RecommendedVMFamily *AzureVMFamily

	// READ-ONLY; Gets or sets the Recommended Azure Size for the machine.
	RecommendedVMSize *AzureVMSize

	// READ-ONLY; Gets or sets the Megabytes of memory for recommended size.
	RecommendedVMSizeMegabytesOfMemory *float32

	// READ-ONLY; Gets or sets the Number of cores for recommended size.
	RecommendedVMSizeNumberOfCores *int32

	// READ-ONLY; Gets the list of SQL instances discovered on the machine.
	SQLInstances []*AssessedSQLInstanceSummary

	// READ-ONLY; Gets the suitability for Microsoft cloud defender.
	SecuritySuitability *CloudSuitability

	// READ-ONLY; Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// READ-ONLY; Gets a value indicating whether machine is suitable for the cloud platform selected.
	Suitability *CloudSuitability

	// READ-ONLY; Gets or sets the detailed messages that were set on the machine during evaluation.
	SuitabilityDetail *AzureVMSuitabilityDetail

	// READ-ONLY; Gets or sets the explanation if machine is not suitable for cloud.
	SuitabilityExplanation *AzureVMSuitabilityExplanation

	// READ-ONLY; Assessed machine type.
	Type *AssessedMachineType

	// READ-ONLY; When was machine last updated.
	UpdatedTimestamp *time.Time
}

AssessedSQLMachineProperties - Assessed SQL machine properties.

func (AssessedSQLMachineProperties) MarshalJSON

func (a AssessedSQLMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLMachineProperties.

func (*AssessedSQLMachineProperties) UnmarshalJSON

func (a *AssessedSQLMachineProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLMachineProperties.

type AssessedSQLMachinesOperationsClient

type AssessedSQLMachinesOperationsClient struct {
	// contains filtered or unexported fields
}

AssessedSQLMachinesOperationsClient contains the methods for the AssessedSQLMachinesOperations group. Don't use this type directly, use NewAssessedSQLMachinesOperationsClient() instead.

func NewAssessedSQLMachinesOperationsClient

func NewAssessedSQLMachinesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedSQLMachinesOperationsClient, error)

NewAssessedSQLMachinesOperationsClient creates a new instance of AssessedSQLMachinesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedSQLMachinesOperationsClient) Get

func (client *AssessedSQLMachinesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, assessedSQLMachineName string, options *AssessedSQLMachinesOperationsClientGetOptions) (AssessedSQLMachinesOperationsClientGetResponse, error)

Get - Get a AssessedSqlMachine If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • assessedSQLMachineName - Sql assessment Assessed Machine ARM name.
  • options - AssessedSQLMachinesOperationsClientGetOptions contains the optional parameters for the AssessedSQLMachinesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlMachinesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedSQLMachinesOperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", "cc64c9dc-b38e-435d-85ad-d509df5d92c6", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedSQLMachine = armmigrationassessment.AssessedSQLMachine{
	// 	Name: to.Ptr("cc64c9dc-b38e-435d-85ad-d509df5d92c6"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/assessedSqlMachines"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlMachines/cc64c9dc-b38e-435d-85ad-d509df5d92c6"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.AssessedSQLMachineProperties{
	// 		Type: to.Ptr(armmigrationassessment.AssessedMachineTypeSQLAssessedMachine),
	// 		Description: to.Ptr(""),
	// 		BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](0),
	// 		CostComponents: []*armmigrationassessment.CostComponent{
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 				Value: to.Ptr[float32](0),
	// 		}},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:34.841Z"); return t}()),
	// 		DatacenterMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/vmwaresites/fci-ankit-test6904site/machines/10-150-91-150-202bfa1a-ad9f-414f-91ff-61f5ca0540aa_5002fdf3-5889-c2f8-86e5-3119b251331b"),
	// 		DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/VMwareSites/fci-ankit-test6904site/vcenters/10-150-91-150-202bfa1a-ad9f-414f-91ff-61f5ca0540aa"),
	// 		DatacenterManagementServerName: to.Ptr("10.150.91.150"),
	// 		Disks: map[string]*armmigrationassessment.AssessedDiskData{
	// 			"6000C293-381c-8460-c29b-ef937230e629": &armmigrationassessment.AssessedDiskData{
	// 				Name: to.Ptr("6000C293-381c-8460-c29b-ef937230e629"),
	// 				DisplayName: to.Ptr("scsi0:0"),
	// 				GigabytesProvisioned: to.Ptr[float32](100),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				MonthlyStorageCost: to.Ptr[float32](19.71),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 				RecommendDiskThroughputInMbps: to.Ptr[float32](100),
	// 				RecommendedDiskIops: to.Ptr[float32](500),
	// 				RecommendedDiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP10),
	// 				RecommendedDiskSizeGigabytes: to.Ptr[int32](128),
	// 				RecommendedDiskType: to.Ptr(armmigrationassessment.AzureDiskTypePremium),
	// 				Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 				SuitabilityDetail: to.Ptr(armmigrationassessment.AzureDiskSuitabilityDetail("NumberOfReadOperationsPerSecondMissing, NumberOfWriteOperationsPerSecondMissing, MegabytesPerSecondOfReadMissing, MegabytesPerSecondOfWriteMissing")),
	// 				SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureDiskSuitabilityExplanationNotApplicable),
	// 			},
	// 		},
	// 		DisplayName: to.Ptr("SQLHAVM17"),
	// 		MegabytesOfMemory: to.Ptr[float32](4096),
	// 		MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			{
	// 				GuidelineID: to.Ptr("MigrateNodeSinceItHasActiveFCIInstance"),
	// 				MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
	// 				MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 				},
	// 			},
	// 			{
	// 				GuidelineID: to.Ptr("UseSharedDiskWitnessForWSFCIfNeeded"),
	// 				MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
	// 				MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 				},
	// 			},
	// 			{
	// 				GuidelineID: to.Ptr("ReconfigureAnyAvailabilityGroupsAfterMigration"),
	// 				MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryAvailabilityGroupGuideline),
	// 				MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 				},
	// 		}},
	// 		MonthlyBandwidthCost: to.Ptr[float32](0),
	// 		MonthlyComputeCost: to.Ptr[float32](32.94432),
	// 		MonthlyStorageCost: to.Ptr[float32](19.71),
	// 		NetworkAdapters: map[string]*armmigrationassessment.SQLAssessedNetworkAdapter{
	// 			"4000": &armmigrationassessment.SQLAssessedNetworkAdapter{
	// 				Name: to.Ptr("4000"),
	// 				DisplayName: to.Ptr("VM Network"),
	// 				IPAddresses: []*string{
	// 					to.Ptr("2404:f801:4800:20:418c:eec9:86c5:aea1"),
	// 					to.Ptr("2404:f801:4800:20:6113:238d:17f0:b246"),
	// 					to.Ptr("10.150.91.119"),
	// 					to.Ptr("10.150.91.138"),
	// 					to.Ptr("10.150.91.139")},
	// 					MacAddress: to.Ptr("00:50:56:82:b7:83"),
	// 					MegabytesPerSecondReceived: to.Ptr[float32](0),
	// 					MegabytesPerSecondTransmitted: to.Ptr[float32](0),
	// 					MonthlyBandwidthCosts: to.Ptr[float32](0),
	// 					NetGigabytesTransmittedPerMonth: to.Ptr[float32](0),
	// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 					SuitabilityDetail: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityDetail("MegabytesOfDataTransmittedMissing, MegabytesOfDataRecievedMissing")),
	// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityExplanationNotApplicable),
	// 				},
	// 			},
	// 			NumberOfCores: to.Ptr[int32](2),
	// 			OperatingSystemArchitecture: to.Ptr(armmigrationassessment.GuestOperatingSystemArchitectureX64),
	// 			OperatingSystemName: to.Ptr("Microsoft Windows Server 2019 (64-bit)"),
	// 			OperatingSystemType: to.Ptr("windowsGuest"),
	// 			PercentageCoresUtilization: to.Ptr[float32](0),
	// 			PercentageMemoryUtilization: to.Ptr[float32](0),
	// 			ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
	// 				CurrentEsuYear: to.Ptr("Unknown"),
	// 				EsuStatus: to.Ptr("Unknown"),
	// 				Eta: to.Ptr[int32](64),
	// 				ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 				ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 				ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 				ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2029-01-09T00:00:00.000Z"); return t}()),
	// 				MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-09T00:00:00.000Z"); return t}()),
	// 				ServicePackStatus: to.Ptr("Unknown"),
	// 				SupportStatus: to.Ptr("Mainstream"),
	// 			},
	// 			RecommendedVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 			RecommendedVMSize: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
	// 			RecommendedVMSizeMegabytesOfMemory: to.Ptr[float32](8192),
	// 			RecommendedVMSizeNumberOfCores: to.Ptr[int32](2),
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 			SQLInstances: []*armmigrationassessment.AssessedSQLInstanceSummary{
	// 				{
	// 					InstanceID: to.Ptr("291313e5-e25f-4b6b-9f21-165a2dd03650"),
	// 					InstanceName: to.Ptr("MSSQLSERVER"),
	// 					IsClustered: to.Ptr(true),
	// 					IsHighAvailabilityEnabled: to.Ptr(true),
	// 					SQLEdition: to.Ptr("Enterprise Edition: Core-based Licensing (64-bit)"),
	// 					SQLFciState: to.Ptr(armmigrationassessment.SQLFCIStateActive),
	// 					SQLInstanceEntityID: to.Ptr("b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
	// 					SQLInstanceSdsArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/mastersites/fci-ankit-test6065mastersite/sqlsites/fci-ankit-test6065sqlsites/sqlservers/291313e5-e25f-4b6b-9f21-165a2dd03650"),
	// 					SQLVersion: to.Ptr("SQL Server 2014"),
	// 			}},
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 			SuitabilityDetail: to.Ptr(armmigrationassessment.AzureVMSuitabilityDetail("PercentageOfCoresUtilizedMissing, PercentageOfMemoryUtilizedMissing")),
	// 			SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureVMSuitabilityExplanationNotApplicable),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:23:39.174Z"); return t}()),
	// 		},
	// 	}
}
Output:

func (*AssessedSQLMachinesOperationsClient) NewListBySQLAssessmentV2Pager

NewListBySQLAssessmentV2Pager - List AssessedSqlMachine resources by SqlAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLMachinesOperationsClient.NewListBySQLAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlMachinesOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedSQLMachinesOperationsClient().NewListBySQLAssessmentV2Pager("rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", &armmigrationassessment.AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Options{Filter: to.Ptr("(contains(Properties/DisplayName,'SQLHAVM17'))"),
		PageSize:          to.Ptr[int32](23),
		ContinuationToken: nil,
		TotalRecordCount:  to.Ptr[int32](1),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedSQLMachineListResult = armmigrationassessment.AssessedSQLMachineListResult{
		// 	Value: []*armmigrationassessment.AssessedSQLMachine{
		// 		{
		// 			Name: to.Ptr("cc64c9dc-b38e-435d-85ad-d509df5d92c6"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/assessedSqlMachines"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlMachines/cc64c9dc-b38e-435d-85ad-d509df5d92c6"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.AssessedSQLMachineProperties{
		// 				Type: to.Ptr(armmigrationassessment.AssessedMachineTypeSQLAssessedMachine),
		// 				Description: to.Ptr(""),
		// 				BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](0),
		// 				CostComponents: []*armmigrationassessment.CostComponent{
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 						Value: to.Ptr[float32](0),
		// 				}},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:22:34.841Z"); return t}()),
		// 				DatacenterMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/vmwaresites/fci-ankit-test6904site/machines/10-150-91-150-202bfa1a-ad9f-414f-91ff-61f5ca0540aa_5002fdf3-5889-c2f8-86e5-3119b251331b"),
		// 				DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/VMwareSites/fci-ankit-test6904site/vcenters/10-150-91-150-202bfa1a-ad9f-414f-91ff-61f5ca0540aa"),
		// 				DatacenterManagementServerName: to.Ptr("10.150.91.150"),
		// 				Disks: map[string]*armmigrationassessment.AssessedDiskData{
		// 					"6000C293-381c-8460-c29b-ef937230e629": &armmigrationassessment.AssessedDiskData{
		// 						Name: to.Ptr("6000C293-381c-8460-c29b-ef937230e629"),
		// 						DisplayName: to.Ptr("scsi0:0"),
		// 						GigabytesProvisioned: to.Ptr[float32](100),
		// 						MegabytesPerSecondOfRead: to.Ptr[float32](0),
		// 						MegabytesPerSecondOfWrite: to.Ptr[float32](0),
		// 						MonthlyStorageCost: to.Ptr[float32](19.71),
		// 						NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
		// 						NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
		// 						RecommendDiskThroughputInMbps: to.Ptr[float32](100),
		// 						RecommendedDiskIops: to.Ptr[float32](500),
		// 						RecommendedDiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP10),
		// 						RecommendedDiskSizeGigabytes: to.Ptr[int32](128),
		// 						RecommendedDiskType: to.Ptr(armmigrationassessment.AzureDiskTypePremium),
		// 						Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 						SuitabilityDetail: to.Ptr(armmigrationassessment.AzureDiskSuitabilityDetail("NumberOfReadOperationsPerSecondMissing, NumberOfWriteOperationsPerSecondMissing, MegabytesPerSecondOfReadMissing, MegabytesPerSecondOfWriteMissing")),
		// 						SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureDiskSuitabilityExplanationNotApplicable),
		// 					},
		// 				},
		// 				DisplayName: to.Ptr("SQLHAVM17"),
		// 				MegabytesOfMemory: to.Ptr[float32](4096),
		// 				MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 					{
		// 						GuidelineID: to.Ptr("MigrateNodeSinceItHasActiveFCIInstance"),
		// 						MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 						MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 						},
		// 					},
		// 					{
		// 						GuidelineID: to.Ptr("UseSharedDiskWitnessForWSFCIfNeeded"),
		// 						MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 						MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 						},
		// 					},
		// 					{
		// 						GuidelineID: to.Ptr("ReconfigureAnyAvailabilityGroupsAfterMigration"),
		// 						MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryAvailabilityGroupGuideline),
		// 						MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 						},
		// 				}},
		// 				MonthlyBandwidthCost: to.Ptr[float32](0),
		// 				MonthlyComputeCost: to.Ptr[float32](32.94432),
		// 				MonthlyStorageCost: to.Ptr[float32](19.71),
		// 				NetworkAdapters: map[string]*armmigrationassessment.SQLAssessedNetworkAdapter{
		// 					"4000": &armmigrationassessment.SQLAssessedNetworkAdapter{
		// 						Name: to.Ptr("4000"),
		// 						DisplayName: to.Ptr("VM Network"),
		// 						IPAddresses: []*string{
		// 							to.Ptr("2404:f801:4800:20:418c:eec9:86c5:aea1"),
		// 							to.Ptr("2404:f801:4800:20:6113:238d:17f0:b246"),
		// 							to.Ptr("10.150.91.119"),
		// 							to.Ptr("10.150.91.138"),
		// 							to.Ptr("10.150.91.139")},
		// 							MacAddress: to.Ptr("00:50:56:82:b7:83"),
		// 							MegabytesPerSecondReceived: to.Ptr[float32](0),
		// 							MegabytesPerSecondTransmitted: to.Ptr[float32](0),
		// 							MonthlyBandwidthCosts: to.Ptr[float32](0),
		// 							NetGigabytesTransmittedPerMonth: to.Ptr[float32](0),
		// 							Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 							SuitabilityDetail: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityDetail("MegabytesOfDataTransmittedMissing, MegabytesOfDataRecievedMissing")),
		// 							SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureNetworkAdapterSuitabilityExplanationNotApplicable),
		// 						},
		// 					},
		// 					NumberOfCores: to.Ptr[int32](2),
		// 					OperatingSystemArchitecture: to.Ptr(armmigrationassessment.GuestOperatingSystemArchitectureX64),
		// 					OperatingSystemName: to.Ptr("Microsoft Windows Server 2019 (64-bit)"),
		// 					OperatingSystemType: to.Ptr("windowsGuest"),
		// 					PercentageCoresUtilization: to.Ptr[float32](0),
		// 					PercentageMemoryUtilization: to.Ptr[float32](0),
		// 					ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
		// 						CurrentEsuYear: to.Ptr("Unknown"),
		// 						EsuStatus: to.Ptr("Unknown"),
		// 						Eta: to.Ptr[int32](64),
		// 						ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 						ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 						ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 						ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2029-01-09T00:00:00.000Z"); return t}()),
		// 						MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-01-09T00:00:00.000Z"); return t}()),
		// 						ServicePackStatus: to.Ptr("Unknown"),
		// 						SupportStatus: to.Ptr("Mainstream"),
		// 					},
		// 					RecommendedVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 					RecommendedVMSize: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
		// 					RecommendedVMSizeMegabytesOfMemory: to.Ptr[float32](8192),
		// 					RecommendedVMSizeNumberOfCores: to.Ptr[int32](2),
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
		// 					SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 					SQLInstances: []*armmigrationassessment.AssessedSQLInstanceSummary{
		// 						{
		// 							InstanceID: to.Ptr("291313e5-e25f-4b6b-9f21-165a2dd03650"),
		// 							InstanceName: to.Ptr("MSSQLSERVER"),
		// 							IsClustered: to.Ptr(true),
		// 							IsHighAvailabilityEnabled: to.Ptr(true),
		// 							SQLEdition: to.Ptr("Enterprise Edition: Core-based Licensing (64-bit)"),
		// 							SQLFciState: to.Ptr(armmigrationassessment.SQLFCIStateActive),
		// 							SQLInstanceEntityID: to.Ptr("b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
		// 							SQLInstanceSdsArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/bansalankit-rg/providers/microsoft.offazure/mastersites/fci-ankit-test6065mastersite/sqlsites/fci-ankit-test6065sqlsites/sqlservers/291313e5-e25f-4b6b-9f21-165a2dd03650"),
		// 							SQLVersion: to.Ptr("SQL Server 2014"),
		// 					}},
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 					SuitabilityDetail: to.Ptr(armmigrationassessment.AzureVMSuitabilityDetail("PercentageOfCoresUtilizedMissing, PercentageOfMemoryUtilizedMissing")),
		// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureVMSuitabilityExplanationNotApplicable),
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:23:39.174Z"); return t}()),
		// 				},
		// 		}},
		// 	}
	}
}
Output:

type AssessedSQLMachinesOperationsClientGetOptions

type AssessedSQLMachinesOperationsClientGetOptions struct {
}

AssessedSQLMachinesOperationsClientGetOptions contains the optional parameters for the AssessedSQLMachinesOperationsClient.Get method.

type AssessedSQLMachinesOperationsClientGetResponse

type AssessedSQLMachinesOperationsClientGetResponse struct {
	// SQL Assessment REST resource.
	AssessedSQLMachine
}

AssessedSQLMachinesOperationsClientGetResponse contains the response from method AssessedSQLMachinesOperationsClient.Get.

type AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Options

type AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Options struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLMachinesOperationsClient.NewListBySQLAssessmentV2Pager method.

type AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Response

type AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Response struct {
	// The response of a AssessedSqlMachine list operation.
	AssessedSQLMachineListResult
}

AssessedSQLMachinesOperationsClientListBySQLAssessmentV2Response contains the response from method AssessedSQLMachinesOperationsClient.NewListBySQLAssessmentV2Pager.

type AssessedSQLRecommendedEntity

type AssessedSQLRecommendedEntity struct {
	// The resource-specific properties for this resource.
	Properties *AssessedSQLRecommendedEntityProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedSQLRecommendedEntity - SQL Assessment REST resource.

func (AssessedSQLRecommendedEntity) MarshalJSON

func (a AssessedSQLRecommendedEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLRecommendedEntity.

func (*AssessedSQLRecommendedEntity) UnmarshalJSON

func (a *AssessedSQLRecommendedEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLRecommendedEntity.

type AssessedSQLRecommendedEntityListResult

type AssessedSQLRecommendedEntityListResult struct {
	// REQUIRED; The AssessedSqlRecommendedEntity items on this page
	Value []*AssessedSQLRecommendedEntity

	// The link to the next page of items
	NextLink *string
}

AssessedSQLRecommendedEntityListResult - The response of a AssessedSqlRecommendedEntity list operation.

func (AssessedSQLRecommendedEntityListResult) MarshalJSON

func (a AssessedSQLRecommendedEntityListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLRecommendedEntityListResult.

func (*AssessedSQLRecommendedEntityListResult) UnmarshalJSON

func (a *AssessedSQLRecommendedEntityListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLRecommendedEntityListResult.

type AssessedSQLRecommendedEntityOperationsClient

type AssessedSQLRecommendedEntityOperationsClient struct {
	// contains filtered or unexported fields
}

AssessedSQLRecommendedEntityOperationsClient contains the methods for the AssessedSQLRecommendedEntityOperations group. Don't use this type directly, use NewAssessedSQLRecommendedEntityOperationsClient() instead.

func NewAssessedSQLRecommendedEntityOperationsClient

func NewAssessedSQLRecommendedEntityOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedSQLRecommendedEntityOperationsClient, error)

NewAssessedSQLRecommendedEntityOperationsClient creates a new instance of AssessedSQLRecommendedEntityOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedSQLRecommendedEntityOperationsClient) Get

func (client *AssessedSQLRecommendedEntityOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, recommendedAssessedEntityName string, options *AssessedSQLRecommendedEntityOperationsClientGetOptions) (AssessedSQLRecommendedEntityOperationsClientGetResponse, error)

Get - Get a AssessedSqlRecommendedEntity If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • recommendedAssessedEntityName - Sql assessment Assessed Recommended Entity ARM name.
  • options - AssessedSQLRecommendedEntityOperationsClientGetOptions contains the optional parameters for the AssessedSQLRecommendedEntityOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlRecommendedEntityOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedSQLRecommendedEntityOperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", "cc64c9dc-b38e-435d-85ad-d509df5d92c6", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedSQLRecommendedEntity = armmigrationassessment.AssessedSQLRecommendedEntity{
	// 	Name: to.Ptr("b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/recommendedAssessedEntities"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/recommendedAssessedEntities/b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.AssessedSQLRecommendedEntityProperties{
	// 		AssessedSQLEntityArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlInstances/b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
	// 		AzureSQLDBSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("SuitabilityReportMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 			MonthlyComputeCost: to.Ptr[float32](25822.9618079999),
	// 			MonthlyStorageCost: to.Ptr[float32](149.73),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 			},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityReadinessUnknown),
	// 		},
	// 		AzureSQLMISuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 			},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("SuitabilityReportMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryIssue),
	// 					IssueID: to.Ptr("SkuNotFound"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
	// 			MonthlyComputeCost: to.Ptr[float32](0),
	// 			MonthlyStorageCost: to.Ptr[float32](0),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 			},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
	// 			},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			ShouldProvisionReplicas: to.Ptr(false),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityNotSuitable),
	// 		},
	// 		AzureSQLVMSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2IaasSuitabilityData{
	// 			AzureSQLSKU: &armmigrationassessment.AzureSQLIaasSKUDTO{
	// 				AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 				DataDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				LogDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 				VirtualMachineSize: &armmigrationassessment.AzureVirtualMachineSKUDTO{
	// 					AvailableCores: to.Ptr[int32](2),
	// 					AzureSKUName: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
	// 					AzureVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 					Cores: to.Ptr[int32](2),
	// 					MaxNetworkInterfaces: to.Ptr[int32](0),
	// 				},
	// 			},
	// 			CostComponents: []*armmigrationassessment.CostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 					Value: to.Ptr[float32](0),
	// 			}},
	// 			MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
	// 				{
	// 					GuidelineID: to.Ptr("ProvisionInstanceAsFciOnSqlVM"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 				},
	// 				{
	// 					GuidelineID: to.Ptr("ProvisionDisksBasedOnLayoutInSku"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 				},
	// 				{
	// 					GuidelineID: to.Ptr("ProvisionSharedDiskForQuorum"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 				},
	// 				{
	// 					GuidelineID: to.Ptr("MigrateNonReplicatedDatabasesAndAutoSeedSecondaryIfNeeded"),
	// 					MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryAvailabilityGroupGuideline),
	// 					MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
	// 					},
	// 			}},
	// 			MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 					},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
	// 					IssueID: to.Ptr("PerformanceDataMissing"),
	// 				},
	// 				{
	// 					ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
	// 						{
	// 							ObjectName: to.Ptr("MSSQLSERVER"),
	// 							ObjectType: to.Ptr("SqlInstance"),
	// 					}},
	// 					IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
	// 					IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
	// 			}},
	// 			MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 			MonthlyComputeCost: to.Ptr[float32](65.88864),
	// 			MonthlyStorageCost: to.Ptr[float32](3.276),
	// 			RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("AllocatedCores"),
	// 							ContextValue: to.Ptr("2"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("TargetCoresRecommended"),
	// 							ContextValue: to.Ptr("2"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("CpuType"),
	// 					ReasoningID: to.Ptr("VirtualMachineCpuScalingFactorRequirementUnavailable"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("BufferPoolSizeInGB"),
	// 							ContextValue: to.Ptr("4"),
	// 						},
	// 						{
	// 							ContextKey: to.Ptr("RAMRecommendedInGB"),
	// 							ContextValue: to.Ptr("8"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("MemoryType"),
	// 					ReasoningID: to.Ptr("MeetsVirtualMachineMemoryRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 					},
	// 					ReasoningCategory: to.Ptr("AlwaysOnFCI"),
	// 					ReasoningID: to.Ptr("AlwaysOnVirtualMachineFCIDiskWitness"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 					},
	// 					ReasoningCategory: to.Ptr("AlwaysOnFCI"),
	// 					ReasoningID: to.Ptr("AlwaysOnVirtualMachineFCISharedZRSDisks"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("CommaSeperatedManagedDisks"),
	// 							ContextValue: to.Ptr(""),
	// 					}},
	// 					ReasoningCategory: to.Ptr("StorageType"),
	// 					ReasoningID: to.Ptr("MeetsVirtualMachineStorageRequirement"),
	// 				},
	// 				{
	// 					ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
	// 						{
	// 							ContextKey: to.Ptr("VirtualMachineSize"),
	// 							ContextValue: to.Ptr("standardDASv4Family"),
	// 					}},
	// 					ReasoningCategory: to.Ptr("ServiceTier"),
	// 					ReasoningID: to.Ptr("MeetsVirtualMachineFamilyRequirement"),
	// 			}},
	// 			ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLIaasSKUDTO{
	// 				{
	// 					AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 					DataDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 					},
	// 					LogDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 					},
	// 					VirtualMachineSize: &armmigrationassessment.AzureVirtualMachineSKUDTO{
	// 						AvailableCores: to.Ptr[int32](2),
	// 						AzureSKUName: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
	// 						AzureVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 						Cores: to.Ptr[int32](2),
	// 						MaxNetworkInterfaces: to.Ptr[int32](0),
	// 					},
	// 			}},
	// 			SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 			SharedResources: &armmigrationassessment.SharedResourcesDTO{
	// 				NumberOfMounts: to.Ptr[int32](2),
	// 				QuorumWitness: &armmigrationassessment.AzureQuorumWitnessDTO{
	// 					QuorumWitnessType: to.Ptr(armmigrationassessment.AzureQuorumWitnessDTOQuorumWitnessTypeDisk),
	// 				},
	// 				SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 					{
	// 						DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
	// 						DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
	// 						DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
	// 						RecommendedIops: to.Ptr[float32](120),
	// 						RecommendedSizeInGib: to.Ptr[float32](8),
	// 						RecommendedThroughputInMbps: to.Ptr[float32](25),
	// 						StorageCost: to.Ptr[float32](1.6380000000000001),
	// 				}},
	// 				SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 					{
	// 						DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
	// 						DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
	// 						DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
	// 						RecommendedIops: to.Ptr[float32](120),
	// 						RecommendedSizeInGib: to.Ptr[float32](8),
	// 						RecommendedThroughputInMbps: to.Ptr[float32](25),
	// 						StorageCost: to.Ptr[float32](1.6380000000000001),
	// 				}},
	// 				SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
	// 				},
	// 			},
	// 			ShouldProvisionReplicas: to.Ptr(true),
	// 			SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 		},
	// 		DbCount: to.Ptr[int32](217),
	// 		DiscoveredDBCount: to.Ptr[int32](217),
	// 		HasScanOccurred: to.Ptr(true),
	// 		InstanceName: to.Ptr("MSSQLSERVER"),
	// 		IsClustered: to.Ptr(true),
	// 		IsHighAvailabilityEnabled: to.Ptr(true),
	// 		MachineName: to.Ptr("FC7-SQL2K14.FPL.COM"),
	// 		ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
	// 			CurrentEsuYear: to.Ptr("Unknown"),
	// 			EsuStatus: to.Ptr("Unknown"),
	// 			Eta: to.Ptr[int32](9),
	// 			ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 			ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-07-09T00:00:00.000Z"); return t}()),
	// 			MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-09T00:00:00.000Z"); return t}()),
	// 			ServicePackStatus: to.Ptr("Unknown"),
	// 			SupportStatus: to.Ptr("Extended"),
	// 		},
	// 		RecommendedAzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
	// 		RecommendedSuitability: to.Ptr(armmigrationassessment.RecommendedSuitabilitySuitableForSQLVM),
	// 		SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
	// 		SQLEdition: to.Ptr("Enterprise Edition: Core-based Licensing (64-bit)"),
	// 		SQLVersion: to.Ptr("SQL Server 2014"),
	// 	},
	// }
}
Output:

func (*AssessedSQLRecommendedEntityOperationsClient) NewListBySQLAssessmentV2Pager

NewListBySQLAssessmentV2Pager - List AssessedSqlRecommendedEntity resources by SqlAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLRecommendedEntityOperationsClient.NewListBySQLAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedSqlRecommendedEntityOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedSQLRecommendedEntityOperationsClient().NewListBySQLAssessmentV2Pager("rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", &armmigrationassessment.AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Options{Filter: to.Ptr("(contains(Properties/InstanceName,'MSSQLSERVER'))"),
		PageSize:          to.Ptr[int32](23),
		ContinuationToken: nil,
		TotalRecordCount:  to.Ptr[int32](1),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedSQLRecommendedEntityListResult = armmigrationassessment.AssessedSQLRecommendedEntityListResult{
		// 	Value: []*armmigrationassessment.AssessedSQLRecommendedEntity{
		// 		{
		// 			Name: to.Ptr("b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/recommendedAssessedEntities"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/recommendedAssessedEntities/b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
		// 			Properties: &armmigrationassessment.AssessedSQLRecommendedEntityProperties{
		// 				AssessedSQLEntityArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/assessedSqlInstances/b11d90cc-b528-49e4-aac2-1c9a53209f8e"),
		// 				AzureSQLDBSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](0),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 					},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("SuitabilityReportMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("MSSQLSERVER"),
		// 									ObjectType: to.Ptr("SqlInstance"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
		// 							IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 					MonthlyComputeCost: to.Ptr[float32](25822.9618079999),
		// 					MonthlyStorageCost: to.Ptr[float32](149.73),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 					},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityReadinessUnknown),
		// 				},
		// 				AzureSQLMISuitabilityDetails: &armmigrationassessment.SQLAssessmentV2PaasSuitabilityData{
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](0),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 					},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("SuitabilityReportMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("MSSQLSERVER"),
		// 									ObjectType: to.Ptr("SqlInstance"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryIssue),
		// 							IssueID: to.Ptr("SkuNotFound"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("MSSQLSERVER"),
		// 									ObjectType: to.Ptr("SqlInstance"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
		// 							IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
		// 					MonthlyComputeCost: to.Ptr[float32](0),
		// 					MonthlyStorageCost: to.Ptr[float32](0),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 					},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLPaasSKUDTO{
		// 					},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
		// 					ShouldProvisionReplicas: to.Ptr(false),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityNotSuitable),
		// 				},
		// 				AzureSQLVMSuitabilityDetails: &armmigrationassessment.SQLAssessmentV2IaasSuitabilityData{
		// 					AzureSQLSKU: &armmigrationassessment.AzureSQLIaasSKUDTO{
		// 						AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 						DataDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						LogDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 						VirtualMachineSize: &armmigrationassessment.AzureVirtualMachineSKUDTO{
		// 							AvailableCores: to.Ptr[int32](2),
		// 							AzureSKUName: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
		// 							AzureVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 							Cores: to.Ptr[int32](2),
		// 							MaxNetworkInterfaces: to.Ptr[int32](0),
		// 						},
		// 					},
		// 					CostComponents: []*armmigrationassessment.CostComponent{
		// 						{
		// 							Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 							Value: to.Ptr[float32](0),
		// 					}},
		// 					MigrationGuidelines: []*armmigrationassessment.SQLMigrationGuideline{
		// 						{
		// 							GuidelineID: to.Ptr("ProvisionInstanceAsFciOnSqlVM"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 						},
		// 						{
		// 							GuidelineID: to.Ptr("ProvisionDisksBasedOnLayoutInSku"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 						},
		// 						{
		// 							GuidelineID: to.Ptr("ProvisionSharedDiskForQuorum"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 						},
		// 						{
		// 							GuidelineID: to.Ptr("MigrateNonReplicatedDatabasesAndAutoSeedSecondaryIfNeeded"),
		// 							MigrationGuidelineCategory: to.Ptr(armmigrationassessment.SQLMigrationGuidelineCategoryAvailabilityGroupGuideline),
		// 							MigrationGuidelineContext: []*armmigrationassessment.MigrationGuidelineContext{
		// 							},
		// 					}},
		// 					MigrationIssues: []*armmigrationassessment.SQLAssessmentMigrationIssue{
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 							},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryInternal),
		// 							IssueID: to.Ptr("PerformanceDataMissing"),
		// 						},
		// 						{
		// 							ImpactedObjects: []*armmigrationassessment.ImpactedAssessmentObject{
		// 								{
		// 									ObjectName: to.Ptr("MSSQLSERVER"),
		// 									ObjectType: to.Ptr("SqlInstance"),
		// 							}},
		// 							IssueCategory: to.Ptr(armmigrationassessment.SQLAssessmentMigrationIssueCategoryWarning),
		// 							IssueID: to.Ptr("PerfBasedFallbackToAsOnPremises"),
		// 					}},
		// 					MigrationTargetPlatform: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 					MonthlyComputeCost: to.Ptr[float32](65.88864),
		// 					MonthlyStorageCost: to.Ptr[float32](3.276),
		// 					RecommendationReasonings: []*armmigrationassessment.SQLRecommendationReasoning{
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("AllocatedCores"),
		// 									ContextValue: to.Ptr("2"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("TargetCoresRecommended"),
		// 									ContextValue: to.Ptr("2"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("CpuType"),
		// 							ReasoningID: to.Ptr("VirtualMachineCpuScalingFactorRequirementUnavailable"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("BufferPoolSizeInGB"),
		// 									ContextValue: to.Ptr("4"),
		// 								},
		// 								{
		// 									ContextKey: to.Ptr("RAMRecommendedInGB"),
		// 									ContextValue: to.Ptr("8"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("MemoryType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineMemoryRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 							},
		// 							ReasoningCategory: to.Ptr("AlwaysOnFCI"),
		// 							ReasoningID: to.Ptr("AlwaysOnVirtualMachineFCIDiskWitness"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 							},
		// 							ReasoningCategory: to.Ptr("AlwaysOnFCI"),
		// 							ReasoningID: to.Ptr("AlwaysOnVirtualMachineFCISharedZRSDisks"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("CommaSeperatedManagedDisks"),
		// 									ContextValue: to.Ptr(""),
		// 							}},
		// 							ReasoningCategory: to.Ptr("StorageType"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineStorageRequirement"),
		// 						},
		// 						{
		// 							ContextParameters: []*armmigrationassessment.SQLRecommendationReasoningContext{
		// 								{
		// 									ContextKey: to.Ptr("VirtualMachineSize"),
		// 									ContextValue: to.Ptr("standardDASv4Family"),
		// 							}},
		// 							ReasoningCategory: to.Ptr("ServiceTier"),
		// 							ReasoningID: to.Ptr("MeetsVirtualMachineFamilyRequirement"),
		// 					}},
		// 					ReplicaAzureSQLSKU: []*armmigrationassessment.AzureSQLIaasSKUDTO{
		// 						{
		// 							AzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 							DataDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 							},
		// 							LogDiskSizes: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 							},
		// 							VirtualMachineSize: &armmigrationassessment.AzureVirtualMachineSKUDTO{
		// 								AvailableCores: to.Ptr[int32](2),
		// 								AzureSKUName: to.Ptr(armmigrationassessment.AzureVMSizeStandardD2AsV4),
		// 								AzureVMFamily: to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 								Cores: to.Ptr[int32](2),
		// 								MaxNetworkInterfaces: to.Ptr[int32](0),
		// 							},
		// 					}},
		// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
		// 					SharedResources: &armmigrationassessment.SharedResourcesDTO{
		// 						NumberOfMounts: to.Ptr[int32](2),
		// 						QuorumWitness: &armmigrationassessment.AzureQuorumWitnessDTO{
		// 							QuorumWitnessType: to.Ptr(armmigrationassessment.AzureQuorumWitnessDTOQuorumWitnessTypeDisk),
		// 						},
		// 						SharedDataDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 							{
		// 								DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
		// 								DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
		// 								DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
		// 								RecommendedIops: to.Ptr[float32](120),
		// 								RecommendedSizeInGib: to.Ptr[float32](8),
		// 								RecommendedThroughputInMbps: to.Ptr[float32](25),
		// 								StorageCost: to.Ptr[float32](1.6380000000000001),
		// 						}},
		// 						SharedLogDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 							{
		// 								DiskRedundancy: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskRedundancyLRS),
		// 								DiskSize: to.Ptr(armmigrationassessment.AzureDiskSizePremiumP2),
		// 								DiskType: to.Ptr(armmigrationassessment.AzureManagedDiskSKUDTODiskTypePremium),
		// 								RecommendedIops: to.Ptr[float32](120),
		// 								RecommendedSizeInGib: to.Ptr[float32](8),
		// 								RecommendedThroughputInMbps: to.Ptr[float32](25),
		// 								StorageCost: to.Ptr[float32](1.6380000000000001),
		// 						}},
		// 						SharedTempDbDisks: []*armmigrationassessment.AzureManagedDiskSKUDTO{
		// 						},
		// 					},
		// 					ShouldProvisionReplicas: to.Ptr(true),
		// 					SKUReplicationMode: to.Ptr(armmigrationassessment.SKUReplicationModeNotApplicable),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 				},
		// 				DbCount: to.Ptr[int32](217),
		// 				DiscoveredDBCount: to.Ptr[int32](217),
		// 				HasScanOccurred: to.Ptr(true),
		// 				InstanceName: to.Ptr("MSSQLSERVER"),
		// 				IsClustered: to.Ptr(true),
		// 				IsHighAvailabilityEnabled: to.Ptr(true),
		// 				MachineName: to.Ptr("FC7-SQL2K14.FPL.COM"),
		// 				ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
		// 					CurrentEsuYear: to.Ptr("Unknown"),
		// 					EsuStatus: to.Ptr("Unknown"),
		// 					Eta: to.Ptr[int32](9),
		// 					ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-07-09T00:00:00.000Z"); return t}()),
		// 					MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2019-07-09T00:00:00.000Z"); return t}()),
		// 					ServicePackStatus: to.Ptr("Unknown"),
		// 					SupportStatus: to.Ptr("Extended"),
		// 				},
		// 				RecommendedAzureSQLTargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLVirtualMachine),
		// 				RecommendedSuitability: to.Ptr(armmigrationassessment.RecommendedSuitabilitySuitableForSQLVM),
		// 				SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
		// 				SQLEdition: to.Ptr("Enterprise Edition: Core-based Licensing (64-bit)"),
		// 				SQLVersion: to.Ptr("SQL Server 2014"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AssessedSQLRecommendedEntityOperationsClientGetOptions

type AssessedSQLRecommendedEntityOperationsClientGetOptions struct {
}

AssessedSQLRecommendedEntityOperationsClientGetOptions contains the optional parameters for the AssessedSQLRecommendedEntityOperationsClient.Get method.

type AssessedSQLRecommendedEntityOperationsClientGetResponse

type AssessedSQLRecommendedEntityOperationsClientGetResponse struct {
	// SQL Assessment REST resource.
	AssessedSQLRecommendedEntity
}

AssessedSQLRecommendedEntityOperationsClientGetResponse contains the response from method AssessedSQLRecommendedEntityOperationsClient.Get.

type AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Options

type AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Options struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Options contains the optional parameters for the AssessedSQLRecommendedEntityOperationsClient.NewListBySQLAssessmentV2Pager method.

type AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Response

type AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Response struct {
	// The response of a AssessedSqlRecommendedEntity list operation.
	AssessedSQLRecommendedEntityListResult
}

AssessedSQLRecommendedEntityOperationsClientListBySQLAssessmentV2Response contains the response from method AssessedSQLRecommendedEntityOperationsClient.NewListBySQLAssessmentV2Pager.

type AssessedSQLRecommendedEntityProperties

type AssessedSQLRecommendedEntityProperties struct {
	// Gets or sets Arm id of assessed entity.
	AssessedSQLEntityArmID *string

	// READ-ONLY; SQL instance azure SQL DB suitability details.
	AzureSQLDBSuitabilityDetails *SQLAssessmentV2PaasSuitabilityData

	// READ-ONLY; SQL instance azure SQL MI suitability details.
	AzureSQLMISuitabilityDetails *SQLAssessmentV2PaasSuitabilityData

	// READ-ONLY; SQL instance azure SQL VM suitability details.
	AzureSQLVMSuitabilityDetails *SQLAssessmentV2IaasSuitabilityData

	// READ-ONLY; Gets or sets assessed database count.
	DbCount *int32

	// READ-ONLY; Gets or sets the total discovered database count.
	DiscoveredDBCount *int32

	// READ-ONLY; Gets or sets a value indicating whether instance deep discovery has occurred or not.
	HasScanOccurred *bool

	// READ-ONLY; Gets or sets SQL instance name.
	InstanceName *string

	// READ-ONLY; Gets or sets a value indicating whether the SQL instance is clustered or not.
	IsClustered *bool

	// READ-ONLY; Gets or sets a value indicating whether the high availability is enabled or not.
	IsHighAvailabilityEnabled *bool

	// READ-ONLY; Gets or sets machine name.
	MachineName *string

	// READ-ONLY; Gets the product support status related details.
	ProductSupportStatus *ProductSupportStatus

	// READ-ONLY; Gets or sets the recommended azure SQL target type.
	RecommendedAzureSQLTargetType *TargetType

	// READ-ONLY; Gets or sets the recommended azure SQL suitability.
	RecommendedSuitability *RecommendedSuitability

	// READ-ONLY; Gets the SQL edition from the recommended entity if applicable.
	SQLEdition *string

	// READ-ONLY; Gets the SQL version from the recommended entity if applicable.
	SQLVersion *string

	// READ-ONLY; Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion
}

AssessedSQLRecommendedEntityProperties - Assessed SQL recommended entity properties.

func (AssessedSQLRecommendedEntityProperties) MarshalJSON

func (a AssessedSQLRecommendedEntityProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedSQLRecommendedEntityProperties.

func (*AssessedSQLRecommendedEntityProperties) UnmarshalJSON

func (a *AssessedSQLRecommendedEntityProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedSQLRecommendedEntityProperties.

type AssessedWebAppV2

type AssessedWebAppV2 struct {
	// The resource-specific properties for this resource.
	Properties *AssessedWebAppV2Properties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedWebAppV2 - Assessed Web app web model class.

func (AssessedWebAppV2) MarshalJSON

func (a AssessedWebAppV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedWebAppV2.

func (*AssessedWebAppV2) UnmarshalJSON

func (a *AssessedWebAppV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedWebAppV2.

type AssessedWebAppV2ListResult

type AssessedWebAppV2ListResult struct {
	// REQUIRED; The AssessedWebAppV2 items on this page
	Value []*AssessedWebAppV2

	// The link to the next page of items
	NextLink *string
}

AssessedWebAppV2ListResult - The response of a AssessedWebAppV2 list operation.

func (AssessedWebAppV2ListResult) MarshalJSON

func (a AssessedWebAppV2ListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedWebAppV2ListResult.

func (*AssessedWebAppV2ListResult) UnmarshalJSON

func (a *AssessedWebAppV2ListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedWebAppV2ListResult.

type AssessedWebAppV2OperationsClient

type AssessedWebAppV2OperationsClient struct {
	// contains filtered or unexported fields
}

AssessedWebAppV2OperationsClient contains the methods for the AssessedWebAppV2Operations group. Don't use this type directly, use NewAssessedWebAppV2OperationsClient() instead.

func NewAssessedWebAppV2OperationsClient

func NewAssessedWebAppV2OperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedWebAppV2OperationsClient, error)

NewAssessedWebAppV2OperationsClient creates a new instance of AssessedWebAppV2OperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedWebAppV2OperationsClient) Get

func (client *AssessedWebAppV2OperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, assessedWebAppName string, options *AssessedWebAppV2OperationsClientGetOptions) (AssessedWebAppV2OperationsClientGetResponse, error)

Get - Get a AssessedWebAppV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • assessedWebAppName - Assessed web app ARM name.
  • options - AssessedWebAppV2OperationsClientGetOptions contains the optional parameters for the AssessedWebAppV2OperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedWebAppV2Operations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedWebAppV2OperationsClient().Get(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", "webapp1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedWebAppV2 = armmigrationassessment.AssessedWebAppV2{
	// 	Name: to.Ptr("e1c05a87-93c7-4b01-bf19-a4db9bf791a8"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/webAppAssessments/assessedWebApps"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2/assessedWebApps/e1c05a87-93c7-4b01-bf19-a4db9bf791a8"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AssessedWebAppV2Properties{
	// 		AppServicePlanName: to.Ptr("plan-001-azureappservice,plan-001-azureappservicecontainer"),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:51.551Z"); return t}()),
	// 		DiscoveredMachineID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/sumukk-ccy-bcs/providers/microsoft.offazure/vmwaresites/sumukk-ccy-bcs4557site/machines/idclab-vcen67-fareast-corp-micr-49743448-0440-4c6b-8300-eec352b87e73_5037cd30-828f-f362-c62c-d1715b8ede4c"),
	// 		DiscoveredWebAppID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/sumukk-ccy-bcs/providers/microsoft.offazure/mastersites/sumukk-ccy-bcs9880mastersite/webappsites/sumukk-ccy-bcs9880webappsites/iiswebapplications/aa096c1b26cd80dd76e547d61d722d04e1779a9c8d95ae1baa91bdb226eb5c3d-9e55bf838a799e058f7c0478ff1029d5224456ab0a1c30f3a8779ba7bb841e88"),
	// 		MachineName: to.Ptr("a404-r1w28r2-1"),
	// 		TargetSpecificResult: map[string]*armmigrationassessment.TargetSpecificResult{
	// 			"azureAppService": &armmigrationassessment.TargetSpecificResult{
	// 				AssessmentResult: &armmigrationassessment.AssessmentResult{
	// 					AppServicePlanName: to.Ptr("plan-001-azureappservice"),
	// 					SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
	// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 					WebAppSKUName: to.Ptr("Isolated"),
	// 					WebAppSKUSize: to.Ptr("I1"),
	// 				},
	// 				MigrationIssues: []*armmigrationassessment.WebAppMigrationIssues{
	// 					{
	// 						IssueCategory: to.Ptr(armmigrationassessment.AzureWebAppSuitabilityIssueCategoryInfo),
	// 						IssueDescriptionList: []*string{
	// 							to.Ptr("SpecificUser (SharePoint - 80), SpecificUser (SecurityTokenServiceApplicationPool)")},
	// 							IssueID: to.Ptr("AppPoolIdentityCheck"),
	// 					}},
	// 				},
	// 			},
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:51.551Z"); return t}()),
	// 			WebAppName: to.Ptr("100%WebSite"),
	// 			WebAppType: to.Ptr(armmigrationassessment.WebAppTypeIIS),
	// 			WebServerName: to.Ptr("IIS Server"),
	// 		},
	// 	}
}
Output:

func (*AssessedWebAppV2OperationsClient) NewListByWebAppAssessmentV2Pager

NewListByWebAppAssessmentV2Pager - List AssessedWebAppV2 resources by WebAppAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • options - AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Options contains the optional parameters for the AssessedWebAppV2OperationsClient.NewListByWebAppAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedWebAppV2Operations_ListByWebAppAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedWebAppV2OperationsClient().NewListByWebAppAssessmentV2Pager("rgopenapi", "sumukk-ccy-bcs4557project", "akgugrp2", "assess1", &armmigrationassessment.AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Options{Filter: to.Ptr(""),
		PageSize:          to.Ptr[int32](23),
		ContinuationToken: to.Ptr("pwqummugahjguraaqqssuwmxic"),
		TotalRecordCount:  to.Ptr[int32](6),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedWebAppV2ListResult = armmigrationassessment.AssessedWebAppV2ListResult{
		// 	Value: []*armmigrationassessment.AssessedWebAppV2{
		// 		{
		// 			Name: to.Ptr("2d4423e1-9b0d-466f-a2f1-4f68adaa3c76"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/webAppAssessments/assessedWebApps"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/groups/akgugrp2/webAppAssessments/akgutestappsvc2/assessedWebApps/2d4423e1-9b0d-466f-a2f1-4f68adaa3c76"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AssessedWebAppV2Properties{
		// 				AppServicePlanName: to.Ptr("plan-001-azureappservice"),
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](11),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:51.551Z"); return t}()),
		// 				DiscoveredMachineID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/sumukk-ccy-bcs/providers/microsoft.offazure/vmwaresites/sumukk-ccy-bcs4557site/machines/idclab-vcen67-fareast-corp-micr-49743448-0440-4c6b-8300-eec352b87e73_5015ed4a-5f13-8cd3-a4d4-1ec729e836ff"),
		// 				DiscoveredWebAppID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/sumukk-ccy-bcs/providers/microsoft.offazure/mastersites/sumukk-ccy-bcs9880mastersite/webappsites/sumukk-ccy-bcs9880webappsites/iiswebapplications/70c2efd9345164750ddf889a474512530466d8f7aaa85052b59a73ff6a4d41b1-ae625d98de8e57d253ae9812590de37f17f382bcd47da01c2f3f9be5350ae98e"),
		// 				MachineName: to.Ptr("windows-2k16"),
		// 				TargetSpecificResult: map[string]*armmigrationassessment.TargetSpecificResult{
		// 					"azureAppService": &armmigrationassessment.TargetSpecificResult{
		// 						AssessmentResult: &armmigrationassessment.AssessmentResult{
		// 							AppServicePlanName: to.Ptr("plan-003-azureappservicecontainer"),
		// 							SecuritySuitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 							Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityConditionallySuitable),
		// 							WebAppSKUName: to.Ptr("Premium_V3"),
		// 							WebAppSKUSize: to.Ptr("P1 v3"),
		// 						},
		// 						MigrationIssues: []*armmigrationassessment.WebAppMigrationIssues{
		// 							{
		// 								IssueCategory: to.Ptr(armmigrationassessment.AzureWebAppSuitabilityIssueCategoryInfo),
		// 								IssueDescriptionList: []*string{
		// 									to.Ptr("windowsAuthentication (/)")},
		// 									IssueID: to.Ptr("AuthCheckContainer"),
		// 							}},
		// 						},
		// 					},
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:51.551Z"); return t}()),
		// 					WebAppName: to.Ptr("Microsoft Azure Migrate App Containerization"),
		// 					WebAppType: to.Ptr(armmigrationassessment.WebAppTypeIIS),
		// 					WebServerName: to.Ptr("IIS Server"),
		// 				},
		// 		}},
		// 	}
	}
}
Output:

type AssessedWebAppV2OperationsClientGetOptions

type AssessedWebAppV2OperationsClientGetOptions struct {
}

AssessedWebAppV2OperationsClientGetOptions contains the optional parameters for the AssessedWebAppV2OperationsClient.Get method.

type AssessedWebAppV2OperationsClientGetResponse

type AssessedWebAppV2OperationsClientGetResponse struct {
	// Assessed Web app web model class.
	AssessedWebAppV2
}

AssessedWebAppV2OperationsClientGetResponse contains the response from method AssessedWebAppV2OperationsClient.Get.

type AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Options

type AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Options struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Options contains the optional parameters for the AssessedWebAppV2OperationsClient.NewListByWebAppAssessmentV2Pager method.

type AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Response

type AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Response struct {
	// The response of a AssessedWebAppV2 list operation.
	AssessedWebAppV2ListResult
}

AssessedWebAppV2OperationsClientListByWebAppAssessmentV2Response contains the response from method AssessedWebAppV2OperationsClient.NewListByWebAppAssessmentV2Pager.

type AssessedWebAppV2Properties

type AssessedWebAppV2Properties struct {
	// READ-ONLY; Gets or sets the app service plan name.
	AppServicePlanName *string

	// READ-ONLY; Gets the machine name.
	MachineName *string

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; When was assessed SQL database first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Machine arm id.
	DiscoveredMachineID *string

	// READ-ONLY; Gets the discovered web app ID.
	DiscoveredWebAppID *string

	// READ-ONLY; Gets or sets the server ARM Id.
	ServerArmID *string

	// READ-ONLY; Gets or sets the target specific result.
	TargetSpecificResult map[string]*TargetSpecificResult

	// READ-ONLY; When was assessed Web app database last updated.
	UpdatedTimestamp *time.Time

	// READ-ONLY; Gets or sets web app name.
	WebAppName *string

	// READ-ONLY; Gets or sets the web app type.
	WebAppType *WebAppType

	// READ-ONLY; Gets or sets the web server name.
	WebServerName *string
}

AssessedWebAppV2Properties - Assessed Web app database properties web model.

func (AssessedWebAppV2Properties) MarshalJSON

func (a AssessedWebAppV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedWebAppV2Properties.

func (*AssessedWebAppV2Properties) UnmarshalJSON

func (a *AssessedWebAppV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedWebAppV2Properties.

type AssessedWebApplication

type AssessedWebApplication struct {
	// The resource-specific properties for this resource.
	Properties *AssessedWebApplicationProperties

	// READ-ONLY; If eTag is provided in the response body, it may also be provided as a header per the normal etag convention.
	// Entity tags are used for comparing two or more entities from the same requested resource.
	// HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range
	// (section 14.27) header fields.
	ETag *string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessedWebApplication - ARM model of Assessed Web Application.

func (AssessedWebApplication) MarshalJSON

func (a AssessedWebApplication) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedWebApplication.

func (*AssessedWebApplication) UnmarshalJSON

func (a *AssessedWebApplication) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedWebApplication.

type AssessedWebApplicationListResult

type AssessedWebApplicationListResult struct {
	// REQUIRED; The AssessedWebApplication items on this page
	Value []*AssessedWebApplication

	// The link to the next page of items
	NextLink *string
}

AssessedWebApplicationListResult - The response of a AssessedWebApplication list operation.

func (AssessedWebApplicationListResult) MarshalJSON

func (a AssessedWebApplicationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedWebApplicationListResult.

func (*AssessedWebApplicationListResult) UnmarshalJSON

func (a *AssessedWebApplicationListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedWebApplicationListResult.

type AssessedWebApplicationOperationsClient

type AssessedWebApplicationOperationsClient struct {
	// contains filtered or unexported fields
}

AssessedWebApplicationOperationsClient contains the methods for the AssessedWebApplicationOperations group. Don't use this type directly, use NewAssessedWebApplicationOperationsClient() instead.

func NewAssessedWebApplicationOperationsClient

func NewAssessedWebApplicationOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessedWebApplicationOperationsClient, error)

NewAssessedWebApplicationOperationsClient creates a new instance of AssessedWebApplicationOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessedWebApplicationOperationsClient) Get

Get - Get a AssessedWebApplication If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • assessedWorkload - Assessed Web Application Name.
  • options - AssessedWebApplicationOperationsClientGetOptions contains the optional parameters for the AssessedWebApplicationOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedWebApplicationOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessedWebApplicationOperationsClient().Get(ctx, "rgaksswagger", "testproject", "testaksassessment", "testaksassessmentapp", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessedWebApplication = armmigrationassessment.AssessedWebApplication{
	// 	Name: to.Ptr("testaksassessmentapp"),
	// 	Type: to.Ptr("AssessedWebApplication"),
	// 	ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentprojects/testproject/aksAssessments/testaksassessment/assessedWebApps/testaksassessmentapp"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		CreatedBy: to.Ptr("User"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("User"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
	// 	Properties: &armmigrationassessment.AssessedWebApplicationProperties{
	// 		DiscoveryArmID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourcegroups/testrg/providers/microsoft.offazure/vmwaresites/testsite/webApps/webapp"),
	// 		DisplayName: to.Ptr("webapp"),
	// 		MachineArmID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourcegroups/testrg/providers/microsoft.offazure/vmwaresites/testsite/machines/machine"),
	// 		MachineDisplayName: to.Ptr("machine"),
	// 		WebAppType: to.Ptr(armmigrationassessment.WebAppTypeIIS),
	// 		WebServerArmID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourcegroups/testrg/providers/microsoft.offazure/vmwaresites/testsite/webServers/webserver"),
	// 		WebServerDisplayName: to.Ptr("webserver"),
	// 		RecommendationResult: &armmigrationassessment.RecommendationResult{
	// 			ApproxMonthlyCost: to.Ptr[float32](3),
	// 			ClusterName: to.Ptr("testaksassessment-cluster"),
	// 			Limit: &armmigrationassessment.ComputeResource{
	// 				Cores: to.Ptr[float32](18),
	// 				Memory: to.Ptr[float32](13),
	// 			},
	// 			NodePoolArmSKUName: to.Ptr("StandardDS_v2"),
	// 			NodePoolID: to.Ptr("testaksassessmentCostDetail"),
	// 			NodePoolName: to.Ptr("testaksassessmentCostDetail"),
	// 			OSType: to.Ptr(armmigrationassessment.OSTypeLinux),
	// 			Request: &armmigrationassessment.ComputeResource{
	// 				Cores: to.Ptr[float32](12),
	// 				Memory: to.Ptr[float32](28),
	// 			},
	// 		},
	// 		SuitabilityResult: &armmigrationassessment.SuitabilityResult{
	// 			FailedChecks: []*armmigrationassessment.Check{
	// 				{
	// 					Name: to.Ptr("check"),
	// 					Description: to.Ptr("check"),
	// 					Behavior: to.Ptr(armmigrationassessment.CheckResultIssue),
	// 					Cause: to.Ptr("check"),
	// 					MoreInfo: &armmigrationassessment.MoreInfo{
	// 						Title: to.Ptr("title"),
	// 						URL: to.Ptr("https://www.bing.com"),
	// 					},
	// 					Recommendation: to.Ptr("upgrade IIS version"),
	// 			}},
	// 			Readiness: to.Ptr(armmigrationassessment.ReadinessUnknown),
	// 			SuggestedMigrationTool: to.Ptr(armmigrationassessment.SuggestedMigrationToolNone),
	// 			Suitability: to.Ptr(armmigrationassessment.SuitabilityNotSuitable),
	// 		},
	// 	},
	// }
}
Output:

func (*AssessedWebApplicationOperationsClient) NewListByAksAssessmentPager

NewListByAksAssessmentPager - List AssessedWebApplication resources by AKSAssessment

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentName - AKS Assessment Name.
  • options - AssessedWebApplicationOperationsClientListByAksAssessmentOptions contains the optional parameters for the AssessedWebApplicationOperationsClient.NewListByAksAssessmentPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessedWebApplicationOperations_ListByAksAssessment_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessedWebApplicationOperationsClient().NewListByAksAssessmentPager("rgaksswagger", "testproject", "testaksassessment", &armmigrationassessment.AssessedWebApplicationOperationsClientListByAksAssessmentOptions{ContinuationToken: to.Ptr("gjilveslqiowaembajtj"),
		Top:              to.Ptr[int32](13),
		Filter:           to.Ptr("zqvpvrpvghjnxamq"),
		TotalRecordCount: to.Ptr[int32](23),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessedWebApplicationListResult = armmigrationassessment.AssessedWebApplicationListResult{
		// 	Value: []*armmigrationassessment.AssessedWebApplication{
		// 		{
		// 			Name: to.Ptr("testaksassessmentapp"),
		// 			Type: to.Ptr("AssessedWebApplication"),
		// 			ID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourceGroups/rgaksswagger/providers/Microsoft.Migrate/assessmentprojects/testproject/aksAssessments/testaksassessment/assessedWebApps/testaksassessmentapp"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				CreatedBy: to.Ptr("User"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-07T06:51:24.108Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("User"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			ETag: to.Ptr("00000000-0000-0000-a616-12d4724c01d9"),
		// 			Properties: &armmigrationassessment.AssessedWebApplicationProperties{
		// 				DiscoveryArmID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourcegroups/testrg/providers/microsoft.offazure/vmwaresites/testsite/webApps/webapp"),
		// 				DisplayName: to.Ptr("webapp"),
		// 				MachineArmID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourcegroups/testrg/providers/microsoft.offazure/vmwaresites/testsite/machines/machine"),
		// 				MachineDisplayName: to.Ptr("machine"),
		// 				WebAppType: to.Ptr(armmigrationassessment.WebAppTypeIIS),
		// 				WebServerArmID: to.Ptr("/subscriptions/D6F60DF4-CE70-4E39-8217-B8FBE7CA85AA/resourcegroups/testrg/providers/microsoft.offazure/vmwaresites/testsite/webServers/webserver"),
		// 				WebServerDisplayName: to.Ptr("webserver"),
		// 				RecommendationResult: &armmigrationassessment.RecommendationResult{
		// 					ApproxMonthlyCost: to.Ptr[float32](3),
		// 					ClusterName: to.Ptr("testaksassessment-cluster"),
		// 					Limit: &armmigrationassessment.ComputeResource{
		// 						Cores: to.Ptr[float32](18),
		// 						Memory: to.Ptr[float32](13),
		// 					},
		// 					NodePoolArmSKUName: to.Ptr("StandardDS_v2"),
		// 					NodePoolID: to.Ptr("testaksassessmentCostDetail"),
		// 					NodePoolName: to.Ptr("testaksassessmentCostDetail"),
		// 					OSType: to.Ptr(armmigrationassessment.OSTypeLinux),
		// 					Request: &armmigrationassessment.ComputeResource{
		// 						Cores: to.Ptr[float32](12),
		// 						Memory: to.Ptr[float32](28),
		// 					},
		// 				},
		// 				SuitabilityResult: &armmigrationassessment.SuitabilityResult{
		// 					FailedChecks: []*armmigrationassessment.Check{
		// 						{
		// 							Name: to.Ptr("check"),
		// 							Description: to.Ptr("check"),
		// 							Behavior: to.Ptr(armmigrationassessment.CheckResultIssue),
		// 							Cause: to.Ptr("check"),
		// 							MoreInfo: &armmigrationassessment.MoreInfo{
		// 								Title: to.Ptr("title"),
		// 								URL: to.Ptr("https://www.bing.com"),
		// 							},
		// 							Recommendation: to.Ptr("upgrade IIS version"),
		// 					}},
		// 					Readiness: to.Ptr(armmigrationassessment.ReadinessUnknown),
		// 					SuggestedMigrationTool: to.Ptr(armmigrationassessment.SuggestedMigrationToolNone),
		// 					Suitability: to.Ptr(armmigrationassessment.SuitabilityNotSuitable),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type AssessedWebApplicationOperationsClientGetOptions

type AssessedWebApplicationOperationsClientGetOptions struct {
}

AssessedWebApplicationOperationsClientGetOptions contains the optional parameters for the AssessedWebApplicationOperationsClient.Get method.

type AssessedWebApplicationOperationsClientGetResponse

type AssessedWebApplicationOperationsClientGetResponse struct {
	// ARM model of Assessed Web Application.
	AssessedWebApplication
}

AssessedWebApplicationOperationsClientGetResponse contains the response from method AssessedWebApplicationOperationsClient.Get.

type AssessedWebApplicationOperationsClientListByAksAssessmentOptions

type AssessedWebApplicationOperationsClientListByAksAssessmentOptions struct {
	// Continuation Token Query Parameter.
	ContinuationToken *string

	// Filter Query Parameter.
	Filter *string

	// Page Size Query Parameter.
	Top *int32

	// Total Record Count Query Parameter.
	TotalRecordCount *int32
}

AssessedWebApplicationOperationsClientListByAksAssessmentOptions contains the optional parameters for the AssessedWebApplicationOperationsClient.NewListByAksAssessmentPager method.

type AssessedWebApplicationOperationsClientListByAksAssessmentResponse

type AssessedWebApplicationOperationsClientListByAksAssessmentResponse struct {
	// The response of a AssessedWebApplication list operation.
	AssessedWebApplicationListResult
}

AssessedWebApplicationOperationsClientListByAksAssessmentResponse contains the response from method AssessedWebApplicationOperationsClient.NewListByAksAssessmentPager.

type AssessedWebApplicationProperties

type AssessedWebApplicationProperties struct {
	// READ-ONLY; Gets discovery arm id.
	DiscoveryArmID *string

	// READ-ONLY; Gets display name.
	DisplayName *string

	// READ-ONLY; Gets machine arm id.
	MachineArmID *string

	// READ-ONLY; Gets machine display name.
	MachineDisplayName *string

	// READ-ONLY; Gets web app type.
	WebAppType *WebAppType

	// READ-ONLY; Gets web server arm id.
	WebServerArmID *string

	// READ-ONLY; Gets web server display name.
	WebServerDisplayName *string

	// READ-ONLY; Gets recommendation result.
	RecommendationResult *RecommendationResult

	// READ-ONLY; Gets suitability result.
	SuitabilityResult *SuitabilityResult
}

AssessedWebApplicationProperties - ARM model of Assessed Web Application Properties.

func (AssessedWebApplicationProperties) MarshalJSON

func (a AssessedWebApplicationProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessedWebApplicationProperties.

func (*AssessedWebApplicationProperties) UnmarshalJSON

func (a *AssessedWebApplicationProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessedWebApplicationProperties.

type Assessment

type Assessment struct {
	// The resource-specific properties for this resource.
	Properties *MachineAssessmentProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

Assessment - Machine assessment resource.

func (Assessment) MarshalJSON

func (a Assessment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Assessment.

func (*Assessment) UnmarshalJSON

func (a *Assessment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Assessment.

type AssessmentListResult

type AssessmentListResult struct {
	// REQUIRED; The Assessment items on this page
	Value []*Assessment

	// The link to the next page of items
	NextLink *string
}

AssessmentListResult - The response of a Assessment list operation.

func (AssessmentListResult) MarshalJSON

func (a AssessmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentListResult.

func (*AssessmentListResult) UnmarshalJSON

func (a *AssessmentListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentListResult.

type AssessmentOptions

type AssessmentOptions struct {
	// The resource-specific properties for this resource.
	Properties *AssessmentOptionsProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessmentOptions - Assessment options resource.

func (AssessmentOptions) MarshalJSON

func (a AssessmentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentOptions.

func (*AssessmentOptions) UnmarshalJSON

func (a *AssessmentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentOptions.

type AssessmentOptionsListResult

type AssessmentOptionsListResult struct {
	// REQUIRED; The AssessmentOptions items on this page
	Value []*AssessmentOptions

	// The link to the next page of items
	NextLink *string
}

AssessmentOptionsListResult - The response of a AssessmentOptions list operation.

func (AssessmentOptionsListResult) MarshalJSON

func (a AssessmentOptionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentOptionsListResult.

func (*AssessmentOptionsListResult) UnmarshalJSON

func (a *AssessmentOptionsListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentOptionsListResult.

type AssessmentOptionsOperationsClient

type AssessmentOptionsOperationsClient struct {
	// contains filtered or unexported fields
}

AssessmentOptionsOperationsClient contains the methods for the AssessmentOptionsOperations group. Don't use this type directly, use NewAssessmentOptionsOperationsClient() instead.

func NewAssessmentOptionsOperationsClient

func NewAssessmentOptionsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessmentOptionsOperationsClient, error)

NewAssessmentOptionsOperationsClient creates a new instance of AssessmentOptionsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessmentOptionsOperationsClient) Get

Get - Get a AssessmentOptions If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentOptionsName - assessment options ARM name. Accepted value is 'default'
  • options - AssessmentOptionsOperationsClientGetOptions contains the optional parameters for the AssessmentOptionsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentOptionsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessmentOptionsOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessmentOptions = armmigrationassessment.AssessmentOptions{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/{assessmentOptionsName}"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/assessmentOptions/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("asd"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("tnmop"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AssessmentOptionsProperties{
	// 		PremiumDiskVMFamilies: []*string{
	// 			to.Ptr("Dadsv5_series"),
	// 			to.Ptr("Dasv4_series"),
	// 			to.Ptr("Dasv5_series"),
	// 			to.Ptr("Ddsv4_series"),
	// 			to.Ptr("Ddsv5_series"),
	// 			to.Ptr("Dsv3_series"),
	// 			to.Ptr("Dsv4_series"),
	// 			to.Ptr("Dsv5_series"),
	// 			to.Ptr("DC_Series"),
	// 			to.Ptr("DS_series"),
	// 			to.Ptr("DSv2_series"),
	// 			to.Ptr("Edsv5_series"),
	// 			to.Ptr("Esv5_series"),
	// 			to.Ptr("Eadsv5_series"),
	// 			to.Ptr("Easv4_series"),
	// 			to.Ptr("Easv5_series"),
	// 			to.Ptr("Ebdsv5_series"),
	// 			to.Ptr("Ebsv5_series"),
	// 			to.Ptr("Edsv4_series"),
	// 			to.Ptr("Esv3_series"),
	// 			to.Ptr("Esv4_series"),
	// 			to.Ptr("Fs_series"),
	// 			to.Ptr("Fsv2_series"),
	// 			to.Ptr("GS_series"),
	// 			to.Ptr("Lsv2_series"),
	// 			to.Ptr("M_series"),
	// 			to.Ptr("Mdsv2_series"),
	// 			to.Ptr("Msv2_series"),
	// 			to.Ptr("Mv2_series")},
	// 			PremiumV2DiskSupportedLocations: []*armmigrationassessment.AzureLocation{
	// 				to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 				to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 				to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 				to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 				to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 				to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 				to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 				to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 				to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 				to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 				to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 				to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 				to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 				to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 				to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 				to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 				to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 				to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 				to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 				to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 				to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 				to.Ptr(armmigrationassessment.AzureLocationUkSouth)},
	// 				ReservedInstanceSupportedCurrencies: []*string{
	// 					to.Ptr("USD"),
	// 					to.Ptr("DKK"),
	// 					to.Ptr("CAD"),
	// 					to.Ptr("JPY"),
	// 					to.Ptr("KRW"),
	// 					to.Ptr("NZD"),
	// 					to.Ptr("NOK"),
	// 					to.Ptr("RUB"),
	// 					to.Ptr("SEK"),
	// 					to.Ptr("GBP"),
	// 					to.Ptr("INR"),
	// 					to.Ptr("BRL"),
	// 					to.Ptr("TWD"),
	// 					to.Ptr("EUR"),
	// 					to.Ptr("CHF"),
	// 					to.Ptr("AUD")},
	// 					ReservedInstanceSupportedLocations: []*string{
	// 						to.Ptr("AustraliaEast"),
	// 						to.Ptr("AustraliaSoutheast"),
	// 						to.Ptr("BrazilSouth"),
	// 						to.Ptr("CanadaCentral"),
	// 						to.Ptr("CentralIndia"),
	// 						to.Ptr("CentralUs"),
	// 						to.Ptr("EastAsia"),
	// 						to.Ptr("EastUs"),
	// 						to.Ptr("EastUs2"),
	// 						to.Ptr("JapanEast"),
	// 						to.Ptr("JapanWest"),
	// 						to.Ptr("NorthCentralUs"),
	// 						to.Ptr("NorthEurope"),
	// 						to.Ptr("SouthCentralUs"),
	// 						to.Ptr("SoutheastAsia"),
	// 						to.Ptr("SouthIndia"),
	// 						to.Ptr("WestEurope"),
	// 						to.Ptr("WestIndia"),
	// 						to.Ptr("WestUs"),
	// 						to.Ptr("AustraliaCentral"),
	// 						to.Ptr("AustraliaCentral2"),
	// 						to.Ptr("CanadaEast"),
	// 						to.Ptr("FranceCentral"),
	// 						to.Ptr("FranceSouth"),
	// 						to.Ptr("GermanyNorth"),
	// 						to.Ptr("GermanyWestCentral"),
	// 						to.Ptr("ItalyNorth"),
	// 						to.Ptr("KoreaCentral"),
	// 						to.Ptr("KoreaSouth"),
	// 						to.Ptr("NorwayEast"),
	// 						to.Ptr("NorwayWest"),
	// 						to.Ptr("PolandCentral"),
	// 						to.Ptr("QatarCentral"),
	// 						to.Ptr("SouthAfricaNorth"),
	// 						to.Ptr("SouthAfricaWest"),
	// 						to.Ptr("SwedenCentral"),
	// 						to.Ptr("SwitzerlandNorth"),
	// 						to.Ptr("SwitzerlandWest"),
	// 						to.Ptr("UAECentral"),
	// 						to.Ptr("UAENorth"),
	// 						to.Ptr("UkSouth"),
	// 						to.Ptr("UkWest"),
	// 						to.Ptr("WestCentralUs"),
	// 						to.Ptr("WestUs2"),
	// 						to.Ptr("USGovArizona"),
	// 						to.Ptr("USGovTexas"),
	// 						to.Ptr("USGovVirginia"),
	// 						to.Ptr("USGovIowa")},
	// 						ReservedInstanceSupportedOffers: []*string{
	// 							to.Ptr("MSAZR0003P"),
	// 							to.Ptr("MSAZRUSGOV0003P")},
	// 							ReservedInstanceVMFamilies: []*string{
	// 								to.Ptr("D_series"),
	// 								to.Ptr("Dv2_series"),
	// 								to.Ptr("Dadsv5_series"),
	// 								to.Ptr("Dasv4_series"),
	// 								to.Ptr("Dasv5_series"),
	// 								to.Ptr("Dav4_series"),
	// 								to.Ptr("Ddsv4_series"),
	// 								to.Ptr("Ddsv5_series"),
	// 								to.Ptr("Ddv4_series"),
	// 								to.Ptr("Ddv5_series"),
	// 								to.Ptr("Dsv3_series"),
	// 								to.Ptr("Dsv4_series"),
	// 								to.Ptr("Dsv5_series"),
	// 								to.Ptr("Dv3_series"),
	// 								to.Ptr("Dv4_series"),
	// 								to.Ptr("Dv5_series"),
	// 								to.Ptr("DS_series"),
	// 								to.Ptr("DSv2_series"),
	// 								to.Ptr("Edsv5_series"),
	// 								to.Ptr("Edv5_series"),
	// 								to.Ptr("Esv5_series"),
	// 								to.Ptr("Ev5_series"),
	// 								to.Ptr("Eadsv5_series"),
	// 								to.Ptr("Easv4_series"),
	// 								to.Ptr("Easv5_series"),
	// 								to.Ptr("Eav4_series"),
	// 								to.Ptr("Ebdsv5_series"),
	// 								to.Ptr("Ebsv5_series"),
	// 								to.Ptr("Edsv4_series"),
	// 								to.Ptr("Edv4_series"),
	// 								to.Ptr("Esv3_series"),
	// 								to.Ptr("Esv4_series"),
	// 								to.Ptr("Ev3_series"),
	// 								to.Ptr("Ev4_series"),
	// 								to.Ptr("F_series"),
	// 								to.Ptr("Fs_series"),
	// 								to.Ptr("Fsv2_series"),
	// 								to.Ptr("Lsv2_series"),
	// 								to.Ptr("M_series"),
	// 								to.Ptr("Mdsv2_series"),
	// 								to.Ptr("Msv2_series"),
	// 								to.Ptr("Mv2_series")},
	// 								SavingsPlanSupportedLocations: []*string{
	// 									to.Ptr("AustraliaEast"),
	// 									to.Ptr("AustraliaSoutheast"),
	// 									to.Ptr("BrazilSouth"),
	// 									to.Ptr("CanadaCentral"),
	// 									to.Ptr("CentralIndia"),
	// 									to.Ptr("CentralUs"),
	// 									to.Ptr("EastAsia"),
	// 									to.Ptr("EastUs"),
	// 									to.Ptr("EastUs2"),
	// 									to.Ptr("JapanEast"),
	// 									to.Ptr("JapanWest"),
	// 									to.Ptr("NorthCentralUs"),
	// 									to.Ptr("NorthEurope"),
	// 									to.Ptr("SouthCentralUs"),
	// 									to.Ptr("SoutheastAsia"),
	// 									to.Ptr("SouthIndia"),
	// 									to.Ptr("WestEurope"),
	// 									to.Ptr("WestIndia"),
	// 									to.Ptr("WestUs"),
	// 									to.Ptr("AustraliaCentral"),
	// 									to.Ptr("AustraliaCentral2"),
	// 									to.Ptr("CanadaEast"),
	// 									to.Ptr("FranceCentral"),
	// 									to.Ptr("FranceSouth"),
	// 									to.Ptr("GermanyNorth"),
	// 									to.Ptr("GermanyWestCentral"),
	// 									to.Ptr("KoreaCentral"),
	// 									to.Ptr("KoreaSouth"),
	// 									to.Ptr("NorwayEast"),
	// 									to.Ptr("NorwayWest"),
	// 									to.Ptr("QatarCentral"),
	// 									to.Ptr("SouthAfricaNorth"),
	// 									to.Ptr("SouthAfricaWest"),
	// 									to.Ptr("SwedenCentral"),
	// 									to.Ptr("SwitzerlandNorth"),
	// 									to.Ptr("SwitzerlandWest"),
	// 									to.Ptr("UAECentral"),
	// 									to.Ptr("UAENorth"),
	// 									to.Ptr("UkSouth"),
	// 									to.Ptr("UkWest"),
	// 									to.Ptr("WestCentralUs"),
	// 									to.Ptr("WestUs2"),
	// 									to.Ptr("PolandCentral")},
	// 									SavingsPlanVMFamilies: []*string{
	// 										to.Ptr("D_series"),
	// 										to.Ptr("Dv2_series"),
	// 										to.Ptr("Dadsv5_series"),
	// 										to.Ptr("Dasv4_series"),
	// 										to.Ptr("Dasv5_series"),
	// 										to.Ptr("Dav4_series"),
	// 										to.Ptr("Ddsv4_series"),
	// 										to.Ptr("Ddsv5_series"),
	// 										to.Ptr("Ddv4_series"),
	// 										to.Ptr("Ddv5_series"),
	// 										to.Ptr("Dsv3_series"),
	// 										to.Ptr("Dsv4_series"),
	// 										to.Ptr("Dsv5_series"),
	// 										to.Ptr("Dv3_series"),
	// 										to.Ptr("Dv4_series"),
	// 										to.Ptr("Dv5_series"),
	// 										to.Ptr("DS_series"),
	// 										to.Ptr("DSv2_series"),
	// 										to.Ptr("Edsv5_series"),
	// 										to.Ptr("Edv5_series"),
	// 										to.Ptr("Esv5_series"),
	// 										to.Ptr("Ev5_series"),
	// 										to.Ptr("Eadsv5_series"),
	// 										to.Ptr("Easv4_series"),
	// 										to.Ptr("Easv5_series"),
	// 										to.Ptr("Eav4_series"),
	// 										to.Ptr("Ebdsv5_series"),
	// 										to.Ptr("Ebsv5_series"),
	// 										to.Ptr("Edsv4_series"),
	// 										to.Ptr("Edv4_series"),
	// 										to.Ptr("Esv3_series"),
	// 										to.Ptr("Esv4_series"),
	// 										to.Ptr("Ev3_series"),
	// 										to.Ptr("Ev4_series"),
	// 										to.Ptr("F_series"),
	// 										to.Ptr("Fs_series"),
	// 										to.Ptr("Fsv2_series"),
	// 										to.Ptr("Lsv2_series"),
	// 										to.Ptr("M_series"),
	// 										to.Ptr("Mdsv2_series"),
	// 										to.Ptr("Msv2_series"),
	// 										to.Ptr("Mv2_series")},
	// 										UltraDiskVMFamilies: []*armmigrationassessment.UltraDiskAssessmentOptions{
	// 											{
	// 												FamilyName: to.Ptr("Dadsv5_series"),
	// 												TargetLocations: []*string{
	// 													to.Ptr("AustraliaCentral"),
	// 													to.Ptr("BrazilSouth"),
	// 													to.Ptr("CentralIndia"),
	// 													to.Ptr("EastAsia"),
	// 													to.Ptr("NorthCentralUs"),
	// 													to.Ptr("SouthCentralUs"),
	// 													to.Ptr("WestUs"),
	// 													to.Ptr("USGovVirginia")},
	// 												},
	// 												{
	// 													FamilyName: to.Ptr("Dasv4_series"),
	// 													TargetLocations: []*string{
	// 														to.Ptr("AustraliaCentral"),
	// 														to.Ptr("BrazilSouth"),
	// 														to.Ptr("CentralIndia"),
	// 														to.Ptr("EastAsia"),
	// 														to.Ptr("KoreaCentral"),
	// 														to.Ptr("KoreaSouth"),
	// 														to.Ptr("NorthCentralUs"),
	// 														to.Ptr("SouthCentralUs"),
	// 														to.Ptr("WestUs"),
	// 														to.Ptr("USGovVirginia")},
	// 													},
	// 													{
	// 														FamilyName: to.Ptr("Dasv5_series"),
	// 														TargetLocations: []*string{
	// 															to.Ptr("AustraliaCentral"),
	// 															to.Ptr("BrazilSouth"),
	// 															to.Ptr("CentralIndia"),
	// 															to.Ptr("EastAsia"),
	// 															to.Ptr("NorthCentralUs"),
	// 															to.Ptr("SouthCentralUs"),
	// 															to.Ptr("WestUs"),
	// 															to.Ptr("USGovVirginia")},
	// 														},
	// 														{
	// 															FamilyName: to.Ptr("Ddsv4_series"),
	// 															TargetLocations: []*string{
	// 																to.Ptr("AustraliaCentral"),
	// 																to.Ptr("BrazilSouth"),
	// 																to.Ptr("CentralIndia"),
	// 																to.Ptr("EastAsia"),
	// 																to.Ptr("GermanyWestCentral"),
	// 																to.Ptr("KoreaCentral"),
	// 																to.Ptr("KoreaSouth"),
	// 																to.Ptr("NorthCentralUs"),
	// 																to.Ptr("SouthCentralUs"),
	// 																to.Ptr("WestUs"),
	// 																to.Ptr("USGovArizona"),
	// 																to.Ptr("USGovTexas"),
	// 																to.Ptr("USGovVirginia")},
	// 															},
	// 															{
	// 																FamilyName: to.Ptr("Ddsv5_series"),
	// 																TargetLocations: []*string{
	// 																	to.Ptr("AustraliaCentral"),
	// 																	to.Ptr("BrazilSouth"),
	// 																	to.Ptr("CentralIndia"),
	// 																	to.Ptr("EastAsia"),
	// 																	to.Ptr("GermanyWestCentral"),
	// 																	to.Ptr("KoreaCentral"),
	// 																	to.Ptr("NorthCentralUs"),
	// 																	to.Ptr("SouthCentralUs"),
	// 																	to.Ptr("WestUs"),
	// 																	to.Ptr("USGovArizona"),
	// 																	to.Ptr("USGovVirginia")},
	// 																},
	// 																{
	// 																	FamilyName: to.Ptr("Ddv5_series"),
	// 																	TargetLocations: []*string{
	// 																		to.Ptr("AustraliaCentral"),
	// 																		to.Ptr("BrazilSouth"),
	// 																		to.Ptr("CentralIndia"),
	// 																		to.Ptr("EastAsia"),
	// 																		to.Ptr("GermanyWestCentral"),
	// 																		to.Ptr("KoreaCentral"),
	// 																		to.Ptr("NorthCentralUs"),
	// 																		to.Ptr("SouthCentralUs"),
	// 																		to.Ptr("WestUs")},
	// 																	},
	// 																	{
	// 																		FamilyName: to.Ptr("Dsv3_series"),
	// 																		TargetLocations: []*string{
	// 																			to.Ptr("AustraliaCentral"),
	// 																			to.Ptr("BrazilSouth"),
	// 																			to.Ptr("CentralIndia"),
	// 																			to.Ptr("EastAsia"),
	// 																			to.Ptr("GermanyWestCentral"),
	// 																			to.Ptr("KoreaCentral"),
	// 																			to.Ptr("KoreaSouth"),
	// 																			to.Ptr("NorthCentralUs"),
	// 																			to.Ptr("SouthCentralUs"),
	// 																			to.Ptr("WestUs"),
	// 																			to.Ptr("USGovArizona"),
	// 																			to.Ptr("USGovTexas"),
	// 																			to.Ptr("USGovVirginia")},
	// 																		},
	// 																		{
	// 																			FamilyName: to.Ptr("Dsv4_series"),
	// 																			TargetLocations: []*string{
	// 																				to.Ptr("AustraliaCentral"),
	// 																				to.Ptr("BrazilSouth"),
	// 																				to.Ptr("CentralIndia"),
	// 																				to.Ptr("EastAsia"),
	// 																				to.Ptr("GermanyWestCentral"),
	// 																				to.Ptr("KoreaCentral"),
	// 																				to.Ptr("KoreaSouth"),
	// 																				to.Ptr("NorthCentralUs"),
	// 																				to.Ptr("SouthCentralUs"),
	// 																				to.Ptr("WestUs"),
	// 																				to.Ptr("USGovArizona"),
	// 																				to.Ptr("USGovTexas"),
	// 																				to.Ptr("USGovVirginia")},
	// 																			},
	// 																			{
	// 																				FamilyName: to.Ptr("Dsv5_series"),
	// 																				TargetLocations: []*string{
	// 																					to.Ptr("AustraliaCentral"),
	// 																					to.Ptr("BrazilSouth"),
	// 																					to.Ptr("CentralIndia"),
	// 																					to.Ptr("EastAsia"),
	// 																					to.Ptr("GermanyWestCentral"),
	// 																					to.Ptr("KoreaCentral"),
	// 																					to.Ptr("NorthCentralUs"),
	// 																					to.Ptr("SouthCentralUs"),
	// 																					to.Ptr("WestUs")},
	// 																				},
	// 																				{
	// 																					FamilyName: to.Ptr("Dv5_series"),
	// 																					TargetLocations: []*string{
	// 																						to.Ptr("AustraliaCentral"),
	// 																						to.Ptr("BrazilSouth"),
	// 																						to.Ptr("CentralIndia"),
	// 																						to.Ptr("EastAsia"),
	// 																						to.Ptr("GermanyWestCentral"),
	// 																						to.Ptr("KoreaCentral"),
	// 																						to.Ptr("NorthCentralUs"),
	// 																						to.Ptr("SouthCentralUs"),
	// 																						to.Ptr("WestUs")},
	// 																					},
	// 																					{
	// 																						FamilyName: to.Ptr("Edsv5_series"),
	// 																						TargetLocations: []*string{
	// 																							to.Ptr("AustraliaCentral"),
	// 																							to.Ptr("BrazilSouth"),
	// 																							to.Ptr("CentralIndia"),
	// 																							to.Ptr("EastAsia"),
	// 																							to.Ptr("GermanyWestCentral"),
	// 																							to.Ptr("KoreaCentral"),
	// 																							to.Ptr("NorthCentralUs"),
	// 																							to.Ptr("SouthCentralUs"),
	// 																							to.Ptr("WestUs")},
	// 																						},
	// 																						{
	// 																							FamilyName: to.Ptr("Edv5_series"),
	// 																							TargetLocations: []*string{
	// 																								to.Ptr("AustraliaCentral"),
	// 																								to.Ptr("BrazilSouth"),
	// 																								to.Ptr("CentralIndia"),
	// 																								to.Ptr("EastAsia"),
	// 																								to.Ptr("GermanyWestCentral"),
	// 																								to.Ptr("KoreaCentral"),
	// 																								to.Ptr("NorthCentralUs"),
	// 																								to.Ptr("SouthCentralUs"),
	// 																								to.Ptr("WestUs")},
	// 																							},
	// 																							{
	// 																								FamilyName: to.Ptr("Esv5_series"),
	// 																								TargetLocations: []*string{
	// 																									to.Ptr("AustraliaCentral"),
	// 																									to.Ptr("BrazilSouth"),
	// 																									to.Ptr("CentralIndia"),
	// 																									to.Ptr("EastAsia"),
	// 																									to.Ptr("GermanyWestCentral"),
	// 																									to.Ptr("KoreaCentral"),
	// 																									to.Ptr("NorthCentralUs"),
	// 																									to.Ptr("SouthCentralUs"),
	// 																									to.Ptr("WestUs")},
	// 																								},
	// 																								{
	// 																									FamilyName: to.Ptr("Ev5_series"),
	// 																									TargetLocations: []*string{
	// 																										to.Ptr("AustraliaCentral"),
	// 																										to.Ptr("BrazilSouth"),
	// 																										to.Ptr("CentralIndia"),
	// 																										to.Ptr("EastAsia"),
	// 																										to.Ptr("GermanyWestCentral"),
	// 																										to.Ptr("KoreaCentral"),
	// 																										to.Ptr("NorthCentralUs"),
	// 																										to.Ptr("SouthCentralUs"),
	// 																										to.Ptr("WestUs")},
	// 																									},
	// 																									{
	// 																										FamilyName: to.Ptr("Eadsv5_series"),
	// 																										TargetLocations: []*string{
	// 																											to.Ptr("AustraliaCentral"),
	// 																											to.Ptr("BrazilSouth"),
	// 																											to.Ptr("CentralIndia"),
	// 																											to.Ptr("EastAsia"),
	// 																											to.Ptr("NorthCentralUs"),
	// 																											to.Ptr("SouthCentralUs"),
	// 																											to.Ptr("WestUs"),
	// 																											to.Ptr("USGovVirginia")},
	// 																										},
	// 																										{
	// 																											FamilyName: to.Ptr("Easv4_series"),
	// 																											TargetLocations: []*string{
	// 																												to.Ptr("AustraliaCentral"),
	// 																												to.Ptr("BrazilSouth"),
	// 																												to.Ptr("CentralIndia"),
	// 																												to.Ptr("EastAsia"),
	// 																												to.Ptr("KoreaCentral"),
	// 																												to.Ptr("KoreaSouth"),
	// 																												to.Ptr("NorthCentralUs"),
	// 																												to.Ptr("SouthCentralUs"),
	// 																												to.Ptr("WestUs"),
	// 																												to.Ptr("USGovVirginia")},
	// 																											},
	// 																											{
	// 																												FamilyName: to.Ptr("Easv5_series"),
	// 																												TargetLocations: []*string{
	// 																													to.Ptr("AustraliaCentral"),
	// 																													to.Ptr("BrazilSouth"),
	// 																													to.Ptr("CentralIndia"),
	// 																													to.Ptr("EastAsia"),
	// 																													to.Ptr("NorthCentralUs"),
	// 																													to.Ptr("SouthCentralUs"),
	// 																													to.Ptr("WestUs"),
	// 																													to.Ptr("USGovVirginia")},
	// 																												},
	// 																												{
	// 																													FamilyName: to.Ptr("Ebdsv5_series"),
	// 																													TargetLocations: []*string{
	// 																														to.Ptr("AustraliaCentral"),
	// 																														to.Ptr("BrazilSouth"),
	// 																														to.Ptr("CentralIndia"),
	// 																														to.Ptr("EastAsia"),
	// 																														to.Ptr("GermanyWestCentral"),
	// 																														to.Ptr("KoreaCentral"),
	// 																														to.Ptr("NorthCentralUs"),
	// 																														to.Ptr("SouthCentralUs"),
	// 																														to.Ptr("WestUs"),
	// 																														to.Ptr("USGovArizona"),
	// 																														to.Ptr("USGovVirginia")},
	// 																													},
	// 																													{
	// 																														FamilyName: to.Ptr("Ebsv5_series"),
	// 																														TargetLocations: []*string{
	// 																															to.Ptr("AustraliaCentral"),
	// 																															to.Ptr("BrazilSouth"),
	// 																															to.Ptr("CentralIndia"),
	// 																															to.Ptr("EastAsia"),
	// 																															to.Ptr("GermanyWestCentral"),
	// 																															to.Ptr("KoreaCentral"),
	// 																															to.Ptr("NorthCentralUs"),
	// 																															to.Ptr("SouthCentralUs"),
	// 																															to.Ptr("WestUs"),
	// 																															to.Ptr("USGovArizona"),
	// 																															to.Ptr("USGovVirginia")},
	// 																														},
	// 																														{
	// 																															FamilyName: to.Ptr("Edsv4_series"),
	// 																															TargetLocations: []*string{
	// 																																to.Ptr("AustraliaCentral"),
	// 																																to.Ptr("BrazilSouth"),
	// 																																to.Ptr("CentralIndia"),
	// 																																to.Ptr("EastAsia"),
	// 																																to.Ptr("GermanyWestCentral"),
	// 																																to.Ptr("KoreaCentral"),
	// 																																to.Ptr("KoreaSouth"),
	// 																																to.Ptr("NorthCentralUs"),
	// 																																to.Ptr("SouthCentralUs"),
	// 																																to.Ptr("WestUs"),
	// 																																to.Ptr("USGovArizona"),
	// 																																to.Ptr("USGovTexas"),
	// 																																to.Ptr("USGovVirginia")},
	// 																															},
	// 																															{
	// 																																FamilyName: to.Ptr("Esv3_series"),
	// 																																TargetLocations: []*string{
	// 																																	to.Ptr("AustraliaCentral"),
	// 																																	to.Ptr("BrazilSouth"),
	// 																																	to.Ptr("CentralIndia"),
	// 																																	to.Ptr("EastAsia"),
	// 																																	to.Ptr("GermanyWestCentral"),
	// 																																	to.Ptr("KoreaCentral"),
	// 																																	to.Ptr("KoreaSouth"),
	// 																																	to.Ptr("NorthCentralUs"),
	// 																																	to.Ptr("SouthCentralUs"),
	// 																																	to.Ptr("WestUs"),
	// 																																	to.Ptr("USGovArizona"),
	// 																																	to.Ptr("USGovTexas"),
	// 																																	to.Ptr("USGovVirginia")},
	// 																																},
	// 																																{
	// 																																	FamilyName: to.Ptr("Esv4_series"),
	// 																																	TargetLocations: []*string{
	// 																																		to.Ptr("AustraliaCentral"),
	// 																																		to.Ptr("BrazilSouth"),
	// 																																		to.Ptr("CentralIndia"),
	// 																																		to.Ptr("EastAsia"),
	// 																																		to.Ptr("GermanyWestCentral"),
	// 																																		to.Ptr("KoreaCentral"),
	// 																																		to.Ptr("KoreaSouth"),
	// 																																		to.Ptr("NorthCentralUs"),
	// 																																		to.Ptr("SouthCentralUs"),
	// 																																		to.Ptr("WestUs"),
	// 																																		to.Ptr("USGovArizona"),
	// 																																		to.Ptr("USGovTexas"),
	// 																																		to.Ptr("USGovVirginia")},
	// 																																	},
	// 																																	{
	// 																																		FamilyName: to.Ptr("Fs_series"),
	// 																																		TargetLocations: []*string{
	// 																																			to.Ptr("AustraliaCentral"),
	// 																																			to.Ptr("BrazilSouth"),
	// 																																			to.Ptr("CentralIndia"),
	// 																																			to.Ptr("EastAsia"),
	// 																																			to.Ptr("GermanyWestCentral"),
	// 																																			to.Ptr("KoreaCentral"),
	// 																																			to.Ptr("KoreaSouth"),
	// 																																			to.Ptr("NorthCentralUs"),
	// 																																			to.Ptr("SouthCentralUs"),
	// 																																			to.Ptr("WestUs"),
	// 																																			to.Ptr("USGovArizona"),
	// 																																			to.Ptr("USGovTexas"),
	// 																																			to.Ptr("USGovVirginia")},
	// 																																		},
	// 																																		{
	// 																																			FamilyName: to.Ptr("Fsv2_series"),
	// 																																			TargetLocations: []*string{
	// 																																				to.Ptr("AustraliaCentral"),
	// 																																				to.Ptr("BrazilSouth"),
	// 																																				to.Ptr("CentralIndia"),
	// 																																				to.Ptr("EastAsia"),
	// 																																				to.Ptr("GermanyWestCentral"),
	// 																																				to.Ptr("KoreaCentral"),
	// 																																				to.Ptr("KoreaSouth"),
	// 																																				to.Ptr("NorthCentralUs"),
	// 																																				to.Ptr("SouthCentralUs"),
	// 																																				to.Ptr("WestUs"),
	// 																																				to.Ptr("USGovArizona"),
	// 																																				to.Ptr("USGovTexas"),
	// 																																				to.Ptr("USGovVirginia")},
	// 																																			},
	// 																																			{
	// 																																				FamilyName: to.Ptr("Lsv2_series"),
	// 																																				TargetLocations: []*string{
	// 																																					to.Ptr("CentralIndia"),
	// 																																					to.Ptr("GermanyWestCentral"),
	// 																																					to.Ptr("SouthCentralUs"),
	// 																																					to.Ptr("WestUs"),
	// 																																					to.Ptr("USGovArizona"),
	// 																																					to.Ptr("USGovVirginia")},
	// 																																				},
	// 																																				{
	// 																																					FamilyName: to.Ptr("M_series"),
	// 																																					TargetLocations: []*string{
	// 																																						to.Ptr("AustraliaCentral"),
	// 																																						to.Ptr("BrazilSouth"),
	// 																																						to.Ptr("CentralIndia"),
	// 																																						to.Ptr("EastAsia"),
	// 																																						to.Ptr("GermanyWestCentral"),
	// 																																						to.Ptr("KoreaCentral"),
	// 																																						to.Ptr("KoreaSouth"),
	// 																																						to.Ptr("NorthCentralUs"),
	// 																																						to.Ptr("SouthCentralUs"),
	// 																																						to.Ptr("WestUs"),
	// 																																						to.Ptr("USGovVirginia")},
	// 																																					},
	// 																																					{
	// 																																						FamilyName: to.Ptr("Mdsv2_series"),
	// 																																						TargetLocations: []*string{
	// 																																							to.Ptr("AustraliaCentral"),
	// 																																							to.Ptr("BrazilSouth"),
	// 																																							to.Ptr("CentralIndia"),
	// 																																							to.Ptr("EastAsia"),
	// 																																							to.Ptr("GermanyWestCentral"),
	// 																																							to.Ptr("KoreaCentral"),
	// 																																							to.Ptr("NorthCentralUs"),
	// 																																							to.Ptr("SouthCentralUs"),
	// 																																							to.Ptr("WestUs"),
	// 																																							to.Ptr("USGovVirginia")},
	// 																																						},
	// 																																						{
	// 																																							FamilyName: to.Ptr("Msv2_series"),
	// 																																							TargetLocations: []*string{
	// 																																								to.Ptr("AustraliaCentral"),
	// 																																								to.Ptr("BrazilSouth"),
	// 																																								to.Ptr("CentralIndia"),
	// 																																								to.Ptr("EastAsia"),
	// 																																								to.Ptr("GermanyWestCentral"),
	// 																																								to.Ptr("KoreaCentral"),
	// 																																								to.Ptr("NorthCentralUs"),
	// 																																								to.Ptr("SouthCentralUs"),
	// 																																								to.Ptr("WestUs"),
	// 																																								to.Ptr("USGovVirginia")},
	// 																																							},
	// 																																							{
	// 																																								FamilyName: to.Ptr("Mv2_series"),
	// 																																								TargetLocations: []*string{
	// 																																									to.Ptr("AustraliaCentral"),
	// 																																									to.Ptr("BrazilSouth"),
	// 																																									to.Ptr("CentralIndia"),
	// 																																									to.Ptr("EastAsia"),
	// 																																									to.Ptr("GermanyWestCentral"),
	// 																																									to.Ptr("KoreaCentral"),
	// 																																									to.Ptr("KoreaSouth"),
	// 																																									to.Ptr("NorthCentralUs"),
	// 																																									to.Ptr("SouthCentralUs"),
	// 																																									to.Ptr("WestUs"),
	// 																																									to.Ptr("USGovArizona"),
	// 																																									to.Ptr("USGovVirginia")},
	// 																																							}},
	// 																																							VMFamilies: []*armmigrationassessment.VMFamilyOptions{
	// 																																								{
	// 																																									Category: []*string{
	// 																																										to.Ptr("GeneralPurpose")},
	// 																																										FamilyName: to.Ptr("Basic_A0_A4"),
	// 																																										TargetLocations: []*string{
	// 																																											to.Ptr("AustraliaCentral"),
	// 																																											to.Ptr("AustraliaCentral2"),
	// 																																											to.Ptr("AustraliaEast"),
	// 																																											to.Ptr("AustraliaSoutheast"),
	// 																																											to.Ptr("BrazilSouth"),
	// 																																											to.Ptr("CanadaCentral"),
	// 																																											to.Ptr("CanadaEast"),
	// 																																											to.Ptr("CentralIndia"),
	// 																																											to.Ptr("CentralUs"),
	// 																																											to.Ptr("EastAsia"),
	// 																																											to.Ptr("EastUs"),
	// 																																											to.Ptr("EastUs2"),
	// 																																											to.Ptr("FranceCentral"),
	// 																																											to.Ptr("FranceSouth"),
	// 																																											to.Ptr("JapanEast"),
	// 																																											to.Ptr("JapanWest"),
	// 																																											to.Ptr("KoreaCentral"),
	// 																																											to.Ptr("KoreaSouth"),
	// 																																											to.Ptr("NorthCentralUs"),
	// 																																											to.Ptr("NorthEurope"),
	// 																																											to.Ptr("SouthCentralUs"),
	// 																																											to.Ptr("SoutheastAsia"),
	// 																																											to.Ptr("SouthIndia"),
	// 																																											to.Ptr("UkSouth"),
	// 																																											to.Ptr("UkWest"),
	// 																																											to.Ptr("WestCentralUs"),
	// 																																											to.Ptr("WestEurope"),
	// 																																											to.Ptr("WestIndia"),
	// 																																											to.Ptr("WestUs"),
	// 																																											to.Ptr("WestUs2"),
	// 																																											to.Ptr("ChinaEast"),
	// 																																											to.Ptr("ChinaEast2"),
	// 																																											to.Ptr("ChinaNorth"),
	// 																																											to.Ptr("ChinaNorth2"),
	// 																																											to.Ptr("USGovArizona"),
	// 																																											to.Ptr("USGovIowa"),
	// 																																											to.Ptr("USGovTexas"),
	// 																																											to.Ptr("USGovVirginia")},
	// 																																										},
	// 																																										{
	// 																																											Category: []*string{
	// 																																												to.Ptr("GeneralPurpose")},
	// 																																												FamilyName: to.Ptr("Standard_A0_A7"),
	// 																																												TargetLocations: []*string{
	// 																																													to.Ptr("AustraliaCentral"),
	// 																																													to.Ptr("AustraliaCentral2"),
	// 																																													to.Ptr("AustraliaEast"),
	// 																																													to.Ptr("AustraliaSoutheast"),
	// 																																													to.Ptr("BrazilSouth"),
	// 																																													to.Ptr("CanadaCentral"),
	// 																																													to.Ptr("CanadaEast"),
	// 																																													to.Ptr("CentralIndia"),
	// 																																													to.Ptr("CentralUs"),
	// 																																													to.Ptr("EastAsia"),
	// 																																													to.Ptr("EastUs"),
	// 																																													to.Ptr("EastUs2"),
	// 																																													to.Ptr("FranceCentral"),
	// 																																													to.Ptr("FranceSouth"),
	// 																																													to.Ptr("JapanEast"),
	// 																																													to.Ptr("JapanWest"),
	// 																																													to.Ptr("KoreaCentral"),
	// 																																													to.Ptr("KoreaSouth"),
	// 																																													to.Ptr("NorthCentralUs"),
	// 																																													to.Ptr("NorthEurope"),
	// 																																													to.Ptr("SouthCentralUs"),
	// 																																													to.Ptr("SoutheastAsia"),
	// 																																													to.Ptr("SouthIndia"),
	// 																																													to.Ptr("UkSouth"),
	// 																																													to.Ptr("UkWest"),
	// 																																													to.Ptr("WestCentralUs"),
	// 																																													to.Ptr("WestEurope"),
	// 																																													to.Ptr("WestIndia"),
	// 																																													to.Ptr("WestUs"),
	// 																																													to.Ptr("WestUs2"),
	// 																																													to.Ptr("ChinaEast"),
	// 																																													to.Ptr("ChinaEast2"),
	// 																																													to.Ptr("ChinaNorth"),
	// 																																													to.Ptr("ChinaNorth2"),
	// 																																													to.Ptr("USGovArizona"),
	// 																																													to.Ptr("USGovIowa"),
	// 																																													to.Ptr("USGovTexas"),
	// 																																													to.Ptr("USGovVirginia")},
	// 																																												},
	// 																																												{
	// 																																													Category: []*string{
	// 																																														to.Ptr("GeneralPurpose")},
	// 																																														FamilyName: to.Ptr("Av2_series"),
	// 																																														TargetLocations: []*string{
	// 																																															to.Ptr("AustraliaCentral"),
	// 																																															to.Ptr("AustraliaCentral2"),
	// 																																															to.Ptr("AustraliaEast"),
	// 																																															to.Ptr("AustraliaSoutheast"),
	// 																																															to.Ptr("BrazilSouth"),
	// 																																															to.Ptr("CanadaCentral"),
	// 																																															to.Ptr("CanadaEast"),
	// 																																															to.Ptr("CentralIndia"),
	// 																																															to.Ptr("CentralUs"),
	// 																																															to.Ptr("EastAsia"),
	// 																																															to.Ptr("EastUs"),
	// 																																															to.Ptr("EastUs2"),
	// 																																															to.Ptr("FranceCentral"),
	// 																																															to.Ptr("FranceSouth"),
	// 																																															to.Ptr("GermanyNorth"),
	// 																																															to.Ptr("GermanyWestCentral"),
	// 																																															to.Ptr("ItalyNorth"),
	// 																																															to.Ptr("JapanEast"),
	// 																																															to.Ptr("JapanWest"),
	// 																																															to.Ptr("KoreaCentral"),
	// 																																															to.Ptr("KoreaSouth"),
	// 																																															to.Ptr("NorthCentralUs"),
	// 																																															to.Ptr("NorthEurope"),
	// 																																															to.Ptr("NorwayEast"),
	// 																																															to.Ptr("NorwayWest"),
	// 																																															to.Ptr("PolandCentral"),
	// 																																															to.Ptr("QatarCentral"),
	// 																																															to.Ptr("SouthAfricaNorth"),
	// 																																															to.Ptr("SouthAfricaWest"),
	// 																																															to.Ptr("SouthCentralUs"),
	// 																																															to.Ptr("SoutheastAsia"),
	// 																																															to.Ptr("SouthIndia"),
	// 																																															to.Ptr("SwedenCentral"),
	// 																																															to.Ptr("SwitzerlandNorth"),
	// 																																															to.Ptr("SwitzerlandWest"),
	// 																																															to.Ptr("UAECentral"),
	// 																																															to.Ptr("UAENorth"),
	// 																																															to.Ptr("UkSouth"),
	// 																																															to.Ptr("UkWest"),
	// 																																															to.Ptr("WestCentralUs"),
	// 																																															to.Ptr("WestEurope"),
	// 																																															to.Ptr("WestIndia"),
	// 																																															to.Ptr("WestUs"),
	// 																																															to.Ptr("WestUs2"),
	// 																																															to.Ptr("ChinaEast"),
	// 																																															to.Ptr("ChinaEast2"),
	// 																																															to.Ptr("ChinaNorth"),
	// 																																															to.Ptr("ChinaNorth2"),
	// 																																															to.Ptr("USGovArizona"),
	// 																																															to.Ptr("USGovIowa"),
	// 																																															to.Ptr("USGovTexas"),
	// 																																															to.Ptr("USGovVirginia")},
	// 																																														},
	// 																																														{
	// 																																															Category: []*string{
	// 																																																to.Ptr("GeneralPurpose")},
	// 																																																FamilyName: to.Ptr("D_series"),
	// 																																																TargetLocations: []*string{
	// 																																																	to.Ptr("AustraliaEast"),
	// 																																																	to.Ptr("AustraliaSoutheast"),
	// 																																																	to.Ptr("BrazilSouth"),
	// 																																																	to.Ptr("CanadaCentral"),
	// 																																																	to.Ptr("CentralIndia"),
	// 																																																	to.Ptr("CentralUs"),
	// 																																																	to.Ptr("EastAsia"),
	// 																																																	to.Ptr("EastUs"),
	// 																																																	to.Ptr("EastUs2"),
	// 																																																	to.Ptr("JapanEast"),
	// 																																																	to.Ptr("JapanWest"),
	// 																																																	to.Ptr("NorthCentralUs"),
	// 																																																	to.Ptr("NorthEurope"),
	// 																																																	to.Ptr("SouthCentralUs"),
	// 																																																	to.Ptr("SoutheastAsia"),
	// 																																																	to.Ptr("SouthIndia"),
	// 																																																	to.Ptr("WestEurope"),
	// 																																																	to.Ptr("WestIndia"),
	// 																																																	to.Ptr("WestUs"),
	// 																																																	to.Ptr("ChinaEast"),
	// 																																																	to.Ptr("ChinaNorth"),
	// 																																																	to.Ptr("USGovVirginia")},
	// 																																																},
	// 																																																{
	// 																																																	Category: []*string{
	// 																																																		to.Ptr("GeneralPurpose"),
	// 																																																		to.Ptr("MemoryOptimized")},
	// 																																																		FamilyName: to.Ptr("Dv2_series"),
	// 																																																		TargetLocations: []*string{
	// 																																																			to.Ptr("AustraliaCentral"),
	// 																																																			to.Ptr("AustraliaCentral2"),
	// 																																																			to.Ptr("AustraliaEast"),
	// 																																																			to.Ptr("AustraliaSoutheast"),
	// 																																																			to.Ptr("BrazilSouth"),
	// 																																																			to.Ptr("CanadaCentral"),
	// 																																																			to.Ptr("CanadaEast"),
	// 																																																			to.Ptr("CentralIndia"),
	// 																																																			to.Ptr("CentralUs"),
	// 																																																			to.Ptr("EastAsia"),
	// 																																																			to.Ptr("EastUs"),
	// 																																																			to.Ptr("EastUs2"),
	// 																																																			to.Ptr("FranceCentral"),
	// 																																																			to.Ptr("FranceSouth"),
	// 																																																			to.Ptr("GermanyNorth"),
	// 																																																			to.Ptr("GermanyWestCentral"),
	// 																																																			to.Ptr("ItalyNorth"),
	// 																																																			to.Ptr("JapanEast"),
	// 																																																			to.Ptr("JapanWest"),
	// 																																																			to.Ptr("KoreaCentral"),
	// 																																																			to.Ptr("KoreaSouth"),
	// 																																																			to.Ptr("NorthCentralUs"),
	// 																																																			to.Ptr("NorthEurope"),
	// 																																																			to.Ptr("NorwayEast"),
	// 																																																			to.Ptr("NorwayWest"),
	// 																																																			to.Ptr("PolandCentral"),
	// 																																																			to.Ptr("QatarCentral"),
	// 																																																			to.Ptr("SouthAfricaNorth"),
	// 																																																			to.Ptr("SouthAfricaWest"),
	// 																																																			to.Ptr("SouthCentralUs"),
	// 																																																			to.Ptr("SoutheastAsia"),
	// 																																																			to.Ptr("SouthIndia"),
	// 																																																			to.Ptr("SwedenCentral"),
	// 																																																			to.Ptr("SwitzerlandNorth"),
	// 																																																			to.Ptr("SwitzerlandWest"),
	// 																																																			to.Ptr("UAECentral"),
	// 																																																			to.Ptr("UAENorth"),
	// 																																																			to.Ptr("UkSouth"),
	// 																																																			to.Ptr("UkWest"),
	// 																																																			to.Ptr("WestCentralUs"),
	// 																																																			to.Ptr("WestEurope"),
	// 																																																			to.Ptr("WestIndia"),
	// 																																																			to.Ptr("WestUs"),
	// 																																																			to.Ptr("WestUs2"),
	// 																																																			to.Ptr("ChinaEast"),
	// 																																																			to.Ptr("ChinaEast2"),
	// 																																																			to.Ptr("ChinaNorth"),
	// 																																																			to.Ptr("ChinaNorth2"),
	// 																																																			to.Ptr("USGovArizona"),
	// 																																																			to.Ptr("USGovIowa"),
	// 																																																			to.Ptr("USGovTexas"),
	// 																																																			to.Ptr("USGovVirginia")},
	// 																																																		},
	// 																																																		{
	// 																																																			Category: []*string{
	// 																																																				to.Ptr("GeneralPurpose"),
	// 																																																				to.Ptr("SupportsPremiumStorage")},
	// 																																																				FamilyName: to.Ptr("Dadsv5_series"),
	// 																																																				TargetLocations: []*string{
	// 																																																					to.Ptr("AustraliaCentral"),
	// 																																																					to.Ptr("AustraliaEast"),
	// 																																																					to.Ptr("AustraliaSoutheast"),
	// 																																																					to.Ptr("BrazilSouth"),
	// 																																																					to.Ptr("CanadaCentral"),
	// 																																																					to.Ptr("CanadaEast"),
	// 																																																					to.Ptr("CentralIndia"),
	// 																																																					to.Ptr("CentralUs"),
	// 																																																					to.Ptr("EastAsia"),
	// 																																																					to.Ptr("EastUs"),
	// 																																																					to.Ptr("EastUs2"),
	// 																																																					to.Ptr("FranceCentral"),
	// 																																																					to.Ptr("FranceSouth"),
	// 																																																					to.Ptr("GermanyNorth"),
	// 																																																					to.Ptr("JapanEast"),
	// 																																																					to.Ptr("JapanWest"),
	// 																																																					to.Ptr("KoreaSouth"),
	// 																																																					to.Ptr("NorthCentralUs"),
	// 																																																					to.Ptr("NorthEurope"),
	// 																																																					to.Ptr("NorwayEast"),
	// 																																																					to.Ptr("NorwayWest"),
	// 																																																					to.Ptr("PolandCentral"),
	// 																																																					to.Ptr("SouthAfricaWest"),
	// 																																																					to.Ptr("SouthCentralUs"),
	// 																																																					to.Ptr("SoutheastAsia"),
	// 																																																					to.Ptr("SouthIndia"),
	// 																																																					to.Ptr("SwedenCentral"),
	// 																																																					to.Ptr("SwitzerlandNorth"),
	// 																																																					to.Ptr("UAENorth"),
	// 																																																					to.Ptr("UkSouth"),
	// 																																																					to.Ptr("UkWest"),
	// 																																																					to.Ptr("WestCentralUs"),
	// 																																																					to.Ptr("WestEurope"),
	// 																																																					to.Ptr("WestUs"),
	// 																																																					to.Ptr("WestUs2"),
	// 																																																					to.Ptr("USGovArizona"),
	// 																																																					to.Ptr("USGovTexas"),
	// 																																																					to.Ptr("USGovVirginia")},
	// 																																																				},
	// 																																																				{
	// 																																																					Category: []*string{
	// 																																																						to.Ptr("GeneralPurpose"),
	// 																																																						to.Ptr("SupportsPremiumStorage")},
	// 																																																						FamilyName: to.Ptr("Dasv4_series"),
	// 																																																						TargetLocations: []*string{
	// 																																																							to.Ptr("AustraliaCentral"),
	// 																																																							to.Ptr("AustraliaEast"),
	// 																																																							to.Ptr("AustraliaSoutheast"),
	// 																																																							to.Ptr("BrazilSouth"),
	// 																																																							to.Ptr("CanadaCentral"),
	// 																																																							to.Ptr("CanadaEast"),
	// 																																																							to.Ptr("CentralIndia"),
	// 																																																							to.Ptr("CentralUs"),
	// 																																																							to.Ptr("EastAsia"),
	// 																																																							to.Ptr("EastUs"),
	// 																																																							to.Ptr("EastUs2"),
	// 																																																							to.Ptr("FranceCentral"),
	// 																																																							to.Ptr("FranceSouth"),
	// 																																																							to.Ptr("GermanyNorth"),
	// 																																																							to.Ptr("JapanEast"),
	// 																																																							to.Ptr("JapanWest"),
	// 																																																							to.Ptr("KoreaCentral"),
	// 																																																							to.Ptr("KoreaSouth"),
	// 																																																							to.Ptr("NorthCentralUs"),
	// 																																																							to.Ptr("NorthEurope"),
	// 																																																							to.Ptr("NorwayEast"),
	// 																																																							to.Ptr("NorwayWest"),
	// 																																																							to.Ptr("PolandCentral"),
	// 																																																							to.Ptr("SouthAfricaWest"),
	// 																																																							to.Ptr("SouthCentralUs"),
	// 																																																							to.Ptr("SoutheastAsia"),
	// 																																																							to.Ptr("SouthIndia"),
	// 																																																							to.Ptr("SwedenCentral"),
	// 																																																							to.Ptr("SwitzerlandNorth"),
	// 																																																							to.Ptr("UAENorth"),
	// 																																																							to.Ptr("UkSouth"),
	// 																																																							to.Ptr("UkWest"),
	// 																																																							to.Ptr("WestCentralUs"),
	// 																																																							to.Ptr("WestEurope"),
	// 																																																							to.Ptr("WestUs"),
	// 																																																							to.Ptr("WestUs2"),
	// 																																																							to.Ptr("USGovArizona"),
	// 																																																							to.Ptr("USGovTexas"),
	// 																																																							to.Ptr("USGovVirginia")},
	// 																																																						},
	// 																																																						{
	// 																																																							Category: []*string{
	// 																																																								to.Ptr("GeneralPurpose"),
	// 																																																								to.Ptr("SupportsPremiumStorage")},
	// 																																																								FamilyName: to.Ptr("Dasv5_series"),
	// 																																																								TargetLocations: []*string{
	// 																																																									to.Ptr("AustraliaCentral"),
	// 																																																									to.Ptr("AustraliaEast"),
	// 																																																									to.Ptr("AustraliaSoutheast"),
	// 																																																									to.Ptr("BrazilSouth"),
	// 																																																									to.Ptr("CanadaCentral"),
	// 																																																									to.Ptr("CanadaEast"),
	// 																																																									to.Ptr("CentralIndia"),
	// 																																																									to.Ptr("CentralUs"),
	// 																																																									to.Ptr("EastAsia"),
	// 																																																									to.Ptr("EastUs"),
	// 																																																									to.Ptr("EastUs2"),
	// 																																																									to.Ptr("FranceCentral"),
	// 																																																									to.Ptr("FranceSouth"),
	// 																																																									to.Ptr("GermanyNorth"),
	// 																																																									to.Ptr("JapanEast"),
	// 																																																									to.Ptr("JapanWest"),
	// 																																																									to.Ptr("KoreaSouth"),
	// 																																																									to.Ptr("NorthCentralUs"),
	// 																																																									to.Ptr("NorthEurope"),
	// 																																																									to.Ptr("NorwayEast"),
	// 																																																									to.Ptr("NorwayWest"),
	// 																																																									to.Ptr("PolandCentral"),
	// 																																																									to.Ptr("SouthAfricaWest"),
	// 																																																									to.Ptr("SouthCentralUs"),
	// 																																																									to.Ptr("SoutheastAsia"),
	// 																																																									to.Ptr("SouthIndia"),
	// 																																																									to.Ptr("SwedenCentral"),
	// 																																																									to.Ptr("SwitzerlandNorth"),
	// 																																																									to.Ptr("UAENorth"),
	// 																																																									to.Ptr("UkSouth"),
	// 																																																									to.Ptr("UkWest"),
	// 																																																									to.Ptr("WestCentralUs"),
	// 																																																									to.Ptr("WestEurope"),
	// 																																																									to.Ptr("WestUs"),
	// 																																																									to.Ptr("WestUs2"),
	// 																																																									to.Ptr("USGovArizona"),
	// 																																																									to.Ptr("USGovTexas"),
	// 																																																									to.Ptr("USGovVirginia")},
	// 																																																								},
	// 																																																								{
	// 																																																									Category: []*string{
	// 																																																										to.Ptr("GeneralPurpose")},
	// 																																																										FamilyName: to.Ptr("Dav4_series"),
	// 																																																										TargetLocations: []*string{
	// 																																																											to.Ptr("AustraliaCentral"),
	// 																																																											to.Ptr("AustraliaEast"),
	// 																																																											to.Ptr("AustraliaSoutheast"),
	// 																																																											to.Ptr("BrazilSouth"),
	// 																																																											to.Ptr("CanadaCentral"),
	// 																																																											to.Ptr("CanadaEast"),
	// 																																																											to.Ptr("CentralIndia"),
	// 																																																											to.Ptr("CentralUs"),
	// 																																																											to.Ptr("EastAsia"),
	// 																																																											to.Ptr("EastUs"),
	// 																																																											to.Ptr("EastUs2"),
	// 																																																											to.Ptr("FranceCentral"),
	// 																																																											to.Ptr("FranceSouth"),
	// 																																																											to.Ptr("GermanyNorth"),
	// 																																																											to.Ptr("JapanEast"),
	// 																																																											to.Ptr("JapanWest"),
	// 																																																											to.Ptr("KoreaCentral"),
	// 																																																											to.Ptr("KoreaSouth"),
	// 																																																											to.Ptr("NorthCentralUs"),
	// 																																																											to.Ptr("NorthEurope"),
	// 																																																											to.Ptr("NorwayEast"),
	// 																																																											to.Ptr("NorwayWest"),
	// 																																																											to.Ptr("PolandCentral"),
	// 																																																											to.Ptr("SouthAfricaWest"),
	// 																																																											to.Ptr("SouthCentralUs"),
	// 																																																											to.Ptr("SoutheastAsia"),
	// 																																																											to.Ptr("SouthIndia"),
	// 																																																											to.Ptr("SwedenCentral"),
	// 																																																											to.Ptr("SwitzerlandNorth"),
	// 																																																											to.Ptr("UAENorth"),
	// 																																																											to.Ptr("UkSouth"),
	// 																																																											to.Ptr("UkWest"),
	// 																																																											to.Ptr("WestCentralUs"),
	// 																																																											to.Ptr("WestEurope"),
	// 																																																											to.Ptr("WestUs"),
	// 																																																											to.Ptr("WestUs2"),
	// 																																																											to.Ptr("USGovArizona"),
	// 																																																											to.Ptr("USGovTexas"),
	// 																																																											to.Ptr("USGovVirginia")},
	// 																																																										},
	// 																																																										{
	// 																																																											Category: []*string{
	// 																																																												to.Ptr("GeneralPurpose"),
	// 																																																												to.Ptr("SupportsPremiumStorage")},
	// 																																																												FamilyName: to.Ptr("Ddsv4_series"),
	// 																																																												TargetLocations: []*string{
	// 																																																													to.Ptr("AustraliaCentral"),
	// 																																																													to.Ptr("AustraliaCentral2"),
	// 																																																													to.Ptr("AustraliaEast"),
	// 																																																													to.Ptr("AustraliaSoutheast"),
	// 																																																													to.Ptr("BrazilSouth"),
	// 																																																													to.Ptr("CanadaCentral"),
	// 																																																													to.Ptr("CanadaEast"),
	// 																																																													to.Ptr("CentralIndia"),
	// 																																																													to.Ptr("CentralUs"),
	// 																																																													to.Ptr("EastAsia"),
	// 																																																													to.Ptr("EastUs"),
	// 																																																													to.Ptr("EastUs2"),
	// 																																																													to.Ptr("FranceCentral"),
	// 																																																													to.Ptr("FranceSouth"),
	// 																																																													to.Ptr("GermanyNorth"),
	// 																																																													to.Ptr("GermanyWestCentral"),
	// 																																																													to.Ptr("ItalyNorth"),
	// 																																																													to.Ptr("JapanEast"),
	// 																																																													to.Ptr("JapanWest"),
	// 																																																													to.Ptr("KoreaCentral"),
	// 																																																													to.Ptr("KoreaSouth"),
	// 																																																													to.Ptr("NorthCentralUs"),
	// 																																																													to.Ptr("NorthEurope"),
	// 																																																													to.Ptr("NorwayEast"),
	// 																																																													to.Ptr("NorwayWest"),
	// 																																																													to.Ptr("PolandCentral"),
	// 																																																													to.Ptr("QatarCentral"),
	// 																																																													to.Ptr("SouthAfricaNorth"),
	// 																																																													to.Ptr("SouthAfricaWest"),
	// 																																																													to.Ptr("SouthCentralUs"),
	// 																																																													to.Ptr("SoutheastAsia"),
	// 																																																													to.Ptr("SouthIndia"),
	// 																																																													to.Ptr("SwedenCentral"),
	// 																																																													to.Ptr("SwitzerlandNorth"),
	// 																																																													to.Ptr("SwitzerlandWest"),
	// 																																																													to.Ptr("UAECentral"),
	// 																																																													to.Ptr("UAENorth"),
	// 																																																													to.Ptr("UkSouth"),
	// 																																																													to.Ptr("UkWest"),
	// 																																																													to.Ptr("WestCentralUs"),
	// 																																																													to.Ptr("WestEurope"),
	// 																																																													to.Ptr("WestUs"),
	// 																																																													to.Ptr("WestUs2"),
	// 																																																													to.Ptr("ChinaEast2"),
	// 																																																													to.Ptr("ChinaNorth2"),
	// 																																																													to.Ptr("USGovArizona"),
	// 																																																													to.Ptr("USGovTexas"),
	// 																																																													to.Ptr("USGovVirginia")},
	// 																																																												},
	// 																																																												{
	// 																																																													Category: []*string{
	// 																																																														to.Ptr("GeneralPurpose"),
	// 																																																														to.Ptr("SupportsPremiumStorage")},
	// 																																																														FamilyName: to.Ptr("Ddsv5_series"),
	// 																																																														TargetLocations: []*string{
	// 																																																															to.Ptr("AustraliaCentral"),
	// 																																																															to.Ptr("AustraliaCentral2"),
	// 																																																															to.Ptr("AustraliaEast"),
	// 																																																															to.Ptr("AustraliaSoutheast"),
	// 																																																															to.Ptr("BrazilSouth"),
	// 																																																															to.Ptr("CanadaCentral"),
	// 																																																															to.Ptr("CanadaEast"),
	// 																																																															to.Ptr("CentralIndia"),
	// 																																																															to.Ptr("CentralUs"),
	// 																																																															to.Ptr("EastAsia"),
	// 																																																															to.Ptr("EastUs"),
	// 																																																															to.Ptr("EastUs2"),
	// 																																																															to.Ptr("FranceCentral"),
	// 																																																															to.Ptr("FranceSouth"),
	// 																																																															to.Ptr("GermanyNorth"),
	// 																																																															to.Ptr("GermanyWestCentral"),
	// 																																																															to.Ptr("JapanEast"),
	// 																																																															to.Ptr("JapanWest"),
	// 																																																															to.Ptr("KoreaCentral"),
	// 																																																															to.Ptr("KoreaSouth"),
	// 																																																															to.Ptr("NorthCentralUs"),
	// 																																																															to.Ptr("NorthEurope"),
	// 																																																															to.Ptr("NorwayEast"),
	// 																																																															to.Ptr("NorwayWest"),
	// 																																																															to.Ptr("PolandCentral"),
	// 																																																															to.Ptr("QatarCentral"),
	// 																																																															to.Ptr("SouthAfricaNorth"),
	// 																																																															to.Ptr("SouthAfricaWest"),
	// 																																																															to.Ptr("SouthCentralUs"),
	// 																																																															to.Ptr("SoutheastAsia"),
	// 																																																															to.Ptr("SouthIndia"),
	// 																																																															to.Ptr("SwedenCentral"),
	// 																																																															to.Ptr("SwitzerlandNorth"),
	// 																																																															to.Ptr("SwitzerlandWest"),
	// 																																																															to.Ptr("UAENorth"),
	// 																																																															to.Ptr("UkSouth"),
	// 																																																															to.Ptr("UkWest"),
	// 																																																															to.Ptr("WestCentralUs"),
	// 																																																															to.Ptr("WestEurope"),
	// 																																																															to.Ptr("WestUs"),
	// 																																																															to.Ptr("WestUs2"),
	// 																																																															to.Ptr("ChinaEast2"),
	// 																																																															to.Ptr("ChinaNorth2"),
	// 																																																															to.Ptr("USGovArizona"),
	// 																																																															to.Ptr("USGovTexas"),
	// 																																																															to.Ptr("USGovVirginia")},
	// 																																																														},
	// 																																																														{
	// 																																																															Category: []*string{
	// 																																																																to.Ptr("GeneralPurpose")},
	// 																																																																FamilyName: to.Ptr("Ddv4_series"),
	// 																																																																TargetLocations: []*string{
	// 																																																																	to.Ptr("AustraliaCentral"),
	// 																																																																	to.Ptr("AustraliaCentral2"),
	// 																																																																	to.Ptr("AustraliaEast"),
	// 																																																																	to.Ptr("AustraliaSoutheast"),
	// 																																																																	to.Ptr("BrazilSouth"),
	// 																																																																	to.Ptr("CanadaCentral"),
	// 																																																																	to.Ptr("CanadaEast"),
	// 																																																																	to.Ptr("CentralIndia"),
	// 																																																																	to.Ptr("CentralUs"),
	// 																																																																	to.Ptr("EastAsia"),
	// 																																																																	to.Ptr("EastUs"),
	// 																																																																	to.Ptr("EastUs2"),
	// 																																																																	to.Ptr("FranceCentral"),
	// 																																																																	to.Ptr("FranceSouth"),
	// 																																																																	to.Ptr("GermanyNorth"),
	// 																																																																	to.Ptr("GermanyWestCentral"),
	// 																																																																	to.Ptr("ItalyNorth"),
	// 																																																																	to.Ptr("JapanEast"),
	// 																																																																	to.Ptr("JapanWest"),
	// 																																																																	to.Ptr("KoreaCentral"),
	// 																																																																	to.Ptr("KoreaSouth"),
	// 																																																																	to.Ptr("NorthCentralUs"),
	// 																																																																	to.Ptr("NorthEurope"),
	// 																																																																	to.Ptr("NorwayEast"),
	// 																																																																	to.Ptr("NorwayWest"),
	// 																																																																	to.Ptr("PolandCentral"),
	// 																																																																	to.Ptr("QatarCentral"),
	// 																																																																	to.Ptr("SouthAfricaNorth"),
	// 																																																																	to.Ptr("SouthAfricaWest"),
	// 																																																																	to.Ptr("SouthCentralUs"),
	// 																																																																	to.Ptr("SoutheastAsia"),
	// 																																																																	to.Ptr("SouthIndia"),
	// 																																																																	to.Ptr("SwedenCentral"),
	// 																																																																	to.Ptr("SwitzerlandNorth"),
	// 																																																																	to.Ptr("SwitzerlandWest"),
	// 																																																																	to.Ptr("UAECentral"),
	// 																																																																	to.Ptr("UAENorth"),
	// 																																																																	to.Ptr("UkSouth"),
	// 																																																																	to.Ptr("UkWest"),
	// 																																																																	to.Ptr("WestCentralUs"),
	// 																																																																	to.Ptr("WestEurope"),
	// 																																																																	to.Ptr("WestUs"),
	// 																																																																	to.Ptr("WestUs2"),
	// 																																																																	to.Ptr("ChinaEast2"),
	// 																																																																	to.Ptr("ChinaNorth2"),
	// 																																																																	to.Ptr("USGovArizona"),
	// 																																																																	to.Ptr("USGovTexas"),
	// 																																																																	to.Ptr("USGovVirginia")},
	// 																																																																},
	// 																																																																{
	// 																																																																	Category: []*string{
	// 																																																																		to.Ptr("GeneralPurpose")},
	// 																																																																		FamilyName: to.Ptr("Ddv5_series"),
	// 																																																																		TargetLocations: []*string{
	// 																																																																			to.Ptr("AustraliaCentral"),
	// 																																																																			to.Ptr("AustraliaCentral2"),
	// 																																																																			to.Ptr("AustraliaEast"),
	// 																																																																			to.Ptr("AustraliaSoutheast"),
	// 																																																																			to.Ptr("BrazilSouth"),
	// 																																																																			to.Ptr("CanadaCentral"),
	// 																																																																			to.Ptr("CanadaEast"),
	// 																																																																			to.Ptr("CentralIndia"),
	// 																																																																			to.Ptr("CentralUs"),
	// 																																																																			to.Ptr("EastAsia"),
	// 																																																																			to.Ptr("EastUs"),
	// 																																																																			to.Ptr("EastUs2"),
	// 																																																																			to.Ptr("FranceCentral"),
	// 																																																																			to.Ptr("FranceSouth"),
	// 																																																																			to.Ptr("GermanyNorth"),
	// 																																																																			to.Ptr("GermanyWestCentral"),
	// 																																																																			to.Ptr("JapanEast"),
	// 																																																																			to.Ptr("JapanWest"),
	// 																																																																			to.Ptr("KoreaCentral"),
	// 																																																																			to.Ptr("KoreaSouth"),
	// 																																																																			to.Ptr("NorthCentralUs"),
	// 																																																																			to.Ptr("NorthEurope"),
	// 																																																																			to.Ptr("NorwayEast"),
	// 																																																																			to.Ptr("NorwayWest"),
	// 																																																																			to.Ptr("PolandCentral"),
	// 																																																																			to.Ptr("QatarCentral"),
	// 																																																																			to.Ptr("SouthAfricaNorth"),
	// 																																																																			to.Ptr("SouthAfricaWest"),
	// 																																																																			to.Ptr("SouthCentralUs"),
	// 																																																																			to.Ptr("SoutheastAsia"),
	// 																																																																			to.Ptr("SouthIndia"),
	// 																																																																			to.Ptr("SwedenCentral"),
	// 																																																																			to.Ptr("SwitzerlandNorth"),
	// 																																																																			to.Ptr("SwitzerlandWest"),
	// 																																																																			to.Ptr("UAENorth"),
	// 																																																																			to.Ptr("UkSouth"),
	// 																																																																			to.Ptr("UkWest"),
	// 																																																																			to.Ptr("WestCentralUs"),
	// 																																																																			to.Ptr("WestEurope"),
	// 																																																																			to.Ptr("WestUs"),
	// 																																																																			to.Ptr("WestUs2"),
	// 																																																																			to.Ptr("ChinaEast2"),
	// 																																																																			to.Ptr("ChinaNorth2")},
	// 																																																																		},
	// 																																																																		{
	// 																																																																			Category: []*string{
	// 																																																																				to.Ptr("GeneralPurpose"),
	// 																																																																				to.Ptr("SupportsPremiumStorage")},
	// 																																																																				FamilyName: to.Ptr("Dsv3_series"),
	// 																																																																				TargetLocations: []*string{
	// 																																																																					to.Ptr("AustraliaCentral"),
	// 																																																																					to.Ptr("AustraliaCentral2"),
	// 																																																																					to.Ptr("AustraliaEast"),
	// 																																																																					to.Ptr("AustraliaSoutheast"),
	// 																																																																					to.Ptr("BrazilSouth"),
	// 																																																																					to.Ptr("CanadaCentral"),
	// 																																																																					to.Ptr("CanadaEast"),
	// 																																																																					to.Ptr("CentralIndia"),
	// 																																																																					to.Ptr("CentralUs"),
	// 																																																																					to.Ptr("EastAsia"),
	// 																																																																					to.Ptr("EastUs"),
	// 																																																																					to.Ptr("EastUs2"),
	// 																																																																					to.Ptr("FranceCentral"),
	// 																																																																					to.Ptr("FranceSouth"),
	// 																																																																					to.Ptr("GermanyNorth"),
	// 																																																																					to.Ptr("GermanyWestCentral"),
	// 																																																																					to.Ptr("ItalyNorth"),
	// 																																																																					to.Ptr("JapanEast"),
	// 																																																																					to.Ptr("JapanWest"),
	// 																																																																					to.Ptr("KoreaCentral"),
	// 																																																																					to.Ptr("KoreaSouth"),
	// 																																																																					to.Ptr("NorthCentralUs"),
	// 																																																																					to.Ptr("NorthEurope"),
	// 																																																																					to.Ptr("NorwayEast"),
	// 																																																																					to.Ptr("NorwayWest"),
	// 																																																																					to.Ptr("PolandCentral"),
	// 																																																																					to.Ptr("QatarCentral"),
	// 																																																																					to.Ptr("SouthAfricaNorth"),
	// 																																																																					to.Ptr("SouthAfricaWest"),
	// 																																																																					to.Ptr("SouthCentralUs"),
	// 																																																																					to.Ptr("SoutheastAsia"),
	// 																																																																					to.Ptr("SouthIndia"),
	// 																																																																					to.Ptr("SwedenCentral"),
	// 																																																																					to.Ptr("SwitzerlandNorth"),
	// 																																																																					to.Ptr("SwitzerlandWest"),
	// 																																																																					to.Ptr("UAECentral"),
	// 																																																																					to.Ptr("UAENorth"),
	// 																																																																					to.Ptr("UkSouth"),
	// 																																																																					to.Ptr("UkWest"),
	// 																																																																					to.Ptr("WestCentralUs"),
	// 																																																																					to.Ptr("WestEurope"),
	// 																																																																					to.Ptr("WestIndia"),
	// 																																																																					to.Ptr("WestUs"),
	// 																																																																					to.Ptr("WestUs2"),
	// 																																																																					to.Ptr("ChinaEast2"),
	// 																																																																					to.Ptr("ChinaNorth2"),
	// 																																																																					to.Ptr("USGovArizona"),
	// 																																																																					to.Ptr("USGovTexas"),
	// 																																																																					to.Ptr("USGovVirginia")},
	// 																																																																				},
	// 																																																																				{
	// 																																																																					Category: []*string{
	// 																																																																						to.Ptr("GeneralPurpose"),
	// 																																																																						to.Ptr("SupportsPremiumStorage")},
	// 																																																																						FamilyName: to.Ptr("Dsv4_series"),
	// 																																																																						TargetLocations: []*string{
	// 																																																																							to.Ptr("AustraliaCentral"),
	// 																																																																							to.Ptr("AustraliaCentral2"),
	// 																																																																							to.Ptr("AustraliaEast"),
	// 																																																																							to.Ptr("AustraliaSoutheast"),
	// 																																																																							to.Ptr("BrazilSouth"),
	// 																																																																							to.Ptr("CanadaCentral"),
	// 																																																																							to.Ptr("CanadaEast"),
	// 																																																																							to.Ptr("CentralIndia"),
	// 																																																																							to.Ptr("CentralUs"),
	// 																																																																							to.Ptr("EastAsia"),
	// 																																																																							to.Ptr("EastUs"),
	// 																																																																							to.Ptr("EastUs2"),
	// 																																																																							to.Ptr("FranceCentral"),
	// 																																																																							to.Ptr("FranceSouth"),
	// 																																																																							to.Ptr("GermanyNorth"),
	// 																																																																							to.Ptr("GermanyWestCentral"),
	// 																																																																							to.Ptr("ItalyNorth"),
	// 																																																																							to.Ptr("JapanEast"),
	// 																																																																							to.Ptr("JapanWest"),
	// 																																																																							to.Ptr("KoreaCentral"),
	// 																																																																							to.Ptr("KoreaSouth"),
	// 																																																																							to.Ptr("NorthCentralUs"),
	// 																																																																							to.Ptr("NorthEurope"),
	// 																																																																							to.Ptr("NorwayEast"),
	// 																																																																							to.Ptr("NorwayWest"),
	// 																																																																							to.Ptr("PolandCentral"),
	// 																																																																							to.Ptr("QatarCentral"),
	// 																																																																							to.Ptr("SouthAfricaNorth"),
	// 																																																																							to.Ptr("SouthAfricaWest"),
	// 																																																																							to.Ptr("SouthCentralUs"),
	// 																																																																							to.Ptr("SoutheastAsia"),
	// 																																																																							to.Ptr("SouthIndia"),
	// 																																																																							to.Ptr("SwedenCentral"),
	// 																																																																							to.Ptr("SwitzerlandNorth"),
	// 																																																																							to.Ptr("SwitzerlandWest"),
	// 																																																																							to.Ptr("UAECentral"),
	// 																																																																							to.Ptr("UAENorth"),
	// 																																																																							to.Ptr("UkSouth"),
	// 																																																																							to.Ptr("UkWest"),
	// 																																																																							to.Ptr("WestCentralUs"),
	// 																																																																							to.Ptr("WestEurope"),
	// 																																																																							to.Ptr("WestUs"),
	// 																																																																							to.Ptr("WestUs2"),
	// 																																																																							to.Ptr("ChinaEast2"),
	// 																																																																							to.Ptr("ChinaNorth2"),
	// 																																																																							to.Ptr("USGovArizona"),
	// 																																																																							to.Ptr("USGovTexas"),
	// 																																																																							to.Ptr("USGovVirginia")},
	// 																																																																						},
	// 																																																																						{
	// 																																																																							Category: []*string{
	// 																																																																								to.Ptr("GeneralPurpose"),
	// 																																																																								to.Ptr("SupportsPremiumStorage")},
	// 																																																																								FamilyName: to.Ptr("Dsv5_series"),
	// 																																																																								TargetLocations: []*string{
	// 																																																																									to.Ptr("AustraliaCentral"),
	// 																																																																									to.Ptr("AustraliaCentral2"),
	// 																																																																									to.Ptr("AustraliaEast"),
	// 																																																																									to.Ptr("AustraliaSoutheast"),
	// 																																																																									to.Ptr("BrazilSouth"),
	// 																																																																									to.Ptr("CanadaCentral"),
	// 																																																																									to.Ptr("CanadaEast"),
	// 																																																																									to.Ptr("CentralIndia"),
	// 																																																																									to.Ptr("CentralUs"),
	// 																																																																									to.Ptr("EastAsia"),
	// 																																																																									to.Ptr("EastUs"),
	// 																																																																									to.Ptr("EastUs2"),
	// 																																																																									to.Ptr("FranceCentral"),
	// 																																																																									to.Ptr("FranceSouth"),
	// 																																																																									to.Ptr("GermanyNorth"),
	// 																																																																									to.Ptr("GermanyWestCentral"),
	// 																																																																									to.Ptr("JapanEast"),
	// 																																																																									to.Ptr("JapanWest"),
	// 																																																																									to.Ptr("KoreaCentral"),
	// 																																																																									to.Ptr("KoreaSouth"),
	// 																																																																									to.Ptr("NorthCentralUs"),
	// 																																																																									to.Ptr("NorthEurope"),
	// 																																																																									to.Ptr("NorwayEast"),
	// 																																																																									to.Ptr("NorwayWest"),
	// 																																																																									to.Ptr("PolandCentral"),
	// 																																																																									to.Ptr("QatarCentral"),
	// 																																																																									to.Ptr("SouthAfricaNorth"),
	// 																																																																									to.Ptr("SouthAfricaWest"),
	// 																																																																									to.Ptr("SouthCentralUs"),
	// 																																																																									to.Ptr("SoutheastAsia"),
	// 																																																																									to.Ptr("SouthIndia"),
	// 																																																																									to.Ptr("SwedenCentral"),
	// 																																																																									to.Ptr("SwitzerlandNorth"),
	// 																																																																									to.Ptr("SwitzerlandWest"),
	// 																																																																									to.Ptr("UAENorth"),
	// 																																																																									to.Ptr("UkSouth"),
	// 																																																																									to.Ptr("UkWest"),
	// 																																																																									to.Ptr("WestCentralUs"),
	// 																																																																									to.Ptr("WestEurope"),
	// 																																																																									to.Ptr("WestUs"),
	// 																																																																									to.Ptr("WestUs2"),
	// 																																																																									to.Ptr("ChinaEast2"),
	// 																																																																									to.Ptr("ChinaNorth2")},
	// 																																																																								},
	// 																																																																								{
	// 																																																																									Category: []*string{
	// 																																																																										to.Ptr("GeneralPurpose")},
	// 																																																																										FamilyName: to.Ptr("Dv3_series"),
	// 																																																																										TargetLocations: []*string{
	// 																																																																											to.Ptr("AustraliaCentral"),
	// 																																																																											to.Ptr("AustraliaCentral2"),
	// 																																																																											to.Ptr("AustraliaEast"),
	// 																																																																											to.Ptr("AustraliaSoutheast"),
	// 																																																																											to.Ptr("BrazilSouth"),
	// 																																																																											to.Ptr("CanadaCentral"),
	// 																																																																											to.Ptr("CanadaEast"),
	// 																																																																											to.Ptr("CentralIndia"),
	// 																																																																											to.Ptr("CentralUs"),
	// 																																																																											to.Ptr("EastAsia"),
	// 																																																																											to.Ptr("EastUs"),
	// 																																																																											to.Ptr("EastUs2"),
	// 																																																																											to.Ptr("FranceCentral"),
	// 																																																																											to.Ptr("FranceSouth"),
	// 																																																																											to.Ptr("GermanyNorth"),
	// 																																																																											to.Ptr("GermanyWestCentral"),
	// 																																																																											to.Ptr("ItalyNorth"),
	// 																																																																											to.Ptr("JapanEast"),
	// 																																																																											to.Ptr("JapanWest"),
	// 																																																																											to.Ptr("KoreaCentral"),
	// 																																																																											to.Ptr("KoreaSouth"),
	// 																																																																											to.Ptr("NorthCentralUs"),
	// 																																																																											to.Ptr("NorthEurope"),
	// 																																																																											to.Ptr("NorwayEast"),
	// 																																																																											to.Ptr("NorwayWest"),
	// 																																																																											to.Ptr("PolandCentral"),
	// 																																																																											to.Ptr("QatarCentral"),
	// 																																																																											to.Ptr("SouthAfricaNorth"),
	// 																																																																											to.Ptr("SouthAfricaWest"),
	// 																																																																											to.Ptr("SouthCentralUs"),
	// 																																																																											to.Ptr("SoutheastAsia"),
	// 																																																																											to.Ptr("SouthIndia"),
	// 																																																																											to.Ptr("SwedenCentral"),
	// 																																																																											to.Ptr("SwitzerlandNorth"),
	// 																																																																											to.Ptr("SwitzerlandWest"),
	// 																																																																											to.Ptr("UAECentral"),
	// 																																																																											to.Ptr("UAENorth"),
	// 																																																																											to.Ptr("UkSouth"),
	// 																																																																											to.Ptr("UkWest"),
	// 																																																																											to.Ptr("WestCentralUs"),
	// 																																																																											to.Ptr("WestEurope"),
	// 																																																																											to.Ptr("WestIndia"),
	// 																																																																											to.Ptr("WestUs"),
	// 																																																																											to.Ptr("WestUs2"),
	// 																																																																											to.Ptr("ChinaEast"),
	// 																																																																											to.Ptr("ChinaEast2"),
	// 																																																																											to.Ptr("ChinaNorth2"),
	// 																																																																											to.Ptr("USGovArizona"),
	// 																																																																											to.Ptr("USGovIowa"),
	// 																																																																											to.Ptr("USGovTexas"),
	// 																																																																											to.Ptr("USGovVirginia")},
	// 																																																																										},
	// 																																																																										{
	// 																																																																											Category: []*string{
	// 																																																																												to.Ptr("GeneralPurpose")},
	// 																																																																												FamilyName: to.Ptr("Dv4_series"),
	// 																																																																												TargetLocations: []*string{
	// 																																																																													to.Ptr("AustraliaCentral"),
	// 																																																																													to.Ptr("AustraliaCentral2"),
	// 																																																																													to.Ptr("AustraliaEast"),
	// 																																																																													to.Ptr("AustraliaSoutheast"),
	// 																																																																													to.Ptr("BrazilSouth"),
	// 																																																																													to.Ptr("CanadaCentral"),
	// 																																																																													to.Ptr("CanadaEast"),
	// 																																																																													to.Ptr("CentralIndia"),
	// 																																																																													to.Ptr("CentralUs"),
	// 																																																																													to.Ptr("EastAsia"),
	// 																																																																													to.Ptr("EastUs"),
	// 																																																																													to.Ptr("EastUs2"),
	// 																																																																													to.Ptr("FranceCentral"),
	// 																																																																													to.Ptr("FranceSouth"),
	// 																																																																													to.Ptr("GermanyNorth"),
	// 																																																																													to.Ptr("GermanyWestCentral"),
	// 																																																																													to.Ptr("ItalyNorth"),
	// 																																																																													to.Ptr("JapanEast"),
	// 																																																																													to.Ptr("JapanWest"),
	// 																																																																													to.Ptr("KoreaCentral"),
	// 																																																																													to.Ptr("KoreaSouth"),
	// 																																																																													to.Ptr("NorthCentralUs"),
	// 																																																																													to.Ptr("NorthEurope"),
	// 																																																																													to.Ptr("NorwayEast"),
	// 																																																																													to.Ptr("NorwayWest"),
	// 																																																																													to.Ptr("PolandCentral"),
	// 																																																																													to.Ptr("QatarCentral"),
	// 																																																																													to.Ptr("SouthAfricaNorth"),
	// 																																																																													to.Ptr("SouthAfricaWest"),
	// 																																																																													to.Ptr("SouthCentralUs"),
	// 																																																																													to.Ptr("SoutheastAsia"),
	// 																																																																													to.Ptr("SouthIndia"),
	// 																																																																													to.Ptr("SwedenCentral"),
	// 																																																																													to.Ptr("SwitzerlandNorth"),
	// 																																																																													to.Ptr("SwitzerlandWest"),
	// 																																																																													to.Ptr("UAECentral"),
	// 																																																																													to.Ptr("UAENorth"),
	// 																																																																													to.Ptr("UkSouth"),
	// 																																																																													to.Ptr("UkWest"),
	// 																																																																													to.Ptr("WestCentralUs"),
	// 																																																																													to.Ptr("WestEurope"),
	// 																																																																													to.Ptr("WestUs"),
	// 																																																																													to.Ptr("WestUs2"),
	// 																																																																													to.Ptr("ChinaEast2"),
	// 																																																																													to.Ptr("ChinaNorth2"),
	// 																																																																													to.Ptr("USGovArizona"),
	// 																																																																													to.Ptr("USGovTexas"),
	// 																																																																													to.Ptr("USGovVirginia")},
	// 																																																																												},
	// 																																																																												{
	// 																																																																													Category: []*string{
	// 																																																																														to.Ptr("GeneralPurpose")},
	// 																																																																														FamilyName: to.Ptr("Dv5_series"),
	// 																																																																														TargetLocations: []*string{
	// 																																																																															to.Ptr("AustraliaCentral"),
	// 																																																																															to.Ptr("AustraliaCentral2"),
	// 																																																																															to.Ptr("AustraliaEast"),
	// 																																																																															to.Ptr("AustraliaSoutheast"),
	// 																																																																															to.Ptr("BrazilSouth"),
	// 																																																																															to.Ptr("CanadaCentral"),
	// 																																																																															to.Ptr("CanadaEast"),
	// 																																																																															to.Ptr("CentralIndia"),
	// 																																																																															to.Ptr("CentralUs"),
	// 																																																																															to.Ptr("EastAsia"),
	// 																																																																															to.Ptr("EastUs"),
	// 																																																																															to.Ptr("EastUs2"),
	// 																																																																															to.Ptr("FranceCentral"),
	// 																																																																															to.Ptr("FranceSouth"),
	// 																																																																															to.Ptr("GermanyNorth"),
	// 																																																																															to.Ptr("GermanyWestCentral"),
	// 																																																																															to.Ptr("JapanEast"),
	// 																																																																															to.Ptr("JapanWest"),
	// 																																																																															to.Ptr("KoreaCentral"),
	// 																																																																															to.Ptr("KoreaSouth"),
	// 																																																																															to.Ptr("NorthCentralUs"),
	// 																																																																															to.Ptr("NorthEurope"),
	// 																																																																															to.Ptr("NorwayEast"),
	// 																																																																															to.Ptr("NorwayWest"),
	// 																																																																															to.Ptr("PolandCentral"),
	// 																																																																															to.Ptr("QatarCentral"),
	// 																																																																															to.Ptr("SouthAfricaNorth"),
	// 																																																																															to.Ptr("SouthAfricaWest"),
	// 																																																																															to.Ptr("SouthCentralUs"),
	// 																																																																															to.Ptr("SoutheastAsia"),
	// 																																																																															to.Ptr("SouthIndia"),
	// 																																																																															to.Ptr("SwedenCentral"),
	// 																																																																															to.Ptr("SwitzerlandNorth"),
	// 																																																																															to.Ptr("SwitzerlandWest"),
	// 																																																																															to.Ptr("UAENorth"),
	// 																																																																															to.Ptr("UkSouth"),
	// 																																																																															to.Ptr("UkWest"),
	// 																																																																															to.Ptr("WestCentralUs"),
	// 																																																																															to.Ptr("WestEurope"),
	// 																																																																															to.Ptr("WestUs"),
	// 																																																																															to.Ptr("WestUs2"),
	// 																																																																															to.Ptr("ChinaEast2"),
	// 																																																																															to.Ptr("ChinaNorth2")},
	// 																																																																														},
	// 																																																																														{
	// 																																																																															Category: []*string{
	// 																																																																																to.Ptr("GeneralPurpose"),
	// 																																																																																to.Ptr("SupportsPremiumStorage"),
	// 																																																																																to.Ptr("Confidential")},
	// 																																																																																FamilyName: to.Ptr("DC_Series"),
	// 																																																																																TargetLocations: []*string{
	// 																																																																																	to.Ptr("EastUs"),
	// 																																																																																	to.Ptr("WestEurope")},
	// 																																																																																},
	// 																																																																																{
	// 																																																																																	Category: []*string{
	// 																																																																																		to.Ptr("GeneralPurpose"),
	// 																																																																																		to.Ptr("MemoryOptimized"),
	// 																																																																																		to.Ptr("SupportsPremiumStorage")},
	// 																																																																																		FamilyName: to.Ptr("DS_series"),
	// 																																																																																		TargetLocations: []*string{
	// 																																																																																			to.Ptr("AustraliaEast"),
	// 																																																																																			to.Ptr("AustraliaSoutheast"),
	// 																																																																																			to.Ptr("BrazilSouth"),
	// 																																																																																			to.Ptr("CanadaCentral"),
	// 																																																																																			to.Ptr("CentralIndia"),
	// 																																																																																			to.Ptr("CentralUs"),
	// 																																																																																			to.Ptr("EastAsia"),
	// 																																																																																			to.Ptr("EastUs"),
	// 																																																																																			to.Ptr("EastUs2"),
	// 																																																																																			to.Ptr("JapanEast"),
	// 																																																																																			to.Ptr("JapanWest"),
	// 																																																																																			to.Ptr("NorthCentralUs"),
	// 																																																																																			to.Ptr("NorthEurope"),
	// 																																																																																			to.Ptr("SouthCentralUs"),
	// 																																																																																			to.Ptr("SoutheastAsia"),
	// 																																																																																			to.Ptr("SouthIndia"),
	// 																																																																																			to.Ptr("WestEurope"),
	// 																																																																																			to.Ptr("WestIndia"),
	// 																																																																																			to.Ptr("WestUs"),
	// 																																																																																			to.Ptr("ChinaEast"),
	// 																																																																																			to.Ptr("ChinaNorth"),
	// 																																																																																			to.Ptr("USGovVirginia")},
	// 																																																																																		},
	// 																																																																																		{
	// 																																																																																			Category: []*string{
	// 																																																																																				to.Ptr("GeneralPurpose"),
	// 																																																																																				to.Ptr("MemoryOptimized"),
	// 																																																																																				to.Ptr("SupportsPremiumStorage")},
	// 																																																																																				FamilyName: to.Ptr("DSv2_series"),
	// 																																																																																				TargetLocations: []*string{
	// 																																																																																					to.Ptr("AustraliaCentral"),
	// 																																																																																					to.Ptr("AustraliaCentral2"),
	// 																																																																																					to.Ptr("AustraliaEast"),
	// 																																																																																					to.Ptr("AustraliaSoutheast"),
	// 																																																																																					to.Ptr("BrazilSouth"),
	// 																																																																																					to.Ptr("CanadaCentral"),
	// 																																																																																					to.Ptr("CanadaEast"),
	// 																																																																																					to.Ptr("CentralIndia"),
	// 																																																																																					to.Ptr("CentralUs"),
	// 																																																																																					to.Ptr("EastAsia"),
	// 																																																																																					to.Ptr("EastUs"),
	// 																																																																																					to.Ptr("EastUs2"),
	// 																																																																																					to.Ptr("FranceCentral"),
	// 																																																																																					to.Ptr("FranceSouth"),
	// 																																																																																					to.Ptr("GermanyNorth"),
	// 																																																																																					to.Ptr("GermanyWestCentral"),
	// 																																																																																					to.Ptr("ItalyNorth"),
	// 																																																																																					to.Ptr("JapanEast"),
	// 																																																																																					to.Ptr("JapanWest"),
	// 																																																																																					to.Ptr("KoreaCentral"),
	// 																																																																																					to.Ptr("KoreaSouth"),
	// 																																																																																					to.Ptr("NorthCentralUs"),
	// 																																																																																					to.Ptr("NorthEurope"),
	// 																																																																																					to.Ptr("NorwayEast"),
	// 																																																																																					to.Ptr("NorwayWest"),
	// 																																																																																					to.Ptr("PolandCentral"),
	// 																																																																																					to.Ptr("QatarCentral"),
	// 																																																																																					to.Ptr("SouthAfricaNorth"),
	// 																																																																																					to.Ptr("SouthAfricaWest"),
	// 																																																																																					to.Ptr("SouthCentralUs"),
	// 																																																																																					to.Ptr("SoutheastAsia"),
	// 																																																																																					to.Ptr("SouthIndia"),
	// 																																																																																					to.Ptr("SwedenCentral"),
	// 																																																																																					to.Ptr("SwitzerlandNorth"),
	// 																																																																																					to.Ptr("SwitzerlandWest"),
	// 																																																																																					to.Ptr("UAECentral"),
	// 																																																																																					to.Ptr("UAENorth"),
	// 																																																																																					to.Ptr("UkSouth"),
	// 																																																																																					to.Ptr("UkWest"),
	// 																																																																																					to.Ptr("WestCentralUs"),
	// 																																																																																					to.Ptr("WestEurope"),
	// 																																																																																					to.Ptr("WestIndia"),
	// 																																																																																					to.Ptr("WestUs"),
	// 																																																																																					to.Ptr("WestUs2"),
	// 																																																																																					to.Ptr("ChinaEast"),
	// 																																																																																					to.Ptr("ChinaEast2"),
	// 																																																																																					to.Ptr("ChinaNorth"),
	// 																																																																																					to.Ptr("ChinaNorth2"),
	// 																																																																																					to.Ptr("USGovArizona"),
	// 																																																																																					to.Ptr("USGovTexas"),
	// 																																																																																					to.Ptr("USGovVirginia")},
	// 																																																																																				},
	// 																																																																																				{
	// 																																																																																					Category: []*string{
	// 																																																																																						to.Ptr("MemoryOptimized"),
	// 																																																																																						to.Ptr("SupportsPremiumStorage")},
	// 																																																																																						FamilyName: to.Ptr("Edsv5_series"),
	// 																																																																																						TargetLocations: []*string{
	// 																																																																																							to.Ptr("AustraliaCentral"),
	// 																																																																																							to.Ptr("AustraliaCentral2"),
	// 																																																																																							to.Ptr("AustraliaEast"),
	// 																																																																																							to.Ptr("AustraliaSoutheast"),
	// 																																																																																							to.Ptr("BrazilSouth"),
	// 																																																																																							to.Ptr("CanadaCentral"),
	// 																																																																																							to.Ptr("CanadaEast"),
	// 																																																																																							to.Ptr("CentralIndia"),
	// 																																																																																							to.Ptr("CentralUs"),
	// 																																																																																							to.Ptr("EastAsia"),
	// 																																																																																							to.Ptr("EastUs"),
	// 																																																																																							to.Ptr("EastUs2"),
	// 																																																																																							to.Ptr("FranceCentral"),
	// 																																																																																							to.Ptr("FranceSouth"),
	// 																																																																																							to.Ptr("GermanyNorth"),
	// 																																																																																							to.Ptr("GermanyWestCentral"),
	// 																																																																																							to.Ptr("JapanEast"),
	// 																																																																																							to.Ptr("JapanWest"),
	// 																																																																																							to.Ptr("KoreaCentral"),
	// 																																																																																							to.Ptr("KoreaSouth"),
	// 																																																																																							to.Ptr("NorthCentralUs"),
	// 																																																																																							to.Ptr("NorthEurope"),
	// 																																																																																							to.Ptr("NorwayEast"),
	// 																																																																																							to.Ptr("NorwayWest"),
	// 																																																																																							to.Ptr("PolandCentral"),
	// 																																																																																							to.Ptr("QatarCentral"),
	// 																																																																																							to.Ptr("SouthAfricaNorth"),
	// 																																																																																							to.Ptr("SouthAfricaWest"),
	// 																																																																																							to.Ptr("SouthCentralUs"),
	// 																																																																																							to.Ptr("SoutheastAsia"),
	// 																																																																																							to.Ptr("SouthIndia"),
	// 																																																																																							to.Ptr("SwedenCentral"),
	// 																																																																																							to.Ptr("SwitzerlandNorth"),
	// 																																																																																							to.Ptr("SwitzerlandWest"),
	// 																																																																																							to.Ptr("UAENorth"),
	// 																																																																																							to.Ptr("UkSouth"),
	// 																																																																																							to.Ptr("UkWest"),
	// 																																																																																							to.Ptr("WestCentralUs"),
	// 																																																																																							to.Ptr("WestEurope"),
	// 																																																																																							to.Ptr("WestUs"),
	// 																																																																																							to.Ptr("WestUs2"),
	// 																																																																																							to.Ptr("ChinaEast2"),
	// 																																																																																							to.Ptr("ChinaNorth2")},
	// 																																																																																						},
	// 																																																																																						{
	// 																																																																																							Category: []*string{
	// 																																																																																								to.Ptr("MemoryOptimized")},
	// 																																																																																								FamilyName: to.Ptr("Edv5_series"),
	// 																																																																																								TargetLocations: []*string{
	// 																																																																																									to.Ptr("AustraliaCentral"),
	// 																																																																																									to.Ptr("AustraliaCentral2"),
	// 																																																																																									to.Ptr("AustraliaEast"),
	// 																																																																																									to.Ptr("AustraliaSoutheast"),
	// 																																																																																									to.Ptr("BrazilSouth"),
	// 																																																																																									to.Ptr("CanadaCentral"),
	// 																																																																																									to.Ptr("CanadaEast"),
	// 																																																																																									to.Ptr("CentralIndia"),
	// 																																																																																									to.Ptr("CentralUs"),
	// 																																																																																									to.Ptr("EastAsia"),
	// 																																																																																									to.Ptr("EastUs"),
	// 																																																																																									to.Ptr("EastUs2"),
	// 																																																																																									to.Ptr("FranceCentral"),
	// 																																																																																									to.Ptr("FranceSouth"),
	// 																																																																																									to.Ptr("GermanyNorth"),
	// 																																																																																									to.Ptr("GermanyWestCentral"),
	// 																																																																																									to.Ptr("JapanEast"),
	// 																																																																																									to.Ptr("JapanWest"),
	// 																																																																																									to.Ptr("KoreaCentral"),
	// 																																																																																									to.Ptr("KoreaSouth"),
	// 																																																																																									to.Ptr("NorthCentralUs"),
	// 																																																																																									to.Ptr("NorthEurope"),
	// 																																																																																									to.Ptr("NorwayEast"),
	// 																																																																																									to.Ptr("NorwayWest"),
	// 																																																																																									to.Ptr("PolandCentral"),
	// 																																																																																									to.Ptr("QatarCentral"),
	// 																																																																																									to.Ptr("SouthAfricaNorth"),
	// 																																																																																									to.Ptr("SouthAfricaWest"),
	// 																																																																																									to.Ptr("SouthCentralUs"),
	// 																																																																																									to.Ptr("SoutheastAsia"),
	// 																																																																																									to.Ptr("SouthIndia"),
	// 																																																																																									to.Ptr("SwedenCentral"),
	// 																																																																																									to.Ptr("SwitzerlandNorth"),
	// 																																																																																									to.Ptr("SwitzerlandWest"),
	// 																																																																																									to.Ptr("UAENorth"),
	// 																																																																																									to.Ptr("UkSouth"),
	// 																																																																																									to.Ptr("UkWest"),
	// 																																																																																									to.Ptr("WestCentralUs"),
	// 																																																																																									to.Ptr("WestEurope"),
	// 																																																																																									to.Ptr("WestUs"),
	// 																																																																																									to.Ptr("WestUs2"),
	// 																																																																																									to.Ptr("ChinaEast2"),
	// 																																																																																									to.Ptr("ChinaNorth2")},
	// 																																																																																								},
	// 																																																																																								{
	// 																																																																																									Category: []*string{
	// 																																																																																										to.Ptr("MemoryOptimized"),
	// 																																																																																										to.Ptr("SupportsPremiumStorage")},
	// 																																																																																										FamilyName: to.Ptr("Esv5_series"),
	// 																																																																																										TargetLocations: []*string{
	// 																																																																																											to.Ptr("AustraliaCentral"),
	// 																																																																																											to.Ptr("AustraliaCentral2"),
	// 																																																																																											to.Ptr("AustraliaEast"),
	// 																																																																																											to.Ptr("AustraliaSoutheast"),
	// 																																																																																											to.Ptr("BrazilSouth"),
	// 																																																																																											to.Ptr("CanadaCentral"),
	// 																																																																																											to.Ptr("CanadaEast"),
	// 																																																																																											to.Ptr("CentralIndia"),
	// 																																																																																											to.Ptr("CentralUs"),
	// 																																																																																											to.Ptr("EastAsia"),
	// 																																																																																											to.Ptr("EastUs"),
	// 																																																																																											to.Ptr("EastUs2"),
	// 																																																																																											to.Ptr("FranceCentral"),
	// 																																																																																											to.Ptr("FranceSouth"),
	// 																																																																																											to.Ptr("GermanyNorth"),
	// 																																																																																											to.Ptr("GermanyWestCentral"),
	// 																																																																																											to.Ptr("JapanEast"),
	// 																																																																																											to.Ptr("JapanWest"),
	// 																																																																																											to.Ptr("KoreaCentral"),
	// 																																																																																											to.Ptr("KoreaSouth"),
	// 																																																																																											to.Ptr("NorthCentralUs"),
	// 																																																																																											to.Ptr("NorthEurope"),
	// 																																																																																											to.Ptr("NorwayEast"),
	// 																																																																																											to.Ptr("NorwayWest"),
	// 																																																																																											to.Ptr("PolandCentral"),
	// 																																																																																											to.Ptr("QatarCentral"),
	// 																																																																																											to.Ptr("SouthAfricaNorth"),
	// 																																																																																											to.Ptr("SouthAfricaWest"),
	// 																																																																																											to.Ptr("SouthCentralUs"),
	// 																																																																																											to.Ptr("SoutheastAsia"),
	// 																																																																																											to.Ptr("SouthIndia"),
	// 																																																																																											to.Ptr("SwedenCentral"),
	// 																																																																																											to.Ptr("SwitzerlandNorth"),
	// 																																																																																											to.Ptr("SwitzerlandWest"),
	// 																																																																																											to.Ptr("UAENorth"),
	// 																																																																																											to.Ptr("UkSouth"),
	// 																																																																																											to.Ptr("UkWest"),
	// 																																																																																											to.Ptr("WestCentralUs"),
	// 																																																																																											to.Ptr("WestEurope"),
	// 																																																																																											to.Ptr("WestUs"),
	// 																																																																																											to.Ptr("WestUs2"),
	// 																																																																																											to.Ptr("ChinaEast2"),
	// 																																																																																											to.Ptr("ChinaNorth2")},
	// 																																																																																										},
	// 																																																																																										{
	// 																																																																																											Category: []*string{
	// 																																																																																												to.Ptr("MemoryOptimized")},
	// 																																																																																												FamilyName: to.Ptr("Ev5_series"),
	// 																																																																																												TargetLocations: []*string{
	// 																																																																																													to.Ptr("AustraliaCentral"),
	// 																																																																																													to.Ptr("AustraliaCentral2"),
	// 																																																																																													to.Ptr("AustraliaEast"),
	// 																																																																																													to.Ptr("AustraliaSoutheast"),
	// 																																																																																													to.Ptr("BrazilSouth"),
	// 																																																																																													to.Ptr("CanadaCentral"),
	// 																																																																																													to.Ptr("CanadaEast"),
	// 																																																																																													to.Ptr("CentralIndia"),
	// 																																																																																													to.Ptr("CentralUs"),
	// 																																																																																													to.Ptr("EastAsia"),
	// 																																																																																													to.Ptr("EastUs"),
	// 																																																																																													to.Ptr("EastUs2"),
	// 																																																																																													to.Ptr("FranceCentral"),
	// 																																																																																													to.Ptr("FranceSouth"),
	// 																																																																																													to.Ptr("GermanyNorth"),
	// 																																																																																													to.Ptr("GermanyWestCentral"),
	// 																																																																																													to.Ptr("JapanEast"),
	// 																																																																																													to.Ptr("JapanWest"),
	// 																																																																																													to.Ptr("KoreaCentral"),
	// 																																																																																													to.Ptr("KoreaSouth"),
	// 																																																																																													to.Ptr("NorthCentralUs"),
	// 																																																																																													to.Ptr("NorthEurope"),
	// 																																																																																													to.Ptr("NorwayEast"),
	// 																																																																																													to.Ptr("NorwayWest"),
	// 																																																																																													to.Ptr("PolandCentral"),
	// 																																																																																													to.Ptr("QatarCentral"),
	// 																																																																																													to.Ptr("SouthAfricaNorth"),
	// 																																																																																													to.Ptr("SouthAfricaWest"),
	// 																																																																																													to.Ptr("SouthCentralUs"),
	// 																																																																																													to.Ptr("SoutheastAsia"),
	// 																																																																																													to.Ptr("SouthIndia"),
	// 																																																																																													to.Ptr("SwedenCentral"),
	// 																																																																																													to.Ptr("SwitzerlandNorth"),
	// 																																																																																													to.Ptr("SwitzerlandWest"),
	// 																																																																																													to.Ptr("UAENorth"),
	// 																																																																																													to.Ptr("UkSouth"),
	// 																																																																																													to.Ptr("UkWest"),
	// 																																																																																													to.Ptr("WestCentralUs"),
	// 																																																																																													to.Ptr("WestEurope"),
	// 																																																																																													to.Ptr("WestUs"),
	// 																																																																																													to.Ptr("WestUs2"),
	// 																																																																																													to.Ptr("ChinaEast2"),
	// 																																																																																													to.Ptr("ChinaNorth2")},
	// 																																																																																												},
	// 																																																																																												{
	// 																																																																																													Category: []*string{
	// 																																																																																														to.Ptr("MemoryOptimized"),
	// 																																																																																														to.Ptr("SupportsPremiumStorage")},
	// 																																																																																														FamilyName: to.Ptr("Eadsv5_series"),
	// 																																																																																														TargetLocations: []*string{
	// 																																																																																															to.Ptr("AustraliaCentral"),
	// 																																																																																															to.Ptr("AustraliaEast"),
	// 																																																																																															to.Ptr("AustraliaSoutheast"),
	// 																																																																																															to.Ptr("BrazilSouth"),
	// 																																																																																															to.Ptr("CanadaCentral"),
	// 																																																																																															to.Ptr("CanadaEast"),
	// 																																																																																															to.Ptr("CentralIndia"),
	// 																																																																																															to.Ptr("CentralUs"),
	// 																																																																																															to.Ptr("EastAsia"),
	// 																																																																																															to.Ptr("EastUs"),
	// 																																																																																															to.Ptr("EastUs2"),
	// 																																																																																															to.Ptr("FranceCentral"),
	// 																																																																																															to.Ptr("FranceSouth"),
	// 																																																																																															to.Ptr("GermanyNorth"),
	// 																																																																																															to.Ptr("JapanEast"),
	// 																																																																																															to.Ptr("JapanWest"),
	// 																																																																																															to.Ptr("KoreaSouth"),
	// 																																																																																															to.Ptr("NorthCentralUs"),
	// 																																																																																															to.Ptr("NorthEurope"),
	// 																																																																																															to.Ptr("NorwayEast"),
	// 																																																																																															to.Ptr("NorwayWest"),
	// 																																																																																															to.Ptr("PolandCentral"),
	// 																																																																																															to.Ptr("SouthAfricaWest"),
	// 																																																																																															to.Ptr("SouthCentralUs"),
	// 																																																																																															to.Ptr("SoutheastAsia"),
	// 																																																																																															to.Ptr("SwedenCentral"),
	// 																																																																																															to.Ptr("SwitzerlandNorth"),
	// 																																																																																															to.Ptr("UAENorth"),
	// 																																																																																															to.Ptr("UkSouth"),
	// 																																																																																															to.Ptr("UkWest"),
	// 																																																																																															to.Ptr("WestCentralUs"),
	// 																																																																																															to.Ptr("WestEurope"),
	// 																																																																																															to.Ptr("WestUs"),
	// 																																																																																															to.Ptr("WestUs2"),
	// 																																																																																															to.Ptr("USGovArizona"),
	// 																																																																																															to.Ptr("USGovTexas"),
	// 																																																																																															to.Ptr("USGovVirginia")},
	// 																																																																																														},
	// 																																																																																														{
	// 																																																																																															Category: []*string{
	// 																																																																																																to.Ptr("MemoryOptimized"),
	// 																																																																																																to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																FamilyName: to.Ptr("Easv4_series"),
	// 																																																																																																TargetLocations: []*string{
	// 																																																																																																	to.Ptr("AustraliaCentral"),
	// 																																																																																																	to.Ptr("AustraliaEast"),
	// 																																																																																																	to.Ptr("AustraliaSoutheast"),
	// 																																																																																																	to.Ptr("BrazilSouth"),
	// 																																																																																																	to.Ptr("CanadaCentral"),
	// 																																																																																																	to.Ptr("CanadaEast"),
	// 																																																																																																	to.Ptr("CentralIndia"),
	// 																																																																																																	to.Ptr("CentralUs"),
	// 																																																																																																	to.Ptr("EastAsia"),
	// 																																																																																																	to.Ptr("EastUs"),
	// 																																																																																																	to.Ptr("EastUs2"),
	// 																																																																																																	to.Ptr("FranceCentral"),
	// 																																																																																																	to.Ptr("FranceSouth"),
	// 																																																																																																	to.Ptr("GermanyNorth"),
	// 																																																																																																	to.Ptr("JapanEast"),
	// 																																																																																																	to.Ptr("JapanWest"),
	// 																																																																																																	to.Ptr("KoreaCentral"),
	// 																																																																																																	to.Ptr("KoreaSouth"),
	// 																																																																																																	to.Ptr("NorthCentralUs"),
	// 																																																																																																	to.Ptr("NorthEurope"),
	// 																																																																																																	to.Ptr("NorwayEast"),
	// 																																																																																																	to.Ptr("NorwayWest"),
	// 																																																																																																	to.Ptr("PolandCentral"),
	// 																																																																																																	to.Ptr("SouthAfricaWest"),
	// 																																																																																																	to.Ptr("SouthCentralUs"),
	// 																																																																																																	to.Ptr("SoutheastAsia"),
	// 																																																																																																	to.Ptr("SouthIndia"),
	// 																																																																																																	to.Ptr("SwedenCentral"),
	// 																																																																																																	to.Ptr("SwitzerlandNorth"),
	// 																																																																																																	to.Ptr("UAENorth"),
	// 																																																																																																	to.Ptr("UkSouth"),
	// 																																																																																																	to.Ptr("UkWest"),
	// 																																																																																																	to.Ptr("WestCentralUs"),
	// 																																																																																																	to.Ptr("WestEurope"),
	// 																																																																																																	to.Ptr("WestUs"),
	// 																																																																																																	to.Ptr("WestUs2"),
	// 																																																																																																	to.Ptr("USGovArizona"),
	// 																																																																																																	to.Ptr("USGovTexas"),
	// 																																																																																																	to.Ptr("USGovVirginia")},
	// 																																																																																																},
	// 																																																																																																{
	// 																																																																																																	Category: []*string{
	// 																																																																																																		to.Ptr("MemoryOptimized"),
	// 																																																																																																		to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																		FamilyName: to.Ptr("Easv5_series"),
	// 																																																																																																		TargetLocations: []*string{
	// 																																																																																																			to.Ptr("AustraliaCentral"),
	// 																																																																																																			to.Ptr("AustraliaEast"),
	// 																																																																																																			to.Ptr("AustraliaSoutheast"),
	// 																																																																																																			to.Ptr("BrazilSouth"),
	// 																																																																																																			to.Ptr("CanadaCentral"),
	// 																																																																																																			to.Ptr("CanadaEast"),
	// 																																																																																																			to.Ptr("CentralIndia"),
	// 																																																																																																			to.Ptr("CentralUs"),
	// 																																																																																																			to.Ptr("EastAsia"),
	// 																																																																																																			to.Ptr("EastUs"),
	// 																																																																																																			to.Ptr("EastUs2"),
	// 																																																																																																			to.Ptr("FranceCentral"),
	// 																																																																																																			to.Ptr("FranceSouth"),
	// 																																																																																																			to.Ptr("GermanyNorth"),
	// 																																																																																																			to.Ptr("JapanEast"),
	// 																																																																																																			to.Ptr("JapanWest"),
	// 																																																																																																			to.Ptr("KoreaSouth"),
	// 																																																																																																			to.Ptr("NorthCentralUs"),
	// 																																																																																																			to.Ptr("NorthEurope"),
	// 																																																																																																			to.Ptr("NorwayEast"),
	// 																																																																																																			to.Ptr("NorwayWest"),
	// 																																																																																																			to.Ptr("PolandCentral"),
	// 																																																																																																			to.Ptr("SouthAfricaWest"),
	// 																																																																																																			to.Ptr("SouthCentralUs"),
	// 																																																																																																			to.Ptr("SoutheastAsia"),
	// 																																																																																																			to.Ptr("SwedenCentral"),
	// 																																																																																																			to.Ptr("SwitzerlandNorth"),
	// 																																																																																																			to.Ptr("UAENorth"),
	// 																																																																																																			to.Ptr("UkSouth"),
	// 																																																																																																			to.Ptr("UkWest"),
	// 																																																																																																			to.Ptr("WestCentralUs"),
	// 																																																																																																			to.Ptr("WestEurope"),
	// 																																																																																																			to.Ptr("WestUs"),
	// 																																																																																																			to.Ptr("WestUs2"),
	// 																																																																																																			to.Ptr("USGovArizona"),
	// 																																																																																																			to.Ptr("USGovTexas"),
	// 																																																																																																			to.Ptr("USGovVirginia")},
	// 																																																																																																		},
	// 																																																																																																		{
	// 																																																																																																			Category: []*string{
	// 																																																																																																				to.Ptr("MemoryOptimized")},
	// 																																																																																																				FamilyName: to.Ptr("Eav4_series"),
	// 																																																																																																				TargetLocations: []*string{
	// 																																																																																																					to.Ptr("AustraliaCentral"),
	// 																																																																																																					to.Ptr("AustraliaEast"),
	// 																																																																																																					to.Ptr("AustraliaSoutheast"),
	// 																																																																																																					to.Ptr("BrazilSouth"),
	// 																																																																																																					to.Ptr("CanadaCentral"),
	// 																																																																																																					to.Ptr("CanadaEast"),
	// 																																																																																																					to.Ptr("CentralIndia"),
	// 																																																																																																					to.Ptr("CentralUs"),
	// 																																																																																																					to.Ptr("EastAsia"),
	// 																																																																																																					to.Ptr("EastUs"),
	// 																																																																																																					to.Ptr("EastUs2"),
	// 																																																																																																					to.Ptr("FranceCentral"),
	// 																																																																																																					to.Ptr("FranceSouth"),
	// 																																																																																																					to.Ptr("GermanyNorth"),
	// 																																																																																																					to.Ptr("JapanEast"),
	// 																																																																																																					to.Ptr("JapanWest"),
	// 																																																																																																					to.Ptr("KoreaCentral"),
	// 																																																																																																					to.Ptr("KoreaSouth"),
	// 																																																																																																					to.Ptr("NorthCentralUs"),
	// 																																																																																																					to.Ptr("NorthEurope"),
	// 																																																																																																					to.Ptr("NorwayEast"),
	// 																																																																																																					to.Ptr("NorwayWest"),
	// 																																																																																																					to.Ptr("PolandCentral"),
	// 																																																																																																					to.Ptr("SouthAfricaWest"),
	// 																																																																																																					to.Ptr("SouthCentralUs"),
	// 																																																																																																					to.Ptr("SoutheastAsia"),
	// 																																																																																																					to.Ptr("SouthIndia"),
	// 																																																																																																					to.Ptr("SwedenCentral"),
	// 																																																																																																					to.Ptr("SwitzerlandNorth"),
	// 																																																																																																					to.Ptr("UAENorth"),
	// 																																																																																																					to.Ptr("UkSouth"),
	// 																																																																																																					to.Ptr("UkWest"),
	// 																																																																																																					to.Ptr("WestCentralUs"),
	// 																																																																																																					to.Ptr("WestEurope"),
	// 																																																																																																					to.Ptr("WestUs"),
	// 																																																																																																					to.Ptr("WestUs2"),
	// 																																																																																																					to.Ptr("USGovArizona"),
	// 																																																																																																					to.Ptr("USGovTexas"),
	// 																																																																																																					to.Ptr("USGovVirginia")},
	// 																																																																																																				},
	// 																																																																																																				{
	// 																																																																																																					Category: []*string{
	// 																																																																																																						to.Ptr("MemoryOptimized"),
	// 																																																																																																						to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																						FamilyName: to.Ptr("Ebdsv5_series"),
	// 																																																																																																						TargetLocations: []*string{
	// 																																																																																																							to.Ptr("AustraliaCentral"),
	// 																																																																																																							to.Ptr("AustraliaCentral2"),
	// 																																																																																																							to.Ptr("AustraliaEast"),
	// 																																																																																																							to.Ptr("AustraliaSoutheast"),
	// 																																																																																																							to.Ptr("BrazilSouth"),
	// 																																																																																																							to.Ptr("CanadaCentral"),
	// 																																																																																																							to.Ptr("CanadaEast"),
	// 																																																																																																							to.Ptr("CentralIndia"),
	// 																																																																																																							to.Ptr("CentralUs"),
	// 																																																																																																							to.Ptr("EastAsia"),
	// 																																																																																																							to.Ptr("EastUs"),
	// 																																																																																																							to.Ptr("EastUs2"),
	// 																																																																																																							to.Ptr("FranceCentral"),
	// 																																																																																																							to.Ptr("FranceSouth"),
	// 																																																																																																							to.Ptr("GermanyNorth"),
	// 																																																																																																							to.Ptr("GermanyWestCentral"),
	// 																																																																																																							to.Ptr("ItalyNorth"),
	// 																																																																																																							to.Ptr("JapanEast"),
	// 																																																																																																							to.Ptr("JapanWest"),
	// 																																																																																																							to.Ptr("KoreaCentral"),
	// 																																																																																																							to.Ptr("KoreaSouth"),
	// 																																																																																																							to.Ptr("NorthCentralUs"),
	// 																																																																																																							to.Ptr("NorthEurope"),
	// 																																																																																																							to.Ptr("NorwayEast"),
	// 																																																																																																							to.Ptr("NorwayWest"),
	// 																																																																																																							to.Ptr("PolandCentral"),
	// 																																																																																																							to.Ptr("QatarCentral"),
	// 																																																																																																							to.Ptr("SouthAfricaNorth"),
	// 																																																																																																							to.Ptr("SouthAfricaWest"),
	// 																																																																																																							to.Ptr("SouthCentralUs"),
	// 																																																																																																							to.Ptr("SoutheastAsia"),
	// 																																																																																																							to.Ptr("SouthIndia"),
	// 																																																																																																							to.Ptr("SwedenCentral"),
	// 																																																																																																							to.Ptr("SwitzerlandNorth"),
	// 																																																																																																							to.Ptr("SwitzerlandWest"),
	// 																																																																																																							to.Ptr("UAENorth"),
	// 																																																																																																							to.Ptr("UkSouth"),
	// 																																																																																																							to.Ptr("UkWest"),
	// 																																																																																																							to.Ptr("WestCentralUs"),
	// 																																																																																																							to.Ptr("WestEurope"),
	// 																																																																																																							to.Ptr("WestUs"),
	// 																																																																																																							to.Ptr("WestUs2"),
	// 																																																																																																							to.Ptr("ChinaEast2"),
	// 																																																																																																							to.Ptr("ChinaNorth2"),
	// 																																																																																																							to.Ptr("USGovArizona"),
	// 																																																																																																							to.Ptr("USGovTexas"),
	// 																																																																																																							to.Ptr("USGovVirginia")},
	// 																																																																																																						},
	// 																																																																																																						{
	// 																																																																																																							Category: []*string{
	// 																																																																																																								to.Ptr("MemoryOptimized"),
	// 																																																																																																								to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																								FamilyName: to.Ptr("Ebsv5_series"),
	// 																																																																																																								TargetLocations: []*string{
	// 																																																																																																									to.Ptr("AustraliaCentral"),
	// 																																																																																																									to.Ptr("AustraliaCentral2"),
	// 																																																																																																									to.Ptr("AustraliaEast"),
	// 																																																																																																									to.Ptr("AustraliaSoutheast"),
	// 																																																																																																									to.Ptr("BrazilSouth"),
	// 																																																																																																									to.Ptr("CanadaCentral"),
	// 																																																																																																									to.Ptr("CanadaEast"),
	// 																																																																																																									to.Ptr("CentralIndia"),
	// 																																																																																																									to.Ptr("CentralUs"),
	// 																																																																																																									to.Ptr("EastAsia"),
	// 																																																																																																									to.Ptr("EastUs"),
	// 																																																																																																									to.Ptr("EastUs2"),
	// 																																																																																																									to.Ptr("FranceCentral"),
	// 																																																																																																									to.Ptr("FranceSouth"),
	// 																																																																																																									to.Ptr("GermanyNorth"),
	// 																																																																																																									to.Ptr("GermanyWestCentral"),
	// 																																																																																																									to.Ptr("ItalyNorth"),
	// 																																																																																																									to.Ptr("JapanEast"),
	// 																																																																																																									to.Ptr("JapanWest"),
	// 																																																																																																									to.Ptr("KoreaCentral"),
	// 																																																																																																									to.Ptr("KoreaSouth"),
	// 																																																																																																									to.Ptr("NorthCentralUs"),
	// 																																																																																																									to.Ptr("NorthEurope"),
	// 																																																																																																									to.Ptr("NorwayEast"),
	// 																																																																																																									to.Ptr("NorwayWest"),
	// 																																																																																																									to.Ptr("PolandCentral"),
	// 																																																																																																									to.Ptr("QatarCentral"),
	// 																																																																																																									to.Ptr("SouthAfricaNorth"),
	// 																																																																																																									to.Ptr("SouthAfricaWest"),
	// 																																																																																																									to.Ptr("SouthCentralUs"),
	// 																																																																																																									to.Ptr("SoutheastAsia"),
	// 																																																																																																									to.Ptr("SouthIndia"),
	// 																																																																																																									to.Ptr("SwedenCentral"),
	// 																																																																																																									to.Ptr("SwitzerlandNorth"),
	// 																																																																																																									to.Ptr("SwitzerlandWest"),
	// 																																																																																																									to.Ptr("UAENorth"),
	// 																																																																																																									to.Ptr("UkSouth"),
	// 																																																																																																									to.Ptr("UkWest"),
	// 																																																																																																									to.Ptr("WestCentralUs"),
	// 																																																																																																									to.Ptr("WestEurope"),
	// 																																																																																																									to.Ptr("WestUs"),
	// 																																																																																																									to.Ptr("WestUs2"),
	// 																																																																																																									to.Ptr("ChinaEast2"),
	// 																																																																																																									to.Ptr("ChinaNorth2"),
	// 																																																																																																									to.Ptr("USGovArizona"),
	// 																																																																																																									to.Ptr("USGovTexas"),
	// 																																																																																																									to.Ptr("USGovVirginia")},
	// 																																																																																																								},
	// 																																																																																																								{
	// 																																																																																																									Category: []*string{
	// 																																																																																																										to.Ptr("MemoryOptimized"),
	// 																																																																																																										to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																										FamilyName: to.Ptr("Edsv4_series"),
	// 																																																																																																										TargetLocations: []*string{
	// 																																																																																																											to.Ptr("AustraliaCentral"),
	// 																																																																																																											to.Ptr("AustraliaCentral2"),
	// 																																																																																																											to.Ptr("AustraliaEast"),
	// 																																																																																																											to.Ptr("AustraliaSoutheast"),
	// 																																																																																																											to.Ptr("BrazilSouth"),
	// 																																																																																																											to.Ptr("CanadaCentral"),
	// 																																																																																																											to.Ptr("CanadaEast"),
	// 																																																																																																											to.Ptr("CentralIndia"),
	// 																																																																																																											to.Ptr("CentralUs"),
	// 																																																																																																											to.Ptr("EastAsia"),
	// 																																																																																																											to.Ptr("EastUs"),
	// 																																																																																																											to.Ptr("EastUs2"),
	// 																																																																																																											to.Ptr("FranceCentral"),
	// 																																																																																																											to.Ptr("FranceSouth"),
	// 																																																																																																											to.Ptr("GermanyNorth"),
	// 																																																																																																											to.Ptr("GermanyWestCentral"),
	// 																																																																																																											to.Ptr("ItalyNorth"),
	// 																																																																																																											to.Ptr("JapanEast"),
	// 																																																																																																											to.Ptr("JapanWest"),
	// 																																																																																																											to.Ptr("KoreaCentral"),
	// 																																																																																																											to.Ptr("KoreaSouth"),
	// 																																																																																																											to.Ptr("NorthCentralUs"),
	// 																																																																																																											to.Ptr("NorthEurope"),
	// 																																																																																																											to.Ptr("NorwayEast"),
	// 																																																																																																											to.Ptr("NorwayWest"),
	// 																																																																																																											to.Ptr("PolandCentral"),
	// 																																																																																																											to.Ptr("QatarCentral"),
	// 																																																																																																											to.Ptr("SouthAfricaNorth"),
	// 																																																																																																											to.Ptr("SouthAfricaWest"),
	// 																																																																																																											to.Ptr("SouthCentralUs"),
	// 																																																																																																											to.Ptr("SoutheastAsia"),
	// 																																																																																																											to.Ptr("SouthIndia"),
	// 																																																																																																											to.Ptr("SwedenCentral"),
	// 																																																																																																											to.Ptr("SwitzerlandNorth"),
	// 																																																																																																											to.Ptr("SwitzerlandWest"),
	// 																																																																																																											to.Ptr("UAECentral"),
	// 																																																																																																											to.Ptr("UAENorth"),
	// 																																																																																																											to.Ptr("UkSouth"),
	// 																																																																																																											to.Ptr("UkWest"),
	// 																																																																																																											to.Ptr("WestCentralUs"),
	// 																																																																																																											to.Ptr("WestEurope"),
	// 																																																																																																											to.Ptr("WestUs"),
	// 																																																																																																											to.Ptr("WestUs2"),
	// 																																																																																																											to.Ptr("ChinaEast2"),
	// 																																																																																																											to.Ptr("ChinaNorth2"),
	// 																																																																																																											to.Ptr("USGovArizona"),
	// 																																																																																																											to.Ptr("USGovTexas"),
	// 																																																																																																											to.Ptr("USGovVirginia")},
	// 																																																																																																										},
	// 																																																																																																										{
	// 																																																																																																											Category: []*string{
	// 																																																																																																												to.Ptr("MemoryOptimized")},
	// 																																																																																																												FamilyName: to.Ptr("Edv4_series"),
	// 																																																																																																												TargetLocations: []*string{
	// 																																																																																																													to.Ptr("AustraliaCentral"),
	// 																																																																																																													to.Ptr("AustraliaCentral2"),
	// 																																																																																																													to.Ptr("AustraliaEast"),
	// 																																																																																																													to.Ptr("AustraliaSoutheast"),
	// 																																																																																																													to.Ptr("BrazilSouth"),
	// 																																																																																																													to.Ptr("CanadaCentral"),
	// 																																																																																																													to.Ptr("CanadaEast"),
	// 																																																																																																													to.Ptr("CentralIndia"),
	// 																																																																																																													to.Ptr("CentralUs"),
	// 																																																																																																													to.Ptr("EastAsia"),
	// 																																																																																																													to.Ptr("EastUs"),
	// 																																																																																																													to.Ptr("EastUs2"),
	// 																																																																																																													to.Ptr("FranceCentral"),
	// 																																																																																																													to.Ptr("FranceSouth"),
	// 																																																																																																													to.Ptr("GermanyNorth"),
	// 																																																																																																													to.Ptr("GermanyWestCentral"),
	// 																																																																																																													to.Ptr("ItalyNorth"),
	// 																																																																																																													to.Ptr("JapanEast"),
	// 																																																																																																													to.Ptr("JapanWest"),
	// 																																																																																																													to.Ptr("KoreaCentral"),
	// 																																																																																																													to.Ptr("KoreaSouth"),
	// 																																																																																																													to.Ptr("NorthCentralUs"),
	// 																																																																																																													to.Ptr("NorthEurope"),
	// 																																																																																																													to.Ptr("NorwayEast"),
	// 																																																																																																													to.Ptr("NorwayWest"),
	// 																																																																																																													to.Ptr("PolandCentral"),
	// 																																																																																																													to.Ptr("QatarCentral"),
	// 																																																																																																													to.Ptr("SouthAfricaNorth"),
	// 																																																																																																													to.Ptr("SouthAfricaWest"),
	// 																																																																																																													to.Ptr("SouthCentralUs"),
	// 																																																																																																													to.Ptr("SoutheastAsia"),
	// 																																																																																																													to.Ptr("SouthIndia"),
	// 																																																																																																													to.Ptr("SwedenCentral"),
	// 																																																																																																													to.Ptr("SwitzerlandNorth"),
	// 																																																																																																													to.Ptr("SwitzerlandWest"),
	// 																																																																																																													to.Ptr("UAECentral"),
	// 																																																																																																													to.Ptr("UAENorth"),
	// 																																																																																																													to.Ptr("UkSouth"),
	// 																																																																																																													to.Ptr("UkWest"),
	// 																																																																																																													to.Ptr("WestCentralUs"),
	// 																																																																																																													to.Ptr("WestEurope"),
	// 																																																																																																													to.Ptr("WestUs"),
	// 																																																																																																													to.Ptr("WestUs2"),
	// 																																																																																																													to.Ptr("ChinaEast2"),
	// 																																																																																																													to.Ptr("ChinaNorth2"),
	// 																																																																																																													to.Ptr("USGovArizona"),
	// 																																																																																																													to.Ptr("USGovTexas"),
	// 																																																																																																													to.Ptr("USGovVirginia")},
	// 																																																																																																												},
	// 																																																																																																												{
	// 																																																																																																													Category: []*string{
	// 																																																																																																														to.Ptr("MemoryOptimized"),
	// 																																																																																																														to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																														FamilyName: to.Ptr("Esv3_series"),
	// 																																																																																																														TargetLocations: []*string{
	// 																																																																																																															to.Ptr("AustraliaCentral"),
	// 																																																																																																															to.Ptr("AustraliaCentral2"),
	// 																																																																																																															to.Ptr("AustraliaEast"),
	// 																																																																																																															to.Ptr("AustraliaSoutheast"),
	// 																																																																																																															to.Ptr("BrazilSouth"),
	// 																																																																																																															to.Ptr("CanadaCentral"),
	// 																																																																																																															to.Ptr("CanadaEast"),
	// 																																																																																																															to.Ptr("CentralIndia"),
	// 																																																																																																															to.Ptr("CentralUs"),
	// 																																																																																																															to.Ptr("EastAsia"),
	// 																																																																																																															to.Ptr("EastUs"),
	// 																																																																																																															to.Ptr("EastUs2"),
	// 																																																																																																															to.Ptr("FranceCentral"),
	// 																																																																																																															to.Ptr("FranceSouth"),
	// 																																																																																																															to.Ptr("GermanyNorth"),
	// 																																																																																																															to.Ptr("GermanyWestCentral"),
	// 																																																																																																															to.Ptr("ItalyNorth"),
	// 																																																																																																															to.Ptr("JapanEast"),
	// 																																																																																																															to.Ptr("JapanWest"),
	// 																																																																																																															to.Ptr("KoreaCentral"),
	// 																																																																																																															to.Ptr("KoreaSouth"),
	// 																																																																																																															to.Ptr("NorthCentralUs"),
	// 																																																																																																															to.Ptr("NorthEurope"),
	// 																																																																																																															to.Ptr("NorwayEast"),
	// 																																																																																																															to.Ptr("NorwayWest"),
	// 																																																																																																															to.Ptr("PolandCentral"),
	// 																																																																																																															to.Ptr("QatarCentral"),
	// 																																																																																																															to.Ptr("SouthAfricaNorth"),
	// 																																																																																																															to.Ptr("SouthAfricaWest"),
	// 																																																																																																															to.Ptr("SouthCentralUs"),
	// 																																																																																																															to.Ptr("SoutheastAsia"),
	// 																																																																																																															to.Ptr("SouthIndia"),
	// 																																																																																																															to.Ptr("SwedenCentral"),
	// 																																																																																																															to.Ptr("SwitzerlandNorth"),
	// 																																																																																																															to.Ptr("SwitzerlandWest"),
	// 																																																																																																															to.Ptr("UAECentral"),
	// 																																																																																																															to.Ptr("UAENorth"),
	// 																																																																																																															to.Ptr("UkSouth"),
	// 																																																																																																															to.Ptr("UkWest"),
	// 																																																																																																															to.Ptr("WestCentralUs"),
	// 																																																																																																															to.Ptr("WestEurope"),
	// 																																																																																																															to.Ptr("WestIndia"),
	// 																																																																																																															to.Ptr("WestUs"),
	// 																																																																																																															to.Ptr("WestUs2"),
	// 																																																																																																															to.Ptr("ChinaEast2"),
	// 																																																																																																															to.Ptr("ChinaNorth2"),
	// 																																																																																																															to.Ptr("USGovArizona"),
	// 																																																																																																															to.Ptr("USGovTexas"),
	// 																																																																																																															to.Ptr("USGovVirginia")},
	// 																																																																																																														},
	// 																																																																																																														{
	// 																																																																																																															Category: []*string{
	// 																																																																																																																to.Ptr("MemoryOptimized"),
	// 																																																																																																																to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																FamilyName: to.Ptr("Esv4_series"),
	// 																																																																																																																TargetLocations: []*string{
	// 																																																																																																																	to.Ptr("AustraliaCentral"),
	// 																																																																																																																	to.Ptr("AustraliaCentral2"),
	// 																																																																																																																	to.Ptr("AustraliaEast"),
	// 																																																																																																																	to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																	to.Ptr("BrazilSouth"),
	// 																																																																																																																	to.Ptr("CanadaCentral"),
	// 																																																																																																																	to.Ptr("CanadaEast"),
	// 																																																																																																																	to.Ptr("CentralIndia"),
	// 																																																																																																																	to.Ptr("CentralUs"),
	// 																																																																																																																	to.Ptr("EastAsia"),
	// 																																																																																																																	to.Ptr("EastUs"),
	// 																																																																																																																	to.Ptr("EastUs2"),
	// 																																																																																																																	to.Ptr("FranceCentral"),
	// 																																																																																																																	to.Ptr("FranceSouth"),
	// 																																																																																																																	to.Ptr("GermanyNorth"),
	// 																																																																																																																	to.Ptr("GermanyWestCentral"),
	// 																																																																																																																	to.Ptr("ItalyNorth"),
	// 																																																																																																																	to.Ptr("JapanEast"),
	// 																																																																																																																	to.Ptr("JapanWest"),
	// 																																																																																																																	to.Ptr("KoreaCentral"),
	// 																																																																																																																	to.Ptr("KoreaSouth"),
	// 																																																																																																																	to.Ptr("NorthCentralUs"),
	// 																																																																																																																	to.Ptr("NorthEurope"),
	// 																																																																																																																	to.Ptr("NorwayEast"),
	// 																																																																																																																	to.Ptr("NorwayWest"),
	// 																																																																																																																	to.Ptr("PolandCentral"),
	// 																																																																																																																	to.Ptr("QatarCentral"),
	// 																																																																																																																	to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																	to.Ptr("SouthAfricaWest"),
	// 																																																																																																																	to.Ptr("SouthCentralUs"),
	// 																																																																																																																	to.Ptr("SoutheastAsia"),
	// 																																																																																																																	to.Ptr("SouthIndia"),
	// 																																																																																																																	to.Ptr("SwedenCentral"),
	// 																																																																																																																	to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																	to.Ptr("SwitzerlandWest"),
	// 																																																																																																																	to.Ptr("UAECentral"),
	// 																																																																																																																	to.Ptr("UAENorth"),
	// 																																																																																																																	to.Ptr("UkSouth"),
	// 																																																																																																																	to.Ptr("UkWest"),
	// 																																																																																																																	to.Ptr("WestCentralUs"),
	// 																																																																																																																	to.Ptr("WestEurope"),
	// 																																																																																																																	to.Ptr("WestUs"),
	// 																																																																																																																	to.Ptr("WestUs2"),
	// 																																																																																																																	to.Ptr("ChinaEast2"),
	// 																																																																																																																	to.Ptr("ChinaNorth2"),
	// 																																																																																																																	to.Ptr("USGovArizona"),
	// 																																																																																																																	to.Ptr("USGovTexas"),
	// 																																																																																																																	to.Ptr("USGovVirginia")},
	// 																																																																																																																},
	// 																																																																																																																{
	// 																																																																																																																	Category: []*string{
	// 																																																																																																																		to.Ptr("MemoryOptimized")},
	// 																																																																																																																		FamilyName: to.Ptr("Ev3_series"),
	// 																																																																																																																		TargetLocations: []*string{
	// 																																																																																																																			to.Ptr("AustraliaCentral"),
	// 																																																																																																																			to.Ptr("AustraliaCentral2"),
	// 																																																																																																																			to.Ptr("AustraliaEast"),
	// 																																																																																																																			to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																			to.Ptr("BrazilSouth"),
	// 																																																																																																																			to.Ptr("CanadaCentral"),
	// 																																																																																																																			to.Ptr("CanadaEast"),
	// 																																																																																																																			to.Ptr("CentralIndia"),
	// 																																																																																																																			to.Ptr("CentralUs"),
	// 																																																																																																																			to.Ptr("EastAsia"),
	// 																																																																																																																			to.Ptr("EastUs"),
	// 																																																																																																																			to.Ptr("EastUs2"),
	// 																																																																																																																			to.Ptr("FranceCentral"),
	// 																																																																																																																			to.Ptr("FranceSouth"),
	// 																																																																																																																			to.Ptr("GermanyNorth"),
	// 																																																																																																																			to.Ptr("GermanyWestCentral"),
	// 																																																																																																																			to.Ptr("ItalyNorth"),
	// 																																																																																																																			to.Ptr("JapanEast"),
	// 																																																																																																																			to.Ptr("JapanWest"),
	// 																																																																																																																			to.Ptr("KoreaCentral"),
	// 																																																																																																																			to.Ptr("KoreaSouth"),
	// 																																																																																																																			to.Ptr("NorthCentralUs"),
	// 																																																																																																																			to.Ptr("NorthEurope"),
	// 																																																																																																																			to.Ptr("NorwayEast"),
	// 																																																																																																																			to.Ptr("NorwayWest"),
	// 																																																																																																																			to.Ptr("PolandCentral"),
	// 																																																																																																																			to.Ptr("QatarCentral"),
	// 																																																																																																																			to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																			to.Ptr("SouthAfricaWest"),
	// 																																																																																																																			to.Ptr("SouthCentralUs"),
	// 																																																																																																																			to.Ptr("SoutheastAsia"),
	// 																																																																																																																			to.Ptr("SouthIndia"),
	// 																																																																																																																			to.Ptr("SwedenCentral"),
	// 																																																																																																																			to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																			to.Ptr("SwitzerlandWest"),
	// 																																																																																																																			to.Ptr("UAECentral"),
	// 																																																																																																																			to.Ptr("UAENorth"),
	// 																																																																																																																			to.Ptr("UkSouth"),
	// 																																																																																																																			to.Ptr("UkWest"),
	// 																																																																																																																			to.Ptr("WestCentralUs"),
	// 																																																																																																																			to.Ptr("WestEurope"),
	// 																																																																																																																			to.Ptr("WestIndia"),
	// 																																																																																																																			to.Ptr("WestUs"),
	// 																																																																																																																			to.Ptr("WestUs2"),
	// 																																																																																																																			to.Ptr("ChinaEast"),
	// 																																																																																																																			to.Ptr("ChinaEast2"),
	// 																																																																																																																			to.Ptr("ChinaNorth2"),
	// 																																																																																																																			to.Ptr("USGovArizona"),
	// 																																																																																																																			to.Ptr("USGovIowa"),
	// 																																																																																																																			to.Ptr("USGovTexas"),
	// 																																																																																																																			to.Ptr("USGovVirginia")},
	// 																																																																																																																		},
	// 																																																																																																																		{
	// 																																																																																																																			Category: []*string{
	// 																																																																																																																				to.Ptr("MemoryOptimized")},
	// 																																																																																																																				FamilyName: to.Ptr("Ev4_series"),
	// 																																																																																																																				TargetLocations: []*string{
	// 																																																																																																																					to.Ptr("AustraliaCentral"),
	// 																																																																																																																					to.Ptr("AustraliaCentral2"),
	// 																																																																																																																					to.Ptr("AustraliaEast"),
	// 																																																																																																																					to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																					to.Ptr("BrazilSouth"),
	// 																																																																																																																					to.Ptr("CanadaCentral"),
	// 																																																																																																																					to.Ptr("CanadaEast"),
	// 																																																																																																																					to.Ptr("CentralIndia"),
	// 																																																																																																																					to.Ptr("CentralUs"),
	// 																																																																																																																					to.Ptr("EastAsia"),
	// 																																																																																																																					to.Ptr("EastUs"),
	// 																																																																																																																					to.Ptr("EastUs2"),
	// 																																																																																																																					to.Ptr("FranceCentral"),
	// 																																																																																																																					to.Ptr("FranceSouth"),
	// 																																																																																																																					to.Ptr("GermanyNorth"),
	// 																																																																																																																					to.Ptr("GermanyWestCentral"),
	// 																																																																																																																					to.Ptr("ItalyNorth"),
	// 																																																																																																																					to.Ptr("JapanEast"),
	// 																																																																																																																					to.Ptr("JapanWest"),
	// 																																																																																																																					to.Ptr("KoreaCentral"),
	// 																																																																																																																					to.Ptr("KoreaSouth"),
	// 																																																																																																																					to.Ptr("NorthCentralUs"),
	// 																																																																																																																					to.Ptr("NorthEurope"),
	// 																																																																																																																					to.Ptr("NorwayEast"),
	// 																																																																																																																					to.Ptr("NorwayWest"),
	// 																																																																																																																					to.Ptr("PolandCentral"),
	// 																																																																																																																					to.Ptr("QatarCentral"),
	// 																																																																																																																					to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																					to.Ptr("SouthAfricaWest"),
	// 																																																																																																																					to.Ptr("SouthCentralUs"),
	// 																																																																																																																					to.Ptr("SoutheastAsia"),
	// 																																																																																																																					to.Ptr("SouthIndia"),
	// 																																																																																																																					to.Ptr("SwedenCentral"),
	// 																																																																																																																					to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																					to.Ptr("SwitzerlandWest"),
	// 																																																																																																																					to.Ptr("UAECentral"),
	// 																																																																																																																					to.Ptr("UAENorth"),
	// 																																																																																																																					to.Ptr("UkSouth"),
	// 																																																																																																																					to.Ptr("UkWest"),
	// 																																																																																																																					to.Ptr("WestCentralUs"),
	// 																																																																																																																					to.Ptr("WestEurope"),
	// 																																																																																																																					to.Ptr("WestUs"),
	// 																																																																																																																					to.Ptr("WestUs2"),
	// 																																																																																																																					to.Ptr("ChinaEast2"),
	// 																																																																																																																					to.Ptr("ChinaNorth2"),
	// 																																																																																																																					to.Ptr("USGovArizona"),
	// 																																																																																																																					to.Ptr("USGovTexas"),
	// 																																																																																																																					to.Ptr("USGovVirginia")},
	// 																																																																																																																				},
	// 																																																																																																																				{
	// 																																																																																																																					Category: []*string{
	// 																																																																																																																						to.Ptr("ComputeOptimized")},
	// 																																																																																																																						FamilyName: to.Ptr("F_series"),
	// 																																																																																																																						TargetLocations: []*string{
	// 																																																																																																																							to.Ptr("AustraliaCentral"),
	// 																																																																																																																							to.Ptr("AustraliaCentral2"),
	// 																																																																																																																							to.Ptr("AustraliaEast"),
	// 																																																																																																																							to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																							to.Ptr("BrazilSouth"),
	// 																																																																																																																							to.Ptr("CanadaCentral"),
	// 																																																																																																																							to.Ptr("CanadaEast"),
	// 																																																																																																																							to.Ptr("CentralIndia"),
	// 																																																																																																																							to.Ptr("CentralUs"),
	// 																																																																																																																							to.Ptr("EastAsia"),
	// 																																																																																																																							to.Ptr("EastUs"),
	// 																																																																																																																							to.Ptr("EastUs2"),
	// 																																																																																																																							to.Ptr("FranceCentral"),
	// 																																																																																																																							to.Ptr("FranceSouth"),
	// 																																																																																																																							to.Ptr("GermanyNorth"),
	// 																																																																																																																							to.Ptr("GermanyWestCentral"),
	// 																																																																																																																							to.Ptr("ItalyNorth"),
	// 																																																																																																																							to.Ptr("JapanEast"),
	// 																																																																																																																							to.Ptr("JapanWest"),
	// 																																																																																																																							to.Ptr("KoreaCentral"),
	// 																																																																																																																							to.Ptr("KoreaSouth"),
	// 																																																																																																																							to.Ptr("NorthCentralUs"),
	// 																																																																																																																							to.Ptr("NorthEurope"),
	// 																																																																																																																							to.Ptr("NorwayEast"),
	// 																																																																																																																							to.Ptr("NorwayWest"),
	// 																																																																																																																							to.Ptr("PolandCentral"),
	// 																																																																																																																							to.Ptr("QatarCentral"),
	// 																																																																																																																							to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																							to.Ptr("SouthAfricaWest"),
	// 																																																																																																																							to.Ptr("SouthCentralUs"),
	// 																																																																																																																							to.Ptr("SoutheastAsia"),
	// 																																																																																																																							to.Ptr("SouthIndia"),
	// 																																																																																																																							to.Ptr("SwedenCentral"),
	// 																																																																																																																							to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																							to.Ptr("SwitzerlandWest"),
	// 																																																																																																																							to.Ptr("UAECentral"),
	// 																																																																																																																							to.Ptr("UAENorth"),
	// 																																																																																																																							to.Ptr("UkSouth"),
	// 																																																																																																																							to.Ptr("UkWest"),
	// 																																																																																																																							to.Ptr("WestCentralUs"),
	// 																																																																																																																							to.Ptr("WestEurope"),
	// 																																																																																																																							to.Ptr("WestIndia"),
	// 																																																																																																																							to.Ptr("WestUs"),
	// 																																																																																																																							to.Ptr("WestUs2"),
	// 																																																																																																																							to.Ptr("ChinaEast"),
	// 																																																																																																																							to.Ptr("ChinaEast2"),
	// 																																																																																																																							to.Ptr("ChinaNorth"),
	// 																																																																																																																							to.Ptr("ChinaNorth2"),
	// 																																																																																																																							to.Ptr("USGovArizona"),
	// 																																																																																																																							to.Ptr("USGovIowa"),
	// 																																																																																																																							to.Ptr("USGovTexas"),
	// 																																																																																																																							to.Ptr("USGovVirginia")},
	// 																																																																																																																						},
	// 																																																																																																																						{
	// 																																																																																																																							Category: []*string{
	// 																																																																																																																								to.Ptr("ComputeOptimized"),
	// 																																																																																																																								to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																								FamilyName: to.Ptr("Fs_series"),
	// 																																																																																																																								TargetLocations: []*string{
	// 																																																																																																																									to.Ptr("AustraliaCentral"),
	// 																																																																																																																									to.Ptr("AustraliaCentral2"),
	// 																																																																																																																									to.Ptr("AustraliaEast"),
	// 																																																																																																																									to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																									to.Ptr("BrazilSouth"),
	// 																																																																																																																									to.Ptr("CanadaCentral"),
	// 																																																																																																																									to.Ptr("CanadaEast"),
	// 																																																																																																																									to.Ptr("CentralIndia"),
	// 																																																																																																																									to.Ptr("CentralUs"),
	// 																																																																																																																									to.Ptr("EastAsia"),
	// 																																																																																																																									to.Ptr("EastUs"),
	// 																																																																																																																									to.Ptr("EastUs2"),
	// 																																																																																																																									to.Ptr("FranceCentral"),
	// 																																																																																																																									to.Ptr("FranceSouth"),
	// 																																																																																																																									to.Ptr("GermanyNorth"),
	// 																																																																																																																									to.Ptr("GermanyWestCentral"),
	// 																																																																																																																									to.Ptr("ItalyNorth"),
	// 																																																																																																																									to.Ptr("JapanEast"),
	// 																																																																																																																									to.Ptr("JapanWest"),
	// 																																																																																																																									to.Ptr("KoreaCentral"),
	// 																																																																																																																									to.Ptr("KoreaSouth"),
	// 																																																																																																																									to.Ptr("NorthCentralUs"),
	// 																																																																																																																									to.Ptr("NorthEurope"),
	// 																																																																																																																									to.Ptr("NorwayEast"),
	// 																																																																																																																									to.Ptr("NorwayWest"),
	// 																																																																																																																									to.Ptr("PolandCentral"),
	// 																																																																																																																									to.Ptr("QatarCentral"),
	// 																																																																																																																									to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																									to.Ptr("SouthAfricaWest"),
	// 																																																																																																																									to.Ptr("SouthCentralUs"),
	// 																																																																																																																									to.Ptr("SoutheastAsia"),
	// 																																																																																																																									to.Ptr("SouthIndia"),
	// 																																																																																																																									to.Ptr("SwedenCentral"),
	// 																																																																																																																									to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																									to.Ptr("SwitzerlandWest"),
	// 																																																																																																																									to.Ptr("UAECentral"),
	// 																																																																																																																									to.Ptr("UAENorth"),
	// 																																																																																																																									to.Ptr("UkSouth"),
	// 																																																																																																																									to.Ptr("UkWest"),
	// 																																																																																																																									to.Ptr("WestCentralUs"),
	// 																																																																																																																									to.Ptr("WestEurope"),
	// 																																																																																																																									to.Ptr("WestIndia"),
	// 																																																																																																																									to.Ptr("WestUs"),
	// 																																																																																																																									to.Ptr("WestUs2"),
	// 																																																																																																																									to.Ptr("ChinaEast"),
	// 																																																																																																																									to.Ptr("ChinaEast2"),
	// 																																																																																																																									to.Ptr("ChinaNorth"),
	// 																																																																																																																									to.Ptr("ChinaNorth2"),
	// 																																																																																																																									to.Ptr("USGovArizona"),
	// 																																																																																																																									to.Ptr("USGovTexas"),
	// 																																																																																																																									to.Ptr("USGovVirginia")},
	// 																																																																																																																								},
	// 																																																																																																																								{
	// 																																																																																																																									Category: []*string{
	// 																																																																																																																										to.Ptr("ComputeOptimized"),
	// 																																																																																																																										to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																										FamilyName: to.Ptr("Fsv2_series"),
	// 																																																																																																																										TargetLocations: []*string{
	// 																																																																																																																											to.Ptr("AustraliaCentral"),
	// 																																																																																																																											to.Ptr("AustraliaCentral2"),
	// 																																																																																																																											to.Ptr("AustraliaEast"),
	// 																																																																																																																											to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																											to.Ptr("BrazilSouth"),
	// 																																																																																																																											to.Ptr("CanadaCentral"),
	// 																																																																																																																											to.Ptr("CanadaEast"),
	// 																																																																																																																											to.Ptr("CentralIndia"),
	// 																																																																																																																											to.Ptr("CentralUs"),
	// 																																																																																																																											to.Ptr("EastAsia"),
	// 																																																																																																																											to.Ptr("EastUs"),
	// 																																																																																																																											to.Ptr("EastUs2"),
	// 																																																																																																																											to.Ptr("FranceCentral"),
	// 																																																																																																																											to.Ptr("FranceSouth"),
	// 																																																																																																																											to.Ptr("GermanyNorth"),
	// 																																																																																																																											to.Ptr("GermanyWestCentral"),
	// 																																																																																																																											to.Ptr("ItalyNorth"),
	// 																																																																																																																											to.Ptr("JapanEast"),
	// 																																																																																																																											to.Ptr("JapanWest"),
	// 																																																																																																																											to.Ptr("KoreaCentral"),
	// 																																																																																																																											to.Ptr("KoreaSouth"),
	// 																																																																																																																											to.Ptr("NorthCentralUs"),
	// 																																																																																																																											to.Ptr("NorthEurope"),
	// 																																																																																																																											to.Ptr("NorwayEast"),
	// 																																																																																																																											to.Ptr("NorwayWest"),
	// 																																																																																																																											to.Ptr("PolandCentral"),
	// 																																																																																																																											to.Ptr("QatarCentral"),
	// 																																																																																																																											to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																											to.Ptr("SouthAfricaWest"),
	// 																																																																																																																											to.Ptr("SouthCentralUs"),
	// 																																																																																																																											to.Ptr("SoutheastAsia"),
	// 																																																																																																																											to.Ptr("SouthIndia"),
	// 																																																																																																																											to.Ptr("SwedenCentral"),
	// 																																																																																																																											to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																											to.Ptr("SwitzerlandWest"),
	// 																																																																																																																											to.Ptr("UAECentral"),
	// 																																																																																																																											to.Ptr("UAENorth"),
	// 																																																																																																																											to.Ptr("UkSouth"),
	// 																																																																																																																											to.Ptr("UkWest"),
	// 																																																																																																																											to.Ptr("WestCentralUs"),
	// 																																																																																																																											to.Ptr("WestEurope"),
	// 																																																																																																																											to.Ptr("WestIndia"),
	// 																																																																																																																											to.Ptr("WestUs"),
	// 																																																																																																																											to.Ptr("WestUs2"),
	// 																																																																																																																											to.Ptr("ChinaEast2"),
	// 																																																																																																																											to.Ptr("ChinaNorth2"),
	// 																																																																																																																											to.Ptr("USGovArizona"),
	// 																																																																																																																											to.Ptr("USGovTexas"),
	// 																																																																																																																											to.Ptr("USGovVirginia")},
	// 																																																																																																																										},
	// 																																																																																																																										{
	// 																																																																																																																											Category: []*string{
	// 																																																																																																																												to.Ptr("MemoryOptimized")},
	// 																																																																																																																												FamilyName: to.Ptr("G_series"),
	// 																																																																																																																												TargetLocations: []*string{
	// 																																																																																																																													to.Ptr("AustraliaEast"),
	// 																																																																																																																													to.Ptr("CanadaCentral"),
	// 																																																																																																																													to.Ptr("CanadaEast"),
	// 																																																																																																																													to.Ptr("EastUs2"),
	// 																																																																																																																													to.Ptr("JapanEast"),
	// 																																																																																																																													to.Ptr("SoutheastAsia"),
	// 																																																																																																																													to.Ptr("UkSouth"),
	// 																																																																																																																													to.Ptr("WestEurope"),
	// 																																																																																																																													to.Ptr("WestUs"),
	// 																																																																																																																													to.Ptr("WestUs2"),
	// 																																																																																																																													to.Ptr("USGovVirginia")},
	// 																																																																																																																												},
	// 																																																																																																																												{
	// 																																																																																																																													Category: []*string{
	// 																																																																																																																														to.Ptr("MemoryOptimized"),
	// 																																																																																																																														to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																														FamilyName: to.Ptr("GS_series"),
	// 																																																																																																																														TargetLocations: []*string{
	// 																																																																																																																															to.Ptr("AustraliaEast"),
	// 																																																																																																																															to.Ptr("CanadaCentral"),
	// 																																																																																																																															to.Ptr("CanadaEast"),
	// 																																																																																																																															to.Ptr("EastUs2"),
	// 																																																																																																																															to.Ptr("JapanEast"),
	// 																																																																																																																															to.Ptr("SoutheastAsia"),
	// 																																																																																																																															to.Ptr("UkSouth"),
	// 																																																																																																																															to.Ptr("WestEurope"),
	// 																																																																																																																															to.Ptr("WestUs"),
	// 																																																																																																																															to.Ptr("WestUs2"),
	// 																																																																																																																															to.Ptr("USGovVirginia")},
	// 																																																																																																																														},
	// 																																																																																																																														{
	// 																																																																																																																															Category: []*string{
	// 																																																																																																																																to.Ptr("StorageOptimized"),
	// 																																																																																																																																to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																																FamilyName: to.Ptr("Lsv2_series"),
	// 																																																																																																																																TargetLocations: []*string{
	// 																																																																																																																																	to.Ptr("AustraliaEast"),
	// 																																																																																																																																	to.Ptr("CentralIndia"),
	// 																																																																																																																																	to.Ptr("CentralUs"),
	// 																																																																																																																																	to.Ptr("EastUs"),
	// 																																																																																																																																	to.Ptr("EastUs2"),
	// 																																																																																																																																	to.Ptr("FranceCentral"),
	// 																																																																																																																																	to.Ptr("GermanyWestCentral"),
	// 																																																																																																																																	to.Ptr("JapanEast"),
	// 																																																																																																																																	to.Ptr("NorthEurope"),
	// 																																																																																																																																	to.Ptr("SouthCentralUs"),
	// 																																																																																																																																	to.Ptr("SoutheastAsia"),
	// 																																																																																																																																	to.Ptr("UkSouth"),
	// 																																																																																																																																	to.Ptr("WestEurope"),
	// 																																																																																																																																	to.Ptr("WestUs"),
	// 																																																																																																																																	to.Ptr("WestUs2"),
	// 																																																																																																																																	to.Ptr("USGovArizona"),
	// 																																																																																																																																	to.Ptr("USGovVirginia")},
	// 																																																																																																																																},
	// 																																																																																																																																{
	// 																																																																																																																																	Category: []*string{
	// 																																																																																																																																		to.Ptr("MemoryOptimized"),
	// 																																																																																																																																		to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																																		FamilyName: to.Ptr("M_series"),
	// 																																																																																																																																		TargetLocations: []*string{
	// 																																																																																																																																			to.Ptr("AustraliaCentral"),
	// 																																																																																																																																			to.Ptr("AustraliaCentral2"),
	// 																																																																																																																																			to.Ptr("AustraliaEast"),
	// 																																																																																																																																			to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																																			to.Ptr("BrazilSouth"),
	// 																																																																																																																																			to.Ptr("CanadaCentral"),
	// 																																																																																																																																			to.Ptr("CanadaEast"),
	// 																																																																																																																																			to.Ptr("CentralIndia"),
	// 																																																																																																																																			to.Ptr("CentralUs"),
	// 																																																																																																																																			to.Ptr("EastAsia"),
	// 																																																																																																																																			to.Ptr("EastUs"),
	// 																																																																																																																																			to.Ptr("EastUs2"),
	// 																																																																																																																																			to.Ptr("FranceCentral"),
	// 																																																																																																																																			to.Ptr("GermanyNorth"),
	// 																																																																																																																																			to.Ptr("GermanyWestCentral"),
	// 																																																																																																																																			to.Ptr("JapanEast"),
	// 																																																																																																																																			to.Ptr("JapanWest"),
	// 																																																																																																																																			to.Ptr("KoreaCentral"),
	// 																																																																																																																																			to.Ptr("KoreaSouth"),
	// 																																																																																																																																			to.Ptr("NorthCentralUs"),
	// 																																																																																																																																			to.Ptr("NorthEurope"),
	// 																																																																																																																																			to.Ptr("NorwayEast"),
	// 																																																																																																																																			to.Ptr("QatarCentral"),
	// 																																																																																																																																			to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																																			to.Ptr("SouthAfricaWest"),
	// 																																																																																																																																			to.Ptr("SouthCentralUs"),
	// 																																																																																																																																			to.Ptr("SoutheastAsia"),
	// 																																																																																																																																			to.Ptr("SouthIndia"),
	// 																																																																																																																																			to.Ptr("SwedenCentral"),
	// 																																																																																																																																			to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																																			to.Ptr("SwitzerlandWest"),
	// 																																																																																																																																			to.Ptr("UAECentral"),
	// 																																																																																																																																			to.Ptr("UAENorth"),
	// 																																																																																																																																			to.Ptr("UkSouth"),
	// 																																																																																																																																			to.Ptr("UkWest"),
	// 																																																																																																																																			to.Ptr("WestEurope"),
	// 																																																																																																																																			to.Ptr("WestUs"),
	// 																																																																																																																																			to.Ptr("WestUs2"),
	// 																																																																																																																																			to.Ptr("ChinaEast2"),
	// 																																																																																																																																			to.Ptr("ChinaNorth2"),
	// 																																																																																																																																			to.Ptr("USGovArizona"),
	// 																																																																																																																																			to.Ptr("USGovVirginia")},
	// 																																																																																																																																		},
	// 																																																																																																																																		{
	// 																																																																																																																																			Category: []*string{
	// 																																																																																																																																				to.Ptr("MemoryOptimized"),
	// 																																																																																																																																				to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																																				FamilyName: to.Ptr("Mdsv2_series"),
	// 																																																																																																																																				TargetLocations: []*string{
	// 																																																																																																																																					to.Ptr("AustraliaCentral"),
	// 																																																																																																																																					to.Ptr("AustraliaEast"),
	// 																																																																																																																																					to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																																					to.Ptr("BrazilSouth"),
	// 																																																																																																																																					to.Ptr("CanadaCentral"),
	// 																																																																																																																																					to.Ptr("CanadaEast"),
	// 																																																																																																																																					to.Ptr("CentralIndia"),
	// 																																																																																																																																					to.Ptr("CentralUs"),
	// 																																																																																																																																					to.Ptr("EastAsia"),
	// 																																																																																																																																					to.Ptr("EastUs"),
	// 																																																																																																																																					to.Ptr("EastUs2"),
	// 																																																																																																																																					to.Ptr("FranceCentral"),
	// 																																																																																																																																					to.Ptr("GermanyWestCentral"),
	// 																																																																																																																																					to.Ptr("JapanEast"),
	// 																																																																																																																																					to.Ptr("JapanWest"),
	// 																																																																																																																																					to.Ptr("KoreaCentral"),
	// 																																																																																																																																					to.Ptr("NorthCentralUs"),
	// 																																																																																																																																					to.Ptr("NorthEurope"),
	// 																																																																																																																																					to.Ptr("NorwayEast"),
	// 																																																																																																																																					to.Ptr("QatarCentral"),
	// 																																																																																																																																					to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																																					to.Ptr("SouthCentralUs"),
	// 																																																																																																																																					to.Ptr("SoutheastAsia"),
	// 																																																																																																																																					to.Ptr("SouthIndia"),
	// 																																																																																																																																					to.Ptr("SwedenCentral"),
	// 																																																																																																																																					to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																																					to.Ptr("UAECentral"),
	// 																																																																																																																																					to.Ptr("UAENorth"),
	// 																																																																																																																																					to.Ptr("UkSouth"),
	// 																																																																																																																																					to.Ptr("UkWest"),
	// 																																																																																																																																					to.Ptr("WestEurope"),
	// 																																																																																																																																					to.Ptr("WestUs"),
	// 																																																																																																																																					to.Ptr("WestUs2"),
	// 																																																																																																																																					to.Ptr("ChinaNorth2"),
	// 																																																																																																																																					to.Ptr("USGovVirginia")},
	// 																																																																																																																																				},
	// 																																																																																																																																				{
	// 																																																																																																																																					Category: []*string{
	// 																																																																																																																																						to.Ptr("MemoryOptimized"),
	// 																																																																																																																																						to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																																						FamilyName: to.Ptr("Msv2_series"),
	// 																																																																																																																																						TargetLocations: []*string{
	// 																																																																																																																																							to.Ptr("AustraliaCentral"),
	// 																																																																																																																																							to.Ptr("AustraliaEast"),
	// 																																																																																																																																							to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																																							to.Ptr("BrazilSouth"),
	// 																																																																																																																																							to.Ptr("CanadaCentral"),
	// 																																																																																																																																							to.Ptr("CanadaEast"),
	// 																																																																																																																																							to.Ptr("CentralIndia"),
	// 																																																																																																																																							to.Ptr("CentralUs"),
	// 																																																																																																																																							to.Ptr("EastAsia"),
	// 																																																																																																																																							to.Ptr("EastUs"),
	// 																																																																																																																																							to.Ptr("EastUs2"),
	// 																																																																																																																																							to.Ptr("FranceCentral"),
	// 																																																																																																																																							to.Ptr("GermanyWestCentral"),
	// 																																																																																																																																							to.Ptr("JapanEast"),
	// 																																																																																																																																							to.Ptr("JapanWest"),
	// 																																																																																																																																							to.Ptr("KoreaCentral"),
	// 																																																																																																																																							to.Ptr("NorthCentralUs"),
	// 																																																																																																																																							to.Ptr("NorthEurope"),
	// 																																																																																																																																							to.Ptr("NorwayEast"),
	// 																																																																																																																																							to.Ptr("QatarCentral"),
	// 																																																																																																																																							to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																																							to.Ptr("SouthCentralUs"),
	// 																																																																																																																																							to.Ptr("SoutheastAsia"),
	// 																																																																																																																																							to.Ptr("SouthIndia"),
	// 																																																																																																																																							to.Ptr("SwedenCentral"),
	// 																																																																																																																																							to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																																							to.Ptr("UAECentral"),
	// 																																																																																																																																							to.Ptr("UAENorth"),
	// 																																																																																																																																							to.Ptr("UkSouth"),
	// 																																																																																																																																							to.Ptr("UkWest"),
	// 																																																																																																																																							to.Ptr("WestEurope"),
	// 																																																																																																																																							to.Ptr("WestUs"),
	// 																																																																																																																																							to.Ptr("WestUs2"),
	// 																																																																																																																																							to.Ptr("ChinaNorth2"),
	// 																																																																																																																																							to.Ptr("USGovVirginia")},
	// 																																																																																																																																						},
	// 																																																																																																																																						{
	// 																																																																																																																																							Category: []*string{
	// 																																																																																																																																								to.Ptr("MemoryOptimized"),
	// 																																																																																																																																								to.Ptr("SupportsPremiumStorage")},
	// 																																																																																																																																								FamilyName: to.Ptr("Mv2_series"),
	// 																																																																																																																																								TargetLocations: []*string{
	// 																																																																																																																																									to.Ptr("AustraliaCentral"),
	// 																																																																																																																																									to.Ptr("AustraliaCentral2"),
	// 																																																																																																																																									to.Ptr("AustraliaEast"),
	// 																																																																																																																																									to.Ptr("AustraliaSoutheast"),
	// 																																																																																																																																									to.Ptr("BrazilSouth"),
	// 																																																																																																																																									to.Ptr("CanadaCentral"),
	// 																																																																																																																																									to.Ptr("CanadaEast"),
	// 																																																																																																																																									to.Ptr("CentralIndia"),
	// 																																																																																																																																									to.Ptr("CentralUs"),
	// 																																																																																																																																									to.Ptr("EastAsia"),
	// 																																																																																																																																									to.Ptr("EastUs"),
	// 																																																																																																																																									to.Ptr("EastUs2"),
	// 																																																																																																																																									to.Ptr("GermanyWestCentral"),
	// 																																																																																																																																									to.Ptr("JapanEast"),
	// 																																																																																																																																									to.Ptr("JapanWest"),
	// 																																																																																																																																									to.Ptr("KoreaCentral"),
	// 																																																																																																																																									to.Ptr("KoreaSouth"),
	// 																																																																																																																																									to.Ptr("NorthCentralUs"),
	// 																																																																																																																																									to.Ptr("NorthEurope"),
	// 																																																																																																																																									to.Ptr("SouthAfricaNorth"),
	// 																																																																																																																																									to.Ptr("SouthCentralUs"),
	// 																																																																																																																																									to.Ptr("SoutheastAsia"),
	// 																																																																																																																																									to.Ptr("SouthIndia"),
	// 																																																																																																																																									to.Ptr("SwedenCentral"),
	// 																																																																																																																																									to.Ptr("SwitzerlandNorth"),
	// 																																																																																																																																									to.Ptr("SwitzerlandWest"),
	// 																																																																																																																																									to.Ptr("UAECentral"),
	// 																																																																																																																																									to.Ptr("UAENorth"),
	// 																																																																																																																																									to.Ptr("UkSouth"),
	// 																																																																																																																																									to.Ptr("UkWest"),
	// 																																																																																																																																									to.Ptr("WestEurope"),
	// 																																																																																																																																									to.Ptr("WestUs"),
	// 																																																																																																																																									to.Ptr("WestUs2"),
	// 																																																																																																																																									to.Ptr("USGovArizona"),
	// 																																																																																																																																									to.Ptr("USGovVirginia")},
	// 																																																																																																																																							}},
	// 																																																																																																																																						},
	// 																																																																																																																																					}
}
Output:

func (*AssessmentOptionsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List AssessmentOptions resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessmentOptionsOperationsClient().NewListByAssessmentProjectPager("rgmigrate", "fhodvffhuoqwbysrrqbizete", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessmentOptionsListResult = armmigrationassessment.AssessmentOptionsListResult{
		// 	Value: []*armmigrationassessment.AssessmentOptions{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/{assessmentOptionsName}"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/assessmentOptions/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("asd"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("tnmop"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AssessmentOptionsProperties{
		// 				PremiumDiskVMFamilies: []*string{
		// 					to.Ptr("Dadsv5_series"),
		// 					to.Ptr("Dasv4_series"),
		// 					to.Ptr("Dasv5_series"),
		// 					to.Ptr("Ddsv4_series"),
		// 					to.Ptr("Ddsv5_series"),
		// 					to.Ptr("Dsv3_series"),
		// 					to.Ptr("Dsv4_series"),
		// 					to.Ptr("Dsv5_series"),
		// 					to.Ptr("DC_Series"),
		// 					to.Ptr("DS_series"),
		// 					to.Ptr("DSv2_series"),
		// 					to.Ptr("Edsv5_series"),
		// 					to.Ptr("Esv5_series"),
		// 					to.Ptr("Eadsv5_series"),
		// 					to.Ptr("Easv4_series"),
		// 					to.Ptr("Easv5_series"),
		// 					to.Ptr("Ebdsv5_series"),
		// 					to.Ptr("Ebsv5_series"),
		// 					to.Ptr("Edsv4_series"),
		// 					to.Ptr("Esv3_series"),
		// 					to.Ptr("Esv4_series"),
		// 					to.Ptr("Fs_series"),
		// 					to.Ptr("Fsv2_series"),
		// 					to.Ptr("GS_series"),
		// 					to.Ptr("Lsv2_series"),
		// 					to.Ptr("M_series"),
		// 					to.Ptr("Mdsv2_series"),
		// 					to.Ptr("Msv2_series"),
		// 					to.Ptr("Mv2_series")},
		// 					PremiumV2DiskSupportedLocations: []*armmigrationassessment.AzureLocation{
		// 						to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 						to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 						to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 						to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 						to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 						to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 						to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 						to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 						to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 						to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 						to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 						to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 						to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 						to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 						to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 						to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 						to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 						to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 						to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 						to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 						to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 						to.Ptr(armmigrationassessment.AzureLocationUkSouth)},
		// 						ReservedInstanceSupportedCurrencies: []*string{
		// 							to.Ptr("USD"),
		// 							to.Ptr("DKK"),
		// 							to.Ptr("CAD"),
		// 							to.Ptr("JPY"),
		// 							to.Ptr("KRW"),
		// 							to.Ptr("NZD"),
		// 							to.Ptr("NOK"),
		// 							to.Ptr("RUB"),
		// 							to.Ptr("SEK"),
		// 							to.Ptr("GBP"),
		// 							to.Ptr("INR"),
		// 							to.Ptr("BRL"),
		// 							to.Ptr("TWD"),
		// 							to.Ptr("EUR"),
		// 							to.Ptr("CHF"),
		// 							to.Ptr("AUD")},
		// 							ReservedInstanceSupportedLocations: []*string{
		// 								to.Ptr("AustraliaEast"),
		// 								to.Ptr("AustraliaSoutheast"),
		// 								to.Ptr("BrazilSouth"),
		// 								to.Ptr("CanadaCentral"),
		// 								to.Ptr("CentralIndia"),
		// 								to.Ptr("CentralUs"),
		// 								to.Ptr("EastAsia"),
		// 								to.Ptr("EastUs"),
		// 								to.Ptr("EastUs2"),
		// 								to.Ptr("JapanEast"),
		// 								to.Ptr("JapanWest"),
		// 								to.Ptr("NorthCentralUs"),
		// 								to.Ptr("NorthEurope"),
		// 								to.Ptr("SouthCentralUs"),
		// 								to.Ptr("SoutheastAsia"),
		// 								to.Ptr("SouthIndia"),
		// 								to.Ptr("WestEurope"),
		// 								to.Ptr("WestIndia"),
		// 								to.Ptr("WestUs"),
		// 								to.Ptr("AustraliaCentral"),
		// 								to.Ptr("AustraliaCentral2"),
		// 								to.Ptr("CanadaEast"),
		// 								to.Ptr("FranceCentral"),
		// 								to.Ptr("FranceSouth"),
		// 								to.Ptr("GermanyNorth"),
		// 								to.Ptr("GermanyWestCentral"),
		// 								to.Ptr("ItalyNorth"),
		// 								to.Ptr("KoreaCentral"),
		// 								to.Ptr("KoreaSouth"),
		// 								to.Ptr("NorwayEast"),
		// 								to.Ptr("NorwayWest"),
		// 								to.Ptr("PolandCentral"),
		// 								to.Ptr("QatarCentral"),
		// 								to.Ptr("SouthAfricaNorth"),
		// 								to.Ptr("SouthAfricaWest"),
		// 								to.Ptr("SwedenCentral"),
		// 								to.Ptr("SwitzerlandNorth"),
		// 								to.Ptr("SwitzerlandWest"),
		// 								to.Ptr("UAECentral"),
		// 								to.Ptr("UAENorth"),
		// 								to.Ptr("UkSouth"),
		// 								to.Ptr("UkWest"),
		// 								to.Ptr("WestCentralUs"),
		// 								to.Ptr("WestUs2"),
		// 								to.Ptr("USGovArizona"),
		// 								to.Ptr("USGovTexas"),
		// 								to.Ptr("USGovVirginia"),
		// 								to.Ptr("USGovIowa")},
		// 								ReservedInstanceSupportedOffers: []*string{
		// 									to.Ptr("MSAZR0003P"),
		// 									to.Ptr("MSAZRUSGOV0003P")},
		// 									ReservedInstanceVMFamilies: []*string{
		// 										to.Ptr("D_series"),
		// 										to.Ptr("Dv2_series"),
		// 										to.Ptr("Dadsv5_series"),
		// 										to.Ptr("Dasv4_series"),
		// 										to.Ptr("Dasv5_series"),
		// 										to.Ptr("Dav4_series"),
		// 										to.Ptr("Ddsv4_series"),
		// 										to.Ptr("Ddsv5_series"),
		// 										to.Ptr("Ddv4_series"),
		// 										to.Ptr("Ddv5_series"),
		// 										to.Ptr("Dsv3_series"),
		// 										to.Ptr("Dsv4_series"),
		// 										to.Ptr("Dsv5_series"),
		// 										to.Ptr("Dv3_series"),
		// 										to.Ptr("Dv4_series"),
		// 										to.Ptr("Dv5_series"),
		// 										to.Ptr("DS_series"),
		// 										to.Ptr("DSv2_series"),
		// 										to.Ptr("Edsv5_series"),
		// 										to.Ptr("Edv5_series"),
		// 										to.Ptr("Esv5_series"),
		// 										to.Ptr("Ev5_series"),
		// 										to.Ptr("Eadsv5_series"),
		// 										to.Ptr("Easv4_series"),
		// 										to.Ptr("Easv5_series"),
		// 										to.Ptr("Eav4_series"),
		// 										to.Ptr("Ebdsv5_series"),
		// 										to.Ptr("Ebsv5_series"),
		// 										to.Ptr("Edsv4_series"),
		// 										to.Ptr("Edv4_series"),
		// 										to.Ptr("Esv3_series"),
		// 										to.Ptr("Esv4_series"),
		// 										to.Ptr("Ev3_series"),
		// 										to.Ptr("Ev4_series"),
		// 										to.Ptr("F_series"),
		// 										to.Ptr("Fs_series"),
		// 										to.Ptr("Fsv2_series"),
		// 										to.Ptr("Lsv2_series"),
		// 										to.Ptr("M_series"),
		// 										to.Ptr("Mdsv2_series"),
		// 										to.Ptr("Msv2_series"),
		// 										to.Ptr("Mv2_series")},
		// 										SavingsPlanSupportedLocations: []*string{
		// 											to.Ptr("AustraliaEast"),
		// 											to.Ptr("AustraliaSoutheast"),
		// 											to.Ptr("BrazilSouth"),
		// 											to.Ptr("CanadaCentral"),
		// 											to.Ptr("CentralIndia"),
		// 											to.Ptr("CentralUs"),
		// 											to.Ptr("EastAsia"),
		// 											to.Ptr("EastUs"),
		// 											to.Ptr("EastUs2"),
		// 											to.Ptr("JapanEast"),
		// 											to.Ptr("JapanWest"),
		// 											to.Ptr("NorthCentralUs"),
		// 											to.Ptr("NorthEurope"),
		// 											to.Ptr("SouthCentralUs"),
		// 											to.Ptr("SoutheastAsia"),
		// 											to.Ptr("SouthIndia"),
		// 											to.Ptr("WestEurope"),
		// 											to.Ptr("WestIndia"),
		// 											to.Ptr("WestUs"),
		// 											to.Ptr("AustraliaCentral"),
		// 											to.Ptr("AustraliaCentral2"),
		// 											to.Ptr("CanadaEast"),
		// 											to.Ptr("FranceCentral"),
		// 											to.Ptr("FranceSouth"),
		// 											to.Ptr("GermanyNorth"),
		// 											to.Ptr("GermanyWestCentral"),
		// 											to.Ptr("KoreaCentral"),
		// 											to.Ptr("KoreaSouth"),
		// 											to.Ptr("NorwayEast"),
		// 											to.Ptr("NorwayWest"),
		// 											to.Ptr("QatarCentral"),
		// 											to.Ptr("SouthAfricaNorth"),
		// 											to.Ptr("SouthAfricaWest"),
		// 											to.Ptr("SwedenCentral"),
		// 											to.Ptr("SwitzerlandNorth"),
		// 											to.Ptr("SwitzerlandWest"),
		// 											to.Ptr("UAECentral"),
		// 											to.Ptr("UAENorth"),
		// 											to.Ptr("UkSouth"),
		// 											to.Ptr("UkWest"),
		// 											to.Ptr("WestCentralUs"),
		// 											to.Ptr("WestUs2"),
		// 											to.Ptr("PolandCentral")},
		// 											SavingsPlanVMFamilies: []*string{
		// 												to.Ptr("D_series"),
		// 												to.Ptr("Dv2_series"),
		// 												to.Ptr("Dadsv5_series"),
		// 												to.Ptr("Dasv4_series"),
		// 												to.Ptr("Dasv5_series"),
		// 												to.Ptr("Dav4_series"),
		// 												to.Ptr("Ddsv4_series"),
		// 												to.Ptr("Ddsv5_series"),
		// 												to.Ptr("Ddv4_series"),
		// 												to.Ptr("Ddv5_series"),
		// 												to.Ptr("Dsv3_series"),
		// 												to.Ptr("Dsv4_series"),
		// 												to.Ptr("Dsv5_series"),
		// 												to.Ptr("Dv3_series"),
		// 												to.Ptr("Dv4_series"),
		// 												to.Ptr("Dv5_series"),
		// 												to.Ptr("DS_series"),
		// 												to.Ptr("DSv2_series"),
		// 												to.Ptr("Edsv5_series"),
		// 												to.Ptr("Edv5_series"),
		// 												to.Ptr("Esv5_series"),
		// 												to.Ptr("Ev5_series"),
		// 												to.Ptr("Eadsv5_series"),
		// 												to.Ptr("Easv4_series"),
		// 												to.Ptr("Easv5_series"),
		// 												to.Ptr("Eav4_series"),
		// 												to.Ptr("Ebdsv5_series"),
		// 												to.Ptr("Ebsv5_series"),
		// 												to.Ptr("Edsv4_series"),
		// 												to.Ptr("Edv4_series"),
		// 												to.Ptr("Esv3_series"),
		// 												to.Ptr("Esv4_series"),
		// 												to.Ptr("Ev3_series"),
		// 												to.Ptr("Ev4_series"),
		// 												to.Ptr("F_series"),
		// 												to.Ptr("Fs_series"),
		// 												to.Ptr("Fsv2_series"),
		// 												to.Ptr("Lsv2_series"),
		// 												to.Ptr("M_series"),
		// 												to.Ptr("Mdsv2_series"),
		// 												to.Ptr("Msv2_series"),
		// 												to.Ptr("Mv2_series")},
		// 												UltraDiskVMFamilies: []*armmigrationassessment.UltraDiskAssessmentOptions{
		// 													{
		// 														FamilyName: to.Ptr("Dadsv5_series"),
		// 														TargetLocations: []*string{
		// 															to.Ptr("AustraliaCentral"),
		// 															to.Ptr("BrazilSouth"),
		// 															to.Ptr("CentralIndia"),
		// 															to.Ptr("EastAsia"),
		// 															to.Ptr("NorthCentralUs"),
		// 															to.Ptr("SouthCentralUs"),
		// 															to.Ptr("WestUs"),
		// 															to.Ptr("USGovVirginia")},
		// 														},
		// 														{
		// 															FamilyName: to.Ptr("Dasv4_series"),
		// 															TargetLocations: []*string{
		// 																to.Ptr("AustraliaCentral"),
		// 																to.Ptr("BrazilSouth"),
		// 																to.Ptr("CentralIndia"),
		// 																to.Ptr("EastAsia"),
		// 																to.Ptr("KoreaCentral"),
		// 																to.Ptr("KoreaSouth"),
		// 																to.Ptr("NorthCentralUs"),
		// 																to.Ptr("SouthCentralUs"),
		// 																to.Ptr("WestUs"),
		// 																to.Ptr("USGovVirginia")},
		// 															},
		// 															{
		// 																FamilyName: to.Ptr("Dasv5_series"),
		// 																TargetLocations: []*string{
		// 																	to.Ptr("AustraliaCentral"),
		// 																	to.Ptr("BrazilSouth"),
		// 																	to.Ptr("CentralIndia"),
		// 																	to.Ptr("EastAsia"),
		// 																	to.Ptr("NorthCentralUs"),
		// 																	to.Ptr("SouthCentralUs"),
		// 																	to.Ptr("WestUs"),
		// 																	to.Ptr("USGovVirginia")},
		// 																},
		// 																{
		// 																	FamilyName: to.Ptr("Ddsv4_series"),
		// 																	TargetLocations: []*string{
		// 																		to.Ptr("AustraliaCentral"),
		// 																		to.Ptr("BrazilSouth"),
		// 																		to.Ptr("CentralIndia"),
		// 																		to.Ptr("EastAsia"),
		// 																		to.Ptr("GermanyWestCentral"),
		// 																		to.Ptr("KoreaCentral"),
		// 																		to.Ptr("KoreaSouth"),
		// 																		to.Ptr("NorthCentralUs"),
		// 																		to.Ptr("SouthCentralUs"),
		// 																		to.Ptr("WestUs"),
		// 																		to.Ptr("USGovArizona"),
		// 																		to.Ptr("USGovTexas"),
		// 																		to.Ptr("USGovVirginia")},
		// 																	},
		// 																	{
		// 																		FamilyName: to.Ptr("Ddsv5_series"),
		// 																		TargetLocations: []*string{
		// 																			to.Ptr("AustraliaCentral"),
		// 																			to.Ptr("BrazilSouth"),
		// 																			to.Ptr("CentralIndia"),
		// 																			to.Ptr("EastAsia"),
		// 																			to.Ptr("GermanyWestCentral"),
		// 																			to.Ptr("KoreaCentral"),
		// 																			to.Ptr("NorthCentralUs"),
		// 																			to.Ptr("SouthCentralUs"),
		// 																			to.Ptr("WestUs"),
		// 																			to.Ptr("USGovArizona"),
		// 																			to.Ptr("USGovVirginia")},
		// 																		},
		// 																		{
		// 																			FamilyName: to.Ptr("Ddv5_series"),
		// 																			TargetLocations: []*string{
		// 																				to.Ptr("AustraliaCentral"),
		// 																				to.Ptr("BrazilSouth"),
		// 																				to.Ptr("CentralIndia"),
		// 																				to.Ptr("EastAsia"),
		// 																				to.Ptr("GermanyWestCentral"),
		// 																				to.Ptr("KoreaCentral"),
		// 																				to.Ptr("NorthCentralUs"),
		// 																				to.Ptr("SouthCentralUs"),
		// 																				to.Ptr("WestUs")},
		// 																			},
		// 																			{
		// 																				FamilyName: to.Ptr("Dsv3_series"),
		// 																				TargetLocations: []*string{
		// 																					to.Ptr("AustraliaCentral"),
		// 																					to.Ptr("BrazilSouth"),
		// 																					to.Ptr("CentralIndia"),
		// 																					to.Ptr("EastAsia"),
		// 																					to.Ptr("GermanyWestCentral"),
		// 																					to.Ptr("KoreaCentral"),
		// 																					to.Ptr("KoreaSouth"),
		// 																					to.Ptr("NorthCentralUs"),
		// 																					to.Ptr("SouthCentralUs"),
		// 																					to.Ptr("WestUs"),
		// 																					to.Ptr("USGovArizona"),
		// 																					to.Ptr("USGovTexas"),
		// 																					to.Ptr("USGovVirginia")},
		// 																				},
		// 																				{
		// 																					FamilyName: to.Ptr("Dsv4_series"),
		// 																					TargetLocations: []*string{
		// 																						to.Ptr("AustraliaCentral"),
		// 																						to.Ptr("BrazilSouth"),
		// 																						to.Ptr("CentralIndia"),
		// 																						to.Ptr("EastAsia"),
		// 																						to.Ptr("GermanyWestCentral"),
		// 																						to.Ptr("KoreaCentral"),
		// 																						to.Ptr("KoreaSouth"),
		// 																						to.Ptr("NorthCentralUs"),
		// 																						to.Ptr("SouthCentralUs"),
		// 																						to.Ptr("WestUs"),
		// 																						to.Ptr("USGovArizona"),
		// 																						to.Ptr("USGovTexas"),
		// 																						to.Ptr("USGovVirginia")},
		// 																					},
		// 																					{
		// 																						FamilyName: to.Ptr("Dsv5_series"),
		// 																						TargetLocations: []*string{
		// 																							to.Ptr("AustraliaCentral"),
		// 																							to.Ptr("BrazilSouth"),
		// 																							to.Ptr("CentralIndia"),
		// 																							to.Ptr("EastAsia"),
		// 																							to.Ptr("GermanyWestCentral"),
		// 																							to.Ptr("KoreaCentral"),
		// 																							to.Ptr("NorthCentralUs"),
		// 																							to.Ptr("SouthCentralUs"),
		// 																							to.Ptr("WestUs")},
		// 																						},
		// 																						{
		// 																							FamilyName: to.Ptr("Dv5_series"),
		// 																							TargetLocations: []*string{
		// 																								to.Ptr("AustraliaCentral"),
		// 																								to.Ptr("BrazilSouth"),
		// 																								to.Ptr("CentralIndia"),
		// 																								to.Ptr("EastAsia"),
		// 																								to.Ptr("GermanyWestCentral"),
		// 																								to.Ptr("KoreaCentral"),
		// 																								to.Ptr("NorthCentralUs"),
		// 																								to.Ptr("SouthCentralUs"),
		// 																								to.Ptr("WestUs")},
		// 																							},
		// 																							{
		// 																								FamilyName: to.Ptr("Edsv5_series"),
		// 																								TargetLocations: []*string{
		// 																									to.Ptr("AustraliaCentral"),
		// 																									to.Ptr("BrazilSouth"),
		// 																									to.Ptr("CentralIndia"),
		// 																									to.Ptr("EastAsia"),
		// 																									to.Ptr("GermanyWestCentral"),
		// 																									to.Ptr("KoreaCentral"),
		// 																									to.Ptr("NorthCentralUs"),
		// 																									to.Ptr("SouthCentralUs"),
		// 																									to.Ptr("WestUs")},
		// 																								},
		// 																								{
		// 																									FamilyName: to.Ptr("Edv5_series"),
		// 																									TargetLocations: []*string{
		// 																										to.Ptr("AustraliaCentral"),
		// 																										to.Ptr("BrazilSouth"),
		// 																										to.Ptr("CentralIndia"),
		// 																										to.Ptr("EastAsia"),
		// 																										to.Ptr("GermanyWestCentral"),
		// 																										to.Ptr("KoreaCentral"),
		// 																										to.Ptr("NorthCentralUs"),
		// 																										to.Ptr("SouthCentralUs"),
		// 																										to.Ptr("WestUs")},
		// 																									},
		// 																									{
		// 																										FamilyName: to.Ptr("Esv5_series"),
		// 																										TargetLocations: []*string{
		// 																											to.Ptr("AustraliaCentral"),
		// 																											to.Ptr("BrazilSouth"),
		// 																											to.Ptr("CentralIndia"),
		// 																											to.Ptr("EastAsia"),
		// 																											to.Ptr("GermanyWestCentral"),
		// 																											to.Ptr("KoreaCentral"),
		// 																											to.Ptr("NorthCentralUs"),
		// 																											to.Ptr("SouthCentralUs"),
		// 																											to.Ptr("WestUs")},
		// 																										},
		// 																										{
		// 																											FamilyName: to.Ptr("Ev5_series"),
		// 																											TargetLocations: []*string{
		// 																												to.Ptr("AustraliaCentral"),
		// 																												to.Ptr("BrazilSouth"),
		// 																												to.Ptr("CentralIndia"),
		// 																												to.Ptr("EastAsia"),
		// 																												to.Ptr("GermanyWestCentral"),
		// 																												to.Ptr("KoreaCentral"),
		// 																												to.Ptr("NorthCentralUs"),
		// 																												to.Ptr("SouthCentralUs"),
		// 																												to.Ptr("WestUs")},
		// 																											},
		// 																											{
		// 																												FamilyName: to.Ptr("Eadsv5_series"),
		// 																												TargetLocations: []*string{
		// 																													to.Ptr("AustraliaCentral"),
		// 																													to.Ptr("BrazilSouth"),
		// 																													to.Ptr("CentralIndia"),
		// 																													to.Ptr("EastAsia"),
		// 																													to.Ptr("NorthCentralUs"),
		// 																													to.Ptr("SouthCentralUs"),
		// 																													to.Ptr("WestUs"),
		// 																													to.Ptr("USGovVirginia")},
		// 																												},
		// 																												{
		// 																													FamilyName: to.Ptr("Easv4_series"),
		// 																													TargetLocations: []*string{
		// 																														to.Ptr("AustraliaCentral"),
		// 																														to.Ptr("BrazilSouth"),
		// 																														to.Ptr("CentralIndia"),
		// 																														to.Ptr("EastAsia"),
		// 																														to.Ptr("KoreaCentral"),
		// 																														to.Ptr("KoreaSouth"),
		// 																														to.Ptr("NorthCentralUs"),
		// 																														to.Ptr("SouthCentralUs"),
		// 																														to.Ptr("WestUs"),
		// 																														to.Ptr("USGovVirginia")},
		// 																													},
		// 																													{
		// 																														FamilyName: to.Ptr("Easv5_series"),
		// 																														TargetLocations: []*string{
		// 																															to.Ptr("AustraliaCentral"),
		// 																															to.Ptr("BrazilSouth"),
		// 																															to.Ptr("CentralIndia"),
		// 																															to.Ptr("EastAsia"),
		// 																															to.Ptr("NorthCentralUs"),
		// 																															to.Ptr("SouthCentralUs"),
		// 																															to.Ptr("WestUs"),
		// 																															to.Ptr("USGovVirginia")},
		// 																														},
		// 																														{
		// 																															FamilyName: to.Ptr("Ebdsv5_series"),
		// 																															TargetLocations: []*string{
		// 																																to.Ptr("AustraliaCentral"),
		// 																																to.Ptr("BrazilSouth"),
		// 																																to.Ptr("CentralIndia"),
		// 																																to.Ptr("EastAsia"),
		// 																																to.Ptr("GermanyWestCentral"),
		// 																																to.Ptr("KoreaCentral"),
		// 																																to.Ptr("NorthCentralUs"),
		// 																																to.Ptr("SouthCentralUs"),
		// 																																to.Ptr("WestUs"),
		// 																																to.Ptr("USGovArizona"),
		// 																																to.Ptr("USGovVirginia")},
		// 																															},
		// 																															{
		// 																																FamilyName: to.Ptr("Ebsv5_series"),
		// 																																TargetLocations: []*string{
		// 																																	to.Ptr("AustraliaCentral"),
		// 																																	to.Ptr("BrazilSouth"),
		// 																																	to.Ptr("CentralIndia"),
		// 																																	to.Ptr("EastAsia"),
		// 																																	to.Ptr("GermanyWestCentral"),
		// 																																	to.Ptr("KoreaCentral"),
		// 																																	to.Ptr("NorthCentralUs"),
		// 																																	to.Ptr("SouthCentralUs"),
		// 																																	to.Ptr("WestUs"),
		// 																																	to.Ptr("USGovArizona"),
		// 																																	to.Ptr("USGovVirginia")},
		// 																																},
		// 																																{
		// 																																	FamilyName: to.Ptr("Edsv4_series"),
		// 																																	TargetLocations: []*string{
		// 																																		to.Ptr("AustraliaCentral"),
		// 																																		to.Ptr("BrazilSouth"),
		// 																																		to.Ptr("CentralIndia"),
		// 																																		to.Ptr("EastAsia"),
		// 																																		to.Ptr("GermanyWestCentral"),
		// 																																		to.Ptr("KoreaCentral"),
		// 																																		to.Ptr("KoreaSouth"),
		// 																																		to.Ptr("NorthCentralUs"),
		// 																																		to.Ptr("SouthCentralUs"),
		// 																																		to.Ptr("WestUs"),
		// 																																		to.Ptr("USGovArizona"),
		// 																																		to.Ptr("USGovTexas"),
		// 																																		to.Ptr("USGovVirginia")},
		// 																																	},
		// 																																	{
		// 																																		FamilyName: to.Ptr("Esv3_series"),
		// 																																		TargetLocations: []*string{
		// 																																			to.Ptr("AustraliaCentral"),
		// 																																			to.Ptr("BrazilSouth"),
		// 																																			to.Ptr("CentralIndia"),
		// 																																			to.Ptr("EastAsia"),
		// 																																			to.Ptr("GermanyWestCentral"),
		// 																																			to.Ptr("KoreaCentral"),
		// 																																			to.Ptr("KoreaSouth"),
		// 																																			to.Ptr("NorthCentralUs"),
		// 																																			to.Ptr("SouthCentralUs"),
		// 																																			to.Ptr("WestUs"),
		// 																																			to.Ptr("USGovArizona"),
		// 																																			to.Ptr("USGovTexas"),
		// 																																			to.Ptr("USGovVirginia")},
		// 																																		},
		// 																																		{
		// 																																			FamilyName: to.Ptr("Esv4_series"),
		// 																																			TargetLocations: []*string{
		// 																																				to.Ptr("AustraliaCentral"),
		// 																																				to.Ptr("BrazilSouth"),
		// 																																				to.Ptr("CentralIndia"),
		// 																																				to.Ptr("EastAsia"),
		// 																																				to.Ptr("GermanyWestCentral"),
		// 																																				to.Ptr("KoreaCentral"),
		// 																																				to.Ptr("KoreaSouth"),
		// 																																				to.Ptr("NorthCentralUs"),
		// 																																				to.Ptr("SouthCentralUs"),
		// 																																				to.Ptr("WestUs"),
		// 																																				to.Ptr("USGovArizona"),
		// 																																				to.Ptr("USGovTexas"),
		// 																																				to.Ptr("USGovVirginia")},
		// 																																			},
		// 																																			{
		// 																																				FamilyName: to.Ptr("Fs_series"),
		// 																																				TargetLocations: []*string{
		// 																																					to.Ptr("AustraliaCentral"),
		// 																																					to.Ptr("BrazilSouth"),
		// 																																					to.Ptr("CentralIndia"),
		// 																																					to.Ptr("EastAsia"),
		// 																																					to.Ptr("GermanyWestCentral"),
		// 																																					to.Ptr("KoreaCentral"),
		// 																																					to.Ptr("KoreaSouth"),
		// 																																					to.Ptr("NorthCentralUs"),
		// 																																					to.Ptr("SouthCentralUs"),
		// 																																					to.Ptr("WestUs"),
		// 																																					to.Ptr("USGovArizona"),
		// 																																					to.Ptr("USGovTexas"),
		// 																																					to.Ptr("USGovVirginia")},
		// 																																				},
		// 																																				{
		// 																																					FamilyName: to.Ptr("Fsv2_series"),
		// 																																					TargetLocations: []*string{
		// 																																						to.Ptr("AustraliaCentral"),
		// 																																						to.Ptr("BrazilSouth"),
		// 																																						to.Ptr("CentralIndia"),
		// 																																						to.Ptr("EastAsia"),
		// 																																						to.Ptr("GermanyWestCentral"),
		// 																																						to.Ptr("KoreaCentral"),
		// 																																						to.Ptr("KoreaSouth"),
		// 																																						to.Ptr("NorthCentralUs"),
		// 																																						to.Ptr("SouthCentralUs"),
		// 																																						to.Ptr("WestUs"),
		// 																																						to.Ptr("USGovArizona"),
		// 																																						to.Ptr("USGovTexas"),
		// 																																						to.Ptr("USGovVirginia")},
		// 																																					},
		// 																																					{
		// 																																						FamilyName: to.Ptr("Lsv2_series"),
		// 																																						TargetLocations: []*string{
		// 																																							to.Ptr("CentralIndia"),
		// 																																							to.Ptr("GermanyWestCentral"),
		// 																																							to.Ptr("SouthCentralUs"),
		// 																																							to.Ptr("WestUs"),
		// 																																							to.Ptr("USGovArizona"),
		// 																																							to.Ptr("USGovVirginia")},
		// 																																						},
		// 																																						{
		// 																																							FamilyName: to.Ptr("M_series"),
		// 																																							TargetLocations: []*string{
		// 																																								to.Ptr("AustraliaCentral"),
		// 																																								to.Ptr("BrazilSouth"),
		// 																																								to.Ptr("CentralIndia"),
		// 																																								to.Ptr("EastAsia"),
		// 																																								to.Ptr("GermanyWestCentral"),
		// 																																								to.Ptr("KoreaCentral"),
		// 																																								to.Ptr("KoreaSouth"),
		// 																																								to.Ptr("NorthCentralUs"),
		// 																																								to.Ptr("SouthCentralUs"),
		// 																																								to.Ptr("WestUs"),
		// 																																								to.Ptr("USGovVirginia")},
		// 																																							},
		// 																																							{
		// 																																								FamilyName: to.Ptr("Mdsv2_series"),
		// 																																								TargetLocations: []*string{
		// 																																									to.Ptr("AustraliaCentral"),
		// 																																									to.Ptr("BrazilSouth"),
		// 																																									to.Ptr("CentralIndia"),
		// 																																									to.Ptr("EastAsia"),
		// 																																									to.Ptr("GermanyWestCentral"),
		// 																																									to.Ptr("KoreaCentral"),
		// 																																									to.Ptr("NorthCentralUs"),
		// 																																									to.Ptr("SouthCentralUs"),
		// 																																									to.Ptr("WestUs"),
		// 																																									to.Ptr("USGovVirginia")},
		// 																																								},
		// 																																								{
		// 																																									FamilyName: to.Ptr("Msv2_series"),
		// 																																									TargetLocations: []*string{
		// 																																										to.Ptr("AustraliaCentral"),
		// 																																										to.Ptr("BrazilSouth"),
		// 																																										to.Ptr("CentralIndia"),
		// 																																										to.Ptr("EastAsia"),
		// 																																										to.Ptr("GermanyWestCentral"),
		// 																																										to.Ptr("KoreaCentral"),
		// 																																										to.Ptr("NorthCentralUs"),
		// 																																										to.Ptr("SouthCentralUs"),
		// 																																										to.Ptr("WestUs"),
		// 																																										to.Ptr("USGovVirginia")},
		// 																																									},
		// 																																									{
		// 																																										FamilyName: to.Ptr("Mv2_series"),
		// 																																										TargetLocations: []*string{
		// 																																											to.Ptr("AustraliaCentral"),
		// 																																											to.Ptr("BrazilSouth"),
		// 																																											to.Ptr("CentralIndia"),
		// 																																											to.Ptr("EastAsia"),
		// 																																											to.Ptr("GermanyWestCentral"),
		// 																																											to.Ptr("KoreaCentral"),
		// 																																											to.Ptr("KoreaSouth"),
		// 																																											to.Ptr("NorthCentralUs"),
		// 																																											to.Ptr("SouthCentralUs"),
		// 																																											to.Ptr("WestUs"),
		// 																																											to.Ptr("USGovArizona"),
		// 																																											to.Ptr("USGovVirginia")},
		// 																																									}},
		// 																																									VMFamilies: []*armmigrationassessment.VMFamilyOptions{
		// 																																										{
		// 																																											Category: []*string{
		// 																																												to.Ptr("GeneralPurpose")},
		// 																																												FamilyName: to.Ptr("Basic_A0_A4"),
		// 																																												TargetLocations: []*string{
		// 																																													to.Ptr("AustraliaCentral"),
		// 																																													to.Ptr("AustraliaCentral2"),
		// 																																													to.Ptr("AustraliaEast"),
		// 																																													to.Ptr("AustraliaSoutheast"),
		// 																																													to.Ptr("BrazilSouth"),
		// 																																													to.Ptr("CanadaCentral"),
		// 																																													to.Ptr("CanadaEast"),
		// 																																													to.Ptr("CentralIndia"),
		// 																																													to.Ptr("CentralUs"),
		// 																																													to.Ptr("EastAsia"),
		// 																																													to.Ptr("EastUs"),
		// 																																													to.Ptr("EastUs2"),
		// 																																													to.Ptr("FranceCentral"),
		// 																																													to.Ptr("FranceSouth"),
		// 																																													to.Ptr("JapanEast"),
		// 																																													to.Ptr("JapanWest"),
		// 																																													to.Ptr("KoreaCentral"),
		// 																																													to.Ptr("KoreaSouth"),
		// 																																													to.Ptr("NorthCentralUs"),
		// 																																													to.Ptr("NorthEurope"),
		// 																																													to.Ptr("SouthCentralUs"),
		// 																																													to.Ptr("SoutheastAsia"),
		// 																																													to.Ptr("SouthIndia"),
		// 																																													to.Ptr("UkSouth"),
		// 																																													to.Ptr("UkWest"),
		// 																																													to.Ptr("WestCentralUs"),
		// 																																													to.Ptr("WestEurope"),
		// 																																													to.Ptr("WestIndia"),
		// 																																													to.Ptr("WestUs"),
		// 																																													to.Ptr("WestUs2"),
		// 																																													to.Ptr("ChinaEast"),
		// 																																													to.Ptr("ChinaEast2"),
		// 																																													to.Ptr("ChinaNorth"),
		// 																																													to.Ptr("ChinaNorth2"),
		// 																																													to.Ptr("USGovArizona"),
		// 																																													to.Ptr("USGovIowa"),
		// 																																													to.Ptr("USGovTexas"),
		// 																																													to.Ptr("USGovVirginia")},
		// 																																												},
		// 																																												{
		// 																																													Category: []*string{
		// 																																														to.Ptr("GeneralPurpose")},
		// 																																														FamilyName: to.Ptr("Standard_A0_A7"),
		// 																																														TargetLocations: []*string{
		// 																																															to.Ptr("AustraliaCentral"),
		// 																																															to.Ptr("AustraliaCentral2"),
		// 																																															to.Ptr("AustraliaEast"),
		// 																																															to.Ptr("AustraliaSoutheast"),
		// 																																															to.Ptr("BrazilSouth"),
		// 																																															to.Ptr("CanadaCentral"),
		// 																																															to.Ptr("CanadaEast"),
		// 																																															to.Ptr("CentralIndia"),
		// 																																															to.Ptr("CentralUs"),
		// 																																															to.Ptr("EastAsia"),
		// 																																															to.Ptr("EastUs"),
		// 																																															to.Ptr("EastUs2"),
		// 																																															to.Ptr("FranceCentral"),
		// 																																															to.Ptr("FranceSouth"),
		// 																																															to.Ptr("JapanEast"),
		// 																																															to.Ptr("JapanWest"),
		// 																																															to.Ptr("KoreaCentral"),
		// 																																															to.Ptr("KoreaSouth"),
		// 																																															to.Ptr("NorthCentralUs"),
		// 																																															to.Ptr("NorthEurope"),
		// 																																															to.Ptr("SouthCentralUs"),
		// 																																															to.Ptr("SoutheastAsia"),
		// 																																															to.Ptr("SouthIndia"),
		// 																																															to.Ptr("UkSouth"),
		// 																																															to.Ptr("UkWest"),
		// 																																															to.Ptr("WestCentralUs"),
		// 																																															to.Ptr("WestEurope"),
		// 																																															to.Ptr("WestIndia"),
		// 																																															to.Ptr("WestUs"),
		// 																																															to.Ptr("WestUs2"),
		// 																																															to.Ptr("ChinaEast"),
		// 																																															to.Ptr("ChinaEast2"),
		// 																																															to.Ptr("ChinaNorth"),
		// 																																															to.Ptr("ChinaNorth2"),
		// 																																															to.Ptr("USGovArizona"),
		// 																																															to.Ptr("USGovIowa"),
		// 																																															to.Ptr("USGovTexas"),
		// 																																															to.Ptr("USGovVirginia")},
		// 																																														},
		// 																																														{
		// 																																															Category: []*string{
		// 																																																to.Ptr("GeneralPurpose")},
		// 																																																FamilyName: to.Ptr("Av2_series"),
		// 																																																TargetLocations: []*string{
		// 																																																	to.Ptr("AustraliaCentral"),
		// 																																																	to.Ptr("AustraliaCentral2"),
		// 																																																	to.Ptr("AustraliaEast"),
		// 																																																	to.Ptr("AustraliaSoutheast"),
		// 																																																	to.Ptr("BrazilSouth"),
		// 																																																	to.Ptr("CanadaCentral"),
		// 																																																	to.Ptr("CanadaEast"),
		// 																																																	to.Ptr("CentralIndia"),
		// 																																																	to.Ptr("CentralUs"),
		// 																																																	to.Ptr("EastAsia"),
		// 																																																	to.Ptr("EastUs"),
		// 																																																	to.Ptr("EastUs2"),
		// 																																																	to.Ptr("FranceCentral"),
		// 																																																	to.Ptr("FranceSouth"),
		// 																																																	to.Ptr("GermanyNorth"),
		// 																																																	to.Ptr("GermanyWestCentral"),
		// 																																																	to.Ptr("ItalyNorth"),
		// 																																																	to.Ptr("JapanEast"),
		// 																																																	to.Ptr("JapanWest"),
		// 																																																	to.Ptr("KoreaCentral"),
		// 																																																	to.Ptr("KoreaSouth"),
		// 																																																	to.Ptr("NorthCentralUs"),
		// 																																																	to.Ptr("NorthEurope"),
		// 																																																	to.Ptr("NorwayEast"),
		// 																																																	to.Ptr("NorwayWest"),
		// 																																																	to.Ptr("PolandCentral"),
		// 																																																	to.Ptr("QatarCentral"),
		// 																																																	to.Ptr("SouthAfricaNorth"),
		// 																																																	to.Ptr("SouthAfricaWest"),
		// 																																																	to.Ptr("SouthCentralUs"),
		// 																																																	to.Ptr("SoutheastAsia"),
		// 																																																	to.Ptr("SouthIndia"),
		// 																																																	to.Ptr("SwedenCentral"),
		// 																																																	to.Ptr("SwitzerlandNorth"),
		// 																																																	to.Ptr("SwitzerlandWest"),
		// 																																																	to.Ptr("UAECentral"),
		// 																																																	to.Ptr("UAENorth"),
		// 																																																	to.Ptr("UkSouth"),
		// 																																																	to.Ptr("UkWest"),
		// 																																																	to.Ptr("WestCentralUs"),
		// 																																																	to.Ptr("WestEurope"),
		// 																																																	to.Ptr("WestIndia"),
		// 																																																	to.Ptr("WestUs"),
		// 																																																	to.Ptr("WestUs2"),
		// 																																																	to.Ptr("ChinaEast"),
		// 																																																	to.Ptr("ChinaEast2"),
		// 																																																	to.Ptr("ChinaNorth"),
		// 																																																	to.Ptr("ChinaNorth2"),
		// 																																																	to.Ptr("USGovArizona"),
		// 																																																	to.Ptr("USGovIowa"),
		// 																																																	to.Ptr("USGovTexas"),
		// 																																																	to.Ptr("USGovVirginia")},
		// 																																																},
		// 																																																{
		// 																																																	Category: []*string{
		// 																																																		to.Ptr("GeneralPurpose")},
		// 																																																		FamilyName: to.Ptr("D_series"),
		// 																																																		TargetLocations: []*string{
		// 																																																			to.Ptr("AustraliaEast"),
		// 																																																			to.Ptr("AustraliaSoutheast"),
		// 																																																			to.Ptr("BrazilSouth"),
		// 																																																			to.Ptr("CanadaCentral"),
		// 																																																			to.Ptr("CentralIndia"),
		// 																																																			to.Ptr("CentralUs"),
		// 																																																			to.Ptr("EastAsia"),
		// 																																																			to.Ptr("EastUs"),
		// 																																																			to.Ptr("EastUs2"),
		// 																																																			to.Ptr("JapanEast"),
		// 																																																			to.Ptr("JapanWest"),
		// 																																																			to.Ptr("NorthCentralUs"),
		// 																																																			to.Ptr("NorthEurope"),
		// 																																																			to.Ptr("SouthCentralUs"),
		// 																																																			to.Ptr("SoutheastAsia"),
		// 																																																			to.Ptr("SouthIndia"),
		// 																																																			to.Ptr("WestEurope"),
		// 																																																			to.Ptr("WestIndia"),
		// 																																																			to.Ptr("WestUs"),
		// 																																																			to.Ptr("ChinaEast"),
		// 																																																			to.Ptr("ChinaNorth"),
		// 																																																			to.Ptr("USGovVirginia")},
		// 																																																		},
		// 																																																		{
		// 																																																			Category: []*string{
		// 																																																				to.Ptr("GeneralPurpose"),
		// 																																																				to.Ptr("MemoryOptimized")},
		// 																																																				FamilyName: to.Ptr("Dv2_series"),
		// 																																																				TargetLocations: []*string{
		// 																																																					to.Ptr("AustraliaCentral"),
		// 																																																					to.Ptr("AustraliaCentral2"),
		// 																																																					to.Ptr("AustraliaEast"),
		// 																																																					to.Ptr("AustraliaSoutheast"),
		// 																																																					to.Ptr("BrazilSouth"),
		// 																																																					to.Ptr("CanadaCentral"),
		// 																																																					to.Ptr("CanadaEast"),
		// 																																																					to.Ptr("CentralIndia"),
		// 																																																					to.Ptr("CentralUs"),
		// 																																																					to.Ptr("EastAsia"),
		// 																																																					to.Ptr("EastUs"),
		// 																																																					to.Ptr("EastUs2"),
		// 																																																					to.Ptr("FranceCentral"),
		// 																																																					to.Ptr("FranceSouth"),
		// 																																																					to.Ptr("GermanyNorth"),
		// 																																																					to.Ptr("GermanyWestCentral"),
		// 																																																					to.Ptr("ItalyNorth"),
		// 																																																					to.Ptr("JapanEast"),
		// 																																																					to.Ptr("JapanWest"),
		// 																																																					to.Ptr("KoreaCentral"),
		// 																																																					to.Ptr("KoreaSouth"),
		// 																																																					to.Ptr("NorthCentralUs"),
		// 																																																					to.Ptr("NorthEurope"),
		// 																																																					to.Ptr("NorwayEast"),
		// 																																																					to.Ptr("NorwayWest"),
		// 																																																					to.Ptr("PolandCentral"),
		// 																																																					to.Ptr("QatarCentral"),
		// 																																																					to.Ptr("SouthAfricaNorth"),
		// 																																																					to.Ptr("SouthAfricaWest"),
		// 																																																					to.Ptr("SouthCentralUs"),
		// 																																																					to.Ptr("SoutheastAsia"),
		// 																																																					to.Ptr("SouthIndia"),
		// 																																																					to.Ptr("SwedenCentral"),
		// 																																																					to.Ptr("SwitzerlandNorth"),
		// 																																																					to.Ptr("SwitzerlandWest"),
		// 																																																					to.Ptr("UAECentral"),
		// 																																																					to.Ptr("UAENorth"),
		// 																																																					to.Ptr("UkSouth"),
		// 																																																					to.Ptr("UkWest"),
		// 																																																					to.Ptr("WestCentralUs"),
		// 																																																					to.Ptr("WestEurope"),
		// 																																																					to.Ptr("WestIndia"),
		// 																																																					to.Ptr("WestUs"),
		// 																																																					to.Ptr("WestUs2"),
		// 																																																					to.Ptr("ChinaEast"),
		// 																																																					to.Ptr("ChinaEast2"),
		// 																																																					to.Ptr("ChinaNorth"),
		// 																																																					to.Ptr("ChinaNorth2"),
		// 																																																					to.Ptr("USGovArizona"),
		// 																																																					to.Ptr("USGovIowa"),
		// 																																																					to.Ptr("USGovTexas"),
		// 																																																					to.Ptr("USGovVirginia")},
		// 																																																				},
		// 																																																				{
		// 																																																					Category: []*string{
		// 																																																						to.Ptr("GeneralPurpose"),
		// 																																																						to.Ptr("SupportsPremiumStorage")},
		// 																																																						FamilyName: to.Ptr("Dadsv5_series"),
		// 																																																						TargetLocations: []*string{
		// 																																																							to.Ptr("AustraliaCentral"),
		// 																																																							to.Ptr("AustraliaEast"),
		// 																																																							to.Ptr("AustraliaSoutheast"),
		// 																																																							to.Ptr("BrazilSouth"),
		// 																																																							to.Ptr("CanadaCentral"),
		// 																																																							to.Ptr("CanadaEast"),
		// 																																																							to.Ptr("CentralIndia"),
		// 																																																							to.Ptr("CentralUs"),
		// 																																																							to.Ptr("EastAsia"),
		// 																																																							to.Ptr("EastUs"),
		// 																																																							to.Ptr("EastUs2"),
		// 																																																							to.Ptr("FranceCentral"),
		// 																																																							to.Ptr("FranceSouth"),
		// 																																																							to.Ptr("GermanyNorth"),
		// 																																																							to.Ptr("JapanEast"),
		// 																																																							to.Ptr("JapanWest"),
		// 																																																							to.Ptr("KoreaSouth"),
		// 																																																							to.Ptr("NorthCentralUs"),
		// 																																																							to.Ptr("NorthEurope"),
		// 																																																							to.Ptr("NorwayEast"),
		// 																																																							to.Ptr("NorwayWest"),
		// 																																																							to.Ptr("PolandCentral"),
		// 																																																							to.Ptr("SouthAfricaWest"),
		// 																																																							to.Ptr("SouthCentralUs"),
		// 																																																							to.Ptr("SoutheastAsia"),
		// 																																																							to.Ptr("SouthIndia"),
		// 																																																							to.Ptr("SwedenCentral"),
		// 																																																							to.Ptr("SwitzerlandNorth"),
		// 																																																							to.Ptr("UAENorth"),
		// 																																																							to.Ptr("UkSouth"),
		// 																																																							to.Ptr("UkWest"),
		// 																																																							to.Ptr("WestCentralUs"),
		// 																																																							to.Ptr("WestEurope"),
		// 																																																							to.Ptr("WestUs"),
		// 																																																							to.Ptr("WestUs2"),
		// 																																																							to.Ptr("USGovArizona"),
		// 																																																							to.Ptr("USGovTexas"),
		// 																																																							to.Ptr("USGovVirginia")},
		// 																																																						},
		// 																																																						{
		// 																																																							Category: []*string{
		// 																																																								to.Ptr("GeneralPurpose"),
		// 																																																								to.Ptr("SupportsPremiumStorage")},
		// 																																																								FamilyName: to.Ptr("Dasv4_series"),
		// 																																																								TargetLocations: []*string{
		// 																																																									to.Ptr("AustraliaCentral"),
		// 																																																									to.Ptr("AustraliaEast"),
		// 																																																									to.Ptr("AustraliaSoutheast"),
		// 																																																									to.Ptr("BrazilSouth"),
		// 																																																									to.Ptr("CanadaCentral"),
		// 																																																									to.Ptr("CanadaEast"),
		// 																																																									to.Ptr("CentralIndia"),
		// 																																																									to.Ptr("CentralUs"),
		// 																																																									to.Ptr("EastAsia"),
		// 																																																									to.Ptr("EastUs"),
		// 																																																									to.Ptr("EastUs2"),
		// 																																																									to.Ptr("FranceCentral"),
		// 																																																									to.Ptr("FranceSouth"),
		// 																																																									to.Ptr("GermanyNorth"),
		// 																																																									to.Ptr("JapanEast"),
		// 																																																									to.Ptr("JapanWest"),
		// 																																																									to.Ptr("KoreaCentral"),
		// 																																																									to.Ptr("KoreaSouth"),
		// 																																																									to.Ptr("NorthCentralUs"),
		// 																																																									to.Ptr("NorthEurope"),
		// 																																																									to.Ptr("NorwayEast"),
		// 																																																									to.Ptr("NorwayWest"),
		// 																																																									to.Ptr("PolandCentral"),
		// 																																																									to.Ptr("SouthAfricaWest"),
		// 																																																									to.Ptr("SouthCentralUs"),
		// 																																																									to.Ptr("SoutheastAsia"),
		// 																																																									to.Ptr("SouthIndia"),
		// 																																																									to.Ptr("SwedenCentral"),
		// 																																																									to.Ptr("SwitzerlandNorth"),
		// 																																																									to.Ptr("UAENorth"),
		// 																																																									to.Ptr("UkSouth"),
		// 																																																									to.Ptr("UkWest"),
		// 																																																									to.Ptr("WestCentralUs"),
		// 																																																									to.Ptr("WestEurope"),
		// 																																																									to.Ptr("WestUs"),
		// 																																																									to.Ptr("WestUs2"),
		// 																																																									to.Ptr("USGovArizona"),
		// 																																																									to.Ptr("USGovTexas"),
		// 																																																									to.Ptr("USGovVirginia")},
		// 																																																								},
		// 																																																								{
		// 																																																									Category: []*string{
		// 																																																										to.Ptr("GeneralPurpose"),
		// 																																																										to.Ptr("SupportsPremiumStorage")},
		// 																																																										FamilyName: to.Ptr("Dasv5_series"),
		// 																																																										TargetLocations: []*string{
		// 																																																											to.Ptr("AustraliaCentral"),
		// 																																																											to.Ptr("AustraliaEast"),
		// 																																																											to.Ptr("AustraliaSoutheast"),
		// 																																																											to.Ptr("BrazilSouth"),
		// 																																																											to.Ptr("CanadaCentral"),
		// 																																																											to.Ptr("CanadaEast"),
		// 																																																											to.Ptr("CentralIndia"),
		// 																																																											to.Ptr("CentralUs"),
		// 																																																											to.Ptr("EastAsia"),
		// 																																																											to.Ptr("EastUs"),
		// 																																																											to.Ptr("EastUs2"),
		// 																																																											to.Ptr("FranceCentral"),
		// 																																																											to.Ptr("FranceSouth"),
		// 																																																											to.Ptr("GermanyNorth"),
		// 																																																											to.Ptr("JapanEast"),
		// 																																																											to.Ptr("JapanWest"),
		// 																																																											to.Ptr("KoreaSouth"),
		// 																																																											to.Ptr("NorthCentralUs"),
		// 																																																											to.Ptr("NorthEurope"),
		// 																																																											to.Ptr("NorwayEast"),
		// 																																																											to.Ptr("NorwayWest"),
		// 																																																											to.Ptr("PolandCentral"),
		// 																																																											to.Ptr("SouthAfricaWest"),
		// 																																																											to.Ptr("SouthCentralUs"),
		// 																																																											to.Ptr("SoutheastAsia"),
		// 																																																											to.Ptr("SouthIndia"),
		// 																																																											to.Ptr("SwedenCentral"),
		// 																																																											to.Ptr("SwitzerlandNorth"),
		// 																																																											to.Ptr("UAENorth"),
		// 																																																											to.Ptr("UkSouth"),
		// 																																																											to.Ptr("UkWest"),
		// 																																																											to.Ptr("WestCentralUs"),
		// 																																																											to.Ptr("WestEurope"),
		// 																																																											to.Ptr("WestUs"),
		// 																																																											to.Ptr("WestUs2"),
		// 																																																											to.Ptr("USGovArizona"),
		// 																																																											to.Ptr("USGovTexas"),
		// 																																																											to.Ptr("USGovVirginia")},
		// 																																																										},
		// 																																																										{
		// 																																																											Category: []*string{
		// 																																																												to.Ptr("GeneralPurpose")},
		// 																																																												FamilyName: to.Ptr("Dav4_series"),
		// 																																																												TargetLocations: []*string{
		// 																																																													to.Ptr("AustraliaCentral"),
		// 																																																													to.Ptr("AustraliaEast"),
		// 																																																													to.Ptr("AustraliaSoutheast"),
		// 																																																													to.Ptr("BrazilSouth"),
		// 																																																													to.Ptr("CanadaCentral"),
		// 																																																													to.Ptr("CanadaEast"),
		// 																																																													to.Ptr("CentralIndia"),
		// 																																																													to.Ptr("CentralUs"),
		// 																																																													to.Ptr("EastAsia"),
		// 																																																													to.Ptr("EastUs"),
		// 																																																													to.Ptr("EastUs2"),
		// 																																																													to.Ptr("FranceCentral"),
		// 																																																													to.Ptr("FranceSouth"),
		// 																																																													to.Ptr("GermanyNorth"),
		// 																																																													to.Ptr("JapanEast"),
		// 																																																													to.Ptr("JapanWest"),
		// 																																																													to.Ptr("KoreaCentral"),
		// 																																																													to.Ptr("KoreaSouth"),
		// 																																																													to.Ptr("NorthCentralUs"),
		// 																																																													to.Ptr("NorthEurope"),
		// 																																																													to.Ptr("NorwayEast"),
		// 																																																													to.Ptr("NorwayWest"),
		// 																																																													to.Ptr("PolandCentral"),
		// 																																																													to.Ptr("SouthAfricaWest"),
		// 																																																													to.Ptr("SouthCentralUs"),
		// 																																																													to.Ptr("SoutheastAsia"),
		// 																																																													to.Ptr("SouthIndia"),
		// 																																																													to.Ptr("SwedenCentral"),
		// 																																																													to.Ptr("SwitzerlandNorth"),
		// 																																																													to.Ptr("UAENorth"),
		// 																																																													to.Ptr("UkSouth"),
		// 																																																													to.Ptr("UkWest"),
		// 																																																													to.Ptr("WestCentralUs"),
		// 																																																													to.Ptr("WestEurope"),
		// 																																																													to.Ptr("WestUs"),
		// 																																																													to.Ptr("WestUs2"),
		// 																																																													to.Ptr("USGovArizona"),
		// 																																																													to.Ptr("USGovTexas"),
		// 																																																													to.Ptr("USGovVirginia")},
		// 																																																												},
		// 																																																												{
		// 																																																													Category: []*string{
		// 																																																														to.Ptr("GeneralPurpose"),
		// 																																																														to.Ptr("SupportsPremiumStorage")},
		// 																																																														FamilyName: to.Ptr("Ddsv4_series"),
		// 																																																														TargetLocations: []*string{
		// 																																																															to.Ptr("AustraliaCentral"),
		// 																																																															to.Ptr("AustraliaCentral2"),
		// 																																																															to.Ptr("AustraliaEast"),
		// 																																																															to.Ptr("AustraliaSoutheast"),
		// 																																																															to.Ptr("BrazilSouth"),
		// 																																																															to.Ptr("CanadaCentral"),
		// 																																																															to.Ptr("CanadaEast"),
		// 																																																															to.Ptr("CentralIndia"),
		// 																																																															to.Ptr("CentralUs"),
		// 																																																															to.Ptr("EastAsia"),
		// 																																																															to.Ptr("EastUs"),
		// 																																																															to.Ptr("EastUs2"),
		// 																																																															to.Ptr("FranceCentral"),
		// 																																																															to.Ptr("FranceSouth"),
		// 																																																															to.Ptr("GermanyNorth"),
		// 																																																															to.Ptr("GermanyWestCentral"),
		// 																																																															to.Ptr("ItalyNorth"),
		// 																																																															to.Ptr("JapanEast"),
		// 																																																															to.Ptr("JapanWest"),
		// 																																																															to.Ptr("KoreaCentral"),
		// 																																																															to.Ptr("KoreaSouth"),
		// 																																																															to.Ptr("NorthCentralUs"),
		// 																																																															to.Ptr("NorthEurope"),
		// 																																																															to.Ptr("NorwayEast"),
		// 																																																															to.Ptr("NorwayWest"),
		// 																																																															to.Ptr("PolandCentral"),
		// 																																																															to.Ptr("QatarCentral"),
		// 																																																															to.Ptr("SouthAfricaNorth"),
		// 																																																															to.Ptr("SouthAfricaWest"),
		// 																																																															to.Ptr("SouthCentralUs"),
		// 																																																															to.Ptr("SoutheastAsia"),
		// 																																																															to.Ptr("SouthIndia"),
		// 																																																															to.Ptr("SwedenCentral"),
		// 																																																															to.Ptr("SwitzerlandNorth"),
		// 																																																															to.Ptr("SwitzerlandWest"),
		// 																																																															to.Ptr("UAECentral"),
		// 																																																															to.Ptr("UAENorth"),
		// 																																																															to.Ptr("UkSouth"),
		// 																																																															to.Ptr("UkWest"),
		// 																																																															to.Ptr("WestCentralUs"),
		// 																																																															to.Ptr("WestEurope"),
		// 																																																															to.Ptr("WestUs"),
		// 																																																															to.Ptr("WestUs2"),
		// 																																																															to.Ptr("ChinaEast2"),
		// 																																																															to.Ptr("ChinaNorth2"),
		// 																																																															to.Ptr("USGovArizona"),
		// 																																																															to.Ptr("USGovTexas"),
		// 																																																															to.Ptr("USGovVirginia")},
		// 																																																														},
		// 																																																														{
		// 																																																															Category: []*string{
		// 																																																																to.Ptr("GeneralPurpose"),
		// 																																																																to.Ptr("SupportsPremiumStorage")},
		// 																																																																FamilyName: to.Ptr("Ddsv5_series"),
		// 																																																																TargetLocations: []*string{
		// 																																																																	to.Ptr("AustraliaCentral"),
		// 																																																																	to.Ptr("AustraliaCentral2"),
		// 																																																																	to.Ptr("AustraliaEast"),
		// 																																																																	to.Ptr("AustraliaSoutheast"),
		// 																																																																	to.Ptr("BrazilSouth"),
		// 																																																																	to.Ptr("CanadaCentral"),
		// 																																																																	to.Ptr("CanadaEast"),
		// 																																																																	to.Ptr("CentralIndia"),
		// 																																																																	to.Ptr("CentralUs"),
		// 																																																																	to.Ptr("EastAsia"),
		// 																																																																	to.Ptr("EastUs"),
		// 																																																																	to.Ptr("EastUs2"),
		// 																																																																	to.Ptr("FranceCentral"),
		// 																																																																	to.Ptr("FranceSouth"),
		// 																																																																	to.Ptr("GermanyNorth"),
		// 																																																																	to.Ptr("GermanyWestCentral"),
		// 																																																																	to.Ptr("JapanEast"),
		// 																																																																	to.Ptr("JapanWest"),
		// 																																																																	to.Ptr("KoreaCentral"),
		// 																																																																	to.Ptr("KoreaSouth"),
		// 																																																																	to.Ptr("NorthCentralUs"),
		// 																																																																	to.Ptr("NorthEurope"),
		// 																																																																	to.Ptr("NorwayEast"),
		// 																																																																	to.Ptr("NorwayWest"),
		// 																																																																	to.Ptr("PolandCentral"),
		// 																																																																	to.Ptr("QatarCentral"),
		// 																																																																	to.Ptr("SouthAfricaNorth"),
		// 																																																																	to.Ptr("SouthAfricaWest"),
		// 																																																																	to.Ptr("SouthCentralUs"),
		// 																																																																	to.Ptr("SoutheastAsia"),
		// 																																																																	to.Ptr("SouthIndia"),
		// 																																																																	to.Ptr("SwedenCentral"),
		// 																																																																	to.Ptr("SwitzerlandNorth"),
		// 																																																																	to.Ptr("SwitzerlandWest"),
		// 																																																																	to.Ptr("UAENorth"),
		// 																																																																	to.Ptr("UkSouth"),
		// 																																																																	to.Ptr("UkWest"),
		// 																																																																	to.Ptr("WestCentralUs"),
		// 																																																																	to.Ptr("WestEurope"),
		// 																																																																	to.Ptr("WestUs"),
		// 																																																																	to.Ptr("WestUs2"),
		// 																																																																	to.Ptr("ChinaEast2"),
		// 																																																																	to.Ptr("ChinaNorth2"),
		// 																																																																	to.Ptr("USGovArizona"),
		// 																																																																	to.Ptr("USGovTexas"),
		// 																																																																	to.Ptr("USGovVirginia")},
		// 																																																																},
		// 																																																																{
		// 																																																																	Category: []*string{
		// 																																																																		to.Ptr("GeneralPurpose")},
		// 																																																																		FamilyName: to.Ptr("Ddv4_series"),
		// 																																																																		TargetLocations: []*string{
		// 																																																																			to.Ptr("AustraliaCentral"),
		// 																																																																			to.Ptr("AustraliaCentral2"),
		// 																																																																			to.Ptr("AustraliaEast"),
		// 																																																																			to.Ptr("AustraliaSoutheast"),
		// 																																																																			to.Ptr("BrazilSouth"),
		// 																																																																			to.Ptr("CanadaCentral"),
		// 																																																																			to.Ptr("CanadaEast"),
		// 																																																																			to.Ptr("CentralIndia"),
		// 																																																																			to.Ptr("CentralUs"),
		// 																																																																			to.Ptr("EastAsia"),
		// 																																																																			to.Ptr("EastUs"),
		// 																																																																			to.Ptr("EastUs2"),
		// 																																																																			to.Ptr("FranceCentral"),
		// 																																																																			to.Ptr("FranceSouth"),
		// 																																																																			to.Ptr("GermanyNorth"),
		// 																																																																			to.Ptr("GermanyWestCentral"),
		// 																																																																			to.Ptr("ItalyNorth"),
		// 																																																																			to.Ptr("JapanEast"),
		// 																																																																			to.Ptr("JapanWest"),
		// 																																																																			to.Ptr("KoreaCentral"),
		// 																																																																			to.Ptr("KoreaSouth"),
		// 																																																																			to.Ptr("NorthCentralUs"),
		// 																																																																			to.Ptr("NorthEurope"),
		// 																																																																			to.Ptr("NorwayEast"),
		// 																																																																			to.Ptr("NorwayWest"),
		// 																																																																			to.Ptr("PolandCentral"),
		// 																																																																			to.Ptr("QatarCentral"),
		// 																																																																			to.Ptr("SouthAfricaNorth"),
		// 																																																																			to.Ptr("SouthAfricaWest"),
		// 																																																																			to.Ptr("SouthCentralUs"),
		// 																																																																			to.Ptr("SoutheastAsia"),
		// 																																																																			to.Ptr("SouthIndia"),
		// 																																																																			to.Ptr("SwedenCentral"),
		// 																																																																			to.Ptr("SwitzerlandNorth"),
		// 																																																																			to.Ptr("SwitzerlandWest"),
		// 																																																																			to.Ptr("UAECentral"),
		// 																																																																			to.Ptr("UAENorth"),
		// 																																																																			to.Ptr("UkSouth"),
		// 																																																																			to.Ptr("UkWest"),
		// 																																																																			to.Ptr("WestCentralUs"),
		// 																																																																			to.Ptr("WestEurope"),
		// 																																																																			to.Ptr("WestUs"),
		// 																																																																			to.Ptr("WestUs2"),
		// 																																																																			to.Ptr("ChinaEast2"),
		// 																																																																			to.Ptr("ChinaNorth2"),
		// 																																																																			to.Ptr("USGovArizona"),
		// 																																																																			to.Ptr("USGovTexas"),
		// 																																																																			to.Ptr("USGovVirginia")},
		// 																																																																		},
		// 																																																																		{
		// 																																																																			Category: []*string{
		// 																																																																				to.Ptr("GeneralPurpose")},
		// 																																																																				FamilyName: to.Ptr("Ddv5_series"),
		// 																																																																				TargetLocations: []*string{
		// 																																																																					to.Ptr("AustraliaCentral"),
		// 																																																																					to.Ptr("AustraliaCentral2"),
		// 																																																																					to.Ptr("AustraliaEast"),
		// 																																																																					to.Ptr("AustraliaSoutheast"),
		// 																																																																					to.Ptr("BrazilSouth"),
		// 																																																																					to.Ptr("CanadaCentral"),
		// 																																																																					to.Ptr("CanadaEast"),
		// 																																																																					to.Ptr("CentralIndia"),
		// 																																																																					to.Ptr("CentralUs"),
		// 																																																																					to.Ptr("EastAsia"),
		// 																																																																					to.Ptr("EastUs"),
		// 																																																																					to.Ptr("EastUs2"),
		// 																																																																					to.Ptr("FranceCentral"),
		// 																																																																					to.Ptr("FranceSouth"),
		// 																																																																					to.Ptr("GermanyNorth"),
		// 																																																																					to.Ptr("GermanyWestCentral"),
		// 																																																																					to.Ptr("JapanEast"),
		// 																																																																					to.Ptr("JapanWest"),
		// 																																																																					to.Ptr("KoreaCentral"),
		// 																																																																					to.Ptr("KoreaSouth"),
		// 																																																																					to.Ptr("NorthCentralUs"),
		// 																																																																					to.Ptr("NorthEurope"),
		// 																																																																					to.Ptr("NorwayEast"),
		// 																																																																					to.Ptr("NorwayWest"),
		// 																																																																					to.Ptr("PolandCentral"),
		// 																																																																					to.Ptr("QatarCentral"),
		// 																																																																					to.Ptr("SouthAfricaNorth"),
		// 																																																																					to.Ptr("SouthAfricaWest"),
		// 																																																																					to.Ptr("SouthCentralUs"),
		// 																																																																					to.Ptr("SoutheastAsia"),
		// 																																																																					to.Ptr("SouthIndia"),
		// 																																																																					to.Ptr("SwedenCentral"),
		// 																																																																					to.Ptr("SwitzerlandNorth"),
		// 																																																																					to.Ptr("SwitzerlandWest"),
		// 																																																																					to.Ptr("UAENorth"),
		// 																																																																					to.Ptr("UkSouth"),
		// 																																																																					to.Ptr("UkWest"),
		// 																																																																					to.Ptr("WestCentralUs"),
		// 																																																																					to.Ptr("WestEurope"),
		// 																																																																					to.Ptr("WestUs"),
		// 																																																																					to.Ptr("WestUs2"),
		// 																																																																					to.Ptr("ChinaEast2"),
		// 																																																																					to.Ptr("ChinaNorth2")},
		// 																																																																				},
		// 																																																																				{
		// 																																																																					Category: []*string{
		// 																																																																						to.Ptr("GeneralPurpose"),
		// 																																																																						to.Ptr("SupportsPremiumStorage")},
		// 																																																																						FamilyName: to.Ptr("Dsv3_series"),
		// 																																																																						TargetLocations: []*string{
		// 																																																																							to.Ptr("AustraliaCentral"),
		// 																																																																							to.Ptr("AustraliaCentral2"),
		// 																																																																							to.Ptr("AustraliaEast"),
		// 																																																																							to.Ptr("AustraliaSoutheast"),
		// 																																																																							to.Ptr("BrazilSouth"),
		// 																																																																							to.Ptr("CanadaCentral"),
		// 																																																																							to.Ptr("CanadaEast"),
		// 																																																																							to.Ptr("CentralIndia"),
		// 																																																																							to.Ptr("CentralUs"),
		// 																																																																							to.Ptr("EastAsia"),
		// 																																																																							to.Ptr("EastUs"),
		// 																																																																							to.Ptr("EastUs2"),
		// 																																																																							to.Ptr("FranceCentral"),
		// 																																																																							to.Ptr("FranceSouth"),
		// 																																																																							to.Ptr("GermanyNorth"),
		// 																																																																							to.Ptr("GermanyWestCentral"),
		// 																																																																							to.Ptr("ItalyNorth"),
		// 																																																																							to.Ptr("JapanEast"),
		// 																																																																							to.Ptr("JapanWest"),
		// 																																																																							to.Ptr("KoreaCentral"),
		// 																																																																							to.Ptr("KoreaSouth"),
		// 																																																																							to.Ptr("NorthCentralUs"),
		// 																																																																							to.Ptr("NorthEurope"),
		// 																																																																							to.Ptr("NorwayEast"),
		// 																																																																							to.Ptr("NorwayWest"),
		// 																																																																							to.Ptr("PolandCentral"),
		// 																																																																							to.Ptr("QatarCentral"),
		// 																																																																							to.Ptr("SouthAfricaNorth"),
		// 																																																																							to.Ptr("SouthAfricaWest"),
		// 																																																																							to.Ptr("SouthCentralUs"),
		// 																																																																							to.Ptr("SoutheastAsia"),
		// 																																																																							to.Ptr("SouthIndia"),
		// 																																																																							to.Ptr("SwedenCentral"),
		// 																																																																							to.Ptr("SwitzerlandNorth"),
		// 																																																																							to.Ptr("SwitzerlandWest"),
		// 																																																																							to.Ptr("UAECentral"),
		// 																																																																							to.Ptr("UAENorth"),
		// 																																																																							to.Ptr("UkSouth"),
		// 																																																																							to.Ptr("UkWest"),
		// 																																																																							to.Ptr("WestCentralUs"),
		// 																																																																							to.Ptr("WestEurope"),
		// 																																																																							to.Ptr("WestIndia"),
		// 																																																																							to.Ptr("WestUs"),
		// 																																																																							to.Ptr("WestUs2"),
		// 																																																																							to.Ptr("ChinaEast2"),
		// 																																																																							to.Ptr("ChinaNorth2"),
		// 																																																																							to.Ptr("USGovArizona"),
		// 																																																																							to.Ptr("USGovTexas"),
		// 																																																																							to.Ptr("USGovVirginia")},
		// 																																																																						},
		// 																																																																						{
		// 																																																																							Category: []*string{
		// 																																																																								to.Ptr("GeneralPurpose"),
		// 																																																																								to.Ptr("SupportsPremiumStorage")},
		// 																																																																								FamilyName: to.Ptr("Dsv4_series"),
		// 																																																																								TargetLocations: []*string{
		// 																																																																									to.Ptr("AustraliaCentral"),
		// 																																																																									to.Ptr("AustraliaCentral2"),
		// 																																																																									to.Ptr("AustraliaEast"),
		// 																																																																									to.Ptr("AustraliaSoutheast"),
		// 																																																																									to.Ptr("BrazilSouth"),
		// 																																																																									to.Ptr("CanadaCentral"),
		// 																																																																									to.Ptr("CanadaEast"),
		// 																																																																									to.Ptr("CentralIndia"),
		// 																																																																									to.Ptr("CentralUs"),
		// 																																																																									to.Ptr("EastAsia"),
		// 																																																																									to.Ptr("EastUs"),
		// 																																																																									to.Ptr("EastUs2"),
		// 																																																																									to.Ptr("FranceCentral"),
		// 																																																																									to.Ptr("FranceSouth"),
		// 																																																																									to.Ptr("GermanyNorth"),
		// 																																																																									to.Ptr("GermanyWestCentral"),
		// 																																																																									to.Ptr("ItalyNorth"),
		// 																																																																									to.Ptr("JapanEast"),
		// 																																																																									to.Ptr("JapanWest"),
		// 																																																																									to.Ptr("KoreaCentral"),
		// 																																																																									to.Ptr("KoreaSouth"),
		// 																																																																									to.Ptr("NorthCentralUs"),
		// 																																																																									to.Ptr("NorthEurope"),
		// 																																																																									to.Ptr("NorwayEast"),
		// 																																																																									to.Ptr("NorwayWest"),
		// 																																																																									to.Ptr("PolandCentral"),
		// 																																																																									to.Ptr("QatarCentral"),
		// 																																																																									to.Ptr("SouthAfricaNorth"),
		// 																																																																									to.Ptr("SouthAfricaWest"),
		// 																																																																									to.Ptr("SouthCentralUs"),
		// 																																																																									to.Ptr("SoutheastAsia"),
		// 																																																																									to.Ptr("SouthIndia"),
		// 																																																																									to.Ptr("SwedenCentral"),
		// 																																																																									to.Ptr("SwitzerlandNorth"),
		// 																																																																									to.Ptr("SwitzerlandWest"),
		// 																																																																									to.Ptr("UAECentral"),
		// 																																																																									to.Ptr("UAENorth"),
		// 																																																																									to.Ptr("UkSouth"),
		// 																																																																									to.Ptr("UkWest"),
		// 																																																																									to.Ptr("WestCentralUs"),
		// 																																																																									to.Ptr("WestEurope"),
		// 																																																																									to.Ptr("WestUs"),
		// 																																																																									to.Ptr("WestUs2"),
		// 																																																																									to.Ptr("ChinaEast2"),
		// 																																																																									to.Ptr("ChinaNorth2"),
		// 																																																																									to.Ptr("USGovArizona"),
		// 																																																																									to.Ptr("USGovTexas"),
		// 																																																																									to.Ptr("USGovVirginia")},
		// 																																																																								},
		// 																																																																								{
		// 																																																																									Category: []*string{
		// 																																																																										to.Ptr("GeneralPurpose"),
		// 																																																																										to.Ptr("SupportsPremiumStorage")},
		// 																																																																										FamilyName: to.Ptr("Dsv5_series"),
		// 																																																																										TargetLocations: []*string{
		// 																																																																											to.Ptr("AustraliaCentral"),
		// 																																																																											to.Ptr("AustraliaCentral2"),
		// 																																																																											to.Ptr("AustraliaEast"),
		// 																																																																											to.Ptr("AustraliaSoutheast"),
		// 																																																																											to.Ptr("BrazilSouth"),
		// 																																																																											to.Ptr("CanadaCentral"),
		// 																																																																											to.Ptr("CanadaEast"),
		// 																																																																											to.Ptr("CentralIndia"),
		// 																																																																											to.Ptr("CentralUs"),
		// 																																																																											to.Ptr("EastAsia"),
		// 																																																																											to.Ptr("EastUs"),
		// 																																																																											to.Ptr("EastUs2"),
		// 																																																																											to.Ptr("FranceCentral"),
		// 																																																																											to.Ptr("FranceSouth"),
		// 																																																																											to.Ptr("GermanyNorth"),
		// 																																																																											to.Ptr("GermanyWestCentral"),
		// 																																																																											to.Ptr("JapanEast"),
		// 																																																																											to.Ptr("JapanWest"),
		// 																																																																											to.Ptr("KoreaCentral"),
		// 																																																																											to.Ptr("KoreaSouth"),
		// 																																																																											to.Ptr("NorthCentralUs"),
		// 																																																																											to.Ptr("NorthEurope"),
		// 																																																																											to.Ptr("NorwayEast"),
		// 																																																																											to.Ptr("NorwayWest"),
		// 																																																																											to.Ptr("PolandCentral"),
		// 																																																																											to.Ptr("QatarCentral"),
		// 																																																																											to.Ptr("SouthAfricaNorth"),
		// 																																																																											to.Ptr("SouthAfricaWest"),
		// 																																																																											to.Ptr("SouthCentralUs"),
		// 																																																																											to.Ptr("SoutheastAsia"),
		// 																																																																											to.Ptr("SouthIndia"),
		// 																																																																											to.Ptr("SwedenCentral"),
		// 																																																																											to.Ptr("SwitzerlandNorth"),
		// 																																																																											to.Ptr("SwitzerlandWest"),
		// 																																																																											to.Ptr("UAENorth"),
		// 																																																																											to.Ptr("UkSouth"),
		// 																																																																											to.Ptr("UkWest"),
		// 																																																																											to.Ptr("WestCentralUs"),
		// 																																																																											to.Ptr("WestEurope"),
		// 																																																																											to.Ptr("WestUs"),
		// 																																																																											to.Ptr("WestUs2"),
		// 																																																																											to.Ptr("ChinaEast2"),
		// 																																																																											to.Ptr("ChinaNorth2")},
		// 																																																																										},
		// 																																																																										{
		// 																																																																											Category: []*string{
		// 																																																																												to.Ptr("GeneralPurpose")},
		// 																																																																												FamilyName: to.Ptr("Dv3_series"),
		// 																																																																												TargetLocations: []*string{
		// 																																																																													to.Ptr("AustraliaCentral"),
		// 																																																																													to.Ptr("AustraliaCentral2"),
		// 																																																																													to.Ptr("AustraliaEast"),
		// 																																																																													to.Ptr("AustraliaSoutheast"),
		// 																																																																													to.Ptr("BrazilSouth"),
		// 																																																																													to.Ptr("CanadaCentral"),
		// 																																																																													to.Ptr("CanadaEast"),
		// 																																																																													to.Ptr("CentralIndia"),
		// 																																																																													to.Ptr("CentralUs"),
		// 																																																																													to.Ptr("EastAsia"),
		// 																																																																													to.Ptr("EastUs"),
		// 																																																																													to.Ptr("EastUs2"),
		// 																																																																													to.Ptr("FranceCentral"),
		// 																																																																													to.Ptr("FranceSouth"),
		// 																																																																													to.Ptr("GermanyNorth"),
		// 																																																																													to.Ptr("GermanyWestCentral"),
		// 																																																																													to.Ptr("ItalyNorth"),
		// 																																																																													to.Ptr("JapanEast"),
		// 																																																																													to.Ptr("JapanWest"),
		// 																																																																													to.Ptr("KoreaCentral"),
		// 																																																																													to.Ptr("KoreaSouth"),
		// 																																																																													to.Ptr("NorthCentralUs"),
		// 																																																																													to.Ptr("NorthEurope"),
		// 																																																																													to.Ptr("NorwayEast"),
		// 																																																																													to.Ptr("NorwayWest"),
		// 																																																																													to.Ptr("PolandCentral"),
		// 																																																																													to.Ptr("QatarCentral"),
		// 																																																																													to.Ptr("SouthAfricaNorth"),
		// 																																																																													to.Ptr("SouthAfricaWest"),
		// 																																																																													to.Ptr("SouthCentralUs"),
		// 																																																																													to.Ptr("SoutheastAsia"),
		// 																																																																													to.Ptr("SouthIndia"),
		// 																																																																													to.Ptr("SwedenCentral"),
		// 																																																																													to.Ptr("SwitzerlandNorth"),
		// 																																																																													to.Ptr("SwitzerlandWest"),
		// 																																																																													to.Ptr("UAECentral"),
		// 																																																																													to.Ptr("UAENorth"),
		// 																																																																													to.Ptr("UkSouth"),
		// 																																																																													to.Ptr("UkWest"),
		// 																																																																													to.Ptr("WestCentralUs"),
		// 																																																																													to.Ptr("WestEurope"),
		// 																																																																													to.Ptr("WestIndia"),
		// 																																																																													to.Ptr("WestUs"),
		// 																																																																													to.Ptr("WestUs2"),
		// 																																																																													to.Ptr("ChinaEast"),
		// 																																																																													to.Ptr("ChinaEast2"),
		// 																																																																													to.Ptr("ChinaNorth2"),
		// 																																																																													to.Ptr("USGovArizona"),
		// 																																																																													to.Ptr("USGovIowa"),
		// 																																																																													to.Ptr("USGovTexas"),
		// 																																																																													to.Ptr("USGovVirginia")},
		// 																																																																												},
		// 																																																																												{
		// 																																																																													Category: []*string{
		// 																																																																														to.Ptr("GeneralPurpose")},
		// 																																																																														FamilyName: to.Ptr("Dv4_series"),
		// 																																																																														TargetLocations: []*string{
		// 																																																																															to.Ptr("AustraliaCentral"),
		// 																																																																															to.Ptr("AustraliaCentral2"),
		// 																																																																															to.Ptr("AustraliaEast"),
		// 																																																																															to.Ptr("AustraliaSoutheast"),
		// 																																																																															to.Ptr("BrazilSouth"),
		// 																																																																															to.Ptr("CanadaCentral"),
		// 																																																																															to.Ptr("CanadaEast"),
		// 																																																																															to.Ptr("CentralIndia"),
		// 																																																																															to.Ptr("CentralUs"),
		// 																																																																															to.Ptr("EastAsia"),
		// 																																																																															to.Ptr("EastUs"),
		// 																																																																															to.Ptr("EastUs2"),
		// 																																																																															to.Ptr("FranceCentral"),
		// 																																																																															to.Ptr("FranceSouth"),
		// 																																																																															to.Ptr("GermanyNorth"),
		// 																																																																															to.Ptr("GermanyWestCentral"),
		// 																																																																															to.Ptr("ItalyNorth"),
		// 																																																																															to.Ptr("JapanEast"),
		// 																																																																															to.Ptr("JapanWest"),
		// 																																																																															to.Ptr("KoreaCentral"),
		// 																																																																															to.Ptr("KoreaSouth"),
		// 																																																																															to.Ptr("NorthCentralUs"),
		// 																																																																															to.Ptr("NorthEurope"),
		// 																																																																															to.Ptr("NorwayEast"),
		// 																																																																															to.Ptr("NorwayWest"),
		// 																																																																															to.Ptr("PolandCentral"),
		// 																																																																															to.Ptr("QatarCentral"),
		// 																																																																															to.Ptr("SouthAfricaNorth"),
		// 																																																																															to.Ptr("SouthAfricaWest"),
		// 																																																																															to.Ptr("SouthCentralUs"),
		// 																																																																															to.Ptr("SoutheastAsia"),
		// 																																																																															to.Ptr("SouthIndia"),
		// 																																																																															to.Ptr("SwedenCentral"),
		// 																																																																															to.Ptr("SwitzerlandNorth"),
		// 																																																																															to.Ptr("SwitzerlandWest"),
		// 																																																																															to.Ptr("UAECentral"),
		// 																																																																															to.Ptr("UAENorth"),
		// 																																																																															to.Ptr("UkSouth"),
		// 																																																																															to.Ptr("UkWest"),
		// 																																																																															to.Ptr("WestCentralUs"),
		// 																																																																															to.Ptr("WestEurope"),
		// 																																																																															to.Ptr("WestUs"),
		// 																																																																															to.Ptr("WestUs2"),
		// 																																																																															to.Ptr("ChinaEast2"),
		// 																																																																															to.Ptr("ChinaNorth2"),
		// 																																																																															to.Ptr("USGovArizona"),
		// 																																																																															to.Ptr("USGovTexas"),
		// 																																																																															to.Ptr("USGovVirginia")},
		// 																																																																														},
		// 																																																																														{
		// 																																																																															Category: []*string{
		// 																																																																																to.Ptr("GeneralPurpose")},
		// 																																																																																FamilyName: to.Ptr("Dv5_series"),
		// 																																																																																TargetLocations: []*string{
		// 																																																																																	to.Ptr("AustraliaCentral"),
		// 																																																																																	to.Ptr("AustraliaCentral2"),
		// 																																																																																	to.Ptr("AustraliaEast"),
		// 																																																																																	to.Ptr("AustraliaSoutheast"),
		// 																																																																																	to.Ptr("BrazilSouth"),
		// 																																																																																	to.Ptr("CanadaCentral"),
		// 																																																																																	to.Ptr("CanadaEast"),
		// 																																																																																	to.Ptr("CentralIndia"),
		// 																																																																																	to.Ptr("CentralUs"),
		// 																																																																																	to.Ptr("EastAsia"),
		// 																																																																																	to.Ptr("EastUs"),
		// 																																																																																	to.Ptr("EastUs2"),
		// 																																																																																	to.Ptr("FranceCentral"),
		// 																																																																																	to.Ptr("FranceSouth"),
		// 																																																																																	to.Ptr("GermanyNorth"),
		// 																																																																																	to.Ptr("GermanyWestCentral"),
		// 																																																																																	to.Ptr("JapanEast"),
		// 																																																																																	to.Ptr("JapanWest"),
		// 																																																																																	to.Ptr("KoreaCentral"),
		// 																																																																																	to.Ptr("KoreaSouth"),
		// 																																																																																	to.Ptr("NorthCentralUs"),
		// 																																																																																	to.Ptr("NorthEurope"),
		// 																																																																																	to.Ptr("NorwayEast"),
		// 																																																																																	to.Ptr("NorwayWest"),
		// 																																																																																	to.Ptr("PolandCentral"),
		// 																																																																																	to.Ptr("QatarCentral"),
		// 																																																																																	to.Ptr("SouthAfricaNorth"),
		// 																																																																																	to.Ptr("SouthAfricaWest"),
		// 																																																																																	to.Ptr("SouthCentralUs"),
		// 																																																																																	to.Ptr("SoutheastAsia"),
		// 																																																																																	to.Ptr("SouthIndia"),
		// 																																																																																	to.Ptr("SwedenCentral"),
		// 																																																																																	to.Ptr("SwitzerlandNorth"),
		// 																																																																																	to.Ptr("SwitzerlandWest"),
		// 																																																																																	to.Ptr("UAENorth"),
		// 																																																																																	to.Ptr("UkSouth"),
		// 																																																																																	to.Ptr("UkWest"),
		// 																																																																																	to.Ptr("WestCentralUs"),
		// 																																																																																	to.Ptr("WestEurope"),
		// 																																																																																	to.Ptr("WestUs"),
		// 																																																																																	to.Ptr("WestUs2"),
		// 																																																																																	to.Ptr("ChinaEast2"),
		// 																																																																																	to.Ptr("ChinaNorth2")},
		// 																																																																																},
		// 																																																																																{
		// 																																																																																	Category: []*string{
		// 																																																																																		to.Ptr("GeneralPurpose"),
		// 																																																																																		to.Ptr("SupportsPremiumStorage"),
		// 																																																																																		to.Ptr("Confidential")},
		// 																																																																																		FamilyName: to.Ptr("DC_Series"),
		// 																																																																																		TargetLocations: []*string{
		// 																																																																																			to.Ptr("EastUs"),
		// 																																																																																			to.Ptr("WestEurope")},
		// 																																																																																		},
		// 																																																																																		{
		// 																																																																																			Category: []*string{
		// 																																																																																				to.Ptr("GeneralPurpose"),
		// 																																																																																				to.Ptr("MemoryOptimized"),
		// 																																																																																				to.Ptr("SupportsPremiumStorage")},
		// 																																																																																				FamilyName: to.Ptr("DS_series"),
		// 																																																																																				TargetLocations: []*string{
		// 																																																																																					to.Ptr("AustraliaEast"),
		// 																																																																																					to.Ptr("AustraliaSoutheast"),
		// 																																																																																					to.Ptr("BrazilSouth"),
		// 																																																																																					to.Ptr("CanadaCentral"),
		// 																																																																																					to.Ptr("CentralIndia"),
		// 																																																																																					to.Ptr("CentralUs"),
		// 																																																																																					to.Ptr("EastAsia"),
		// 																																																																																					to.Ptr("EastUs"),
		// 																																																																																					to.Ptr("EastUs2"),
		// 																																																																																					to.Ptr("JapanEast"),
		// 																																																																																					to.Ptr("JapanWest"),
		// 																																																																																					to.Ptr("NorthCentralUs"),
		// 																																																																																					to.Ptr("NorthEurope"),
		// 																																																																																					to.Ptr("SouthCentralUs"),
		// 																																																																																					to.Ptr("SoutheastAsia"),
		// 																																																																																					to.Ptr("SouthIndia"),
		// 																																																																																					to.Ptr("WestEurope"),
		// 																																																																																					to.Ptr("WestIndia"),
		// 																																																																																					to.Ptr("WestUs"),
		// 																																																																																					to.Ptr("ChinaEast"),
		// 																																																																																					to.Ptr("ChinaNorth"),
		// 																																																																																					to.Ptr("USGovVirginia")},
		// 																																																																																				},
		// 																																																																																				{
		// 																																																																																					Category: []*string{
		// 																																																																																						to.Ptr("GeneralPurpose"),
		// 																																																																																						to.Ptr("MemoryOptimized"),
		// 																																																																																						to.Ptr("SupportsPremiumStorage")},
		// 																																																																																						FamilyName: to.Ptr("DSv2_series"),
		// 																																																																																						TargetLocations: []*string{
		// 																																																																																							to.Ptr("AustraliaCentral"),
		// 																																																																																							to.Ptr("AustraliaCentral2"),
		// 																																																																																							to.Ptr("AustraliaEast"),
		// 																																																																																							to.Ptr("AustraliaSoutheast"),
		// 																																																																																							to.Ptr("BrazilSouth"),
		// 																																																																																							to.Ptr("CanadaCentral"),
		// 																																																																																							to.Ptr("CanadaEast"),
		// 																																																																																							to.Ptr("CentralIndia"),
		// 																																																																																							to.Ptr("CentralUs"),
		// 																																																																																							to.Ptr("EastAsia"),
		// 																																																																																							to.Ptr("EastUs"),
		// 																																																																																							to.Ptr("EastUs2"),
		// 																																																																																							to.Ptr("FranceCentral"),
		// 																																																																																							to.Ptr("FranceSouth"),
		// 																																																																																							to.Ptr("GermanyNorth"),
		// 																																																																																							to.Ptr("GermanyWestCentral"),
		// 																																																																																							to.Ptr("ItalyNorth"),
		// 																																																																																							to.Ptr("JapanEast"),
		// 																																																																																							to.Ptr("JapanWest"),
		// 																																																																																							to.Ptr("KoreaCentral"),
		// 																																																																																							to.Ptr("KoreaSouth"),
		// 																																																																																							to.Ptr("NorthCentralUs"),
		// 																																																																																							to.Ptr("NorthEurope"),
		// 																																																																																							to.Ptr("NorwayEast"),
		// 																																																																																							to.Ptr("NorwayWest"),
		// 																																																																																							to.Ptr("PolandCentral"),
		// 																																																																																							to.Ptr("QatarCentral"),
		// 																																																																																							to.Ptr("SouthAfricaNorth"),
		// 																																																																																							to.Ptr("SouthAfricaWest"),
		// 																																																																																							to.Ptr("SouthCentralUs"),
		// 																																																																																							to.Ptr("SoutheastAsia"),
		// 																																																																																							to.Ptr("SouthIndia"),
		// 																																																																																							to.Ptr("SwedenCentral"),
		// 																																																																																							to.Ptr("SwitzerlandNorth"),
		// 																																																																																							to.Ptr("SwitzerlandWest"),
		// 																																																																																							to.Ptr("UAECentral"),
		// 																																																																																							to.Ptr("UAENorth"),
		// 																																																																																							to.Ptr("UkSouth"),
		// 																																																																																							to.Ptr("UkWest"),
		// 																																																																																							to.Ptr("WestCentralUs"),
		// 																																																																																							to.Ptr("WestEurope"),
		// 																																																																																							to.Ptr("WestIndia"),
		// 																																																																																							to.Ptr("WestUs"),
		// 																																																																																							to.Ptr("WestUs2"),
		// 																																																																																							to.Ptr("ChinaEast"),
		// 																																																																																							to.Ptr("ChinaEast2"),
		// 																																																																																							to.Ptr("ChinaNorth"),
		// 																																																																																							to.Ptr("ChinaNorth2"),
		// 																																																																																							to.Ptr("USGovArizona"),
		// 																																																																																							to.Ptr("USGovTexas"),
		// 																																																																																							to.Ptr("USGovVirginia")},
		// 																																																																																						},
		// 																																																																																						{
		// 																																																																																							Category: []*string{
		// 																																																																																								to.Ptr("MemoryOptimized"),
		// 																																																																																								to.Ptr("SupportsPremiumStorage")},
		// 																																																																																								FamilyName: to.Ptr("Edsv5_series"),
		// 																																																																																								TargetLocations: []*string{
		// 																																																																																									to.Ptr("AustraliaCentral"),
		// 																																																																																									to.Ptr("AustraliaCentral2"),
		// 																																																																																									to.Ptr("AustraliaEast"),
		// 																																																																																									to.Ptr("AustraliaSoutheast"),
		// 																																																																																									to.Ptr("BrazilSouth"),
		// 																																																																																									to.Ptr("CanadaCentral"),
		// 																																																																																									to.Ptr("CanadaEast"),
		// 																																																																																									to.Ptr("CentralIndia"),
		// 																																																																																									to.Ptr("CentralUs"),
		// 																																																																																									to.Ptr("EastAsia"),
		// 																																																																																									to.Ptr("EastUs"),
		// 																																																																																									to.Ptr("EastUs2"),
		// 																																																																																									to.Ptr("FranceCentral"),
		// 																																																																																									to.Ptr("FranceSouth"),
		// 																																																																																									to.Ptr("GermanyNorth"),
		// 																																																																																									to.Ptr("GermanyWestCentral"),
		// 																																																																																									to.Ptr("JapanEast"),
		// 																																																																																									to.Ptr("JapanWest"),
		// 																																																																																									to.Ptr("KoreaCentral"),
		// 																																																																																									to.Ptr("KoreaSouth"),
		// 																																																																																									to.Ptr("NorthCentralUs"),
		// 																																																																																									to.Ptr("NorthEurope"),
		// 																																																																																									to.Ptr("NorwayEast"),
		// 																																																																																									to.Ptr("NorwayWest"),
		// 																																																																																									to.Ptr("PolandCentral"),
		// 																																																																																									to.Ptr("QatarCentral"),
		// 																																																																																									to.Ptr("SouthAfricaNorth"),
		// 																																																																																									to.Ptr("SouthAfricaWest"),
		// 																																																																																									to.Ptr("SouthCentralUs"),
		// 																																																																																									to.Ptr("SoutheastAsia"),
		// 																																																																																									to.Ptr("SouthIndia"),
		// 																																																																																									to.Ptr("SwedenCentral"),
		// 																																																																																									to.Ptr("SwitzerlandNorth"),
		// 																																																																																									to.Ptr("SwitzerlandWest"),
		// 																																																																																									to.Ptr("UAENorth"),
		// 																																																																																									to.Ptr("UkSouth"),
		// 																																																																																									to.Ptr("UkWest"),
		// 																																																																																									to.Ptr("WestCentralUs"),
		// 																																																																																									to.Ptr("WestEurope"),
		// 																																																																																									to.Ptr("WestUs"),
		// 																																																																																									to.Ptr("WestUs2"),
		// 																																																																																									to.Ptr("ChinaEast2"),
		// 																																																																																									to.Ptr("ChinaNorth2")},
		// 																																																																																								},
		// 																																																																																								{
		// 																																																																																									Category: []*string{
		// 																																																																																										to.Ptr("MemoryOptimized")},
		// 																																																																																										FamilyName: to.Ptr("Edv5_series"),
		// 																																																																																										TargetLocations: []*string{
		// 																																																																																											to.Ptr("AustraliaCentral"),
		// 																																																																																											to.Ptr("AustraliaCentral2"),
		// 																																																																																											to.Ptr("AustraliaEast"),
		// 																																																																																											to.Ptr("AustraliaSoutheast"),
		// 																																																																																											to.Ptr("BrazilSouth"),
		// 																																																																																											to.Ptr("CanadaCentral"),
		// 																																																																																											to.Ptr("CanadaEast"),
		// 																																																																																											to.Ptr("CentralIndia"),
		// 																																																																																											to.Ptr("CentralUs"),
		// 																																																																																											to.Ptr("EastAsia"),
		// 																																																																																											to.Ptr("EastUs"),
		// 																																																																																											to.Ptr("EastUs2"),
		// 																																																																																											to.Ptr("FranceCentral"),
		// 																																																																																											to.Ptr("FranceSouth"),
		// 																																																																																											to.Ptr("GermanyNorth"),
		// 																																																																																											to.Ptr("GermanyWestCentral"),
		// 																																																																																											to.Ptr("JapanEast"),
		// 																																																																																											to.Ptr("JapanWest"),
		// 																																																																																											to.Ptr("KoreaCentral"),
		// 																																																																																											to.Ptr("KoreaSouth"),
		// 																																																																																											to.Ptr("NorthCentralUs"),
		// 																																																																																											to.Ptr("NorthEurope"),
		// 																																																																																											to.Ptr("NorwayEast"),
		// 																																																																																											to.Ptr("NorwayWest"),
		// 																																																																																											to.Ptr("PolandCentral"),
		// 																																																																																											to.Ptr("QatarCentral"),
		// 																																																																																											to.Ptr("SouthAfricaNorth"),
		// 																																																																																											to.Ptr("SouthAfricaWest"),
		// 																																																																																											to.Ptr("SouthCentralUs"),
		// 																																																																																											to.Ptr("SoutheastAsia"),
		// 																																																																																											to.Ptr("SouthIndia"),
		// 																																																																																											to.Ptr("SwedenCentral"),
		// 																																																																																											to.Ptr("SwitzerlandNorth"),
		// 																																																																																											to.Ptr("SwitzerlandWest"),
		// 																																																																																											to.Ptr("UAENorth"),
		// 																																																																																											to.Ptr("UkSouth"),
		// 																																																																																											to.Ptr("UkWest"),
		// 																																																																																											to.Ptr("WestCentralUs"),
		// 																																																																																											to.Ptr("WestEurope"),
		// 																																																																																											to.Ptr("WestUs"),
		// 																																																																																											to.Ptr("WestUs2"),
		// 																																																																																											to.Ptr("ChinaEast2"),
		// 																																																																																											to.Ptr("ChinaNorth2")},
		// 																																																																																										},
		// 																																																																																										{
		// 																																																																																											Category: []*string{
		// 																																																																																												to.Ptr("MemoryOptimized"),
		// 																																																																																												to.Ptr("SupportsPremiumStorage")},
		// 																																																																																												FamilyName: to.Ptr("Esv5_series"),
		// 																																																																																												TargetLocations: []*string{
		// 																																																																																													to.Ptr("AustraliaCentral"),
		// 																																																																																													to.Ptr("AustraliaCentral2"),
		// 																																																																																													to.Ptr("AustraliaEast"),
		// 																																																																																													to.Ptr("AustraliaSoutheast"),
		// 																																																																																													to.Ptr("BrazilSouth"),
		// 																																																																																													to.Ptr("CanadaCentral"),
		// 																																																																																													to.Ptr("CanadaEast"),
		// 																																																																																													to.Ptr("CentralIndia"),
		// 																																																																																													to.Ptr("CentralUs"),
		// 																																																																																													to.Ptr("EastAsia"),
		// 																																																																																													to.Ptr("EastUs"),
		// 																																																																																													to.Ptr("EastUs2"),
		// 																																																																																													to.Ptr("FranceCentral"),
		// 																																																																																													to.Ptr("FranceSouth"),
		// 																																																																																													to.Ptr("GermanyNorth"),
		// 																																																																																													to.Ptr("GermanyWestCentral"),
		// 																																																																																													to.Ptr("JapanEast"),
		// 																																																																																													to.Ptr("JapanWest"),
		// 																																																																																													to.Ptr("KoreaCentral"),
		// 																																																																																													to.Ptr("KoreaSouth"),
		// 																																																																																													to.Ptr("NorthCentralUs"),
		// 																																																																																													to.Ptr("NorthEurope"),
		// 																																																																																													to.Ptr("NorwayEast"),
		// 																																																																																													to.Ptr("NorwayWest"),
		// 																																																																																													to.Ptr("PolandCentral"),
		// 																																																																																													to.Ptr("QatarCentral"),
		// 																																																																																													to.Ptr("SouthAfricaNorth"),
		// 																																																																																													to.Ptr("SouthAfricaWest"),
		// 																																																																																													to.Ptr("SouthCentralUs"),
		// 																																																																																													to.Ptr("SoutheastAsia"),
		// 																																																																																													to.Ptr("SouthIndia"),
		// 																																																																																													to.Ptr("SwedenCentral"),
		// 																																																																																													to.Ptr("SwitzerlandNorth"),
		// 																																																																																													to.Ptr("SwitzerlandWest"),
		// 																																																																																													to.Ptr("UAENorth"),
		// 																																																																																													to.Ptr("UkSouth"),
		// 																																																																																													to.Ptr("UkWest"),
		// 																																																																																													to.Ptr("WestCentralUs"),
		// 																																																																																													to.Ptr("WestEurope"),
		// 																																																																																													to.Ptr("WestUs"),
		// 																																																																																													to.Ptr("WestUs2"),
		// 																																																																																													to.Ptr("ChinaEast2"),
		// 																																																																																													to.Ptr("ChinaNorth2")},
		// 																																																																																												},
		// 																																																																																												{
		// 																																																																																													Category: []*string{
		// 																																																																																														to.Ptr("MemoryOptimized")},
		// 																																																																																														FamilyName: to.Ptr("Ev5_series"),
		// 																																																																																														TargetLocations: []*string{
		// 																																																																																															to.Ptr("AustraliaCentral"),
		// 																																																																																															to.Ptr("AustraliaCentral2"),
		// 																																																																																															to.Ptr("AustraliaEast"),
		// 																																																																																															to.Ptr("AustraliaSoutheast"),
		// 																																																																																															to.Ptr("BrazilSouth"),
		// 																																																																																															to.Ptr("CanadaCentral"),
		// 																																																																																															to.Ptr("CanadaEast"),
		// 																																																																																															to.Ptr("CentralIndia"),
		// 																																																																																															to.Ptr("CentralUs"),
		// 																																																																																															to.Ptr("EastAsia"),
		// 																																																																																															to.Ptr("EastUs"),
		// 																																																																																															to.Ptr("EastUs2"),
		// 																																																																																															to.Ptr("FranceCentral"),
		// 																																																																																															to.Ptr("FranceSouth"),
		// 																																																																																															to.Ptr("GermanyNorth"),
		// 																																																																																															to.Ptr("GermanyWestCentral"),
		// 																																																																																															to.Ptr("JapanEast"),
		// 																																																																																															to.Ptr("JapanWest"),
		// 																																																																																															to.Ptr("KoreaCentral"),
		// 																																																																																															to.Ptr("KoreaSouth"),
		// 																																																																																															to.Ptr("NorthCentralUs"),
		// 																																																																																															to.Ptr("NorthEurope"),
		// 																																																																																															to.Ptr("NorwayEast"),
		// 																																																																																															to.Ptr("NorwayWest"),
		// 																																																																																															to.Ptr("PolandCentral"),
		// 																																																																																															to.Ptr("QatarCentral"),
		// 																																																																																															to.Ptr("SouthAfricaNorth"),
		// 																																																																																															to.Ptr("SouthAfricaWest"),
		// 																																																																																															to.Ptr("SouthCentralUs"),
		// 																																																																																															to.Ptr("SoutheastAsia"),
		// 																																																																																															to.Ptr("SouthIndia"),
		// 																																																																																															to.Ptr("SwedenCentral"),
		// 																																																																																															to.Ptr("SwitzerlandNorth"),
		// 																																																																																															to.Ptr("SwitzerlandWest"),
		// 																																																																																															to.Ptr("UAENorth"),
		// 																																																																																															to.Ptr("UkSouth"),
		// 																																																																																															to.Ptr("UkWest"),
		// 																																																																																															to.Ptr("WestCentralUs"),
		// 																																																																																															to.Ptr("WestEurope"),
		// 																																																																																															to.Ptr("WestUs"),
		// 																																																																																															to.Ptr("WestUs2"),
		// 																																																																																															to.Ptr("ChinaEast2"),
		// 																																																																																															to.Ptr("ChinaNorth2")},
		// 																																																																																														},
		// 																																																																																														{
		// 																																																																																															Category: []*string{
		// 																																																																																																to.Ptr("MemoryOptimized"),
		// 																																																																																																to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																FamilyName: to.Ptr("Eadsv5_series"),
		// 																																																																																																TargetLocations: []*string{
		// 																																																																																																	to.Ptr("AustraliaCentral"),
		// 																																																																																																	to.Ptr("AustraliaEast"),
		// 																																																																																																	to.Ptr("AustraliaSoutheast"),
		// 																																																																																																	to.Ptr("BrazilSouth"),
		// 																																																																																																	to.Ptr("CanadaCentral"),
		// 																																																																																																	to.Ptr("CanadaEast"),
		// 																																																																																																	to.Ptr("CentralIndia"),
		// 																																																																																																	to.Ptr("CentralUs"),
		// 																																																																																																	to.Ptr("EastAsia"),
		// 																																																																																																	to.Ptr("EastUs"),
		// 																																																																																																	to.Ptr("EastUs2"),
		// 																																																																																																	to.Ptr("FranceCentral"),
		// 																																																																																																	to.Ptr("FranceSouth"),
		// 																																																																																																	to.Ptr("GermanyNorth"),
		// 																																																																																																	to.Ptr("JapanEast"),
		// 																																																																																																	to.Ptr("JapanWest"),
		// 																																																																																																	to.Ptr("KoreaSouth"),
		// 																																																																																																	to.Ptr("NorthCentralUs"),
		// 																																																																																																	to.Ptr("NorthEurope"),
		// 																																																																																																	to.Ptr("NorwayEast"),
		// 																																																																																																	to.Ptr("NorwayWest"),
		// 																																																																																																	to.Ptr("PolandCentral"),
		// 																																																																																																	to.Ptr("SouthAfricaWest"),
		// 																																																																																																	to.Ptr("SouthCentralUs"),
		// 																																																																																																	to.Ptr("SoutheastAsia"),
		// 																																																																																																	to.Ptr("SwedenCentral"),
		// 																																																																																																	to.Ptr("SwitzerlandNorth"),
		// 																																																																																																	to.Ptr("UAENorth"),
		// 																																																																																																	to.Ptr("UkSouth"),
		// 																																																																																																	to.Ptr("UkWest"),
		// 																																																																																																	to.Ptr("WestCentralUs"),
		// 																																																																																																	to.Ptr("WestEurope"),
		// 																																																																																																	to.Ptr("WestUs"),
		// 																																																																																																	to.Ptr("WestUs2"),
		// 																																																																																																	to.Ptr("USGovArizona"),
		// 																																																																																																	to.Ptr("USGovTexas"),
		// 																																																																																																	to.Ptr("USGovVirginia")},
		// 																																																																																																},
		// 																																																																																																{
		// 																																																																																																	Category: []*string{
		// 																																																																																																		to.Ptr("MemoryOptimized"),
		// 																																																																																																		to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																		FamilyName: to.Ptr("Easv4_series"),
		// 																																																																																																		TargetLocations: []*string{
		// 																																																																																																			to.Ptr("AustraliaCentral"),
		// 																																																																																																			to.Ptr("AustraliaEast"),
		// 																																																																																																			to.Ptr("AustraliaSoutheast"),
		// 																																																																																																			to.Ptr("BrazilSouth"),
		// 																																																																																																			to.Ptr("CanadaCentral"),
		// 																																																																																																			to.Ptr("CanadaEast"),
		// 																																																																																																			to.Ptr("CentralIndia"),
		// 																																																																																																			to.Ptr("CentralUs"),
		// 																																																																																																			to.Ptr("EastAsia"),
		// 																																																																																																			to.Ptr("EastUs"),
		// 																																																																																																			to.Ptr("EastUs2"),
		// 																																																																																																			to.Ptr("FranceCentral"),
		// 																																																																																																			to.Ptr("FranceSouth"),
		// 																																																																																																			to.Ptr("GermanyNorth"),
		// 																																																																																																			to.Ptr("JapanEast"),
		// 																																																																																																			to.Ptr("JapanWest"),
		// 																																																																																																			to.Ptr("KoreaCentral"),
		// 																																																																																																			to.Ptr("KoreaSouth"),
		// 																																																																																																			to.Ptr("NorthCentralUs"),
		// 																																																																																																			to.Ptr("NorthEurope"),
		// 																																																																																																			to.Ptr("NorwayEast"),
		// 																																																																																																			to.Ptr("NorwayWest"),
		// 																																																																																																			to.Ptr("PolandCentral"),
		// 																																																																																																			to.Ptr("SouthAfricaWest"),
		// 																																																																																																			to.Ptr("SouthCentralUs"),
		// 																																																																																																			to.Ptr("SoutheastAsia"),
		// 																																																																																																			to.Ptr("SouthIndia"),
		// 																																																																																																			to.Ptr("SwedenCentral"),
		// 																																																																																																			to.Ptr("SwitzerlandNorth"),
		// 																																																																																																			to.Ptr("UAENorth"),
		// 																																																																																																			to.Ptr("UkSouth"),
		// 																																																																																																			to.Ptr("UkWest"),
		// 																																																																																																			to.Ptr("WestCentralUs"),
		// 																																																																																																			to.Ptr("WestEurope"),
		// 																																																																																																			to.Ptr("WestUs"),
		// 																																																																																																			to.Ptr("WestUs2"),
		// 																																																																																																			to.Ptr("USGovArizona"),
		// 																																																																																																			to.Ptr("USGovTexas"),
		// 																																																																																																			to.Ptr("USGovVirginia")},
		// 																																																																																																		},
		// 																																																																																																		{
		// 																																																																																																			Category: []*string{
		// 																																																																																																				to.Ptr("MemoryOptimized"),
		// 																																																																																																				to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																				FamilyName: to.Ptr("Easv5_series"),
		// 																																																																																																				TargetLocations: []*string{
		// 																																																																																																					to.Ptr("AustraliaCentral"),
		// 																																																																																																					to.Ptr("AustraliaEast"),
		// 																																																																																																					to.Ptr("AustraliaSoutheast"),
		// 																																																																																																					to.Ptr("BrazilSouth"),
		// 																																																																																																					to.Ptr("CanadaCentral"),
		// 																																																																																																					to.Ptr("CanadaEast"),
		// 																																																																																																					to.Ptr("CentralIndia"),
		// 																																																																																																					to.Ptr("CentralUs"),
		// 																																																																																																					to.Ptr("EastAsia"),
		// 																																																																																																					to.Ptr("EastUs"),
		// 																																																																																																					to.Ptr("EastUs2"),
		// 																																																																																																					to.Ptr("FranceCentral"),
		// 																																																																																																					to.Ptr("FranceSouth"),
		// 																																																																																																					to.Ptr("GermanyNorth"),
		// 																																																																																																					to.Ptr("JapanEast"),
		// 																																																																																																					to.Ptr("JapanWest"),
		// 																																																																																																					to.Ptr("KoreaSouth"),
		// 																																																																																																					to.Ptr("NorthCentralUs"),
		// 																																																																																																					to.Ptr("NorthEurope"),
		// 																																																																																																					to.Ptr("NorwayEast"),
		// 																																																																																																					to.Ptr("NorwayWest"),
		// 																																																																																																					to.Ptr("PolandCentral"),
		// 																																																																																																					to.Ptr("SouthAfricaWest"),
		// 																																																																																																					to.Ptr("SouthCentralUs"),
		// 																																																																																																					to.Ptr("SoutheastAsia"),
		// 																																																																																																					to.Ptr("SwedenCentral"),
		// 																																																																																																					to.Ptr("SwitzerlandNorth"),
		// 																																																																																																					to.Ptr("UAENorth"),
		// 																																																																																																					to.Ptr("UkSouth"),
		// 																																																																																																					to.Ptr("UkWest"),
		// 																																																																																																					to.Ptr("WestCentralUs"),
		// 																																																																																																					to.Ptr("WestEurope"),
		// 																																																																																																					to.Ptr("WestUs"),
		// 																																																																																																					to.Ptr("WestUs2"),
		// 																																																																																																					to.Ptr("USGovArizona"),
		// 																																																																																																					to.Ptr("USGovTexas"),
		// 																																																																																																					to.Ptr("USGovVirginia")},
		// 																																																																																																				},
		// 																																																																																																				{
		// 																																																																																																					Category: []*string{
		// 																																																																																																						to.Ptr("MemoryOptimized")},
		// 																																																																																																						FamilyName: to.Ptr("Eav4_series"),
		// 																																																																																																						TargetLocations: []*string{
		// 																																																																																																							to.Ptr("AustraliaCentral"),
		// 																																																																																																							to.Ptr("AustraliaEast"),
		// 																																																																																																							to.Ptr("AustraliaSoutheast"),
		// 																																																																																																							to.Ptr("BrazilSouth"),
		// 																																																																																																							to.Ptr("CanadaCentral"),
		// 																																																																																																							to.Ptr("CanadaEast"),
		// 																																																																																																							to.Ptr("CentralIndia"),
		// 																																																																																																							to.Ptr("CentralUs"),
		// 																																																																																																							to.Ptr("EastAsia"),
		// 																																																																																																							to.Ptr("EastUs"),
		// 																																																																																																							to.Ptr("EastUs2"),
		// 																																																																																																							to.Ptr("FranceCentral"),
		// 																																																																																																							to.Ptr("FranceSouth"),
		// 																																																																																																							to.Ptr("GermanyNorth"),
		// 																																																																																																							to.Ptr("JapanEast"),
		// 																																																																																																							to.Ptr("JapanWest"),
		// 																																																																																																							to.Ptr("KoreaCentral"),
		// 																																																																																																							to.Ptr("KoreaSouth"),
		// 																																																																																																							to.Ptr("NorthCentralUs"),
		// 																																																																																																							to.Ptr("NorthEurope"),
		// 																																																																																																							to.Ptr("NorwayEast"),
		// 																																																																																																							to.Ptr("NorwayWest"),
		// 																																																																																																							to.Ptr("PolandCentral"),
		// 																																																																																																							to.Ptr("SouthAfricaWest"),
		// 																																																																																																							to.Ptr("SouthCentralUs"),
		// 																																																																																																							to.Ptr("SoutheastAsia"),
		// 																																																																																																							to.Ptr("SouthIndia"),
		// 																																																																																																							to.Ptr("SwedenCentral"),
		// 																																																																																																							to.Ptr("SwitzerlandNorth"),
		// 																																																																																																							to.Ptr("UAENorth"),
		// 																																																																																																							to.Ptr("UkSouth"),
		// 																																																																																																							to.Ptr("UkWest"),
		// 																																																																																																							to.Ptr("WestCentralUs"),
		// 																																																																																																							to.Ptr("WestEurope"),
		// 																																																																																																							to.Ptr("WestUs"),
		// 																																																																																																							to.Ptr("WestUs2"),
		// 																																																																																																							to.Ptr("USGovArizona"),
		// 																																																																																																							to.Ptr("USGovTexas"),
		// 																																																																																																							to.Ptr("USGovVirginia")},
		// 																																																																																																						},
		// 																																																																																																						{
		// 																																																																																																							Category: []*string{
		// 																																																																																																								to.Ptr("MemoryOptimized"),
		// 																																																																																																								to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																								FamilyName: to.Ptr("Ebdsv5_series"),
		// 																																																																																																								TargetLocations: []*string{
		// 																																																																																																									to.Ptr("AustraliaCentral"),
		// 																																																																																																									to.Ptr("AustraliaCentral2"),
		// 																																																																																																									to.Ptr("AustraliaEast"),
		// 																																																																																																									to.Ptr("AustraliaSoutheast"),
		// 																																																																																																									to.Ptr("BrazilSouth"),
		// 																																																																																																									to.Ptr("CanadaCentral"),
		// 																																																																																																									to.Ptr("CanadaEast"),
		// 																																																																																																									to.Ptr("CentralIndia"),
		// 																																																																																																									to.Ptr("CentralUs"),
		// 																																																																																																									to.Ptr("EastAsia"),
		// 																																																																																																									to.Ptr("EastUs"),
		// 																																																																																																									to.Ptr("EastUs2"),
		// 																																																																																																									to.Ptr("FranceCentral"),
		// 																																																																																																									to.Ptr("FranceSouth"),
		// 																																																																																																									to.Ptr("GermanyNorth"),
		// 																																																																																																									to.Ptr("GermanyWestCentral"),
		// 																																																																																																									to.Ptr("ItalyNorth"),
		// 																																																																																																									to.Ptr("JapanEast"),
		// 																																																																																																									to.Ptr("JapanWest"),
		// 																																																																																																									to.Ptr("KoreaCentral"),
		// 																																																																																																									to.Ptr("KoreaSouth"),
		// 																																																																																																									to.Ptr("NorthCentralUs"),
		// 																																																																																																									to.Ptr("NorthEurope"),
		// 																																																																																																									to.Ptr("NorwayEast"),
		// 																																																																																																									to.Ptr("NorwayWest"),
		// 																																																																																																									to.Ptr("PolandCentral"),
		// 																																																																																																									to.Ptr("QatarCentral"),
		// 																																																																																																									to.Ptr("SouthAfricaNorth"),
		// 																																																																																																									to.Ptr("SouthAfricaWest"),
		// 																																																																																																									to.Ptr("SouthCentralUs"),
		// 																																																																																																									to.Ptr("SoutheastAsia"),
		// 																																																																																																									to.Ptr("SouthIndia"),
		// 																																																																																																									to.Ptr("SwedenCentral"),
		// 																																																																																																									to.Ptr("SwitzerlandNorth"),
		// 																																																																																																									to.Ptr("SwitzerlandWest"),
		// 																																																																																																									to.Ptr("UAENorth"),
		// 																																																																																																									to.Ptr("UkSouth"),
		// 																																																																																																									to.Ptr("UkWest"),
		// 																																																																																																									to.Ptr("WestCentralUs"),
		// 																																																																																																									to.Ptr("WestEurope"),
		// 																																																																																																									to.Ptr("WestUs"),
		// 																																																																																																									to.Ptr("WestUs2"),
		// 																																																																																																									to.Ptr("ChinaEast2"),
		// 																																																																																																									to.Ptr("ChinaNorth2"),
		// 																																																																																																									to.Ptr("USGovArizona"),
		// 																																																																																																									to.Ptr("USGovTexas"),
		// 																																																																																																									to.Ptr("USGovVirginia")},
		// 																																																																																																								},
		// 																																																																																																								{
		// 																																																																																																									Category: []*string{
		// 																																																																																																										to.Ptr("MemoryOptimized"),
		// 																																																																																																										to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																										FamilyName: to.Ptr("Ebsv5_series"),
		// 																																																																																																										TargetLocations: []*string{
		// 																																																																																																											to.Ptr("AustraliaCentral"),
		// 																																																																																																											to.Ptr("AustraliaCentral2"),
		// 																																																																																																											to.Ptr("AustraliaEast"),
		// 																																																																																																											to.Ptr("AustraliaSoutheast"),
		// 																																																																																																											to.Ptr("BrazilSouth"),
		// 																																																																																																											to.Ptr("CanadaCentral"),
		// 																																																																																																											to.Ptr("CanadaEast"),
		// 																																																																																																											to.Ptr("CentralIndia"),
		// 																																																																																																											to.Ptr("CentralUs"),
		// 																																																																																																											to.Ptr("EastAsia"),
		// 																																																																																																											to.Ptr("EastUs"),
		// 																																																																																																											to.Ptr("EastUs2"),
		// 																																																																																																											to.Ptr("FranceCentral"),
		// 																																																																																																											to.Ptr("FranceSouth"),
		// 																																																																																																											to.Ptr("GermanyNorth"),
		// 																																																																																																											to.Ptr("GermanyWestCentral"),
		// 																																																																																																											to.Ptr("ItalyNorth"),
		// 																																																																																																											to.Ptr("JapanEast"),
		// 																																																																																																											to.Ptr("JapanWest"),
		// 																																																																																																											to.Ptr("KoreaCentral"),
		// 																																																																																																											to.Ptr("KoreaSouth"),
		// 																																																																																																											to.Ptr("NorthCentralUs"),
		// 																																																																																																											to.Ptr("NorthEurope"),
		// 																																																																																																											to.Ptr("NorwayEast"),
		// 																																																																																																											to.Ptr("NorwayWest"),
		// 																																																																																																											to.Ptr("PolandCentral"),
		// 																																																																																																											to.Ptr("QatarCentral"),
		// 																																																																																																											to.Ptr("SouthAfricaNorth"),
		// 																																																																																																											to.Ptr("SouthAfricaWest"),
		// 																																																																																																											to.Ptr("SouthCentralUs"),
		// 																																																																																																											to.Ptr("SoutheastAsia"),
		// 																																																																																																											to.Ptr("SouthIndia"),
		// 																																																																																																											to.Ptr("SwedenCentral"),
		// 																																																																																																											to.Ptr("SwitzerlandNorth"),
		// 																																																																																																											to.Ptr("SwitzerlandWest"),
		// 																																																																																																											to.Ptr("UAENorth"),
		// 																																																																																																											to.Ptr("UkSouth"),
		// 																																																																																																											to.Ptr("UkWest"),
		// 																																																																																																											to.Ptr("WestCentralUs"),
		// 																																																																																																											to.Ptr("WestEurope"),
		// 																																																																																																											to.Ptr("WestUs"),
		// 																																																																																																											to.Ptr("WestUs2"),
		// 																																																																																																											to.Ptr("ChinaEast2"),
		// 																																																																																																											to.Ptr("ChinaNorth2"),
		// 																																																																																																											to.Ptr("USGovArizona"),
		// 																																																																																																											to.Ptr("USGovTexas"),
		// 																																																																																																											to.Ptr("USGovVirginia")},
		// 																																																																																																										},
		// 																																																																																																										{
		// 																																																																																																											Category: []*string{
		// 																																																																																																												to.Ptr("MemoryOptimized"),
		// 																																																																																																												to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																												FamilyName: to.Ptr("Edsv4_series"),
		// 																																																																																																												TargetLocations: []*string{
		// 																																																																																																													to.Ptr("AustraliaCentral"),
		// 																																																																																																													to.Ptr("AustraliaCentral2"),
		// 																																																																																																													to.Ptr("AustraliaEast"),
		// 																																																																																																													to.Ptr("AustraliaSoutheast"),
		// 																																																																																																													to.Ptr("BrazilSouth"),
		// 																																																																																																													to.Ptr("CanadaCentral"),
		// 																																																																																																													to.Ptr("CanadaEast"),
		// 																																																																																																													to.Ptr("CentralIndia"),
		// 																																																																																																													to.Ptr("CentralUs"),
		// 																																																																																																													to.Ptr("EastAsia"),
		// 																																																																																																													to.Ptr("EastUs"),
		// 																																																																																																													to.Ptr("EastUs2"),
		// 																																																																																																													to.Ptr("FranceCentral"),
		// 																																																																																																													to.Ptr("FranceSouth"),
		// 																																																																																																													to.Ptr("GermanyNorth"),
		// 																																																																																																													to.Ptr("GermanyWestCentral"),
		// 																																																																																																													to.Ptr("ItalyNorth"),
		// 																																																																																																													to.Ptr("JapanEast"),
		// 																																																																																																													to.Ptr("JapanWest"),
		// 																																																																																																													to.Ptr("KoreaCentral"),
		// 																																																																																																													to.Ptr("KoreaSouth"),
		// 																																																																																																													to.Ptr("NorthCentralUs"),
		// 																																																																																																													to.Ptr("NorthEurope"),
		// 																																																																																																													to.Ptr("NorwayEast"),
		// 																																																																																																													to.Ptr("NorwayWest"),
		// 																																																																																																													to.Ptr("PolandCentral"),
		// 																																																																																																													to.Ptr("QatarCentral"),
		// 																																																																																																													to.Ptr("SouthAfricaNorth"),
		// 																																																																																																													to.Ptr("SouthAfricaWest"),
		// 																																																																																																													to.Ptr("SouthCentralUs"),
		// 																																																																																																													to.Ptr("SoutheastAsia"),
		// 																																																																																																													to.Ptr("SouthIndia"),
		// 																																																																																																													to.Ptr("SwedenCentral"),
		// 																																																																																																													to.Ptr("SwitzerlandNorth"),
		// 																																																																																																													to.Ptr("SwitzerlandWest"),
		// 																																																																																																													to.Ptr("UAECentral"),
		// 																																																																																																													to.Ptr("UAENorth"),
		// 																																																																																																													to.Ptr("UkSouth"),
		// 																																																																																																													to.Ptr("UkWest"),
		// 																																																																																																													to.Ptr("WestCentralUs"),
		// 																																																																																																													to.Ptr("WestEurope"),
		// 																																																																																																													to.Ptr("WestUs"),
		// 																																																																																																													to.Ptr("WestUs2"),
		// 																																																																																																													to.Ptr("ChinaEast2"),
		// 																																																																																																													to.Ptr("ChinaNorth2"),
		// 																																																																																																													to.Ptr("USGovArizona"),
		// 																																																																																																													to.Ptr("USGovTexas"),
		// 																																																																																																													to.Ptr("USGovVirginia")},
		// 																																																																																																												},
		// 																																																																																																												{
		// 																																																																																																													Category: []*string{
		// 																																																																																																														to.Ptr("MemoryOptimized")},
		// 																																																																																																														FamilyName: to.Ptr("Edv4_series"),
		// 																																																																																																														TargetLocations: []*string{
		// 																																																																																																															to.Ptr("AustraliaCentral"),
		// 																																																																																																															to.Ptr("AustraliaCentral2"),
		// 																																																																																																															to.Ptr("AustraliaEast"),
		// 																																																																																																															to.Ptr("AustraliaSoutheast"),
		// 																																																																																																															to.Ptr("BrazilSouth"),
		// 																																																																																																															to.Ptr("CanadaCentral"),
		// 																																																																																																															to.Ptr("CanadaEast"),
		// 																																																																																																															to.Ptr("CentralIndia"),
		// 																																																																																																															to.Ptr("CentralUs"),
		// 																																																																																																															to.Ptr("EastAsia"),
		// 																																																																																																															to.Ptr("EastUs"),
		// 																																																																																																															to.Ptr("EastUs2"),
		// 																																																																																																															to.Ptr("FranceCentral"),
		// 																																																																																																															to.Ptr("FranceSouth"),
		// 																																																																																																															to.Ptr("GermanyNorth"),
		// 																																																																																																															to.Ptr("GermanyWestCentral"),
		// 																																																																																																															to.Ptr("ItalyNorth"),
		// 																																																																																																															to.Ptr("JapanEast"),
		// 																																																																																																															to.Ptr("JapanWest"),
		// 																																																																																																															to.Ptr("KoreaCentral"),
		// 																																																																																																															to.Ptr("KoreaSouth"),
		// 																																																																																																															to.Ptr("NorthCentralUs"),
		// 																																																																																																															to.Ptr("NorthEurope"),
		// 																																																																																																															to.Ptr("NorwayEast"),
		// 																																																																																																															to.Ptr("NorwayWest"),
		// 																																																																																																															to.Ptr("PolandCentral"),
		// 																																																																																																															to.Ptr("QatarCentral"),
		// 																																																																																																															to.Ptr("SouthAfricaNorth"),
		// 																																																																																																															to.Ptr("SouthAfricaWest"),
		// 																																																																																																															to.Ptr("SouthCentralUs"),
		// 																																																																																																															to.Ptr("SoutheastAsia"),
		// 																																																																																																															to.Ptr("SouthIndia"),
		// 																																																																																																															to.Ptr("SwedenCentral"),
		// 																																																																																																															to.Ptr("SwitzerlandNorth"),
		// 																																																																																																															to.Ptr("SwitzerlandWest"),
		// 																																																																																																															to.Ptr("UAECentral"),
		// 																																																																																																															to.Ptr("UAENorth"),
		// 																																																																																																															to.Ptr("UkSouth"),
		// 																																																																																																															to.Ptr("UkWest"),
		// 																																																																																																															to.Ptr("WestCentralUs"),
		// 																																																																																																															to.Ptr("WestEurope"),
		// 																																																																																																															to.Ptr("WestUs"),
		// 																																																																																																															to.Ptr("WestUs2"),
		// 																																																																																																															to.Ptr("ChinaEast2"),
		// 																																																																																																															to.Ptr("ChinaNorth2"),
		// 																																																																																																															to.Ptr("USGovArizona"),
		// 																																																																																																															to.Ptr("USGovTexas"),
		// 																																																																																																															to.Ptr("USGovVirginia")},
		// 																																																																																																														},
		// 																																																																																																														{
		// 																																																																																																															Category: []*string{
		// 																																																																																																																to.Ptr("MemoryOptimized"),
		// 																																																																																																																to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																FamilyName: to.Ptr("Esv3_series"),
		// 																																																																																																																TargetLocations: []*string{
		// 																																																																																																																	to.Ptr("AustraliaCentral"),
		// 																																																																																																																	to.Ptr("AustraliaCentral2"),
		// 																																																																																																																	to.Ptr("AustraliaEast"),
		// 																																																																																																																	to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																	to.Ptr("BrazilSouth"),
		// 																																																																																																																	to.Ptr("CanadaCentral"),
		// 																																																																																																																	to.Ptr("CanadaEast"),
		// 																																																																																																																	to.Ptr("CentralIndia"),
		// 																																																																																																																	to.Ptr("CentralUs"),
		// 																																																																																																																	to.Ptr("EastAsia"),
		// 																																																																																																																	to.Ptr("EastUs"),
		// 																																																																																																																	to.Ptr("EastUs2"),
		// 																																																																																																																	to.Ptr("FranceCentral"),
		// 																																																																																																																	to.Ptr("FranceSouth"),
		// 																																																																																																																	to.Ptr("GermanyNorth"),
		// 																																																																																																																	to.Ptr("GermanyWestCentral"),
		// 																																																																																																																	to.Ptr("ItalyNorth"),
		// 																																																																																																																	to.Ptr("JapanEast"),
		// 																																																																																																																	to.Ptr("JapanWest"),
		// 																																																																																																																	to.Ptr("KoreaCentral"),
		// 																																																																																																																	to.Ptr("KoreaSouth"),
		// 																																																																																																																	to.Ptr("NorthCentralUs"),
		// 																																																																																																																	to.Ptr("NorthEurope"),
		// 																																																																																																																	to.Ptr("NorwayEast"),
		// 																																																																																																																	to.Ptr("NorwayWest"),
		// 																																																																																																																	to.Ptr("PolandCentral"),
		// 																																																																																																																	to.Ptr("QatarCentral"),
		// 																																																																																																																	to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																	to.Ptr("SouthAfricaWest"),
		// 																																																																																																																	to.Ptr("SouthCentralUs"),
		// 																																																																																																																	to.Ptr("SoutheastAsia"),
		// 																																																																																																																	to.Ptr("SouthIndia"),
		// 																																																																																																																	to.Ptr("SwedenCentral"),
		// 																																																																																																																	to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																	to.Ptr("SwitzerlandWest"),
		// 																																																																																																																	to.Ptr("UAECentral"),
		// 																																																																																																																	to.Ptr("UAENorth"),
		// 																																																																																																																	to.Ptr("UkSouth"),
		// 																																																																																																																	to.Ptr("UkWest"),
		// 																																																																																																																	to.Ptr("WestCentralUs"),
		// 																																																																																																																	to.Ptr("WestEurope"),
		// 																																																																																																																	to.Ptr("WestIndia"),
		// 																																																																																																																	to.Ptr("WestUs"),
		// 																																																																																																																	to.Ptr("WestUs2"),
		// 																																																																																																																	to.Ptr("ChinaEast2"),
		// 																																																																																																																	to.Ptr("ChinaNorth2"),
		// 																																																																																																																	to.Ptr("USGovArizona"),
		// 																																																																																																																	to.Ptr("USGovTexas"),
		// 																																																																																																																	to.Ptr("USGovVirginia")},
		// 																																																																																																																},
		// 																																																																																																																{
		// 																																																																																																																	Category: []*string{
		// 																																																																																																																		to.Ptr("MemoryOptimized"),
		// 																																																																																																																		to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																		FamilyName: to.Ptr("Esv4_series"),
		// 																																																																																																																		TargetLocations: []*string{
		// 																																																																																																																			to.Ptr("AustraliaCentral"),
		// 																																																																																																																			to.Ptr("AustraliaCentral2"),
		// 																																																																																																																			to.Ptr("AustraliaEast"),
		// 																																																																																																																			to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																			to.Ptr("BrazilSouth"),
		// 																																																																																																																			to.Ptr("CanadaCentral"),
		// 																																																																																																																			to.Ptr("CanadaEast"),
		// 																																																																																																																			to.Ptr("CentralIndia"),
		// 																																																																																																																			to.Ptr("CentralUs"),
		// 																																																																																																																			to.Ptr("EastAsia"),
		// 																																																																																																																			to.Ptr("EastUs"),
		// 																																																																																																																			to.Ptr("EastUs2"),
		// 																																																																																																																			to.Ptr("FranceCentral"),
		// 																																																																																																																			to.Ptr("FranceSouth"),
		// 																																																																																																																			to.Ptr("GermanyNorth"),
		// 																																																																																																																			to.Ptr("GermanyWestCentral"),
		// 																																																																																																																			to.Ptr("ItalyNorth"),
		// 																																																																																																																			to.Ptr("JapanEast"),
		// 																																																																																																																			to.Ptr("JapanWest"),
		// 																																																																																																																			to.Ptr("KoreaCentral"),
		// 																																																																																																																			to.Ptr("KoreaSouth"),
		// 																																																																																																																			to.Ptr("NorthCentralUs"),
		// 																																																																																																																			to.Ptr("NorthEurope"),
		// 																																																																																																																			to.Ptr("NorwayEast"),
		// 																																																																																																																			to.Ptr("NorwayWest"),
		// 																																																																																																																			to.Ptr("PolandCentral"),
		// 																																																																																																																			to.Ptr("QatarCentral"),
		// 																																																																																																																			to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																			to.Ptr("SouthAfricaWest"),
		// 																																																																																																																			to.Ptr("SouthCentralUs"),
		// 																																																																																																																			to.Ptr("SoutheastAsia"),
		// 																																																																																																																			to.Ptr("SouthIndia"),
		// 																																																																																																																			to.Ptr("SwedenCentral"),
		// 																																																																																																																			to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																			to.Ptr("SwitzerlandWest"),
		// 																																																																																																																			to.Ptr("UAECentral"),
		// 																																																																																																																			to.Ptr("UAENorth"),
		// 																																																																																																																			to.Ptr("UkSouth"),
		// 																																																																																																																			to.Ptr("UkWest"),
		// 																																																																																																																			to.Ptr("WestCentralUs"),
		// 																																																																																																																			to.Ptr("WestEurope"),
		// 																																																																																																																			to.Ptr("WestUs"),
		// 																																																																																																																			to.Ptr("WestUs2"),
		// 																																																																																																																			to.Ptr("ChinaEast2"),
		// 																																																																																																																			to.Ptr("ChinaNorth2"),
		// 																																																																																																																			to.Ptr("USGovArizona"),
		// 																																																																																																																			to.Ptr("USGovTexas"),
		// 																																																																																																																			to.Ptr("USGovVirginia")},
		// 																																																																																																																		},
		// 																																																																																																																		{
		// 																																																																																																																			Category: []*string{
		// 																																																																																																																				to.Ptr("MemoryOptimized")},
		// 																																																																																																																				FamilyName: to.Ptr("Ev3_series"),
		// 																																																																																																																				TargetLocations: []*string{
		// 																																																																																																																					to.Ptr("AustraliaCentral"),
		// 																																																																																																																					to.Ptr("AustraliaCentral2"),
		// 																																																																																																																					to.Ptr("AustraliaEast"),
		// 																																																																																																																					to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																					to.Ptr("BrazilSouth"),
		// 																																																																																																																					to.Ptr("CanadaCentral"),
		// 																																																																																																																					to.Ptr("CanadaEast"),
		// 																																																																																																																					to.Ptr("CentralIndia"),
		// 																																																																																																																					to.Ptr("CentralUs"),
		// 																																																																																																																					to.Ptr("EastAsia"),
		// 																																																																																																																					to.Ptr("EastUs"),
		// 																																																																																																																					to.Ptr("EastUs2"),
		// 																																																																																																																					to.Ptr("FranceCentral"),
		// 																																																																																																																					to.Ptr("FranceSouth"),
		// 																																																																																																																					to.Ptr("GermanyNorth"),
		// 																																																																																																																					to.Ptr("GermanyWestCentral"),
		// 																																																																																																																					to.Ptr("ItalyNorth"),
		// 																																																																																																																					to.Ptr("JapanEast"),
		// 																																																																																																																					to.Ptr("JapanWest"),
		// 																																																																																																																					to.Ptr("KoreaCentral"),
		// 																																																																																																																					to.Ptr("KoreaSouth"),
		// 																																																																																																																					to.Ptr("NorthCentralUs"),
		// 																																																																																																																					to.Ptr("NorthEurope"),
		// 																																																																																																																					to.Ptr("NorwayEast"),
		// 																																																																																																																					to.Ptr("NorwayWest"),
		// 																																																																																																																					to.Ptr("PolandCentral"),
		// 																																																																																																																					to.Ptr("QatarCentral"),
		// 																																																																																																																					to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																					to.Ptr("SouthAfricaWest"),
		// 																																																																																																																					to.Ptr("SouthCentralUs"),
		// 																																																																																																																					to.Ptr("SoutheastAsia"),
		// 																																																																																																																					to.Ptr("SouthIndia"),
		// 																																																																																																																					to.Ptr("SwedenCentral"),
		// 																																																																																																																					to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																					to.Ptr("SwitzerlandWest"),
		// 																																																																																																																					to.Ptr("UAECentral"),
		// 																																																																																																																					to.Ptr("UAENorth"),
		// 																																																																																																																					to.Ptr("UkSouth"),
		// 																																																																																																																					to.Ptr("UkWest"),
		// 																																																																																																																					to.Ptr("WestCentralUs"),
		// 																																																																																																																					to.Ptr("WestEurope"),
		// 																																																																																																																					to.Ptr("WestIndia"),
		// 																																																																																																																					to.Ptr("WestUs"),
		// 																																																																																																																					to.Ptr("WestUs2"),
		// 																																																																																																																					to.Ptr("ChinaEast"),
		// 																																																																																																																					to.Ptr("ChinaEast2"),
		// 																																																																																																																					to.Ptr("ChinaNorth2"),
		// 																																																																																																																					to.Ptr("USGovArizona"),
		// 																																																																																																																					to.Ptr("USGovIowa"),
		// 																																																																																																																					to.Ptr("USGovTexas"),
		// 																																																																																																																					to.Ptr("USGovVirginia")},
		// 																																																																																																																				},
		// 																																																																																																																				{
		// 																																																																																																																					Category: []*string{
		// 																																																																																																																						to.Ptr("MemoryOptimized")},
		// 																																																																																																																						FamilyName: to.Ptr("Ev4_series"),
		// 																																																																																																																						TargetLocations: []*string{
		// 																																																																																																																							to.Ptr("AustraliaCentral"),
		// 																																																																																																																							to.Ptr("AustraliaCentral2"),
		// 																																																																																																																							to.Ptr("AustraliaEast"),
		// 																																																																																																																							to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																							to.Ptr("BrazilSouth"),
		// 																																																																																																																							to.Ptr("CanadaCentral"),
		// 																																																																																																																							to.Ptr("CanadaEast"),
		// 																																																																																																																							to.Ptr("CentralIndia"),
		// 																																																																																																																							to.Ptr("CentralUs"),
		// 																																																																																																																							to.Ptr("EastAsia"),
		// 																																																																																																																							to.Ptr("EastUs"),
		// 																																																																																																																							to.Ptr("EastUs2"),
		// 																																																																																																																							to.Ptr("FranceCentral"),
		// 																																																																																																																							to.Ptr("FranceSouth"),
		// 																																																																																																																							to.Ptr("GermanyNorth"),
		// 																																																																																																																							to.Ptr("GermanyWestCentral"),
		// 																																																																																																																							to.Ptr("ItalyNorth"),
		// 																																																																																																																							to.Ptr("JapanEast"),
		// 																																																																																																																							to.Ptr("JapanWest"),
		// 																																																																																																																							to.Ptr("KoreaCentral"),
		// 																																																																																																																							to.Ptr("KoreaSouth"),
		// 																																																																																																																							to.Ptr("NorthCentralUs"),
		// 																																																																																																																							to.Ptr("NorthEurope"),
		// 																																																																																																																							to.Ptr("NorwayEast"),
		// 																																																																																																																							to.Ptr("NorwayWest"),
		// 																																																																																																																							to.Ptr("PolandCentral"),
		// 																																																																																																																							to.Ptr("QatarCentral"),
		// 																																																																																																																							to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																							to.Ptr("SouthAfricaWest"),
		// 																																																																																																																							to.Ptr("SouthCentralUs"),
		// 																																																																																																																							to.Ptr("SoutheastAsia"),
		// 																																																																																																																							to.Ptr("SouthIndia"),
		// 																																																																																																																							to.Ptr("SwedenCentral"),
		// 																																																																																																																							to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																							to.Ptr("SwitzerlandWest"),
		// 																																																																																																																							to.Ptr("UAECentral"),
		// 																																																																																																																							to.Ptr("UAENorth"),
		// 																																																																																																																							to.Ptr("UkSouth"),
		// 																																																																																																																							to.Ptr("UkWest"),
		// 																																																																																																																							to.Ptr("WestCentralUs"),
		// 																																																																																																																							to.Ptr("WestEurope"),
		// 																																																																																																																							to.Ptr("WestUs"),
		// 																																																																																																																							to.Ptr("WestUs2"),
		// 																																																																																																																							to.Ptr("ChinaEast2"),
		// 																																																																																																																							to.Ptr("ChinaNorth2"),
		// 																																																																																																																							to.Ptr("USGovArizona"),
		// 																																																																																																																							to.Ptr("USGovTexas"),
		// 																																																																																																																							to.Ptr("USGovVirginia")},
		// 																																																																																																																						},
		// 																																																																																																																						{
		// 																																																																																																																							Category: []*string{
		// 																																																																																																																								to.Ptr("ComputeOptimized")},
		// 																																																																																																																								FamilyName: to.Ptr("F_series"),
		// 																																																																																																																								TargetLocations: []*string{
		// 																																																																																																																									to.Ptr("AustraliaCentral"),
		// 																																																																																																																									to.Ptr("AustraliaCentral2"),
		// 																																																																																																																									to.Ptr("AustraliaEast"),
		// 																																																																																																																									to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																									to.Ptr("BrazilSouth"),
		// 																																																																																																																									to.Ptr("CanadaCentral"),
		// 																																																																																																																									to.Ptr("CanadaEast"),
		// 																																																																																																																									to.Ptr("CentralIndia"),
		// 																																																																																																																									to.Ptr("CentralUs"),
		// 																																																																																																																									to.Ptr("EastAsia"),
		// 																																																																																																																									to.Ptr("EastUs"),
		// 																																																																																																																									to.Ptr("EastUs2"),
		// 																																																																																																																									to.Ptr("FranceCentral"),
		// 																																																																																																																									to.Ptr("FranceSouth"),
		// 																																																																																																																									to.Ptr("GermanyNorth"),
		// 																																																																																																																									to.Ptr("GermanyWestCentral"),
		// 																																																																																																																									to.Ptr("ItalyNorth"),
		// 																																																																																																																									to.Ptr("JapanEast"),
		// 																																																																																																																									to.Ptr("JapanWest"),
		// 																																																																																																																									to.Ptr("KoreaCentral"),
		// 																																																																																																																									to.Ptr("KoreaSouth"),
		// 																																																																																																																									to.Ptr("NorthCentralUs"),
		// 																																																																																																																									to.Ptr("NorthEurope"),
		// 																																																																																																																									to.Ptr("NorwayEast"),
		// 																																																																																																																									to.Ptr("NorwayWest"),
		// 																																																																																																																									to.Ptr("PolandCentral"),
		// 																																																																																																																									to.Ptr("QatarCentral"),
		// 																																																																																																																									to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																									to.Ptr("SouthAfricaWest"),
		// 																																																																																																																									to.Ptr("SouthCentralUs"),
		// 																																																																																																																									to.Ptr("SoutheastAsia"),
		// 																																																																																																																									to.Ptr("SouthIndia"),
		// 																																																																																																																									to.Ptr("SwedenCentral"),
		// 																																																																																																																									to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																									to.Ptr("SwitzerlandWest"),
		// 																																																																																																																									to.Ptr("UAECentral"),
		// 																																																																																																																									to.Ptr("UAENorth"),
		// 																																																																																																																									to.Ptr("UkSouth"),
		// 																																																																																																																									to.Ptr("UkWest"),
		// 																																																																																																																									to.Ptr("WestCentralUs"),
		// 																																																																																																																									to.Ptr("WestEurope"),
		// 																																																																																																																									to.Ptr("WestIndia"),
		// 																																																																																																																									to.Ptr("WestUs"),
		// 																																																																																																																									to.Ptr("WestUs2"),
		// 																																																																																																																									to.Ptr("ChinaEast"),
		// 																																																																																																																									to.Ptr("ChinaEast2"),
		// 																																																																																																																									to.Ptr("ChinaNorth"),
		// 																																																																																																																									to.Ptr("ChinaNorth2"),
		// 																																																																																																																									to.Ptr("USGovArizona"),
		// 																																																																																																																									to.Ptr("USGovIowa"),
		// 																																																																																																																									to.Ptr("USGovTexas"),
		// 																																																																																																																									to.Ptr("USGovVirginia")},
		// 																																																																																																																								},
		// 																																																																																																																								{
		// 																																																																																																																									Category: []*string{
		// 																																																																																																																										to.Ptr("ComputeOptimized"),
		// 																																																																																																																										to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																										FamilyName: to.Ptr("Fs_series"),
		// 																																																																																																																										TargetLocations: []*string{
		// 																																																																																																																											to.Ptr("AustraliaCentral"),
		// 																																																																																																																											to.Ptr("AustraliaCentral2"),
		// 																																																																																																																											to.Ptr("AustraliaEast"),
		// 																																																																																																																											to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																											to.Ptr("BrazilSouth"),
		// 																																																																																																																											to.Ptr("CanadaCentral"),
		// 																																																																																																																											to.Ptr("CanadaEast"),
		// 																																																																																																																											to.Ptr("CentralIndia"),
		// 																																																																																																																											to.Ptr("CentralUs"),
		// 																																																																																																																											to.Ptr("EastAsia"),
		// 																																																																																																																											to.Ptr("EastUs"),
		// 																																																																																																																											to.Ptr("EastUs2"),
		// 																																																																																																																											to.Ptr("FranceCentral"),
		// 																																																																																																																											to.Ptr("FranceSouth"),
		// 																																																																																																																											to.Ptr("GermanyNorth"),
		// 																																																																																																																											to.Ptr("GermanyWestCentral"),
		// 																																																																																																																											to.Ptr("ItalyNorth"),
		// 																																																																																																																											to.Ptr("JapanEast"),
		// 																																																																																																																											to.Ptr("JapanWest"),
		// 																																																																																																																											to.Ptr("KoreaCentral"),
		// 																																																																																																																											to.Ptr("KoreaSouth"),
		// 																																																																																																																											to.Ptr("NorthCentralUs"),
		// 																																																																																																																											to.Ptr("NorthEurope"),
		// 																																																																																																																											to.Ptr("NorwayEast"),
		// 																																																																																																																											to.Ptr("NorwayWest"),
		// 																																																																																																																											to.Ptr("PolandCentral"),
		// 																																																																																																																											to.Ptr("QatarCentral"),
		// 																																																																																																																											to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																											to.Ptr("SouthAfricaWest"),
		// 																																																																																																																											to.Ptr("SouthCentralUs"),
		// 																																																																																																																											to.Ptr("SoutheastAsia"),
		// 																																																																																																																											to.Ptr("SouthIndia"),
		// 																																																																																																																											to.Ptr("SwedenCentral"),
		// 																																																																																																																											to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																											to.Ptr("SwitzerlandWest"),
		// 																																																																																																																											to.Ptr("UAECentral"),
		// 																																																																																																																											to.Ptr("UAENorth"),
		// 																																																																																																																											to.Ptr("UkSouth"),
		// 																																																																																																																											to.Ptr("UkWest"),
		// 																																																																																																																											to.Ptr("WestCentralUs"),
		// 																																																																																																																											to.Ptr("WestEurope"),
		// 																																																																																																																											to.Ptr("WestIndia"),
		// 																																																																																																																											to.Ptr("WestUs"),
		// 																																																																																																																											to.Ptr("WestUs2"),
		// 																																																																																																																											to.Ptr("ChinaEast"),
		// 																																																																																																																											to.Ptr("ChinaEast2"),
		// 																																																																																																																											to.Ptr("ChinaNorth"),
		// 																																																																																																																											to.Ptr("ChinaNorth2"),
		// 																																																																																																																											to.Ptr("USGovArizona"),
		// 																																																																																																																											to.Ptr("USGovTexas"),
		// 																																																																																																																											to.Ptr("USGovVirginia")},
		// 																																																																																																																										},
		// 																																																																																																																										{
		// 																																																																																																																											Category: []*string{
		// 																																																																																																																												to.Ptr("ComputeOptimized"),
		// 																																																																																																																												to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																												FamilyName: to.Ptr("Fsv2_series"),
		// 																																																																																																																												TargetLocations: []*string{
		// 																																																																																																																													to.Ptr("AustraliaCentral"),
		// 																																																																																																																													to.Ptr("AustraliaCentral2"),
		// 																																																																																																																													to.Ptr("AustraliaEast"),
		// 																																																																																																																													to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																													to.Ptr("BrazilSouth"),
		// 																																																																																																																													to.Ptr("CanadaCentral"),
		// 																																																																																																																													to.Ptr("CanadaEast"),
		// 																																																																																																																													to.Ptr("CentralIndia"),
		// 																																																																																																																													to.Ptr("CentralUs"),
		// 																																																																																																																													to.Ptr("EastAsia"),
		// 																																																																																																																													to.Ptr("EastUs"),
		// 																																																																																																																													to.Ptr("EastUs2"),
		// 																																																																																																																													to.Ptr("FranceCentral"),
		// 																																																																																																																													to.Ptr("FranceSouth"),
		// 																																																																																																																													to.Ptr("GermanyNorth"),
		// 																																																																																																																													to.Ptr("GermanyWestCentral"),
		// 																																																																																																																													to.Ptr("ItalyNorth"),
		// 																																																																																																																													to.Ptr("JapanEast"),
		// 																																																																																																																													to.Ptr("JapanWest"),
		// 																																																																																																																													to.Ptr("KoreaCentral"),
		// 																																																																																																																													to.Ptr("KoreaSouth"),
		// 																																																																																																																													to.Ptr("NorthCentralUs"),
		// 																																																																																																																													to.Ptr("NorthEurope"),
		// 																																																																																																																													to.Ptr("NorwayEast"),
		// 																																																																																																																													to.Ptr("NorwayWest"),
		// 																																																																																																																													to.Ptr("PolandCentral"),
		// 																																																																																																																													to.Ptr("QatarCentral"),
		// 																																																																																																																													to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																													to.Ptr("SouthAfricaWest"),
		// 																																																																																																																													to.Ptr("SouthCentralUs"),
		// 																																																																																																																													to.Ptr("SoutheastAsia"),
		// 																																																																																																																													to.Ptr("SouthIndia"),
		// 																																																																																																																													to.Ptr("SwedenCentral"),
		// 																																																																																																																													to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																													to.Ptr("SwitzerlandWest"),
		// 																																																																																																																													to.Ptr("UAECentral"),
		// 																																																																																																																													to.Ptr("UAENorth"),
		// 																																																																																																																													to.Ptr("UkSouth"),
		// 																																																																																																																													to.Ptr("UkWest"),
		// 																																																																																																																													to.Ptr("WestCentralUs"),
		// 																																																																																																																													to.Ptr("WestEurope"),
		// 																																																																																																																													to.Ptr("WestIndia"),
		// 																																																																																																																													to.Ptr("WestUs"),
		// 																																																																																																																													to.Ptr("WestUs2"),
		// 																																																																																																																													to.Ptr("ChinaEast2"),
		// 																																																																																																																													to.Ptr("ChinaNorth2"),
		// 																																																																																																																													to.Ptr("USGovArizona"),
		// 																																																																																																																													to.Ptr("USGovTexas"),
		// 																																																																																																																													to.Ptr("USGovVirginia")},
		// 																																																																																																																												},
		// 																																																																																																																												{
		// 																																																																																																																													Category: []*string{
		// 																																																																																																																														to.Ptr("MemoryOptimized")},
		// 																																																																																																																														FamilyName: to.Ptr("G_series"),
		// 																																																																																																																														TargetLocations: []*string{
		// 																																																																																																																															to.Ptr("AustraliaEast"),
		// 																																																																																																																															to.Ptr("CanadaCentral"),
		// 																																																																																																																															to.Ptr("CanadaEast"),
		// 																																																																																																																															to.Ptr("EastUs2"),
		// 																																																																																																																															to.Ptr("JapanEast"),
		// 																																																																																																																															to.Ptr("SoutheastAsia"),
		// 																																																																																																																															to.Ptr("UkSouth"),
		// 																																																																																																																															to.Ptr("WestEurope"),
		// 																																																																																																																															to.Ptr("WestUs"),
		// 																																																																																																																															to.Ptr("WestUs2"),
		// 																																																																																																																															to.Ptr("USGovVirginia")},
		// 																																																																																																																														},
		// 																																																																																																																														{
		// 																																																																																																																															Category: []*string{
		// 																																																																																																																																to.Ptr("MemoryOptimized"),
		// 																																																																																																																																to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																																FamilyName: to.Ptr("GS_series"),
		// 																																																																																																																																TargetLocations: []*string{
		// 																																																																																																																																	to.Ptr("AustraliaEast"),
		// 																																																																																																																																	to.Ptr("CanadaCentral"),
		// 																																																																																																																																	to.Ptr("CanadaEast"),
		// 																																																																																																																																	to.Ptr("EastUs2"),
		// 																																																																																																																																	to.Ptr("JapanEast"),
		// 																																																																																																																																	to.Ptr("SoutheastAsia"),
		// 																																																																																																																																	to.Ptr("UkSouth"),
		// 																																																																																																																																	to.Ptr("WestEurope"),
		// 																																																																																																																																	to.Ptr("WestUs"),
		// 																																																																																																																																	to.Ptr("WestUs2"),
		// 																																																																																																																																	to.Ptr("USGovVirginia")},
		// 																																																																																																																																},
		// 																																																																																																																																{
		// 																																																																																																																																	Category: []*string{
		// 																																																																																																																																		to.Ptr("StorageOptimized"),
		// 																																																																																																																																		to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																																		FamilyName: to.Ptr("Lsv2_series"),
		// 																																																																																																																																		TargetLocations: []*string{
		// 																																																																																																																																			to.Ptr("AustraliaEast"),
		// 																																																																																																																																			to.Ptr("CentralIndia"),
		// 																																																																																																																																			to.Ptr("CentralUs"),
		// 																																																																																																																																			to.Ptr("EastUs"),
		// 																																																																																																																																			to.Ptr("EastUs2"),
		// 																																																																																																																																			to.Ptr("FranceCentral"),
		// 																																																																																																																																			to.Ptr("GermanyWestCentral"),
		// 																																																																																																																																			to.Ptr("JapanEast"),
		// 																																																																																																																																			to.Ptr("NorthEurope"),
		// 																																																																																																																																			to.Ptr("SouthCentralUs"),
		// 																																																																																																																																			to.Ptr("SoutheastAsia"),
		// 																																																																																																																																			to.Ptr("UkSouth"),
		// 																																																																																																																																			to.Ptr("WestEurope"),
		// 																																																																																																																																			to.Ptr("WestUs"),
		// 																																																																																																																																			to.Ptr("WestUs2"),
		// 																																																																																																																																			to.Ptr("USGovArizona"),
		// 																																																																																																																																			to.Ptr("USGovVirginia")},
		// 																																																																																																																																		},
		// 																																																																																																																																		{
		// 																																																																																																																																			Category: []*string{
		// 																																																																																																																																				to.Ptr("MemoryOptimized"),
		// 																																																																																																																																				to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																																				FamilyName: to.Ptr("M_series"),
		// 																																																																																																																																				TargetLocations: []*string{
		// 																																																																																																																																					to.Ptr("AustraliaCentral"),
		// 																																																																																																																																					to.Ptr("AustraliaCentral2"),
		// 																																																																																																																																					to.Ptr("AustraliaEast"),
		// 																																																																																																																																					to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																																					to.Ptr("BrazilSouth"),
		// 																																																																																																																																					to.Ptr("CanadaCentral"),
		// 																																																																																																																																					to.Ptr("CanadaEast"),
		// 																																																																																																																																					to.Ptr("CentralIndia"),
		// 																																																																																																																																					to.Ptr("CentralUs"),
		// 																																																																																																																																					to.Ptr("EastAsia"),
		// 																																																																																																																																					to.Ptr("EastUs"),
		// 																																																																																																																																					to.Ptr("EastUs2"),
		// 																																																																																																																																					to.Ptr("FranceCentral"),
		// 																																																																																																																																					to.Ptr("GermanyNorth"),
		// 																																																																																																																																					to.Ptr("GermanyWestCentral"),
		// 																																																																																																																																					to.Ptr("JapanEast"),
		// 																																																																																																																																					to.Ptr("JapanWest"),
		// 																																																																																																																																					to.Ptr("KoreaCentral"),
		// 																																																																																																																																					to.Ptr("KoreaSouth"),
		// 																																																																																																																																					to.Ptr("NorthCentralUs"),
		// 																																																																																																																																					to.Ptr("NorthEurope"),
		// 																																																																																																																																					to.Ptr("NorwayEast"),
		// 																																																																																																																																					to.Ptr("QatarCentral"),
		// 																																																																																																																																					to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																																					to.Ptr("SouthAfricaWest"),
		// 																																																																																																																																					to.Ptr("SouthCentralUs"),
		// 																																																																																																																																					to.Ptr("SoutheastAsia"),
		// 																																																																																																																																					to.Ptr("SouthIndia"),
		// 																																																																																																																																					to.Ptr("SwedenCentral"),
		// 																																																																																																																																					to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																																					to.Ptr("SwitzerlandWest"),
		// 																																																																																																																																					to.Ptr("UAECentral"),
		// 																																																																																																																																					to.Ptr("UAENorth"),
		// 																																																																																																																																					to.Ptr("UkSouth"),
		// 																																																																																																																																					to.Ptr("UkWest"),
		// 																																																																																																																																					to.Ptr("WestEurope"),
		// 																																																																																																																																					to.Ptr("WestUs"),
		// 																																																																																																																																					to.Ptr("WestUs2"),
		// 																																																																																																																																					to.Ptr("ChinaEast2"),
		// 																																																																																																																																					to.Ptr("ChinaNorth2"),
		// 																																																																																																																																					to.Ptr("USGovArizona"),
		// 																																																																																																																																					to.Ptr("USGovVirginia")},
		// 																																																																																																																																				},
		// 																																																																																																																																				{
		// 																																																																																																																																					Category: []*string{
		// 																																																																																																																																						to.Ptr("MemoryOptimized"),
		// 																																																																																																																																						to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																																						FamilyName: to.Ptr("Mdsv2_series"),
		// 																																																																																																																																						TargetLocations: []*string{
		// 																																																																																																																																							to.Ptr("AustraliaCentral"),
		// 																																																																																																																																							to.Ptr("AustraliaEast"),
		// 																																																																																																																																							to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																																							to.Ptr("BrazilSouth"),
		// 																																																																																																																																							to.Ptr("CanadaCentral"),
		// 																																																																																																																																							to.Ptr("CanadaEast"),
		// 																																																																																																																																							to.Ptr("CentralIndia"),
		// 																																																																																																																																							to.Ptr("CentralUs"),
		// 																																																																																																																																							to.Ptr("EastAsia"),
		// 																																																																																																																																							to.Ptr("EastUs"),
		// 																																																																																																																																							to.Ptr("EastUs2"),
		// 																																																																																																																																							to.Ptr("FranceCentral"),
		// 																																																																																																																																							to.Ptr("GermanyWestCentral"),
		// 																																																																																																																																							to.Ptr("JapanEast"),
		// 																																																																																																																																							to.Ptr("JapanWest"),
		// 																																																																																																																																							to.Ptr("KoreaCentral"),
		// 																																																																																																																																							to.Ptr("NorthCentralUs"),
		// 																																																																																																																																							to.Ptr("NorthEurope"),
		// 																																																																																																																																							to.Ptr("NorwayEast"),
		// 																																																																																																																																							to.Ptr("QatarCentral"),
		// 																																																																																																																																							to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																																							to.Ptr("SouthCentralUs"),
		// 																																																																																																																																							to.Ptr("SoutheastAsia"),
		// 																																																																																																																																							to.Ptr("SouthIndia"),
		// 																																																																																																																																							to.Ptr("SwedenCentral"),
		// 																																																																																																																																							to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																																							to.Ptr("UAECentral"),
		// 																																																																																																																																							to.Ptr("UAENorth"),
		// 																																																																																																																																							to.Ptr("UkSouth"),
		// 																																																																																																																																							to.Ptr("UkWest"),
		// 																																																																																																																																							to.Ptr("WestEurope"),
		// 																																																																																																																																							to.Ptr("WestUs"),
		// 																																																																																																																																							to.Ptr("WestUs2"),
		// 																																																																																																																																							to.Ptr("ChinaNorth2"),
		// 																																																																																																																																							to.Ptr("USGovVirginia")},
		// 																																																																																																																																						},
		// 																																																																																																																																						{
		// 																																																																																																																																							Category: []*string{
		// 																																																																																																																																								to.Ptr("MemoryOptimized"),
		// 																																																																																																																																								to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																																								FamilyName: to.Ptr("Msv2_series"),
		// 																																																																																																																																								TargetLocations: []*string{
		// 																																																																																																																																									to.Ptr("AustraliaCentral"),
		// 																																																																																																																																									to.Ptr("AustraliaEast"),
		// 																																																																																																																																									to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																																									to.Ptr("BrazilSouth"),
		// 																																																																																																																																									to.Ptr("CanadaCentral"),
		// 																																																																																																																																									to.Ptr("CanadaEast"),
		// 																																																																																																																																									to.Ptr("CentralIndia"),
		// 																																																																																																																																									to.Ptr("CentralUs"),
		// 																																																																																																																																									to.Ptr("EastAsia"),
		// 																																																																																																																																									to.Ptr("EastUs"),
		// 																																																																																																																																									to.Ptr("EastUs2"),
		// 																																																																																																																																									to.Ptr("FranceCentral"),
		// 																																																																																																																																									to.Ptr("GermanyWestCentral"),
		// 																																																																																																																																									to.Ptr("JapanEast"),
		// 																																																																																																																																									to.Ptr("JapanWest"),
		// 																																																																																																																																									to.Ptr("KoreaCentral"),
		// 																																																																																																																																									to.Ptr("NorthCentralUs"),
		// 																																																																																																																																									to.Ptr("NorthEurope"),
		// 																																																																																																																																									to.Ptr("NorwayEast"),
		// 																																																																																																																																									to.Ptr("QatarCentral"),
		// 																																																																																																																																									to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																																									to.Ptr("SouthCentralUs"),
		// 																																																																																																																																									to.Ptr("SoutheastAsia"),
		// 																																																																																																																																									to.Ptr("SouthIndia"),
		// 																																																																																																																																									to.Ptr("SwedenCentral"),
		// 																																																																																																																																									to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																																									to.Ptr("UAECentral"),
		// 																																																																																																																																									to.Ptr("UAENorth"),
		// 																																																																																																																																									to.Ptr("UkSouth"),
		// 																																																																																																																																									to.Ptr("UkWest"),
		// 																																																																																																																																									to.Ptr("WestEurope"),
		// 																																																																																																																																									to.Ptr("WestUs"),
		// 																																																																																																																																									to.Ptr("WestUs2"),
		// 																																																																																																																																									to.Ptr("ChinaNorth2"),
		// 																																																																																																																																									to.Ptr("USGovVirginia")},
		// 																																																																																																																																								},
		// 																																																																																																																																								{
		// 																																																																																																																																									Category: []*string{
		// 																																																																																																																																										to.Ptr("MemoryOptimized"),
		// 																																																																																																																																										to.Ptr("SupportsPremiumStorage")},
		// 																																																																																																																																										FamilyName: to.Ptr("Mv2_series"),
		// 																																																																																																																																										TargetLocations: []*string{
		// 																																																																																																																																											to.Ptr("AustraliaCentral"),
		// 																																																																																																																																											to.Ptr("AustraliaCentral2"),
		// 																																																																																																																																											to.Ptr("AustraliaEast"),
		// 																																																																																																																																											to.Ptr("AustraliaSoutheast"),
		// 																																																																																																																																											to.Ptr("BrazilSouth"),
		// 																																																																																																																																											to.Ptr("CanadaCentral"),
		// 																																																																																																																																											to.Ptr("CanadaEast"),
		// 																																																																																																																																											to.Ptr("CentralIndia"),
		// 																																																																																																																																											to.Ptr("CentralUs"),
		// 																																																																																																																																											to.Ptr("EastAsia"),
		// 																																																																																																																																											to.Ptr("EastUs"),
		// 																																																																																																																																											to.Ptr("EastUs2"),
		// 																																																																																																																																											to.Ptr("GermanyWestCentral"),
		// 																																																																																																																																											to.Ptr("JapanEast"),
		// 																																																																																																																																											to.Ptr("JapanWest"),
		// 																																																																																																																																											to.Ptr("KoreaCentral"),
		// 																																																																																																																																											to.Ptr("KoreaSouth"),
		// 																																																																																																																																											to.Ptr("NorthCentralUs"),
		// 																																																																																																																																											to.Ptr("NorthEurope"),
		// 																																																																																																																																											to.Ptr("SouthAfricaNorth"),
		// 																																																																																																																																											to.Ptr("SouthCentralUs"),
		// 																																																																																																																																											to.Ptr("SoutheastAsia"),
		// 																																																																																																																																											to.Ptr("SouthIndia"),
		// 																																																																																																																																											to.Ptr("SwedenCentral"),
		// 																																																																																																																																											to.Ptr("SwitzerlandNorth"),
		// 																																																																																																																																											to.Ptr("SwitzerlandWest"),
		// 																																																																																																																																											to.Ptr("UAECentral"),
		// 																																																																																																																																											to.Ptr("UAENorth"),
		// 																																																																																																																																											to.Ptr("UkSouth"),
		// 																																																																																																																																											to.Ptr("UkWest"),
		// 																																																																																																																																											to.Ptr("WestEurope"),
		// 																																																																																																																																											to.Ptr("WestUs"),
		// 																																																																																																																																											to.Ptr("WestUs2"),
		// 																																																																																																																																											to.Ptr("USGovArizona"),
		// 																																																																																																																																											to.Ptr("USGovVirginia")},
		// 																																																																																																																																									}},
		// 																																																																																																																																								},
		// 																																																																																																																																						}},
		// 																																																																																																																																					}
	}
}
Output:

type AssessmentOptionsOperationsClientGetOptions

type AssessmentOptionsOperationsClientGetOptions struct {
}

AssessmentOptionsOperationsClientGetOptions contains the optional parameters for the AssessmentOptionsOperationsClient.Get method.

type AssessmentOptionsOperationsClientGetResponse

type AssessmentOptionsOperationsClientGetResponse struct {
	// Assessment options resource.
	AssessmentOptions
}

AssessmentOptionsOperationsClientGetResponse contains the response from method AssessmentOptionsOperationsClient.Get.

type AssessmentOptionsOperationsClientListByAssessmentProjectOptions

type AssessmentOptionsOperationsClientListByAssessmentProjectOptions struct {
}

AssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.

type AssessmentOptionsOperationsClientListByAssessmentProjectResponse

type AssessmentOptionsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a AssessmentOptions list operation.
	AssessmentOptionsListResult
}

AssessmentOptionsOperationsClientListByAssessmentProjectResponse contains the response from method AssessmentOptionsOperationsClient.NewListByAssessmentProjectPager.

type AssessmentOptionsProperties

type AssessmentOptionsProperties struct {
	// READ-ONLY; List of VM Families that support premium disks for assessments.
	PremiumDiskVMFamilies []*string

	// READ-ONLY; List of Azure locations that support Premium SSD V2 disks for assessments.
	PremiumV2DiskSupportedLocations []*AzureLocation

	// READ-ONLY; List of supported currencies for reserved instances.
	ReservedInstanceSupportedCurrencies []*string

	// READ-ONLY; List of supported Azure regions for reserved instances.
	ReservedInstanceSupportedLocations []*string

	// READ-ONLY; List of supported Azure offer codes for reserved instances.
	ReservedInstanceSupportedOffers []*string

	// READ-ONLY; List of supported VM Families.
	ReservedInstanceVMFamilies []*string

	// READ-ONLY; List of Azure locations that support Savings plan offer for assessments.
	SavingsPlanSupportedLocations []*string

	// READ-ONLY; List of VM Families that support Savings plan offer for assessments.
	SavingsPlanVMFamilies []*string

	// READ-ONLY; Ultra disk related assessment options.
	UltraDiskVMFamilies []*UltraDiskAssessmentOptions

	// READ-ONLY; Dictionary of VM families grouped by vm family name describing the targeted azure locations of VM family and
	// the category of the family.
	VMFamilies []*VMFamilyOptions
}

AssessmentOptionsProperties - Assessment options properties.

func (AssessmentOptionsProperties) MarshalJSON

func (a AssessmentOptionsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentOptionsProperties.

func (*AssessmentOptionsProperties) UnmarshalJSON

func (a *AssessmentOptionsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentOptionsProperties.

type AssessmentProject

type AssessmentProject struct {
	// REQUIRED; The geo-location where the resource lives
	Location *string

	// The resource-specific properties for this resource.
	Properties *ProjectProperties

	// Resource tags.
	Tags map[string]*string

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessmentProject - An Assessment project site resource.

func (AssessmentProject) MarshalJSON

func (a AssessmentProject) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProject.

func (*AssessmentProject) UnmarshalJSON

func (a *AssessmentProject) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProject.

type AssessmentProjectListResult

type AssessmentProjectListResult struct {
	// REQUIRED; The AssessmentProject items on this page
	Value []*AssessmentProject

	// The link to the next page of items
	NextLink *string
}

AssessmentProjectListResult - The response of a AssessmentProject list operation.

func (AssessmentProjectListResult) MarshalJSON

func (a AssessmentProjectListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProjectListResult.

func (*AssessmentProjectListResult) UnmarshalJSON

func (a *AssessmentProjectListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProjectListResult.

type AssessmentProjectSummary

type AssessmentProjectSummary struct {
	// The resource-specific properties for this resource.
	Properties *AssessmentProjectSummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AssessmentProjectSummary - Assessment project summary resource.

func (AssessmentProjectSummary) MarshalJSON

func (a AssessmentProjectSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProjectSummary.

func (*AssessmentProjectSummary) UnmarshalJSON

func (a *AssessmentProjectSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProjectSummary.

type AssessmentProjectSummaryListResult

type AssessmentProjectSummaryListResult struct {
	// REQUIRED; The AssessmentProjectSummary items on this page
	Value []*AssessmentProjectSummary

	// The link to the next page of items
	NextLink *string
}

AssessmentProjectSummaryListResult - The response of a AssessmentProjectSummary list operation.

func (AssessmentProjectSummaryListResult) MarshalJSON

func (a AssessmentProjectSummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProjectSummaryListResult.

func (*AssessmentProjectSummaryListResult) UnmarshalJSON

func (a *AssessmentProjectSummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProjectSummaryListResult.

type AssessmentProjectSummaryOperationsClient

type AssessmentProjectSummaryOperationsClient struct {
	// contains filtered or unexported fields
}

AssessmentProjectSummaryOperationsClient contains the methods for the AssessmentProjectSummaryOperations group. Don't use this type directly, use NewAssessmentProjectSummaryOperationsClient() instead.

func NewAssessmentProjectSummaryOperationsClient

func NewAssessmentProjectSummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessmentProjectSummaryOperationsClient, error)

NewAssessmentProjectSummaryOperationsClient creates a new instance of AssessmentProjectSummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessmentProjectSummaryOperationsClient) Get

Get - Get a AssessmentProjectSummary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • projectSummaryName - Group ARM name
  • options - AssessmentProjectSummaryOperationsClientGetOptions contains the optional parameters for the AssessmentProjectSummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectSummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessmentProjectSummaryOperationsClient().Get(ctx, "piyushapp1", "PiyushApp15328project", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessmentProjectSummary = armmigrationassessment.AssessmentProjectSummary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/projectSummary"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/piyushapp1/providers/Microsoft.Migrate/assessmentprojects/PiyushApp15328project/projectSummary/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AssessmentProjectSummaryProperties{
	// 		ErrorSummaryAffectedEntities: []*armmigrationassessment.ErrorSummary{
	// 			{
	// 				AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
	// 				Count: to.Ptr[int32](1),
	// 			},
	// 			{
	// 				AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment),
	// 				Count: to.Ptr[int32](2),
	// 		}},
	// 		LastAssessmentTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:23:46.901Z"); return t}()),
	// 		NumberOfAssessments: to.Ptr[int32](2),
	// 		NumberOfGroups: to.Ptr[int32](4),
	// 		NumberOfImportMachines: to.Ptr[int32](0),
	// 		NumberOfMachines: to.Ptr[int32](4),
	// 		NumberOfPrivateEndpointConnections: to.Ptr[int32](0),
	// 	},
	// }
}
Output:

func (*AssessmentProjectSummaryOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List AssessmentProjectSummary resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AssessmentProjectSummaryOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AssessmentProjectSummaryOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectSummaryOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessmentProjectSummaryOperationsClient().NewListByAssessmentProjectPager("piyushapp1", "PiyushApp15328project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessmentProjectSummaryListResult = armmigrationassessment.AssessmentProjectSummaryListResult{
		// 	Value: []*armmigrationassessment.AssessmentProjectSummary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/projectSummary"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/piyushapp1/providers/Microsoft.Migrate/assessmentprojects/PiyushApp15328project/projectSummary/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("sakanwar"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AssessmentProjectSummaryProperties{
		// 				ErrorSummaryAffectedEntities: []*armmigrationassessment.ErrorSummary{
		// 					{
		// 						AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
		// 						Count: to.Ptr[int32](1),
		// 					},
		// 					{
		// 						AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment),
		// 						Count: to.Ptr[int32](2),
		// 				}},
		// 				LastAssessmentTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:23:46.901Z"); return t}()),
		// 				NumberOfAssessments: to.Ptr[int32](2),
		// 				NumberOfGroups: to.Ptr[int32](4),
		// 				NumberOfImportMachines: to.Ptr[int32](0),
		// 				NumberOfMachines: to.Ptr[int32](4),
		// 				NumberOfPrivateEndpointConnections: to.Ptr[int32](0),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AssessmentProjectSummaryOperationsClientGetOptions

type AssessmentProjectSummaryOperationsClientGetOptions struct {
}

AssessmentProjectSummaryOperationsClientGetOptions contains the optional parameters for the AssessmentProjectSummaryOperationsClient.Get method.

type AssessmentProjectSummaryOperationsClientGetResponse

type AssessmentProjectSummaryOperationsClientGetResponse struct {
	// Assessment project summary resource.
	AssessmentProjectSummary
}

AssessmentProjectSummaryOperationsClientGetResponse contains the response from method AssessmentProjectSummaryOperationsClient.Get.

type AssessmentProjectSummaryOperationsClientListByAssessmentProjectOptions

type AssessmentProjectSummaryOperationsClientListByAssessmentProjectOptions struct {
}

AssessmentProjectSummaryOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AssessmentProjectSummaryOperationsClient.NewListByAssessmentProjectPager method.

type AssessmentProjectSummaryOperationsClientListByAssessmentProjectResponse

type AssessmentProjectSummaryOperationsClientListByAssessmentProjectResponse struct {
	// The response of a AssessmentProjectSummary list operation.
	AssessmentProjectSummaryListResult
}

AssessmentProjectSummaryOperationsClientListByAssessmentProjectResponse contains the response from method AssessmentProjectSummaryOperationsClient.NewListByAssessmentProjectPager.

type AssessmentProjectSummaryProperties

type AssessmentProjectSummaryProperties struct {
	// READ-ONLY; Gets the Error summary by feature. Contains number of affected Entities per feature.
	ErrorSummaryAffectedEntities []*ErrorSummary

	// READ-ONLY; Gets the last assessment timestamp.
	LastAssessmentTimestamp *time.Time

	// READ-ONLY; Gets the number of assessments created in this project.
	NumberOfAssessments *int32

	// READ-ONLY; Gets the number of groups created in this project.
	NumberOfGroups *int32

	// READ-ONLY; Gets the number of import machines part of this project.
	NumberOfImportMachines *int32

	// READ-ONLY; Gets the number of machines part of this project.
	NumberOfMachines *int32

	// READ-ONLY; Gets the number of private endpoint connections.
	NumberOfPrivateEndpointConnections *int32
}

AssessmentProjectSummaryProperties - Assessment project summary properties class.

func (AssessmentProjectSummaryProperties) MarshalJSON

func (a AssessmentProjectSummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProjectSummaryProperties.

func (*AssessmentProjectSummaryProperties) UnmarshalJSON

func (a *AssessmentProjectSummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProjectSummaryProperties.

type AssessmentProjectUpdate

type AssessmentProjectUpdate struct {
	// The updatable properties of the AssessmentProject.
	Properties *AssessmentProjectUpdateProperties

	// Resource tags.
	Tags map[string]*string
}

AssessmentProjectUpdate - The type used for update operations of the AssessmentProject.

func (AssessmentProjectUpdate) MarshalJSON

func (a AssessmentProjectUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProjectUpdate.

func (*AssessmentProjectUpdate) UnmarshalJSON

func (a *AssessmentProjectUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProjectUpdate.

type AssessmentProjectUpdateProperties

type AssessmentProjectUpdateProperties struct {
	// Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.
	AssessmentSolutionID *string

	// The ARM id of the storage account used for interactions when public access is disabled.
	CustomerStorageAccountArmID *string

	// The ARM id of service map workspace created by customer.
	CustomerWorkspaceID *string

	// Location of service map workspace created by customer.
	CustomerWorkspaceLocation *string

	// Assessment project status.
	ProjectStatus *ProjectStatus

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled',
	// traffic over public interface is not allowed, and private endpoint
	// connections would be the exclusive access method.
	PublicNetworkAccess *string
}

AssessmentProjectUpdateProperties - The updatable properties of the AssessmentProject.

func (AssessmentProjectUpdateProperties) MarshalJSON

func (a AssessmentProjectUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentProjectUpdateProperties.

func (*AssessmentProjectUpdateProperties) UnmarshalJSON

func (a *AssessmentProjectUpdateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentProjectUpdateProperties.

type AssessmentProjectsOperationsClient

type AssessmentProjectsOperationsClient struct {
	// contains filtered or unexported fields
}

AssessmentProjectsOperationsClient contains the methods for the AssessmentProjectsOperations group. Don't use this type directly, use NewAssessmentProjectsOperationsClient() instead.

func NewAssessmentProjectsOperationsClient

func NewAssessmentProjectsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessmentProjectsOperationsClient, error)

NewAssessmentProjectsOperationsClient creates a new instance of AssessmentProjectsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessmentProjectsOperationsClient) BeginCreate

BeginCreate - Create a AssessmentProject If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • resource - Resource create parameters.
  • options - AssessmentProjectsOperationsClientBeginCreateOptions contains the optional parameters for the AssessmentProjectsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAssessmentProjectsOperationsClient().BeginCreate(ctx, "sakanwar", "sakanwar1204project", armmigrationassessment.AssessmentProject{
		Location: to.Ptr("southeastasia"),
		Tags: map[string]*string{
			"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
		},
		Properties: &armmigrationassessment.ProjectProperties{
			ProvisioningState:           to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			AssessmentSolutionID:        to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
			CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
			ProjectStatus:               to.Ptr(armmigrationassessment.ProjectStatusActive),
			PublicNetworkAccess:         to.Ptr("Disabled"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessmentProject = armmigrationassessment.AssessmentProject{
	// 	Name: to.Ptr("sakanwar1204project"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Location: to.Ptr("southeastasia"),
	// 	Tags: map[string]*string{
	// 		"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
	// 	},
	// 	Properties: &armmigrationassessment.ProjectProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentSolutionID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
	// 		CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
	// 		PrivateEndpointConnections: []*armmigrationassessment.PrivateEndpointConnection{
	// 			{
	// 				Name: to.Ptr("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
	// 				Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
	// 				ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
	// 				SystemData: &armmigrationassessment.SystemData{
	// 					CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 					CreatedBy: to.Ptr("sakanwar"),
	// 					CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 					LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 					LastModifiedBy: to.Ptr("sakanwar"),
	// 					LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 				},
	// 				Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
	// 					PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
	// 						ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
	// 					},
	// 					PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
	// 						ActionsRequired: to.Ptr(""),
	// 						Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
	// 					},
	// 					ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
	// 				},
	// 		}},
	// 		ProjectStatus: to.Ptr(armmigrationassessment.ProjectStatusActive),
	// 		PublicNetworkAccess: to.Ptr("Disabled"),
	// 		ServiceEndpoint: to.Ptr("https://asmsrv.sea.test.migration.windowsazure.com/"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
	// 	},
	// }
}
Output:

func (*AssessmentProjectsOperationsClient) BeginUpdate

BeginUpdate - Update a AssessmentProject If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • properties - The resource properties to be updated.
  • options - AssessmentProjectsOperationsClientBeginUpdateOptions contains the optional parameters for the AssessmentProjectsOperationsClient.BeginUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectsOperations_Update_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAssessmentProjectsOperationsClient().BeginUpdate(ctx, "sakanwar", "sakanwar1204project", armmigrationassessment.AssessmentProjectUpdate{
		Properties: &armmigrationassessment.AssessmentProjectUpdateProperties{
			AssessmentSolutionID:        to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
			CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
			ProjectStatus:               to.Ptr(armmigrationassessment.ProjectStatusActive),
			ProvisioningState:           to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			PublicNetworkAccess:         to.Ptr("Disabled"),
		},
		Tags: map[string]*string{
			"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessmentProject = armmigrationassessment.AssessmentProject{
	// 	Name: to.Ptr("sakanwar1204project"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Location: to.Ptr("southeastasia"),
	// 	Tags: map[string]*string{
	// 		"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
	// 	},
	// 	Properties: &armmigrationassessment.ProjectProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentSolutionID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
	// 		CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
	// 		PrivateEndpointConnections: []*armmigrationassessment.PrivateEndpointConnection{
	// 			{
	// 				Name: to.Ptr("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
	// 				Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
	// 				ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
	// 				SystemData: &armmigrationassessment.SystemData{
	// 					CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 					CreatedBy: to.Ptr("sakanwar"),
	// 					CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 					LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 					LastModifiedBy: to.Ptr("sakanwar"),
	// 					LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 				},
	// 				Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
	// 					PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
	// 						ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
	// 					},
	// 					PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
	// 						ActionsRequired: to.Ptr(""),
	// 						Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
	// 					},
	// 					ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
	// 				},
	// 		}},
	// 		ProjectStatus: to.Ptr(armmigrationassessment.ProjectStatusActive),
	// 		PublicNetworkAccess: to.Ptr("Disabled"),
	// 		ServiceEndpoint: to.Ptr("https://asmsrv.sea.test.migration.windowsazure.com/"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
	// 	},
	// }
}
Output:

func (*AssessmentProjectsOperationsClient) Delete

Delete - Delete a AssessmentProject If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AssessmentProjectsOperationsClientDeleteOptions contains the optional parameters for the AssessmentProjectsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewAssessmentProjectsOperationsClient().Delete(ctx, "rgmigrate", "zqrsyncwahgydqvwuchkfd", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*AssessmentProjectsOperationsClient) Get

Get - Get a AssessmentProject If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AssessmentProjectsOperationsClientGetOptions contains the optional parameters for the AssessmentProjectsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessmentProjectsOperationsClient().Get(ctx, "sakanwar", "sakanwar1204project", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AssessmentProject = armmigrationassessment.AssessmentProject{
	// 	Name: to.Ptr("sakanwar1204project"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Location: to.Ptr("southeastasia"),
	// 	Tags: map[string]*string{
	// 		"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
	// 	},
	// 	Properties: &armmigrationassessment.ProjectProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentSolutionID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
	// 		CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
	// 		PrivateEndpointConnections: []*armmigrationassessment.PrivateEndpointConnection{
	// 			{
	// 				Name: to.Ptr("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
	// 				Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
	// 				ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
	// 				SystemData: &armmigrationassessment.SystemData{
	// 					CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 					CreatedBy: to.Ptr("sakanwar"),
	// 					CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 					LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 					LastModifiedBy: to.Ptr("sakanwar"),
	// 					LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 				},
	// 				Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
	// 					PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
	// 						ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
	// 					},
	// 					PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
	// 						ActionsRequired: to.Ptr(""),
	// 						Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
	// 					},
	// 					ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
	// 				},
	// 		}},
	// 		ProjectStatus: to.Ptr(armmigrationassessment.ProjectStatusActive),
	// 		PublicNetworkAccess: to.Ptr("Disabled"),
	// 		ServiceEndpoint: to.Ptr("https://asmsrv.sea.test.migration.windowsazure.com/"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
	// 	},
	// }
}
Output:

func (*AssessmentProjectsOperationsClient) NewListByResourceGroupPager

NewListByResourceGroupPager - List AssessmentProject resources by resource group

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • options - AssessmentProjectsOperationsClientListByResourceGroupOptions contains the optional parameters for the AssessmentProjectsOperationsClient.NewListByResourceGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectsOperations_ListByResourceGroup_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessmentProjectsOperationsClient().NewListByResourceGroupPager("sakanwar", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessmentProjectListResult = armmigrationassessment.AssessmentProjectListResult{
		// 	Value: []*armmigrationassessment.AssessmentProject{
		// 		{
		// 			Name: to.Ptr("sakanwar1204project"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("sakanwar"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Location: to.Ptr("southeastasia"),
		// 			Tags: map[string]*string{
		// 				"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
		// 			},
		// 			Properties: &armmigrationassessment.ProjectProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
		// 				AssessmentSolutionID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
		// 				CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
		// 				PrivateEndpointConnections: []*armmigrationassessment.PrivateEndpointConnection{
		// 					{
		// 						Name: to.Ptr("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
		// 						Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
		// 						ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
		// 						SystemData: &armmigrationassessment.SystemData{
		// 							CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 							CreatedBy: to.Ptr("sakanwar"),
		// 							CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 							LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 							LastModifiedBy: to.Ptr("sakanwar"),
		// 							LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 						},
		// 						Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
		// 							PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
		// 								ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
		// 							},
		// 							PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
		// 								ActionsRequired: to.Ptr(""),
		// 								Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
		// 							},
		// 							ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
		// 						},
		// 				}},
		// 				ProjectStatus: to.Ptr(armmigrationassessment.ProjectStatusActive),
		// 				PublicNetworkAccess: to.Ptr("Disabled"),
		// 				ServiceEndpoint: to.Ptr("https://asmsrv.sea.test.migration.windowsazure.com/"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

func (*AssessmentProjectsOperationsClient) NewListBySubscriptionPager

NewListBySubscriptionPager - List AssessmentProject resources by subscription ID

Generated from API version 2024-01-01-preview

  • options - AssessmentProjectsOperationsClientListBySubscriptionOptions contains the optional parameters for the AssessmentProjectsOperationsClient.NewListBySubscriptionPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentProjectsOperations_ListBySubscription_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessmentProjectsOperationsClient().NewListBySubscriptionPager(nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessmentProjectListResult = armmigrationassessment.AssessmentProjectListResult{
		// 	Value: []*armmigrationassessment.AssessmentProject{
		// 		{
		// 			Name: to.Ptr("sakanwar1204project"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("sakanwar"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Location: to.Ptr("southeastasia"),
		// 			Tags: map[string]*string{
		// 				"Migrate Project": to.Ptr("sakanwar-PE-SEA"),
		// 			},
		// 			Properties: &armmigrationassessment.ProjectProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
		// 				AssessmentSolutionID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
		// 				CustomerStorageAccountArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Storage/storageAccounts/sakanwar1204usa"),
		// 				PrivateEndpointConnections: []*armmigrationassessment.PrivateEndpointConnection{
		// 					{
		// 						Name: to.Ptr("sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
		// 						Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
		// 						ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateEndpointConnections/sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7"),
		// 						SystemData: &armmigrationassessment.SystemData{
		// 							CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 							CreatedBy: to.Ptr("sakanwar"),
		// 							CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 							LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 							LastModifiedBy: to.Ptr("sakanwar"),
		// 							LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 						},
		// 						Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
		// 							PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
		// 								ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
		// 							},
		// 							PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
		// 								ActionsRequired: to.Ptr(""),
		// 								Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
		// 							},
		// 							ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
		// 						},
		// 				}},
		// 				ProjectStatus: to.Ptr(armmigrationassessment.ProjectStatusActive),
		// 				PublicNetworkAccess: to.Ptr("Disabled"),
		// 				ServiceEndpoint: to.Ptr("https://asmsrv.sea.test.migration.windowsazure.com/"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.588Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type AssessmentProjectsOperationsClientBeginCreateOptions

type AssessmentProjectsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AssessmentProjectsOperationsClientBeginCreateOptions contains the optional parameters for the AssessmentProjectsOperationsClient.BeginCreate method.

type AssessmentProjectsOperationsClientBeginUpdateOptions

type AssessmentProjectsOperationsClientBeginUpdateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AssessmentProjectsOperationsClientBeginUpdateOptions contains the optional parameters for the AssessmentProjectsOperationsClient.BeginUpdate method.

type AssessmentProjectsOperationsClientCreateResponse

type AssessmentProjectsOperationsClientCreateResponse struct {
	// An Assessment project site resource.
	AssessmentProject
}

AssessmentProjectsOperationsClientCreateResponse contains the response from method AssessmentProjectsOperationsClient.BeginCreate.

type AssessmentProjectsOperationsClientDeleteOptions

type AssessmentProjectsOperationsClientDeleteOptions struct {
}

AssessmentProjectsOperationsClientDeleteOptions contains the optional parameters for the AssessmentProjectsOperationsClient.Delete method.

type AssessmentProjectsOperationsClientDeleteResponse

type AssessmentProjectsOperationsClientDeleteResponse struct {
}

AssessmentProjectsOperationsClientDeleteResponse contains the response from method AssessmentProjectsOperationsClient.Delete.

type AssessmentProjectsOperationsClientGetOptions

type AssessmentProjectsOperationsClientGetOptions struct {
}

AssessmentProjectsOperationsClientGetOptions contains the optional parameters for the AssessmentProjectsOperationsClient.Get method.

type AssessmentProjectsOperationsClientGetResponse

type AssessmentProjectsOperationsClientGetResponse struct {
	// An Assessment project site resource.
	AssessmentProject
}

AssessmentProjectsOperationsClientGetResponse contains the response from method AssessmentProjectsOperationsClient.Get.

type AssessmentProjectsOperationsClientListByResourceGroupOptions

type AssessmentProjectsOperationsClientListByResourceGroupOptions struct {
}

AssessmentProjectsOperationsClientListByResourceGroupOptions contains the optional parameters for the AssessmentProjectsOperationsClient.NewListByResourceGroupPager method.

type AssessmentProjectsOperationsClientListByResourceGroupResponse

type AssessmentProjectsOperationsClientListByResourceGroupResponse struct {
	// The response of a AssessmentProject list operation.
	AssessmentProjectListResult
}

AssessmentProjectsOperationsClientListByResourceGroupResponse contains the response from method AssessmentProjectsOperationsClient.NewListByResourceGroupPager.

type AssessmentProjectsOperationsClientListBySubscriptionOptions

type AssessmentProjectsOperationsClientListBySubscriptionOptions struct {
}

AssessmentProjectsOperationsClientListBySubscriptionOptions contains the optional parameters for the AssessmentProjectsOperationsClient.NewListBySubscriptionPager method.

type AssessmentProjectsOperationsClientListBySubscriptionResponse

type AssessmentProjectsOperationsClientListBySubscriptionResponse struct {
	// The response of a AssessmentProject list operation.
	AssessmentProjectListResult
}

AssessmentProjectsOperationsClientListBySubscriptionResponse contains the response from method AssessmentProjectsOperationsClient.NewListBySubscriptionPager.

type AssessmentProjectsOperationsClientUpdateResponse

type AssessmentProjectsOperationsClientUpdateResponse struct {
	// An Assessment project site resource.
	AssessmentProject
}

AssessmentProjectsOperationsClientUpdateResponse contains the response from method AssessmentProjectsOperationsClient.BeginUpdate.

type AssessmentResult

type AssessmentResult struct {
	// REQUIRED; Gets or sets the app service plan name.
	AppServicePlanName *string

	// REQUIRED; Gets or sets the security suitability.
	SecuritySuitability *CloudSuitability

	// REQUIRED; Gets or sets the suitability.
	Suitability *CloudSuitability

	// REQUIRED; Gets or sets the web app sku name.
	WebAppSKUName *string

	// REQUIRED; Gets or sets the web app sku size.
	WebAppSKUSize *string
}

AssessmentResult - Assessment results.

func (AssessmentResult) MarshalJSON

func (a AssessmentResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentResult.

func (*AssessmentResult) UnmarshalJSON

func (a *AssessmentResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentResult.

type AssessmentScopeParameters

type AssessmentScopeParameters struct {
	// Gets or sets the server group id.
	ServerGroupID *string
}

AssessmentScopeParameters - Data model of Assessment Scope Parameters.

func (AssessmentScopeParameters) MarshalJSON

func (a AssessmentScopeParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AssessmentScopeParameters.

func (*AssessmentScopeParameters) UnmarshalJSON

func (a *AssessmentScopeParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AssessmentScopeParameters.

type AssessmentSizingCriterion

type AssessmentSizingCriterion string

AssessmentSizingCriterion - Assessment Sizing Criteria.

const (
	// AssessmentSizingCriterionAsOnPremises - As On Premises or Static Data based Sizing.
	AssessmentSizingCriterionAsOnPremises AssessmentSizingCriterion = "AsOnPremises"
	// AssessmentSizingCriterionPerformanceBased - Performance Data based Sizing.
	AssessmentSizingCriterionPerformanceBased AssessmentSizingCriterion = "PerformanceBased"
)

func PossibleAssessmentSizingCriterionValues

func PossibleAssessmentSizingCriterionValues() []AssessmentSizingCriterion

PossibleAssessmentSizingCriterionValues returns the possible values for the AssessmentSizingCriterion const type.

type AssessmentStage

type AssessmentStage string
const (
	AssessmentStageApproved    AssessmentStage = "Approved"
	AssessmentStageInProgress  AssessmentStage = "InProgress"
	AssessmentStageUnderReview AssessmentStage = "UnderReview"
)

func PossibleAssessmentStageValues

func PossibleAssessmentStageValues() []AssessmentStage

PossibleAssessmentStageValues returns the possible values for the AssessmentStage const type.

type AssessmentStatus

type AssessmentStatus string

AssessmentStatus - Assessment Status.

const (
	// AssessmentStatusCompleted - Assessment is Completed or Ready.
	AssessmentStatusCompleted AssessmentStatus = "Completed"
	// AssessmentStatusCreated - Assessment is Created.
	AssessmentStatusCreated AssessmentStatus = "Created"
	// AssessmentStatusDeleted - Assessment is Deleted.
	AssessmentStatusDeleted AssessmentStatus = "Deleted"
	// AssessmentStatusInvalid - Assessment is Failed i.e. it is now invalid.
	AssessmentStatusInvalid AssessmentStatus = "Invalid"
	// AssessmentStatusOutDated - Assessment is Out Dated.
	AssessmentStatusOutDated AssessmentStatus = "OutDated"
	// AssessmentStatusOutOfSync - Assessment is Out of Sync.
	AssessmentStatusOutOfSync AssessmentStatus = "OutOfSync"
	// AssessmentStatusRunning - Assessment is currently running.
	AssessmentStatusRunning AssessmentStatus = "Running"
	// AssessmentStatusUpdated - Assessment is Updated.
	AssessmentStatusUpdated AssessmentStatus = "Updated"
)

func PossibleAssessmentStatusValues

func PossibleAssessmentStatusValues() []AssessmentStatus

PossibleAssessmentStatusValues returns the possible values for the AssessmentStatus const type.

type AssessmentType

type AssessmentType string
const (
	AssessmentTypeAvsAssessment     AssessmentType = "AvsAssessment"
	AssessmentTypeMachineAssessment AssessmentType = "MachineAssessment"
	AssessmentTypeSQLAssessment     AssessmentType = "SqlAssessment"
	AssessmentTypeUnknown           AssessmentType = "Unknown"
	AssessmentTypeWebAppAssessment  AssessmentType = "WebAppAssessment"
)

func PossibleAssessmentTypeValues

func PossibleAssessmentTypeValues() []AssessmentType

PossibleAssessmentTypeValues returns the possible values for the AssessmentType const type.

type AssessmentsOperationsClient

type AssessmentsOperationsClient struct {
	// contains filtered or unexported fields
}

AssessmentsOperationsClient contains the methods for the AssessmentsOperations group. Don't use this type directly, use NewAssessmentsOperationsClient() instead.

func NewAssessmentsOperationsClient

func NewAssessmentsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AssessmentsOperationsClient, error)

NewAssessmentsOperationsClient creates a new instance of AssessmentsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AssessmentsOperationsClient) BeginCreate

func (client *AssessmentsOperationsClient) BeginCreate(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, resource Assessment, options *AssessmentsOperationsClientBeginCreateOptions) (*runtime.Poller[AssessmentsOperationsClientCreateResponse], error)

BeginCreate - Create a Assessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Machine Assessment ARM name
  • resource - Resource create parameters.
  • options - AssessmentsOperationsClientBeginCreateOptions contains the optional parameters for the AssessmentsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAssessmentsOperationsClient().BeginCreate(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm1", armmigrationassessment.Assessment{
		Properties: &armmigrationassessment.MachineAssessmentProperties{
			ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			AssessmentType:    to.Ptr(armmigrationassessment.AssessmentTypeUnknown),
			AzureDiskTypes: []*armmigrationassessment.AzureDiskType{
				to.Ptr(armmigrationassessment.AzureDiskTypePremium),
				to.Ptr(armmigrationassessment.AzureDiskTypePremiumV2),
				to.Ptr(armmigrationassessment.AzureDiskTypeStandardSSD)},
			AzureHybridUseBenefit:  to.Ptr(armmigrationassessment.AzureHybridUseBenefitUnknown),
			AzureLocation:          to.Ptr("njxbwdtsxzhichsnk"),
			AzureOfferCode:         to.Ptr(armmigrationassessment.AzureOfferCodeUnknown),
			AzurePricingTier:       to.Ptr(armmigrationassessment.AzurePricingTierStandard),
			AzureStorageRedundancy: to.Ptr(armmigrationassessment.AzureStorageRedundancyUnknown),
			AzureVMFamilies: []*armmigrationassessment.AzureVMFamily{
				to.Ptr(armmigrationassessment.AzureVMFamilyDSeries),
				to.Ptr(armmigrationassessment.AzureVMFamilyLsv2Series),
				to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
				to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
				to.Ptr(armmigrationassessment.AzureVMFamilyMsv2Series),
				to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
			Currency:                   to.Ptr(armmigrationassessment.AzureCurrencyUnknown),
			DiscountPercentage:         to.Ptr[float32](6),
			EaSubscriptionID:           to.Ptr("kwsu"),
			GroupType:                  to.Ptr(armmigrationassessment.GroupTypeDefault),
			LinuxAzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitUnknown),
			Percentile:                 to.Ptr(armmigrationassessment.PercentilePercentile50),
			PerfDataEndTime:            to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t }()),
			PerfDataStartTime:          to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t }()),
			ReservedInstance:           to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
			ScalingFactor:              to.Ptr[float32](24),
			SizingCriterion:            to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
			Stage:                      to.Ptr(armmigrationassessment.AssessmentStageInProgress),
			Status:                     to.Ptr(armmigrationassessment.AssessmentStatusCreated),
			TimeRange:                  to.Ptr(armmigrationassessment.TimeRangeDay),
			VMUptime: &armmigrationassessment.VMUptime{
				DaysPerMonth: to.Ptr[int32](13),
				HoursPerDay:  to.Ptr[int32](26),
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Assessment = armmigrationassessment.Assessment{
	// 	Name: to.Ptr("asm1"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/assessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:29.583Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:29.583Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.MachineAssessmentProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentErrorSummary: map[string]*int32{
	// 		},
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
	// 		AzureDiskTypes: []*armmigrationassessment.AzureDiskType{
	// 			to.Ptr(armmigrationassessment.AzureDiskTypePremium),
	// 			to.Ptr(armmigrationassessment.AzureDiskTypePremiumV2),
	// 			to.Ptr(armmigrationassessment.AzureDiskTypeStandardSSD)},
	// 			AzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitYes),
	// 			AzureLocation: to.Ptr("SoutheastAsia"),
	// 			AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 			AzurePricingTier: to.Ptr(armmigrationassessment.AzurePricingTierStandard),
	// 			AzureStorageRedundancy: to.Ptr(armmigrationassessment.AzureStorageRedundancyLocallyRedundant),
	// 			AzureVMFamilies: []*armmigrationassessment.AzureVMFamily{
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDSeries),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyLsv2Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMsv2Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
	// 				ConfidenceRatingInPercentage: to.Ptr[float32](28),
	// 				CostComponents: []*armmigrationassessment.CostComponent{
	// 					{
	// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAzureHybridCostSavings),
	// 						Value: to.Ptr[float32](547.584),
	// 					},
	// 					{
	// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 						Value: to.Ptr[float32](44.64),
	// 					},
	// 					{
	// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyPremiumV2StorageCost),
	// 						Value: to.Ptr[float32](25.141248),
	// 				}},
	// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:05.732Z"); return t}()),
	// 				Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 				DiscountPercentage: to.Ptr[float32](6),
	// 				DistributionByOsName: map[string]*int32{
	// 					"microsoft Windows Server 2016 or later (64-bit)": to.Ptr[int32](3),
	// 				},
	// 				DistributionByServicePackInsight: map[string]*int32{
	// 				},
	// 				DistributionBySupportStatus: map[string]*int32{
	// 					"extended": to.Ptr[int32](3),
	// 				},
	// 				GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 				LinuxAzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitYes),
	// 				MonthlyBandwidthCost: to.Ptr[float32](21),
	// 				MonthlyComputeCost: to.Ptr[float32](10),
	// 				MonthlyPremiumStorageCost: to.Ptr[float32](13),
	// 				MonthlyStandardSsdStorageCost: to.Ptr[float32](3),
	// 				MonthlyStorageCost: to.Ptr[float32](20),
	// 				MonthlyUltraStorageCost: to.Ptr[float32](21),
	// 				NumberOfMachines: to.Ptr[int32](3),
	// 				Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
	// 				PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t}()),
	// 				PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t}()),
	// 				PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
	// 				ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 				ScalingFactor: to.Ptr[float32](24),
	// 				SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 				Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 				Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"suitable": to.Ptr[int32](3),
	// 				},
	// 				TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:05.732Z"); return t}()),
	// 				VMUptime: &armmigrationassessment.VMUptime{
	// 					DaysPerMonth: to.Ptr[int32](13),
	// 					HoursPerDay: to.Ptr[int32](20),
	// 				},
	// 			},
	// 		}
}
Output:

func (*AssessmentsOperationsClient) BeginDownloadURL

func (client *AssessmentsOperationsClient) BeginDownloadURL(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, body any, options *AssessmentsOperationsClientBeginDownloadURLOptions) (*runtime.Poller[AssessmentsOperationsClientDownloadURLResponse], error)

BeginDownloadURL - Get the URL for downloading the assessment in a report format. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Machine Assessment ARM name
  • body - The content of the action request
  • options - AssessmentsOperationsClientBeginDownloadURLOptions contains the optional parameters for the AssessmentsOperationsClient.BeginDownloadURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentsOperations_DownloadUrl_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAssessmentsOperationsClient().BeginDownloadURL(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm1", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.DownloadURL = armmigrationassessment.DownloadURL{
	// 	AssessmentReportURL: to.Ptr("uri/uri/uri"),
	// 	ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:57.114Z"); return t}()),
	// }
}
Output:

func (*AssessmentsOperationsClient) Delete

func (client *AssessmentsOperationsClient) Delete(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, options *AssessmentsOperationsClientDeleteOptions) (AssessmentsOperationsClientDeleteResponse, error)

Delete - Delete a Assessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Machine Assessment ARM name
  • options - AssessmentsOperationsClientDeleteOptions contains the optional parameters for the AssessmentsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewAssessmentsOperationsClient().Delete(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*AssessmentsOperationsClient) Get

func (client *AssessmentsOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, options *AssessmentsOperationsClientGetOptions) (AssessmentsOperationsClientGetResponse, error)

Get - Get a Assessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Machine Assessment ARM name
  • options - AssessmentsOperationsClientGetOptions contains the optional parameters for the AssessmentsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAssessmentsOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Assessment = armmigrationassessment.Assessment{
	// 	Name: to.Ptr("asm1"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/assessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:29.583Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:29.583Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.MachineAssessmentProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentErrorSummary: map[string]*int32{
	// 		},
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
	// 		AzureDiskTypes: []*armmigrationassessment.AzureDiskType{
	// 			to.Ptr(armmigrationassessment.AzureDiskTypePremium),
	// 			to.Ptr(armmigrationassessment.AzureDiskTypePremiumV2),
	// 			to.Ptr(armmigrationassessment.AzureDiskTypeStandardSSD)},
	// 			AzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitYes),
	// 			AzureLocation: to.Ptr("SoutheastAsia"),
	// 			AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 			AzurePricingTier: to.Ptr(armmigrationassessment.AzurePricingTierStandard),
	// 			AzureStorageRedundancy: to.Ptr(armmigrationassessment.AzureStorageRedundancyLocallyRedundant),
	// 			AzureVMFamilies: []*armmigrationassessment.AzureVMFamily{
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDSeries),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyLsv2Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMsv2Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
	// 				ConfidenceRatingInPercentage: to.Ptr[float32](28),
	// 				CostComponents: []*armmigrationassessment.CostComponent{
	// 					{
	// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAzureHybridCostSavings),
	// 						Value: to.Ptr[float32](547.584),
	// 					},
	// 					{
	// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 						Value: to.Ptr[float32](44.64),
	// 					},
	// 					{
	// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyPremiumV2StorageCost),
	// 						Value: to.Ptr[float32](25.141248),
	// 				}},
	// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:05.732Z"); return t}()),
	// 				Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 				DiscountPercentage: to.Ptr[float32](6),
	// 				DistributionByOsName: map[string]*int32{
	// 					"microsoft Windows Server 2016 or later (64-bit)": to.Ptr[int32](3),
	// 				},
	// 				DistributionByServicePackInsight: map[string]*int32{
	// 				},
	// 				DistributionBySupportStatus: map[string]*int32{
	// 					"extended": to.Ptr[int32](3),
	// 				},
	// 				GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 				LinuxAzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitYes),
	// 				MonthlyBandwidthCost: to.Ptr[float32](21),
	// 				MonthlyComputeCost: to.Ptr[float32](10),
	// 				MonthlyPremiumStorageCost: to.Ptr[float32](13),
	// 				MonthlyStandardSsdStorageCost: to.Ptr[float32](3),
	// 				MonthlyStorageCost: to.Ptr[float32](20),
	// 				MonthlyUltraStorageCost: to.Ptr[float32](21),
	// 				NumberOfMachines: to.Ptr[int32](3),
	// 				Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
	// 				PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t}()),
	// 				PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t}()),
	// 				PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
	// 				ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 				ScalingFactor: to.Ptr[float32](24),
	// 				SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 				Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 				Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"suitable": to.Ptr[int32](3),
	// 				},
	// 				TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:05.732Z"); return t}()),
	// 				VMUptime: &armmigrationassessment.VMUptime{
	// 					DaysPerMonth: to.Ptr[int32](13),
	// 					HoursPerDay: to.Ptr[int32](20),
	// 				},
	// 			},
	// 		}
}
Output:

func (*AssessmentsOperationsClient) NewListByGroupPager

func (client *AssessmentsOperationsClient) NewListByGroupPager(resourceGroupName string, projectName string, groupName string, options *AssessmentsOperationsClientListByGroupOptions) *runtime.Pager[AssessmentsOperationsClientListByGroupResponse]

NewListByGroupPager - List Assessment resources by Group

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • options - AssessmentsOperationsClientListByGroupOptions contains the optional parameters for the AssessmentsOperationsClient.NewListByGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AssessmentsOperations_ListByGroup_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAssessmentsOperationsClient().NewListByGroupPager("ayagrawrg", "app18700project", "kuchatur-test", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AssessmentListResult = armmigrationassessment.AssessmentListResult{
		// 	Value: []*armmigrationassessment.Assessment{
		// 		{
		// 			Name: to.Ptr("asm1"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/assessments"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:29.583Z"); return t}()),
		// 				CreatedBy: to.Ptr("sakanwar"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:29.583Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.MachineAssessmentProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
		// 				AssessmentErrorSummary: map[string]*int32{
		// 				},
		// 				AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
		// 				AzureDiskTypes: []*armmigrationassessment.AzureDiskType{
		// 					to.Ptr(armmigrationassessment.AzureDiskTypePremium),
		// 					to.Ptr(armmigrationassessment.AzureDiskTypePremiumV2),
		// 					to.Ptr(armmigrationassessment.AzureDiskTypeStandardSSD)},
		// 					AzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitYes),
		// 					AzureLocation: to.Ptr("SoutheastAsia"),
		// 					AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 					AzurePricingTier: to.Ptr(armmigrationassessment.AzurePricingTierStandard),
		// 					AzureStorageRedundancy: to.Ptr(armmigrationassessment.AzureStorageRedundancyLocallyRedundant),
		// 					AzureVMFamilies: []*armmigrationassessment.AzureVMFamily{
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyDSeries),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyLsv2Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyMsv2Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
		// 						ConfidenceRatingInPercentage: to.Ptr[float32](28),
		// 						CostComponents: []*armmigrationassessment.CostComponent{
		// 							{
		// 								Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAzureHybridCostSavings),
		// 								Value: to.Ptr[float32](547.584),
		// 							},
		// 							{
		// 								Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 								Value: to.Ptr[float32](44.64),
		// 							},
		// 							{
		// 								Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyPremiumV2StorageCost),
		// 								Value: to.Ptr[float32](25.141248),
		// 						}},
		// 						CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:05.732Z"); return t}()),
		// 						Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 						DiscountPercentage: to.Ptr[float32](6),
		// 						DistributionByOsName: map[string]*int32{
		// 							"microsoft Windows Server 2016 or later (64-bit)": to.Ptr[int32](3),
		// 						},
		// 						DistributionByServicePackInsight: map[string]*int32{
		// 						},
		// 						DistributionBySupportStatus: map[string]*int32{
		// 							"extended": to.Ptr[int32](3),
		// 						},
		// 						GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 						LinuxAzureHybridUseBenefit: to.Ptr(armmigrationassessment.AzureHybridUseBenefitYes),
		// 						MonthlyBandwidthCost: to.Ptr[float32](21),
		// 						MonthlyComputeCost: to.Ptr[float32](10),
		// 						MonthlyPremiumStorageCost: to.Ptr[float32](13),
		// 						MonthlyStandardSsdStorageCost: to.Ptr[float32](3),
		// 						MonthlyStorageCost: to.Ptr[float32](20),
		// 						MonthlyUltraStorageCost: to.Ptr[float32](21),
		// 						NumberOfMachines: to.Ptr[int32](3),
		// 						Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
		// 						PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t}()),
		// 						PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:36:48.491Z"); return t}()),
		// 						PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
		// 						ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 						ScalingFactor: to.Ptr[float32](24),
		// 						SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 						Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
		// 						Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
		// 						SuitabilitySummary: map[string]*int32{
		// 							"suitable": to.Ptr[int32](3),
		// 						},
		// 						TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 						UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T09:14:05.732Z"); return t}()),
		// 						VMUptime: &armmigrationassessment.VMUptime{
		// 							DaysPerMonth: to.Ptr[int32](13),
		// 							HoursPerDay: to.Ptr[int32](20),
		// 						},
		// 					},
		// 			}},
		// 		}
	}
}
Output:

type AssessmentsOperationsClientBeginCreateOptions

type AssessmentsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AssessmentsOperationsClientBeginCreateOptions contains the optional parameters for the AssessmentsOperationsClient.BeginCreate method.

type AssessmentsOperationsClientBeginDownloadURLOptions

type AssessmentsOperationsClientBeginDownloadURLOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AssessmentsOperationsClientBeginDownloadURLOptions contains the optional parameters for the AssessmentsOperationsClient.BeginDownloadURL method.

type AssessmentsOperationsClientCreateResponse

type AssessmentsOperationsClientCreateResponse struct {
	// Machine assessment resource.
	Assessment
}

AssessmentsOperationsClientCreateResponse contains the response from method AssessmentsOperationsClient.BeginCreate.

type AssessmentsOperationsClientDeleteOptions

type AssessmentsOperationsClientDeleteOptions struct {
}

AssessmentsOperationsClientDeleteOptions contains the optional parameters for the AssessmentsOperationsClient.Delete method.

type AssessmentsOperationsClientDeleteResponse

type AssessmentsOperationsClientDeleteResponse struct {
}

AssessmentsOperationsClientDeleteResponse contains the response from method AssessmentsOperationsClient.Delete.

type AssessmentsOperationsClientDownloadURLResponse

type AssessmentsOperationsClientDownloadURLResponse struct {
	// Data model of Download URL for assessment report.
	DownloadURL
}

AssessmentsOperationsClientDownloadURLResponse contains the response from method AssessmentsOperationsClient.BeginDownloadURL.

type AssessmentsOperationsClientGetOptions

type AssessmentsOperationsClientGetOptions struct {
}

AssessmentsOperationsClientGetOptions contains the optional parameters for the AssessmentsOperationsClient.Get method.

type AssessmentsOperationsClientGetResponse

type AssessmentsOperationsClientGetResponse struct {
	// Machine assessment resource.
	Assessment
}

AssessmentsOperationsClientGetResponse contains the response from method AssessmentsOperationsClient.Get.

type AssessmentsOperationsClientListByGroupOptions

type AssessmentsOperationsClientListByGroupOptions struct {
}

AssessmentsOperationsClientListByGroupOptions contains the optional parameters for the AssessmentsOperationsClient.NewListByGroupPager method.

type AssessmentsOperationsClientListByGroupResponse

type AssessmentsOperationsClientListByGroupResponse struct {
	// The response of a Assessment list operation.
	AssessmentListResult
}

AssessmentsOperationsClientListByGroupResponse contains the response from method AssessmentsOperationsClient.NewListByGroupPager.

type AsyncCommitModeIntent

type AsyncCommitModeIntent string
const (
	AsyncCommitModeIntentDisasterRecovery AsyncCommitModeIntent = "DisasterRecovery"
	AsyncCommitModeIntentHighAvailability AsyncCommitModeIntent = "HighAvailability"
	AsyncCommitModeIntentNone             AsyncCommitModeIntent = "None"
)

func PossibleAsyncCommitModeIntentValues

func PossibleAsyncCommitModeIntentValues() []AsyncCommitModeIntent

PossibleAsyncCommitModeIntentValues returns the possible values for the AsyncCommitModeIntent const type.

type AvsAssessedDisk

type AvsAssessedDisk struct {
	// READ-ONLY; Associated storage Type recommended for Disk.
	AssessedExternalStorageType *ExternalStorageType

	// READ-ONLY; Gets the display name of the disk.
	DisplayName *string

	// READ-ONLY; Estimated Disk Size in GB.
	EstimatedDiskSizeInGB *float32

	// READ-ONLY; Gigabytes Provisioned for a disk in private data center.
	GigabytesProvisioned *float32

	// READ-ONLY; Disk Read Throughput in MB/s.
	MegabytesPerSecondOfRead *float32

	// READ-ONLY; Disk Write Throughput in MB/s.
	MegabytesPerSecondOfWrite *float32

	// READ-ONLY; Gets the ID of the disk.
	Name *string

	// READ-ONLY; Read Operations per second.
	NumberOfReadOperationsPerSecond *float32

	// READ-ONLY; Write Operations per second.
	NumberOfWriteOperationsPerSecond *float32

	// READ-ONLY; Gets the suitability detail.
	SuitabilityDetail *AzureDiskSuitabilityDetail
}

AvsAssessedDisk - AVS assessed disk web model class.

func (AvsAssessedDisk) MarshalJSON

func (a AvsAssessedDisk) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessedDisk.

func (*AvsAssessedDisk) UnmarshalJSON

func (a *AvsAssessedDisk) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessedDisk.

type AvsAssessedMachine

type AvsAssessedMachine struct {
	// The resource-specific properties for this resource.
	Properties *AvsAssessedMachineProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AvsAssessedMachine - AVS assessment Assessed Machine resource.

func (AvsAssessedMachine) MarshalJSON

func (a AvsAssessedMachine) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessedMachine.

func (*AvsAssessedMachine) UnmarshalJSON

func (a *AvsAssessedMachine) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessedMachine.

type AvsAssessedMachineListResult

type AvsAssessedMachineListResult struct {
	// REQUIRED; The AvsAssessedMachine items on this page
	Value []*AvsAssessedMachine

	// The link to the next page of items
	NextLink *string
}

AvsAssessedMachineListResult - The response of a AvsAssessedMachine list operation.

func (AvsAssessedMachineListResult) MarshalJSON

func (a AvsAssessedMachineListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessedMachineListResult.

func (*AvsAssessedMachineListResult) UnmarshalJSON

func (a *AvsAssessedMachineListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessedMachineListResult.

type AvsAssessedMachineProperties

type AvsAssessedMachineProperties struct {
	// READ-ONLY; Boot type of machine discovered in private data center.
	BootType *MachineBootType

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; When was machine first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Data center machine ARM id.
	DatacenterMachineArmID *string

	// READ-ONLY; Data center management server ARM id.
	DatacenterManagementServerArmID *string

	// READ-ONLY; Data center management server name.
	DatacenterManagementServerName *string

	// READ-ONLY; Description for the machine.
	Description *string

	// READ-ONLY; List of Disks that were assessed as part of this machine's assessment.
	Disks map[string]*AvsAssessedDisk

	// READ-ONLY; Display Name of the Machine.
	DisplayName *string

	// READ-ONLY; List of errors for this machine.
	Errors []*Error

	// READ-ONLY; Megabytes of memory found allocated for the machine in private data center.
	MegabytesOfMemory *float32

	// READ-ONLY; List of Network Adapters that were assessed as part of this machine's assessment.
	NetworkAdapters map[string]*AvsAssessedNetworkAdapter

	// READ-ONLY; Number of CPU cores found on the machine.
	NumberOfCores *int32

	// READ-ONLY; Operating system architecture as reported by datacenter management solution.
	OperatingSystemArchitecture *GuestOperatingSystemArchitecture

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemName *string

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemType *string

	// READ-ONLY; Operating system version as reported by datacenter management solution.
	OperatingSystemVersion *string

	// READ-ONLY; Percentile of Percentage of Cores Utilized noted during time period T.
	// Here N and T are settings on Assessment.
	PercentageCoresUtilization *float32

	// READ-ONLY; Percentile of Percentage of Memory Utilized noted during time period T.
	// Here N and T are settings on Assessment.
	PercentageMemoryUtilization *float32

	// READ-ONLY; Gets the storage in use.
	StorageInUseGB *float32

	// READ-ONLY; Gets a value indicating whether machine is suitable for the cloud platform selected.
	Suitability *CloudSuitability

	// READ-ONLY; Gets the details if machine is not suitable for cloud.
	SuitabilityDetail *AzureAvsVMSuitabilityDetail

	// READ-ONLY; Gets the explanation if machine is not suitable for cloud.
	SuitabilityExplanation *AzureAvsVMSuitabilityExplanation

	// READ-ONLY; Assessed machine type.
	Type *AssessedMachineType

	// READ-ONLY; When was machine last updated.
	UpdatedTimestamp *time.Time
}

AvsAssessedMachineProperties - AVS assessed machine properties web model.

func (AvsAssessedMachineProperties) MarshalJSON

func (a AvsAssessedMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessedMachineProperties.

func (*AvsAssessedMachineProperties) UnmarshalJSON

func (a *AvsAssessedMachineProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessedMachineProperties.

type AvsAssessedMachinesOperationsClient

type AvsAssessedMachinesOperationsClient struct {
	// contains filtered or unexported fields
}

AvsAssessedMachinesOperationsClient contains the methods for the AvsAssessedMachinesOperations group. Don't use this type directly, use NewAvsAssessedMachinesOperationsClient() instead.

func NewAvsAssessedMachinesOperationsClient

func NewAvsAssessedMachinesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AvsAssessedMachinesOperationsClient, error)

NewAvsAssessedMachinesOperationsClient creates a new instance of AvsAssessedMachinesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AvsAssessedMachinesOperationsClient) Get

func (client *AvsAssessedMachinesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, avsAssessedMachineName string, options *AvsAssessedMachinesOperationsClientGetOptions) (AvsAssessedMachinesOperationsClientGetResponse, error)

Get - Get a AvsAssessedMachine If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - AVS Assessment ARM name
  • avsAssessedMachineName - AVS assessment Assessed Machine ARM name
  • options - AvsAssessedMachinesOperationsClientGetOptions contains the optional parameters for the AvsAssessedMachinesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessedMachinesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAvsAssessedMachinesOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm2", "b6d6fc6f-796f-4c16-96af-a6d22e0f12f7", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AvsAssessedMachine = armmigrationassessment.AvsAssessedMachine{
	// 	Name: to.Ptr("18895660-c5e5-4247-8cfc-cd24e1fe57f3"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/avsAssessments/avsAssessedMachines"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/avsAssessments/asm2/avsAssessedMachines/18895660-c5e5-4247-8cfc-cd24e1fe57f3"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("lrmhonmbodwva"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AvsAssessedMachineProperties{
	// 		Type: to.Ptr(armmigrationassessment.AssessedMachineTypeAvsAssessedMachine),
	// 		Description: to.Ptr("Microsoft Azure Migration Image on Windows Server 2016"),
	// 		BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:59.232Z"); return t}()),
	// 		DatacenterMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app18700site/machines/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3_501505aa-baaa-af9d-8315-5a45209fd255"),
	// 		DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app18700site/vcenters/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3"),
	// 		DatacenterManagementServerName: to.Ptr("idclab-vcen67.fareast.corp.microsoft.com"),
	// 		Disks: map[string]*armmigrationassessment.AvsAssessedDisk{
	// 			"6000C297-455f-f81e-37b7-dc17da4433d4": &armmigrationassessment.AvsAssessedDisk{
	// 				Name: to.Ptr("6000C297-455f-f81e-37b7-dc17da4433d4"),
	// 				AssessedExternalStorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 				DisplayName: to.Ptr("scsi0:0"),
	// 				EstimatedDiskSizeInGB: to.Ptr[float32](14),
	// 				GigabytesProvisioned: to.Ptr[float32](80),
	// 				MegabytesPerSecondOfRead: to.Ptr[float32](0),
	// 				MegabytesPerSecondOfWrite: to.Ptr[float32](0),
	// 				NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
	// 				NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
	// 				SuitabilityDetail: to.Ptr(armmigrationassessment.AzureDiskSuitabilityDetailNone),
	// 			},
	// 		},
	// 		DisplayName: to.Ptr("CustomerAE24Feb"),
	// 		Errors: []*armmigrationassessment.Error{
	// 		},
	// 		MegabytesOfMemory: to.Ptr[float32](32768),
	// 		NetworkAdapters: map[string]*armmigrationassessment.AvsAssessedNetworkAdapter{
	// 			"4000": &armmigrationassessment.AvsAssessedNetworkAdapter{
	// 				DisplayName: to.Ptr("VM Network"),
	// 				IPAddresses: []*string{
	// 					to.Ptr("2404:f801:4800:25:38fe:66de:64e4:5a26"),
	// 					to.Ptr("10.150.9.214")},
	// 					MacAddress: to.Ptr("00:50:56:95:7a:57"),
	// 					MegabytesPerSecondReceived: to.Ptr[float32](0),
	// 					MegabytesPerSecondTransmitted: to.Ptr[float32](0),
	// 				},
	// 			},
	// 			NumberOfCores: to.Ptr[int32](8),
	// 			OperatingSystemArchitecture: to.Ptr(armmigrationassessment.GuestOperatingSystemArchitectureX64),
	// 			OperatingSystemName: to.Ptr("Microsoft Windows Server 2016 or later (64-bit)"),
	// 			OperatingSystemType: to.Ptr("windowsGuest"),
	// 			PercentageCoresUtilization: to.Ptr[float32](0),
	// 			PercentageMemoryUtilization: to.Ptr[float32](0),
	// 			StorageInUseGB: to.Ptr[float32](0),
	// 			Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityConditionallySuitable),
	// 			SuitabilityDetail: to.Ptr(armmigrationassessment.AzureAvsVMSuitabilityDetailNone),
	// 			SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureAvsVMSuitabilityExplanationIPV6NotSupported),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:59.232Z"); return t}()),
	// 		},
	// 	}
}
Output:

func (*AvsAssessedMachinesOperationsClient) NewListByAvsAssessmentPager

NewListByAvsAssessmentPager - List AvsAssessedMachine resources by AvsAssessment

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - AVS Assessment ARM name
  • options - AvsAssessedMachinesOperationsClientListByAvsAssessmentOptions contains the optional parameters for the AvsAssessedMachinesOperationsClient.NewListByAvsAssessmentPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessedMachinesOperations_ListByAvsAssessment_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAvsAssessedMachinesOperationsClient().NewListByAvsAssessmentPager("ayagrawrg", "app18700project", "kuchatur-test", "asm2", &armmigrationassessment.AvsAssessedMachinesOperationsClientListByAvsAssessmentOptions{Filter: to.Ptr("ujmwhhuloficljxcjyc"),
		PageSize:          to.Ptr[int32](6),
		ContinuationToken: to.Ptr("qwrjeiukbcicfrkqlqsfukfc"),
		TotalRecordCount:  to.Ptr[int32](19),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AvsAssessedMachineListResult = armmigrationassessment.AvsAssessedMachineListResult{
		// 	Value: []*armmigrationassessment.AvsAssessedMachine{
		// 		{
		// 			Name: to.Ptr("18895660-c5e5-4247-8cfc-cd24e1fe57f3"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/avsAssessments/avsAssessedMachines"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/avsAssessments/asm2/avsAssessedMachines/18895660-c5e5-4247-8cfc-cd24e1fe57f3"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("lrmhonmbodwva"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AvsAssessedMachineProperties{
		// 				Type: to.Ptr(armmigrationassessment.AssessedMachineTypeAvsAssessedMachine),
		// 				Description: to.Ptr("Microsoft Azure Migration Image on Windows Server 2016"),
		// 				BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:59.232Z"); return t}()),
		// 				DatacenterMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app18700site/machines/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3_501505aa-baaa-af9d-8315-5a45209fd255"),
		// 				DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app18700site/vcenters/idclab-vcen67-fareast-corp-micr-d991d5f4-63f1-41c3-ad6a-40253e24ffa3"),
		// 				DatacenterManagementServerName: to.Ptr("idclab-vcen67.fareast.corp.microsoft.com"),
		// 				Disks: map[string]*armmigrationassessment.AvsAssessedDisk{
		// 					"6000C297-455f-f81e-37b7-dc17da4433d4": &armmigrationassessment.AvsAssessedDisk{
		// 						Name: to.Ptr("6000C297-455f-f81e-37b7-dc17da4433d4"),
		// 						AssessedExternalStorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
		// 						DisplayName: to.Ptr("scsi0:0"),
		// 						EstimatedDiskSizeInGB: to.Ptr[float32](14),
		// 						GigabytesProvisioned: to.Ptr[float32](80),
		// 						MegabytesPerSecondOfRead: to.Ptr[float32](0),
		// 						MegabytesPerSecondOfWrite: to.Ptr[float32](0),
		// 						NumberOfReadOperationsPerSecond: to.Ptr[float32](0),
		// 						NumberOfWriteOperationsPerSecond: to.Ptr[float32](0),
		// 						SuitabilityDetail: to.Ptr(armmigrationassessment.AzureDiskSuitabilityDetailNone),
		// 					},
		// 				},
		// 				DisplayName: to.Ptr("CustomerAE24Feb"),
		// 				Errors: []*armmigrationassessment.Error{
		// 				},
		// 				MegabytesOfMemory: to.Ptr[float32](32768),
		// 				NetworkAdapters: map[string]*armmigrationassessment.AvsAssessedNetworkAdapter{
		// 					"4000": &armmigrationassessment.AvsAssessedNetworkAdapter{
		// 						DisplayName: to.Ptr("VM Network"),
		// 						IPAddresses: []*string{
		// 							to.Ptr("2404:f801:4800:25:38fe:66de:64e4:5a26"),
		// 							to.Ptr("10.150.9.214")},
		// 							MacAddress: to.Ptr("00:50:56:95:7a:57"),
		// 							MegabytesPerSecondReceived: to.Ptr[float32](0),
		// 							MegabytesPerSecondTransmitted: to.Ptr[float32](0),
		// 						},
		// 					},
		// 					NumberOfCores: to.Ptr[int32](8),
		// 					OperatingSystemArchitecture: to.Ptr(armmigrationassessment.GuestOperatingSystemArchitectureX64),
		// 					OperatingSystemName: to.Ptr("Microsoft Windows Server 2016 or later (64-bit)"),
		// 					OperatingSystemType: to.Ptr("windowsGuest"),
		// 					PercentageCoresUtilization: to.Ptr[float32](0),
		// 					PercentageMemoryUtilization: to.Ptr[float32](0),
		// 					StorageInUseGB: to.Ptr[float32](0),
		// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilityConditionallySuitable),
		// 					SuitabilityDetail: to.Ptr(armmigrationassessment.AzureAvsVMSuitabilityDetailNone),
		// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureAvsVMSuitabilityExplanationIPV6NotSupported),
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:59.232Z"); return t}()),
		// 				},
		// 		}},
		// 	}
	}
}
Output:

type AvsAssessedMachinesOperationsClientGetOptions

type AvsAssessedMachinesOperationsClientGetOptions struct {
}

AvsAssessedMachinesOperationsClientGetOptions contains the optional parameters for the AvsAssessedMachinesOperationsClient.Get method.

type AvsAssessedMachinesOperationsClientGetResponse

type AvsAssessedMachinesOperationsClientGetResponse struct {
	// AVS assessment Assessed Machine resource.
	AvsAssessedMachine
}

AvsAssessedMachinesOperationsClientGetResponse contains the response from method AvsAssessedMachinesOperationsClient.Get.

type AvsAssessedMachinesOperationsClientListByAvsAssessmentOptions

type AvsAssessedMachinesOperationsClientListByAvsAssessmentOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

AvsAssessedMachinesOperationsClientListByAvsAssessmentOptions contains the optional parameters for the AvsAssessedMachinesOperationsClient.NewListByAvsAssessmentPager method.

type AvsAssessedMachinesOperationsClientListByAvsAssessmentResponse

type AvsAssessedMachinesOperationsClientListByAvsAssessmentResponse struct {
	// The response of a AvsAssessedMachine list operation.
	AvsAssessedMachineListResult
}

AvsAssessedMachinesOperationsClientListByAvsAssessmentResponse contains the response from method AvsAssessedMachinesOperationsClient.NewListByAvsAssessmentPager.

type AvsAssessedNetworkAdapter

type AvsAssessedNetworkAdapter struct {
	// READ-ONLY; Gets the display name of the network adapter.
	DisplayName *string

	// READ-ONLY; IP V4 addresses for the machine.
	IPAddresses []*string

	// READ-ONLY; Mac address of the NIC.
	MacAddress *string

	// READ-ONLY; Gets the Received data for Network Adapter in MB/s. This value is the percentile of historical data based on
	// options selected in Assessment.
	MegabytesPerSecondReceived *float32

	// READ-ONLY; Gets the Transmitted data for Network Adapter in MB/s. This value is the percentile of historical data based
	// on options selected in Assessment.
	MegabytesPerSecondTransmitted *float32
}

AvsAssessedNetworkAdapter - Second level object returned as part of AVS AssessedMachine REST resource.

func (AvsAssessedNetworkAdapter) MarshalJSON

func (a AvsAssessedNetworkAdapter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessedNetworkAdapter.

func (*AvsAssessedNetworkAdapter) UnmarshalJSON

func (a *AvsAssessedNetworkAdapter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessedNetworkAdapter.

type AvsAssessment

type AvsAssessment struct {
	// The resource-specific properties for this resource.
	Properties *AvsAssessmentProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AvsAssessment - AVS assessment resource.

func (AvsAssessment) MarshalJSON

func (a AvsAssessment) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessment.

func (*AvsAssessment) UnmarshalJSON

func (a *AvsAssessment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessment.

type AvsAssessmentListResult

type AvsAssessmentListResult struct {
	// REQUIRED; The AvsAssessment items on this page
	Value []*AvsAssessment

	// The link to the next page of items
	NextLink *string
}

AvsAssessmentListResult - The response of a AvsAssessment list operation.

func (AvsAssessmentListResult) MarshalJSON

func (a AvsAssessmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessmentListResult.

func (*AvsAssessmentListResult) UnmarshalJSON

func (a *AvsAssessmentListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessmentListResult.

type AvsAssessmentOptions

type AvsAssessmentOptions struct {
	// The resource-specific properties for this resource.
	Properties *AvsAssessmentOptionsProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AvsAssessmentOptions - AVS Assessment options resource.

func (AvsAssessmentOptions) MarshalJSON

func (a AvsAssessmentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessmentOptions.

func (*AvsAssessmentOptions) UnmarshalJSON

func (a *AvsAssessmentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessmentOptions.

type AvsAssessmentOptionsListResult

type AvsAssessmentOptionsListResult struct {
	// REQUIRED; The AvsAssessmentOptions items on this page
	Value []*AvsAssessmentOptions

	// The link to the next page of items
	NextLink *string
}

AvsAssessmentOptionsListResult - The response of a AvsAssessmentOptions list operation.

func (AvsAssessmentOptionsListResult) MarshalJSON

func (a AvsAssessmentOptionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessmentOptionsListResult.

func (*AvsAssessmentOptionsListResult) UnmarshalJSON

func (a *AvsAssessmentOptionsListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessmentOptionsListResult.

type AvsAssessmentOptionsOperationsClient

type AvsAssessmentOptionsOperationsClient struct {
	// contains filtered or unexported fields
}

AvsAssessmentOptionsOperationsClient contains the methods for the AvsAssessmentOptionsOperations group. Don't use this type directly, use NewAvsAssessmentOptionsOperationsClient() instead.

func NewAvsAssessmentOptionsOperationsClient

func NewAvsAssessmentOptionsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AvsAssessmentOptionsOperationsClient, error)

NewAvsAssessmentOptionsOperationsClient creates a new instance of AvsAssessmentOptionsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AvsAssessmentOptionsOperationsClient) Get

Get - Get a AvsAssessmentOptions If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • avsAssessmentOptionsName - AVS Assessment options ARM name. Accepted value is 'default'
  • options - AvsAssessmentOptionsOperationsClientGetOptions contains the optional parameters for the AvsAssessmentOptionsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentOptionsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAvsAssessmentOptionsOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AvsAssessmentOptions = armmigrationassessment.AvsAssessmentOptions{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/{assessmentOptionsName}"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/avsAssessmentOptions/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("asd"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("tnmop"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AvsAssessmentOptionsProperties{
	// 		AvsExternalStorageTypes: []*armmigrationassessment.AvsExternalStorageOptions{
	// 			{
	// 				StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
	// 				TargetLocations: []*armmigrationassessment.AzureLocation{
	// 					to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 					to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 					to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 					to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 					to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 					to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 					to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 					to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 					to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 					to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 					to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 					to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 					to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 					to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 					to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 					to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 					to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 					to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 					to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 					to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 					to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 					to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 					to.Ptr(armmigrationassessment.AzureLocationSwedenCentral)},
	// 				},
	// 				{
	// 					StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 					TargetLocations: []*armmigrationassessment.AzureLocation{
	// 						to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 						to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationSwedenCentral)},
	// 				}},
	// 				AvsNodes: []*armmigrationassessment.AvsSKUOptions{
	// 					{
	// 						NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
	// 						TargetLocations: []*armmigrationassessment.AzureLocation{
	// 							to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 							to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 							to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 							to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 							to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 							to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 							to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 							to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 							to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 							to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 							to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationSwedenCentral)},
	// 						},
	// 						{
	// 							NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
	// 							TargetLocations: []*armmigrationassessment.AzureLocation{
	// 								to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 								to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 								to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 								to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 								to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 								to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 								to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 								to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 								to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 								to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 								to.Ptr(armmigrationassessment.AzureLocationWestEurope)},
	// 							},
	// 							{
	// 								NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52),
	// 								TargetLocations: []*armmigrationassessment.AzureLocation{
	// 									to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 									to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 									to.Ptr(armmigrationassessment.AzureLocationEastUs2)},
	// 							}},
	// 							FailuresToTolerateAndRaidLevelValues: []*armmigrationassessment.FttAndRaidLevel{
	// 								to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
	// 								to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid5),
	// 								to.Ptr(armmigrationassessment.FttAndRaidLevelFtt2Raid1),
	// 								to.Ptr(armmigrationassessment.FttAndRaidLevelFtt2Raid6),
	// 								to.Ptr(armmigrationassessment.FttAndRaidLevelFtt3Raid1)},
	// 								ReservedInstanceAvsNodes: []*armmigrationassessment.AzureAvsNodeType{
	// 									to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
	// 									to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
	// 									to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52)},
	// 									ReservedInstanceSupportedCurrencies: []*armmigrationassessment.AzureCurrency{
	// 										to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyDKK),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyCAD),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyJPY),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyKRW),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyNZD),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyNOK),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyRUB),
	// 										to.Ptr(armmigrationassessment.AzureCurrencySEK),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyGBP),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyINR),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyBRL),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyTWD),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyEUR),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyCHF),
	// 										to.Ptr(armmigrationassessment.AzureCurrencyAUD)},
	// 										ReservedInstanceSupportedLocations: []*armmigrationassessment.AzureLocation{
	// 											to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 											to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 											to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 											to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 											to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 											to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 											to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 											to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 											to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 											to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 											to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 											to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 											to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 											to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 											to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 											to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 											to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 											to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 											to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 											to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 											to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 											to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 											to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 											to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 											to.Ptr(armmigrationassessment.AzureLocationQatarCentral)},
	// 											ReservedInstanceSupportedOffers: []*armmigrationassessment.AzureOfferCode{
	// 												to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P)},
	// 											},
	// 										}
}
Output:

func (*AvsAssessmentOptionsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List AvsAssessmentOptions resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - AvsAssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AvsAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAvsAssessmentOptionsOperationsClient().NewListByAssessmentProjectPager("ayagrawrg", "app18700project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AvsAssessmentOptionsListResult = armmigrationassessment.AvsAssessmentOptionsListResult{
		// 	Value: []*armmigrationassessment.AvsAssessmentOptions{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/{assessmentOptionsName}"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/avsAssessmentOptions/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("asd"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("tnmop"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AvsAssessmentOptionsProperties{
		// 				AvsExternalStorageTypes: []*armmigrationassessment.AvsExternalStorageOptions{
		// 					{
		// 						StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
		// 						TargetLocations: []*armmigrationassessment.AzureLocation{
		// 							to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 							to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 							to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 							to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 							to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 							to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 							to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 							to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 							to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 							to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 							to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 							to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 							to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 							to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 							to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 							to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 							to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 							to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 							to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 							to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 							to.Ptr(armmigrationassessment.AzureLocationSwedenCentral)},
		// 						},
		// 						{
		// 							StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
		// 							TargetLocations: []*armmigrationassessment.AzureLocation{
		// 								to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 								to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationSwedenCentral)},
		// 						}},
		// 						AvsNodes: []*armmigrationassessment.AvsSKUOptions{
		// 							{
		// 								NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
		// 								TargetLocations: []*armmigrationassessment.AzureLocation{
		// 									to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 									to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 									to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 									to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 									to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 									to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 									to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 									to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 									to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 									to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 									to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 									to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 									to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationSwedenCentral)},
		// 								},
		// 								{
		// 									NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
		// 									TargetLocations: []*armmigrationassessment.AzureLocation{
		// 										to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 										to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 										to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 										to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 										to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 										to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 										to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 										to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 										to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 										to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 										to.Ptr(armmigrationassessment.AzureLocationWestEurope)},
		// 									},
		// 									{
		// 										NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52),
		// 										TargetLocations: []*armmigrationassessment.AzureLocation{
		// 											to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 											to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 											to.Ptr(armmigrationassessment.AzureLocationEastUs2)},
		// 									}},
		// 									FailuresToTolerateAndRaidLevelValues: []*armmigrationassessment.FttAndRaidLevel{
		// 										to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
		// 										to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid5),
		// 										to.Ptr(armmigrationassessment.FttAndRaidLevelFtt2Raid1),
		// 										to.Ptr(armmigrationassessment.FttAndRaidLevelFtt2Raid6),
		// 										to.Ptr(armmigrationassessment.FttAndRaidLevelFtt3Raid1)},
		// 										ReservedInstanceAvsNodes: []*armmigrationassessment.AzureAvsNodeType{
		// 											to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
		// 											to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
		// 											to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52)},
		// 											ReservedInstanceSupportedCurrencies: []*armmigrationassessment.AzureCurrency{
		// 												to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyDKK),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyCAD),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyJPY),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyKRW),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyNZD),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyNOK),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyRUB),
		// 												to.Ptr(armmigrationassessment.AzureCurrencySEK),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyGBP),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyINR),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyBRL),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyTWD),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyEUR),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyCHF),
		// 												to.Ptr(armmigrationassessment.AzureCurrencyAUD)},
		// 												ReservedInstanceSupportedLocations: []*armmigrationassessment.AzureLocation{
		// 													to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 													to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 													to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 													to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 													to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 													to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 													to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 													to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 													to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 													to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 													to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 													to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 													to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 													to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 													to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 													to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 													to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 													to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 													to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 													to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 													to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 													to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 													to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 													to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 													to.Ptr(armmigrationassessment.AzureLocationQatarCentral)},
		// 													ReservedInstanceSupportedOffers: []*armmigrationassessment.AzureOfferCode{
		// 														to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P)},
		// 													},
		// 											}},
		// 										}
	}
}
Output:

type AvsAssessmentOptionsOperationsClientGetOptions

type AvsAssessmentOptionsOperationsClientGetOptions struct {
}

AvsAssessmentOptionsOperationsClientGetOptions contains the optional parameters for the AvsAssessmentOptionsOperationsClient.Get method.

type AvsAssessmentOptionsOperationsClientGetResponse

type AvsAssessmentOptionsOperationsClientGetResponse struct {
	// AVS Assessment options resource.
	AvsAssessmentOptions
}

AvsAssessmentOptionsOperationsClientGetResponse contains the response from method AvsAssessmentOptionsOperationsClient.Get.

type AvsAssessmentOptionsOperationsClientListByAssessmentProjectOptions

type AvsAssessmentOptionsOperationsClientListByAssessmentProjectOptions struct {
}

AvsAssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the AvsAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.

type AvsAssessmentOptionsOperationsClientListByAssessmentProjectResponse

type AvsAssessmentOptionsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a AvsAssessmentOptions list operation.
	AvsAssessmentOptionsListResult
}

AvsAssessmentOptionsOperationsClientListByAssessmentProjectResponse contains the response from method AvsAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager.

type AvsAssessmentOptionsProperties

type AvsAssessmentOptionsProperties struct {
	// AVS External Storage Types Supported.
	AvsExternalStorageTypes []*AvsExternalStorageOptions

	// AVS SKU Nodes.
	AvsNodes []*AvsSKUOptions

	// FTT and Raid level values.
	FailuresToTolerateAndRaidLevelValues []*FttAndRaidLevel

	// List of AVS nodes for RI.
	ReservedInstanceAvsNodes []*AzureAvsNodeType

	// List of supported currencies for reserved instances.
	ReservedInstanceSupportedCurrencies []*AzureCurrency

	// List of supported Azure regions for reserved instances.
	ReservedInstanceSupportedLocations []*AzureLocation

	// List of supported Azure offer codes for reserved instances.
	ReservedInstanceSupportedOffers []*AzureOfferCode
}

AvsAssessmentOptionsProperties - AVS Assessment options properties.

func (AvsAssessmentOptionsProperties) MarshalJSON

func (a AvsAssessmentOptionsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessmentOptionsProperties.

func (*AvsAssessmentOptionsProperties) UnmarshalJSON

func (a *AvsAssessmentOptionsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessmentOptionsProperties.

type AvsAssessmentProperties

type AvsAssessmentProperties struct {
	// AVS Assessment Scenario.
	AvsAssessmentScenario *AvsAssessmentScenario

	// Azure Location or Azure region where to which the machines will be migrated.
	AzureLocation *AzureLocation

	// Azure Offer code according to which cost estimation is done.
	AzureOfferCode *AzureOfferCode

	// Percentage of CPU capacity reserved for processing additional workloads.
	CPUHeadroom *float32

	// Currency in which prices should be reported.
	Currency *AzureCurrency

	// De-duplication compression.
	DedupeCompression *float32

	// Custom discount percentage.
	DiscountPercentage *float32

	// List of AVS external storage types.
	ExternalStorageTypes []*ExternalStorageType

	// Failures to tolerate and RAID level in a common property.
	FailuresToTolerateAndRaidLevel *FttAndRaidLevel

	// List of Failures to tolerate and RAID levels in a common property.
	FailuresToTolerateAndRaidLevelList []*FttAndRaidLevel

	// Is Stretch Cluster Enabled.
	IsStretchClusterEnabled *bool

	// Is VCF license applied
	IsVcfByolEnabled *bool

	// Memory overcommit.
	MemOvercommit *float32

	// AVS node type.
	NodeType *AzureAvsNodeType

	// AVS node types.
	NodeTypes []*AzureAvsNodeType

	// Percentile of the utilization data values to be considered while assessing machines.
	Percentile *Percentile

	// Gets or sets the end time to consider performance data for assessment.
	PerfDataEndTime *time.Time

	// Gets or sets the start time to consider performance data for assessment.
	PerfDataStartTime *time.Time

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// Reserved instance.
	ReservedInstance *AzureReservedInstance

	// Percentage of buffer that user wants on performance metrics when recommending Azure sizes.
	ScalingFactor *float32

	// Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// Time Range for which the historic utilization data should be considered for assessment.
	TimeRange *TimeRange

	// VCPU over subscription.
	VcpuOversubscription *float32

	// READ-ONLY; Gets the assessment error summary. This is the number of machines affected by each type of error in this assessment.
	AssessmentErrorSummary map[string]*int32

	// READ-ONLY; Assessment type of the assessment.
	AssessmentType *AssessmentType

	// READ-ONLY; Estimated External Storage for Assessment.
	AvsEstimatedExternalStorages []*AvsEstimatedExternalStorage

	// READ-ONLY; Estimated External Storage for Assessment.
	AvsEstimatedNetworks []*AvsEstimatedNetwork

	// READ-ONLY; Estimated AVS SKU for Assessment.
	AvsEstimatedNodes []*AvsEstimatedNode

	// READ-ONLY; Predicted CPU utilization.
	CPUUtilization *float32

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; collection of cost components.
	CostComponents []*CostComponent

	// READ-ONLY; Date and Time when assessment was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Gets the group type for the assessment.
	GroupType *GroupType

	// READ-ONLY; Limiting factor.
	LimitingFactor *string

	// READ-ONLY; Number of machines part of the assessment.
	NumberOfMachines *int32

	// READ-ONLY; Recommended number of nodes.
	NumberOfNodes *int32

	// READ-ONLY; Time when the Azure Prices were queried. Date-Time represented in ISO-8601 format.
	PricesTimestamp *time.Time

	// READ-ONLY; Predicted RAM utilization.
	RAMUtilization *float32

	// READ-ONLY; Schema version.
	SchemaVersion *string

	// READ-ONLY; User configurable setting to display the Stage of Assessment.
	Stage *AssessmentStage

	// READ-ONLY; Whether assessment is in valid state and all machines have been assessed.
	Status *AssessmentStatus

	// READ-ONLY; Predicted storage utilization.
	StorageUtilization *float32

	// READ-ONLY; Gets or sets the Assessment cloud suitability.
	Suitability *CloudSuitability

	// READ-ONLY; Gets or sets the Assessment suitability explanation.
	SuitabilityExplanation *AzureAvsSuitabilityExplanation

	// READ-ONLY; Cloud suitability summary for all the machines in the assessment.
	SuitabilitySummary map[string]*int32

	// READ-ONLY; Predicted total CPU cores used.
	TotalCPUCores *float32

	// READ-ONLY; Total monthly cost.
	TotalMonthlyCost *float32

	// READ-ONLY; Predicted total RAM used in GB.
	TotalRAMInGB *float32

	// READ-ONLY; Predicted total Storage used in GB.
	TotalStorageInGB *float32

	// READ-ONLY; Date and Time when assessment was last updated.
	UpdatedTimestamp *time.Time
}

AvsAssessmentProperties - Properties of the AVS assessment.

func (AvsAssessmentProperties) MarshalJSON

func (a AvsAssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsAssessmentProperties.

func (*AvsAssessmentProperties) UnmarshalJSON

func (a *AvsAssessmentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsAssessmentProperties.

type AvsAssessmentScenario

type AvsAssessmentScenario string

AvsAssessmentScenario - Scenarios with which Avs Assessments can be created.

const (
	// AvsAssessmentScenarioAvsSddcExpansion - Create Assessment for existing Avs Sddc
	AvsAssessmentScenarioAvsSddcExpansion AvsAssessmentScenario = "AvsSddcExpansion"
	// AvsAssessmentScenarioNewAvsSddc - Create Assessment for new Avs Sddc
	AvsAssessmentScenarioNewAvsSddc AvsAssessmentScenario = "NewAvsSddc"
	// AvsAssessmentScenarioUnknown - Unknown assessment scenario
	AvsAssessmentScenarioUnknown AvsAssessmentScenario = "Unknown"
)

func PossibleAvsAssessmentScenarioValues

func PossibleAvsAssessmentScenarioValues() []AvsAssessmentScenario

PossibleAvsAssessmentScenarioValues returns the possible values for the AvsAssessmentScenario const type.

type AvsAssessmentsOperationsClient

type AvsAssessmentsOperationsClient struct {
	// contains filtered or unexported fields
}

AvsAssessmentsOperationsClient contains the methods for the AvsAssessmentsOperations group. Don't use this type directly, use NewAvsAssessmentsOperationsClient() instead.

func NewAvsAssessmentsOperationsClient

func NewAvsAssessmentsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*AvsAssessmentsOperationsClient, error)

NewAvsAssessmentsOperationsClient creates a new instance of AvsAssessmentsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*AvsAssessmentsOperationsClient) BeginCreate

func (client *AvsAssessmentsOperationsClient) BeginCreate(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, resource AvsAssessment, options *AvsAssessmentsOperationsClientBeginCreateOptions) (*runtime.Poller[AvsAssessmentsOperationsClientCreateResponse], error)

BeginCreate - Create a AvsAssessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - AVS Assessment ARM name
  • resource - Resource create parameters.
  • options - AvsAssessmentsOperationsClientBeginCreateOptions contains the optional parameters for the AvsAssessmentsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAvsAssessmentsOperationsClient().BeginCreate(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm2", armmigrationassessment.AvsAssessment{
		Properties: &armmigrationassessment.AvsAssessmentProperties{
			ProvisioningState:     to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			AssessmentType:        to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment),
			AvsAssessmentScenario: to.Ptr(armmigrationassessment.AvsAssessmentScenarioNewAvsSddc),
			AzureLocation:         to.Ptr(armmigrationassessment.AzureLocationEastUs),
			AzureOfferCode:        to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
			CPUHeadroom:           to.Ptr[float32](12),
			Currency:              to.Ptr(armmigrationassessment.AzureCurrencyUSD),
			DedupeCompression:     to.Ptr[float32](1.5),
			DiscountPercentage:    to.Ptr[float32](0),
			ExternalStorageTypes: []*armmigrationassessment.ExternalStorageType{
				to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
				to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
				to.Ptr(armmigrationassessment.ExternalStorageTypeAnfUltra)},
			FailuresToTolerateAndRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelUnknown),
			FailuresToTolerateAndRaidLevelList: []*armmigrationassessment.FttAndRaidLevel{
				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid5),
				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt3Raid1)},
			GroupType:               to.Ptr(armmigrationassessment.GroupTypeDefault),
			IsStretchClusterEnabled: to.Ptr(true),
			IsVcfByolEnabled:        to.Ptr(true),
			MemOvercommit:           to.Ptr[float32](1),
			NodeType:                to.Ptr(armmigrationassessment.AzureAvsNodeTypeUnknown),
			NodeTypes: []*armmigrationassessment.AzureAvsNodeType{
				to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
				to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52),
				to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
				to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV64)},
			Percentile:             to.Ptr(armmigrationassessment.PercentilePercentile95),
			PerfDataEndTime:        to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.567Z"); return t }()),
			PerfDataStartTime:      to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T13:35:56.567Z"); return t }()),
			ReservedInstance:       to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
			ScalingFactor:          to.Ptr[float32](1),
			SizingCriterion:        to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
			Stage:                  to.Ptr(armmigrationassessment.AssessmentStageInProgress),
			Status:                 to.Ptr(armmigrationassessment.AssessmentStatusCreated),
			Suitability:            to.Ptr(armmigrationassessment.CloudSuitabilityUnknown),
			SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureAvsSuitabilityExplanationUnknown),
			TimeRange:              to.Ptr(armmigrationassessment.TimeRangeDay),
			VcpuOversubscription:   to.Ptr[float32](4),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AvsAssessment = armmigrationassessment.AvsAssessment{
	// 	Name: to.Ptr("asm2"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/avsAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/avsAssessments/asm2"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("lrmhonmbodwva"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AvsAssessmentProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentErrorSummary: map[string]*int32{
	// 		},
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment),
	// 		AvsAssessmentScenario: to.Ptr(armmigrationassessment.AvsAssessmentScenarioNewAvsSddc),
	// 		AvsEstimatedExternalStorages: []*armmigrationassessment.AvsEstimatedExternalStorage{
	// 			{
	// 				MonthlyPrice: to.Ptr[float32](250),
	// 				StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
	// 				StorageUtilization: to.Ptr[float32](97),
	// 				TotalStorageInGB: to.Ptr[float32](1024),
	// 			},
	// 			{
	// 				MonthlyPrice: to.Ptr[float32](350),
	// 				StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 				StorageUtilization: to.Ptr[float32](78),
	// 				TotalStorageInGB: to.Ptr[float32](1024),
	// 		}},
	// 		AvsEstimatedNetworks: []*armmigrationassessment.AvsEstimatedNetwork{
	// 			{
	// 				MonthlyPrice: to.Ptr[float32](120),
	// 				NetworkType: to.Ptr(armmigrationassessment.NetworkSKUTypeExpressRouteUltra),
	// 		}},
	// 		AvsEstimatedNodes: []*armmigrationassessment.AvsEstimatedNode{
	// 			{
	// 				CPUUtilization: to.Ptr[float32](46.3),
	// 				FttRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
	// 				MonthlyPrice: to.Ptr[float32](9088.5),
	// 				NodeNumber: to.Ptr[int32](3),
	// 				NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
	// 				PricingModel: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 				RAMUtilization: to.Ptr[float32](12.73),
	// 				StorageUtilization: to.Ptr[float32](76.99),
	// 				TotalCPU: to.Ptr[float32](108),
	// 				TotalRAM: to.Ptr[float32](1728),
	// 				TotalStorage: to.Ptr[float32](46080),
	// 		}},
	// 		AzureLocation: to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 		AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](100),
	// 		CostComponents: []*armmigrationassessment.CostComponent{
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsNodeCost),
	// 				Description: to.Ptr("Monthly Cost of AVS Nodes."),
	// 				Value: to.Ptr[float32](9088.5),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsExternalStorageCost),
	// 				Description: to.Ptr("Monthly AVS External Storage Cost for Assessment."),
	// 				Value: to.Ptr[float32](600),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsNetworkCost),
	// 				Description: to.Ptr("Monthly AVS Cost of Network."),
	// 				Value: to.Ptr[float32](120),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyVcfByolCostDifference),
	// 				Description: to.Ptr("Monthly compute cost difference between VCF BYOL and non VCF BYOL SKUs"),
	// 				Value: to.Ptr[float32](7088.5),
	// 		}},
	// 		CPUHeadroom: to.Ptr[float32](12),
	// 		CPUUtilization: to.Ptr[float32](46.3),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.598Z"); return t}()),
	// 		Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 		DedupeCompression: to.Ptr[float32](1.5),
	// 		DiscountPercentage: to.Ptr[float32](0),
	// 		ExternalStorageTypes: []*armmigrationassessment.ExternalStorageType{
	// 			to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
	// 			to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 			to.Ptr(armmigrationassessment.ExternalStorageTypeAnfUltra)},
	// 			FailuresToTolerateAndRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelUnknown),
	// 			FailuresToTolerateAndRaidLevelList: []*armmigrationassessment.FttAndRaidLevel{
	// 				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
	// 				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid5),
	// 				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt3Raid1)},
	// 				GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 				IsStretchClusterEnabled: to.Ptr(false),
	// 				IsVcfByolEnabled: to.Ptr(true),
	// 				LimitingFactor: to.Ptr("Storage"),
	// 				MemOvercommit: to.Ptr[float32](1),
	// 				NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeUnknown),
	// 				NodeTypes: []*armmigrationassessment.AzureAvsNodeType{
	// 					to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
	// 					to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
	// 					to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52)},
	// 					NumberOfMachines: to.Ptr[int32](3),
	// 					NumberOfNodes: to.Ptr[int32](3),
	// 					Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
	// 					PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.567Z"); return t}()),
	// 					PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T13:35:56.567Z"); return t}()),
	// 					PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
	// 					RAMUtilization: to.Ptr[float32](12.73),
	// 					ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 					ScalingFactor: to.Ptr[float32](1),
	// 					SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
	// 					Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 					Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
	// 					StorageUtilization: to.Ptr[float32](77.43),
	// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureAvsSuitabilityExplanationNotApplicable),
	// 					SuitabilitySummary: map[string]*int32{
	// 						"conditionallySuitable": to.Ptr[int32](3),
	// 					},
	// 					TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 					TotalCPUCores: to.Ptr[float32](108),
	// 					TotalMonthlyCost: to.Ptr[float32](9808.5),
	// 					TotalRAMInGB: to.Ptr[float32](1728),
	// 					TotalStorageInGB: to.Ptr[float32](48128),
	// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:36:01.169Z"); return t}()),
	// 					VcpuOversubscription: to.Ptr[float32](4),
	// 				},
	// 			}
}
Output:

func (*AvsAssessmentsOperationsClient) BeginDownloadURL

func (client *AvsAssessmentsOperationsClient) BeginDownloadURL(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, body any, options *AvsAssessmentsOperationsClientBeginDownloadURLOptions) (*runtime.Poller[AvsAssessmentsOperationsClientDownloadURLResponse], error)

BeginDownloadURL - Get the URL for downloading the assessment in a report format. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - AVS Assessment ARM name
  • body - The content of the action request
  • options - AvsAssessmentsOperationsClientBeginDownloadURLOptions contains the optional parameters for the AvsAssessmentsOperationsClient.BeginDownloadURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentsOperations_DownloadUrl_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewAvsAssessmentsOperationsClient().BeginDownloadURL(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm2", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.DownloadURL = armmigrationassessment.DownloadURL{
	// 	AssessmentReportURL: to.Ptr("fagqmlysjfwtt"),
	// 	ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:40.818Z"); return t}()),
	// }
}
Output:

func (*AvsAssessmentsOperationsClient) Delete

func (client *AvsAssessmentsOperationsClient) Delete(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, options *AvsAssessmentsOperationsClientDeleteOptions) (AvsAssessmentsOperationsClientDeleteResponse, error)

Delete - Delete a AvsAssessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - AVS Assessment ARM name
  • options - AvsAssessmentsOperationsClientDeleteOptions contains the optional parameters for the AvsAssessmentsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewAvsAssessmentsOperationsClient().Delete(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm2", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*AvsAssessmentsOperationsClient) Get

func (client *AvsAssessmentsOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, options *AvsAssessmentsOperationsClientGetOptions) (AvsAssessmentsOperationsClientGetResponse, error)

Get - Get a AvsAssessment If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - AVS Assessment ARM name
  • options - AvsAssessmentsOperationsClientGetOptions contains the optional parameters for the AvsAssessmentsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewAvsAssessmentsOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "kuchatur-test", "asm2", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AvsAssessment = armmigrationassessment.AvsAssessment{
	// 	Name: to.Ptr("asm2"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/avsAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/avsAssessments/asm2"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-02-15T18:24:02.548Z"); return t}()),
	// 		CreatedBy: to.Ptr("sjghfaivpyryuvovuvcqegaorvhp"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-02-15T18:24:02.548Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("fjkmzd"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AvsAssessmentProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AssessmentErrorSummary: map[string]*int32{
	// 		},
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment),
	// 		AvsAssessmentScenario: to.Ptr(armmigrationassessment.AvsAssessmentScenarioNewAvsSddc),
	// 		AvsEstimatedExternalStorages: []*armmigrationassessment.AvsEstimatedExternalStorage{
	// 			{
	// 				MonthlyPrice: to.Ptr[float32](250),
	// 				StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
	// 				StorageUtilization: to.Ptr[float32](97),
	// 				TotalStorageInGB: to.Ptr[float32](1024),
	// 			},
	// 			{
	// 				MonthlyPrice: to.Ptr[float32](350),
	// 				StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 				StorageUtilization: to.Ptr[float32](78),
	// 				TotalStorageInGB: to.Ptr[float32](1024),
	// 		}},
	// 		AvsEstimatedNetworks: []*armmigrationassessment.AvsEstimatedNetwork{
	// 			{
	// 				MonthlyPrice: to.Ptr[float32](120),
	// 				NetworkType: to.Ptr(armmigrationassessment.NetworkSKUTypeExpressRouteUltra),
	// 		}},
	// 		AvsEstimatedNodes: []*armmigrationassessment.AvsEstimatedNode{
	// 			{
	// 				CPUUtilization: to.Ptr[float32](46.3),
	// 				FttRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
	// 				MonthlyPrice: to.Ptr[float32](9088.5),
	// 				NodeNumber: to.Ptr[int32](3),
	// 				NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
	// 				PricingModel: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 				RAMUtilization: to.Ptr[float32](12.73),
	// 				StorageUtilization: to.Ptr[float32](76.99),
	// 				TotalCPU: to.Ptr[float32](108),
	// 				TotalRAM: to.Ptr[float32](1728),
	// 				TotalStorage: to.Ptr[float32](46080),
	// 		}},
	// 		AzureLocation: to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 		AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](100),
	// 		CostComponents: []*armmigrationassessment.CostComponent{
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsNodeCost),
	// 				Description: to.Ptr("Monthly Cost of AVS Nodes."),
	// 				Value: to.Ptr[float32](9088.5),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsExternalStorageCost),
	// 				Description: to.Ptr("Monthly AVS External Storage Cost for Assessment."),
	// 				Value: to.Ptr[float32](600),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsNetworkCost),
	// 				Description: to.Ptr("Monthly AVS Cost of Network."),
	// 				Value: to.Ptr[float32](120),
	// 			},
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyVcfByolCostDifference),
	// 				Description: to.Ptr("Monthly compute cost difference between VCF BYOL and non VCF BYOL SKUs"),
	// 				Value: to.Ptr[float32](7088.5),
	// 		}},
	// 		CPUHeadroom: to.Ptr[float32](12),
	// 		CPUUtilization: to.Ptr[float32](46.3),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.598Z"); return t}()),
	// 		Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 		DedupeCompression: to.Ptr[float32](1.5),
	// 		DiscountPercentage: to.Ptr[float32](0),
	// 		ExternalStorageTypes: []*armmigrationassessment.ExternalStorageType{
	// 			to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
	// 			to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 			to.Ptr(armmigrationassessment.ExternalStorageTypeAnfUltra)},
	// 			FailuresToTolerateAndRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelUnknown),
	// 			FailuresToTolerateAndRaidLevelList: []*armmigrationassessment.FttAndRaidLevel{
	// 				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
	// 				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid5),
	// 				to.Ptr(armmigrationassessment.FttAndRaidLevelFtt3Raid1)},
	// 				GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 				IsStretchClusterEnabled: to.Ptr(false),
	// 				IsVcfByolEnabled: to.Ptr(true),
	// 				LimitingFactor: to.Ptr("Storage"),
	// 				MemOvercommit: to.Ptr[float32](1),
	// 				NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeUnknown),
	// 				NodeTypes: []*armmigrationassessment.AzureAvsNodeType{
	// 					to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
	// 					to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
	// 					to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52)},
	// 					NumberOfMachines: to.Ptr[int32](3),
	// 					NumberOfNodes: to.Ptr[int32](3),
	// 					Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
	// 					PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.567Z"); return t}()),
	// 					PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T13:35:56.567Z"); return t}()),
	// 					PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
	// 					RAMUtilization: to.Ptr[float32](12.73),
	// 					ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 					ScalingFactor: to.Ptr[float32](1),
	// 					SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
	// 					Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 					Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
	// 					StorageUtilization: to.Ptr[float32](77.43),
	// 					Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
	// 					SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureAvsSuitabilityExplanationNotApplicable),
	// 					SuitabilitySummary: map[string]*int32{
	// 						"conditionallySuitable": to.Ptr[int32](3),
	// 					},
	// 					TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 					TotalCPUCores: to.Ptr[float32](108),
	// 					TotalMonthlyCost: to.Ptr[float32](9808.5),
	// 					TotalRAMInGB: to.Ptr[float32](1728),
	// 					TotalStorageInGB: to.Ptr[float32](48128),
	// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:36:01.169Z"); return t}()),
	// 					VcpuOversubscription: to.Ptr[float32](4),
	// 				},
	// 			}
}
Output:

func (*AvsAssessmentsOperationsClient) NewListByGroupPager

NewListByGroupPager - List AvsAssessment resources by Group

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • options - AvsAssessmentsOperationsClientListByGroupOptions contains the optional parameters for the AvsAssessmentsOperationsClient.NewListByGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/AvsAssessmentsOperations_ListByGroup_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewAvsAssessmentsOperationsClient().NewListByGroupPager("ayagrawrg", "app18700project", "kuchatur-test", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AvsAssessmentListResult = armmigrationassessment.AvsAssessmentListResult{
		// 	Value: []*armmigrationassessment.AvsAssessment{
		// 		{
		// 			Name: to.Ptr("asm2"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/avsAssessments"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/avsAssessments/asm2"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-02-15T18:24:02.548Z"); return t}()),
		// 				CreatedBy: to.Ptr("sjghfaivpyryuvovuvcqegaorvhp"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-02-15T18:24:02.548Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("fjkmzd"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AvsAssessmentProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
		// 				AssessmentErrorSummary: map[string]*int32{
		// 				},
		// 				AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment),
		// 				AvsAssessmentScenario: to.Ptr(armmigrationassessment.AvsAssessmentScenarioNewAvsSddc),
		// 				AvsEstimatedExternalStorages: []*armmigrationassessment.AvsEstimatedExternalStorage{
		// 					{
		// 						MonthlyPrice: to.Ptr[float32](250),
		// 						StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
		// 						StorageUtilization: to.Ptr[float32](97),
		// 						TotalStorageInGB: to.Ptr[float32](1024),
		// 					},
		// 					{
		// 						MonthlyPrice: to.Ptr[float32](350),
		// 						StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
		// 						StorageUtilization: to.Ptr[float32](78),
		// 						TotalStorageInGB: to.Ptr[float32](1024),
		// 				}},
		// 				AvsEstimatedNetworks: []*armmigrationassessment.AvsEstimatedNetwork{
		// 					{
		// 						MonthlyPrice: to.Ptr[float32](120),
		// 						NetworkType: to.Ptr(armmigrationassessment.NetworkSKUTypeExpressRouteUltra),
		// 				}},
		// 				AvsEstimatedNodes: []*armmigrationassessment.AvsEstimatedNode{
		// 					{
		// 						CPUUtilization: to.Ptr[float32](46.3),
		// 						FttRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
		// 						MonthlyPrice: to.Ptr[float32](9088.5),
		// 						NodeNumber: to.Ptr[int32](3),
		// 						NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
		// 						PricingModel: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 						RAMUtilization: to.Ptr[float32](12.73),
		// 						StorageUtilization: to.Ptr[float32](76.99),
		// 						TotalCPU: to.Ptr[float32](108),
		// 						TotalRAM: to.Ptr[float32](1728),
		// 						TotalStorage: to.Ptr[float32](46080),
		// 				}},
		// 				AzureLocation: to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 				AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](100),
		// 				CostComponents: []*armmigrationassessment.CostComponent{
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsNodeCost),
		// 						Description: to.Ptr("Monthly Cost of AVS Nodes."),
		// 						Value: to.Ptr[float32](9088.5),
		// 					},
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsExternalStorageCost),
		// 						Description: to.Ptr("Monthly AVS External Storage Cost for Assessment."),
		// 						Value: to.Ptr[float32](600),
		// 					},
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyAvsNetworkCost),
		// 						Description: to.Ptr("Monthly AVS Cost of Network."),
		// 						Value: to.Ptr[float32](120),
		// 					},
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlyVcfByolCostDifference),
		// 						Description: to.Ptr("Monthly compute cost difference between VCF BYOL and non VCF BYOL SKUs"),
		// 						Value: to.Ptr[float32](7088.5),
		// 				}},
		// 				CPUHeadroom: to.Ptr[float32](12),
		// 				CPUUtilization: to.Ptr[float32](46.3),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.598Z"); return t}()),
		// 				Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 				DedupeCompression: to.Ptr[float32](1.5),
		// 				DiscountPercentage: to.Ptr[float32](0),
		// 				ExternalStorageTypes: []*armmigrationassessment.ExternalStorageType{
		// 					to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
		// 					to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
		// 					to.Ptr(armmigrationassessment.ExternalStorageTypeAnfUltra)},
		// 					FailuresToTolerateAndRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelUnknown),
		// 					FailuresToTolerateAndRaidLevelList: []*armmigrationassessment.FttAndRaidLevel{
		// 						to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
		// 						to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid5),
		// 						to.Ptr(armmigrationassessment.FttAndRaidLevelFtt3Raid1)},
		// 						GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 						IsStretchClusterEnabled: to.Ptr(false),
		// 						IsVcfByolEnabled: to.Ptr(true),
		// 						LimitingFactor: to.Ptr("Storage"),
		// 						MemOvercommit: to.Ptr[float32](1),
		// 						NodeType: to.Ptr(armmigrationassessment.AzureAvsNodeTypeUnknown),
		// 						NodeTypes: []*armmigrationassessment.AzureAvsNodeType{
		// 							to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36),
		// 							to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV36P),
		// 							to.Ptr(armmigrationassessment.AzureAvsNodeTypeAV52)},
		// 							NumberOfMachines: to.Ptr[int32](3),
		// 							NumberOfNodes: to.Ptr[int32](3),
		// 							Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
		// 							PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:35:56.567Z"); return t}()),
		// 							PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T13:35:56.567Z"); return t}()),
		// 							PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
		// 							RAMUtilization: to.Ptr[float32](12.73),
		// 							ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 							ScalingFactor: to.Ptr[float32](1),
		// 							SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionAsOnPremises),
		// 							Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
		// 							Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
		// 							StorageUtilization: to.Ptr[float32](77.43),
		// 							Suitability: to.Ptr(armmigrationassessment.CloudSuitabilitySuitable),
		// 							SuitabilityExplanation: to.Ptr(armmigrationassessment.AzureAvsSuitabilityExplanationNotApplicable),
		// 							SuitabilitySummary: map[string]*int32{
		// 								"conditionallySuitable": to.Ptr[int32](3),
		// 							},
		// 							TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 							TotalCPUCores: to.Ptr[float32](108),
		// 							TotalMonthlyCost: to.Ptr[float32](9808.5),
		// 							TotalRAMInGB: to.Ptr[float32](1728),
		// 							TotalStorageInGB: to.Ptr[float32](48128),
		// 							UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-26T13:36:01.169Z"); return t}()),
		// 							VcpuOversubscription: to.Ptr[float32](4),
		// 						},
		// 				}},
		// 			}
	}
}
Output:

type AvsAssessmentsOperationsClientBeginCreateOptions

type AvsAssessmentsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AvsAssessmentsOperationsClientBeginCreateOptions contains the optional parameters for the AvsAssessmentsOperationsClient.BeginCreate method.

type AvsAssessmentsOperationsClientBeginDownloadURLOptions

type AvsAssessmentsOperationsClientBeginDownloadURLOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

AvsAssessmentsOperationsClientBeginDownloadURLOptions contains the optional parameters for the AvsAssessmentsOperationsClient.BeginDownloadURL method.

type AvsAssessmentsOperationsClientCreateResponse

type AvsAssessmentsOperationsClientCreateResponse struct {
	// AVS assessment resource.
	AvsAssessment
}

AvsAssessmentsOperationsClientCreateResponse contains the response from method AvsAssessmentsOperationsClient.BeginCreate.

type AvsAssessmentsOperationsClientDeleteOptions

type AvsAssessmentsOperationsClientDeleteOptions struct {
}

AvsAssessmentsOperationsClientDeleteOptions contains the optional parameters for the AvsAssessmentsOperationsClient.Delete method.

type AvsAssessmentsOperationsClientDeleteResponse

type AvsAssessmentsOperationsClientDeleteResponse struct {
}

AvsAssessmentsOperationsClientDeleteResponse contains the response from method AvsAssessmentsOperationsClient.Delete.

type AvsAssessmentsOperationsClientDownloadURLResponse

type AvsAssessmentsOperationsClientDownloadURLResponse struct {
	// Data model of Download URL for assessment report.
	DownloadURL
}

AvsAssessmentsOperationsClientDownloadURLResponse contains the response from method AvsAssessmentsOperationsClient.BeginDownloadURL.

type AvsAssessmentsOperationsClientGetOptions

type AvsAssessmentsOperationsClientGetOptions struct {
}

AvsAssessmentsOperationsClientGetOptions contains the optional parameters for the AvsAssessmentsOperationsClient.Get method.

type AvsAssessmentsOperationsClientGetResponse

type AvsAssessmentsOperationsClientGetResponse struct {
	// AVS assessment resource.
	AvsAssessment
}

AvsAssessmentsOperationsClientGetResponse contains the response from method AvsAssessmentsOperationsClient.Get.

type AvsAssessmentsOperationsClientListByGroupOptions

type AvsAssessmentsOperationsClientListByGroupOptions struct {
}

AvsAssessmentsOperationsClientListByGroupOptions contains the optional parameters for the AvsAssessmentsOperationsClient.NewListByGroupPager method.

type AvsAssessmentsOperationsClientListByGroupResponse

type AvsAssessmentsOperationsClientListByGroupResponse struct {
	// The response of a AvsAssessment list operation.
	AvsAssessmentListResult
}

AvsAssessmentsOperationsClientListByGroupResponse contains the response from method AvsAssessmentsOperationsClient.NewListByGroupPager.

type AvsEstimatedExternalStorage

type AvsEstimatedExternalStorage struct {
	// Total monthly cost for type of storage.
	MonthlyPrice *float32

	// Recommended External Storage.
	StorageType *ExternalStorageType

	// Predicted storage utilization.
	StorageUtilization *float32

	// Predicted total Storage used in GB.
	TotalStorageInGB *float32
}

AvsEstimatedExternalStorage - Details on the Estimated External Storage for AVS Assessment.

func (AvsEstimatedExternalStorage) MarshalJSON

func (a AvsEstimatedExternalStorage) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsEstimatedExternalStorage.

func (*AvsEstimatedExternalStorage) UnmarshalJSON

func (a *AvsEstimatedExternalStorage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsEstimatedExternalStorage.

type AvsEstimatedNetwork

type AvsEstimatedNetwork struct {
	// Monthly cost for network type.
	MonthlyPrice *float32

	// Recommended Network Sku.
	NetworkType *NetworkSKUType
}

AvsEstimatedNetwork - Details on the Estimated Network Costs for AVS Assessment.

func (AvsEstimatedNetwork) MarshalJSON

func (a AvsEstimatedNetwork) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsEstimatedNetwork.

func (*AvsEstimatedNetwork) UnmarshalJSON

func (a *AvsEstimatedNetwork) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsEstimatedNetwork.

type AvsEstimatedNode

type AvsEstimatedNode struct {
	// Predicted CPU utilization.
	CPUUtilization *float32

	// FttRaidLevel recommended for Node.
	FttRaidLevel *FttAndRaidLevel

	// Total monthly cost for type and number of nodes.
	MonthlyPrice *float32

	// Number of nodes that will be needed.
	NodeNumber *int32

	// Recommended SKU.
	NodeType *AzureAvsNodeType

	// Pricing model indicates what hour multiplier to use while estimating the Nodes cost.
	PricingModel *AzureReservedInstance

	// Predicted RAM utilization.
	RAMUtilization *float32

	// Predicted storage utilization.
	StorageUtilization *float32

	// Predicted total CPU cores across the set of nodes.
	TotalCPU *float32

	// Predicted total RAM used in GB.
	TotalRAM *float32

	// Predicted total Storage used in GB.
	TotalStorage *float32
}

AvsEstimatedNode - Details on the Estimated nodes for AVS Assessment.

func (AvsEstimatedNode) MarshalJSON

func (a AvsEstimatedNode) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsEstimatedNode.

func (*AvsEstimatedNode) UnmarshalJSON

func (a *AvsEstimatedNode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsEstimatedNode.

type AvsExternalStorageOptions

type AvsExternalStorageOptions struct {
	// AVS external storage type.
	StorageType *ExternalStorageType

	// List of locations where this storage type is available.
	TargetLocations []*AzureLocation
}

AvsExternalStorageOptions - AVS External Storage specific options.

func (AvsExternalStorageOptions) MarshalJSON

func (a AvsExternalStorageOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsExternalStorageOptions.

func (*AvsExternalStorageOptions) UnmarshalJSON

func (a *AvsExternalStorageOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsExternalStorageOptions.

type AvsNodeSummary

type AvsNodeSummary struct {
	// READ-ONLY; The on premises PaaS cost.
	AvsNodeCostDetails *CostDetails

	// READ-ONLY; The total number of Avs VM cores.
	Cores *int32

	// READ-ONLY; Represents errors which might have occurred while calculating AVS Node Summary
	Errors []*ErrorDetailAutoGenerated

	// READ-ONLY; Estimated cost.
	EstimatedCost *float32

	// READ-ONLY; Estimated cost by offer.
	EstimatedCostByRecommendedOffer []*EstimatedCostByOffer

	// READ-ONLY; Estimated Cost With VCF BYOL
	EstimatedCostWithVcfByol *float32

	// READ-ONLY; Estimated External Storage
	EstimatedExternalStorage []*EstimatedExternalStorage

	// READ-ONLY; Estimated Network
	EstimatedNetwork []*EstimatedNetwork

	// READ-ONLY; The total memory in GB.
	MemoryGb *float32

	// READ-ONLY; OS licensing cost.
	OSLicensingCost *float32

	// READ-ONLY; The recommended VM family summary.
	RecommendedAvsNodeTypeSummary []*RecommendedAvsNodeTypeSummary

	// READ-ONLY; Servers suitable for migration.
	ServersSuitableForMigration *int32

	// READ-ONLY; The total number of servers.
	TotalNumberOfServers *int32
}

AvsNodeSummary - Azure Avs Node summary.

func (AvsNodeSummary) MarshalJSON

func (a AvsNodeSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsNodeSummary.

func (*AvsNodeSummary) UnmarshalJSON

func (a *AvsNodeSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsNodeSummary.

type AvsSKUOptions

type AvsSKUOptions struct {
	// AVS Node type.
	NodeType *AzureAvsNodeType

	// List of locations where this node type is available.
	TargetLocations []*AzureLocation
}

AvsSKUOptions - AVS SKU specific options.

func (AvsSKUOptions) MarshalJSON

func (a AvsSKUOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsSKUOptions.

func (*AvsSKUOptions) UnmarshalJSON

func (a *AvsSKUOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsSKUOptions.

type AvsSummary

type AvsSummary struct {
	// The resource-specific properties for this resource.
	Properties *AvsSummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

AvsSummary - Avs summary REST resource.

func (AvsSummary) MarshalJSON

func (a AvsSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsSummary.

func (*AvsSummary) UnmarshalJSON

func (a *AvsSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsSummary.

type AvsSummaryListResult

type AvsSummaryListResult struct {
	// REQUIRED; The AvsSummary items on this page
	Value []*AvsSummary

	// The link to the next page of items
	NextLink *string
}

AvsSummaryListResult - The response of a AvsSummary list operation.

func (AvsSummaryListResult) MarshalJSON

func (a AvsSummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsSummaryListResult.

func (*AvsSummaryListResult) UnmarshalJSON

func (a *AvsSummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsSummaryListResult.

type AvsSummaryProperties

type AvsSummaryProperties struct {
	// READ-ONLY; The Azure Avs summary.
	AzureAvsSummary *AzureAvsSummary

	// READ-ONLY; The on premises IaaS summary.
	OnPremisesAvsSummary *OnPremisesIaasSummary
}

AvsSummaryProperties - Avs summary properties class.

func (AvsSummaryProperties) MarshalJSON

func (a AvsSummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AvsSummaryProperties.

func (*AvsSummaryProperties) UnmarshalJSON

func (a *AvsSummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AvsSummaryProperties.

type AzureAppServiceContainerSummary

type AzureAppServiceContainerSummary struct {
	// READ-ONLY; Distribution by application type.
	DistributionByApp []*WebAppDistribution

	// READ-ONLY; Distribution by SKU.
	DistributionBySKU []*WebAppTargetSKU

	// READ-ONLY; Estimated cost by recommendation offer.
	EstimatedCostByOffer []*EstimatedCostByOffer
}

AzureAppServiceContainerSummary - Shows Azure App Service Container summary.

func (AzureAppServiceContainerSummary) MarshalJSON

func (a AzureAppServiceContainerSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureAppServiceContainerSummary.

func (*AzureAppServiceContainerSummary) UnmarshalJSON

func (a *AzureAppServiceContainerSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureAppServiceContainerSummary.

type AzureAppServiceSummary

type AzureAppServiceSummary struct {
	// READ-ONLY; Distribution by application type.
	DistributionByApp []*WebAppDistribution

	// READ-ONLY; Distribution by SKU.
	DistributionBySKU []*AppServiceSKU

	// READ-ONLY; Estimated cost by recommendation offer.
	EstimatedCostByOffer []*EstimatedCostByOffer
}

AzureAppServiceSummary - Shows Azure App Service summary.

func (AzureAppServiceSummary) MarshalJSON

func (a AzureAppServiceSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureAppServiceSummary.

func (*AzureAppServiceSummary) UnmarshalJSON

func (a *AzureAppServiceSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureAppServiceSummary.

type AzureArcManagementSettings

type AzureArcManagementSettings struct {
	// REQUIRED; Gets the azure arc monitoring settings.
	MonitoringSettings *AzureArcMonitoringSettings
}

AzureArcManagementSettings - Azure Arc Management settings.

func (AzureArcManagementSettings) MarshalJSON

func (a AzureArcManagementSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureArcManagementSettings.

func (*AzureArcManagementSettings) UnmarshalJSON

func (a *AzureArcManagementSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureArcManagementSettings.

type AzureArcMonitoringSettings

type AzureArcMonitoringSettings struct {
	// REQUIRED; Number of alert rules settings.
	AlertRulesCount *int32

	// REQUIRED; Logs volume settings.
	LogsVolumeInGB *float32
}

AzureArcMonitoringSettings - Azure Arc Monitoring settings.

func (AzureArcMonitoringSettings) MarshalJSON

func (a AzureArcMonitoringSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureArcMonitoringSettings.

func (*AzureArcMonitoringSettings) UnmarshalJSON

func (a *AzureArcMonitoringSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureArcMonitoringSettings.

type AzureArcSettings

type AzureArcSettings struct {
	// REQUIRED; AzureArc state indicates whether to include azure arc related costs in on-premises or not.
	AzureArcState *AzureArcState

	// Gets Azure arc labour cost percentage.
	LaborCostPercentage *float32

	// Management settings.
	ManagementSettings *AzureArcManagementSettings
}

AzureArcSettings - Azure arc settings for a business case.

func (AzureArcSettings) MarshalJSON

func (a AzureArcSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureArcSettings.

func (*AzureArcSettings) UnmarshalJSON

func (a *AzureArcSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureArcSettings.

type AzureArcState

type AzureArcState string

AzureArcState - AzureArc state values.

const (
	// AzureArcStateDisabled - AzureArc state disabled.
	AzureArcStateDisabled AzureArcState = "Disabled"
	// AzureArcStateEnabled - AzureArc state enabled.
	AzureArcStateEnabled AzureArcState = "Enabled"
	// AzureArcStateUnknown - AzureArc state unknown.
	AzureArcStateUnknown AzureArcState = "Unknown"
)

func PossibleAzureArcStateValues

func PossibleAzureArcStateValues() []AzureArcState

PossibleAzureArcStateValues returns the possible values for the AzureArcState const type.

type AzureAvsNodeType

type AzureAvsNodeType string
const (
	AzureAvsNodeTypeAV36    AzureAvsNodeType = "AV36"
	AzureAvsNodeTypeAV36P   AzureAvsNodeType = "AV36P"
	AzureAvsNodeTypeAV52    AzureAvsNodeType = "AV52"
	AzureAvsNodeTypeAV64    AzureAvsNodeType = "AV64"
	AzureAvsNodeTypeUnknown AzureAvsNodeType = "Unknown"
)

func PossibleAzureAvsNodeTypeValues

func PossibleAzureAvsNodeTypeValues() []AzureAvsNodeType

PossibleAzureAvsNodeTypeValues returns the possible values for the AzureAvsNodeType const type.

type AzureAvsSuitabilityExplanation

type AzureAvsSuitabilityExplanation string
const (
	AzureAvsSuitabilityExplanationInternalErrorInRecommendation                      AzureAvsSuitabilityExplanation = "InternalErrorInRecommendation"
	AzureAvsSuitabilityExplanationNotApplicable                                      AzureAvsSuitabilityExplanation = "NotApplicable"
	AzureAvsSuitabilityExplanationUnknown                                            AzureAvsSuitabilityExplanation = "Unknown"
	AzureAvsSuitabilityExplanationUnsupportedLocationForSelectedExternalStorageTypes AzureAvsSuitabilityExplanation = "UnsupportedLocationForSelectedExternalStorageTypes"
	AzureAvsSuitabilityExplanationUnsupportedLocationForSelectedNode                 AzureAvsSuitabilityExplanation = "UnsupportedLocationForSelectedNode"
)

func PossibleAzureAvsSuitabilityExplanationValues

func PossibleAzureAvsSuitabilityExplanationValues() []AzureAvsSuitabilityExplanation

PossibleAzureAvsSuitabilityExplanationValues returns the possible values for the AzureAvsSuitabilityExplanation const type.

type AzureAvsSummary

type AzureAvsSummary struct {
	// READ-ONLY; The on premises PaaS cost.
	AvsCostDetails *CostDetails

	// READ-ONLY; Avs virtual machine summary.
	AvsNodeSummary *AvsNodeSummary

	// READ-ONLY; Shows the year-on-year cost overall.
	YearOnYearEstimates *YearOnYearEstimates
}

AzureAvsSummary - The Azure AVS summary.

func (AzureAvsSummary) MarshalJSON

func (a AzureAvsSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureAvsSummary.

func (*AzureAvsSummary) UnmarshalJSON

func (a *AzureAvsSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureAvsSummary.

type AzureAvsVMSuitabilityDetail

type AzureAvsVMSuitabilityDetail string
const (
	AzureAvsVMSuitabilityDetailNone                                  AzureAvsVMSuitabilityDetail = "None"
	AzureAvsVMSuitabilityDetailPercentageOfCoresUtilizedMissing      AzureAvsVMSuitabilityDetail = "PercentageOfCoresUtilizedMissing"
	AzureAvsVMSuitabilityDetailPercentageOfCoresUtilizedOutOfRange   AzureAvsVMSuitabilityDetail = "PercentageOfCoresUtilizedOutOfRange"
	AzureAvsVMSuitabilityDetailPercentageOfMemoryUtilizedMissing     AzureAvsVMSuitabilityDetail = "PercentageOfMemoryUtilizedMissing"
	AzureAvsVMSuitabilityDetailPercentageOfMemoryUtilizedOutOfRange  AzureAvsVMSuitabilityDetail = "PercentageOfMemoryUtilizedOutOfRange"
	AzureAvsVMSuitabilityDetailPercentageOfStorageUtilizedOutOfRange AzureAvsVMSuitabilityDetail = "PercentageOfStorageUtilizedOutOfRange"
)

func PossibleAzureAvsVMSuitabilityDetailValues

func PossibleAzureAvsVMSuitabilityDetailValues() []AzureAvsVMSuitabilityDetail

PossibleAzureAvsVMSuitabilityDetailValues returns the possible values for the AzureAvsVMSuitabilityDetail const type.

type AzureAvsVMSuitabilityExplanation

type AzureAvsVMSuitabilityExplanation string
const (
	AzureAvsVMSuitabilityExplanationIPV6NotSupported           AzureAvsVMSuitabilityExplanation = "IpV6NotSupported"
	AzureAvsVMSuitabilityExplanationNotApplicable              AzureAvsVMSuitabilityExplanation = "NotApplicable"
	AzureAvsVMSuitabilityExplanationUnknown                    AzureAvsVMSuitabilityExplanation = "Unknown"
	AzureAvsVMSuitabilityExplanationUnsupportedOperatingSystem AzureAvsVMSuitabilityExplanation = "UnsupportedOperatingSystem"
)

func PossibleAzureAvsVMSuitabilityExplanationValues

func PossibleAzureAvsVMSuitabilityExplanationValues() []AzureAvsVMSuitabilityExplanation

PossibleAzureAvsVMSuitabilityExplanationValues returns the possible values for the AzureAvsVMSuitabilityExplanation const type.

type AzureCurrency

type AzureCurrency string

AzureCurrency - Currency for Azure.

const (
	AzureCurrencyARS     AzureCurrency = "ARS"
	AzureCurrencyAUD     AzureCurrency = "AUD"
	AzureCurrencyBRL     AzureCurrency = "BRL"
	AzureCurrencyCAD     AzureCurrency = "CAD"
	AzureCurrencyCHF     AzureCurrency = "CHF"
	AzureCurrencyCNY     AzureCurrency = "CNY"
	AzureCurrencyDKK     AzureCurrency = "DKK"
	AzureCurrencyEUR     AzureCurrency = "EUR"
	AzureCurrencyGBP     AzureCurrency = "GBP"
	AzureCurrencyHKD     AzureCurrency = "HKD"
	AzureCurrencyIDR     AzureCurrency = "IDR"
	AzureCurrencyINR     AzureCurrency = "INR"
	AzureCurrencyJPY     AzureCurrency = "JPY"
	AzureCurrencyKRW     AzureCurrency = "KRW"
	AzureCurrencyMXN     AzureCurrency = "MXN"
	AzureCurrencyMYR     AzureCurrency = "MYR"
	AzureCurrencyNOK     AzureCurrency = "NOK"
	AzureCurrencyNZD     AzureCurrency = "NZD"
	AzureCurrencyRUB     AzureCurrency = "RUB"
	AzureCurrencySAR     AzureCurrency = "SAR"
	AzureCurrencySEK     AzureCurrency = "SEK"
	AzureCurrencyTRY     AzureCurrency = "TRY"
	AzureCurrencyTWD     AzureCurrency = "TWD"
	AzureCurrencyUSD     AzureCurrency = "USD"
	AzureCurrencyUnknown AzureCurrency = "Unknown"
	AzureCurrencyZAR     AzureCurrency = "ZAR"
)

func PossibleAzureCurrencyValues

func PossibleAzureCurrencyValues() []AzureCurrency

PossibleAzureCurrencyValues returns the possible values for the AzureCurrency const type.

type AzureDiskSize

type AzureDiskSize string
const (
	AzureDiskSizePremiumP1      AzureDiskSize = "Premium_P1"
	AzureDiskSizePremiumP10     AzureDiskSize = "Premium_P10"
	AzureDiskSizePremiumP15     AzureDiskSize = "Premium_P15"
	AzureDiskSizePremiumP2      AzureDiskSize = "Premium_P2"
	AzureDiskSizePremiumP20     AzureDiskSize = "Premium_P20"
	AzureDiskSizePremiumP3      AzureDiskSize = "Premium_P3"
	AzureDiskSizePremiumP30     AzureDiskSize = "Premium_P30"
	AzureDiskSizePremiumP4      AzureDiskSize = "Premium_P4"
	AzureDiskSizePremiumP40     AzureDiskSize = "Premium_P40"
	AzureDiskSizePremiumP50     AzureDiskSize = "Premium_P50"
	AzureDiskSizePremiumP6      AzureDiskSize = "Premium_P6"
	AzureDiskSizePremiumP60     AzureDiskSize = "Premium_P60"
	AzureDiskSizePremiumP70     AzureDiskSize = "Premium_P70"
	AzureDiskSizePremiumP80     AzureDiskSize = "Premium_P80"
	AzureDiskSizePremiumV2      AzureDiskSize = "PremiumV2"
	AzureDiskSizeStandardS10    AzureDiskSize = "Standard_S10"
	AzureDiskSizeStandardS15    AzureDiskSize = "Standard_S15"
	AzureDiskSizeStandardS20    AzureDiskSize = "Standard_S20"
	AzureDiskSizeStandardS30    AzureDiskSize = "Standard_S30"
	AzureDiskSizeStandardS4     AzureDiskSize = "Standard_S4"
	AzureDiskSizeStandardS40    AzureDiskSize = "Standard_S40"
	AzureDiskSizeStandardS50    AzureDiskSize = "Standard_S50"
	AzureDiskSizeStandardS6     AzureDiskSize = "Standard_S6"
	AzureDiskSizeStandardS60    AzureDiskSize = "Standard_S60"
	AzureDiskSizeStandardS70    AzureDiskSize = "Standard_S70"
	AzureDiskSizeStandardS80    AzureDiskSize = "Standard_S80"
	AzureDiskSizeStandardSSDE1  AzureDiskSize = "StandardSSD_E1"
	AzureDiskSizeStandardSSDE10 AzureDiskSize = "StandardSSD_E10"
	AzureDiskSizeStandardSSDE15 AzureDiskSize = "StandardSSD_E15"
	AzureDiskSizeStandardSSDE2  AzureDiskSize = "StandardSSD_E2"
	AzureDiskSizeStandardSSDE20 AzureDiskSize = "StandardSSD_E20"
	AzureDiskSizeStandardSSDE3  AzureDiskSize = "StandardSSD_E3"
	AzureDiskSizeStandardSSDE30 AzureDiskSize = "StandardSSD_E30"
	AzureDiskSizeStandardSSDE4  AzureDiskSize = "StandardSSD_E4"
	AzureDiskSizeStandardSSDE40 AzureDiskSize = "StandardSSD_E40"
	AzureDiskSizeStandardSSDE50 AzureDiskSize = "StandardSSD_E50"
	AzureDiskSizeStandardSSDE6  AzureDiskSize = "StandardSSD_E6"
	AzureDiskSizeStandardSSDE60 AzureDiskSize = "StandardSSD_E60"
	AzureDiskSizeStandardSSDE70 AzureDiskSize = "StandardSSD_E70"
	AzureDiskSizeStandardSSDE80 AzureDiskSize = "StandardSSD_E80"
	AzureDiskSizeUltra          AzureDiskSize = "Ultra"
	AzureDiskSizeUnknown        AzureDiskSize = "Unknown"
)

func PossibleAzureDiskSizeValues

func PossibleAzureDiskSizeValues() []AzureDiskSize

PossibleAzureDiskSizeValues returns the possible values for the AzureDiskSize const type.

type AzureDiskSuitabilityDetail

type AzureDiskSuitabilityDetail string
const (
	AzureDiskSuitabilityDetailDiskGigabytesConsumedMissing               AzureDiskSuitabilityDetail = "DiskGigabytesConsumedMissing"
	AzureDiskSuitabilityDetailDiskGigabytesConsumedOutOfRange            AzureDiskSuitabilityDetail = "DiskGigabytesConsumedOutOfRange"
	AzureDiskSuitabilityDetailDiskGigabytesProvisionedMissing            AzureDiskSuitabilityDetail = "DiskGigabytesProvisionedMissing"
	AzureDiskSuitabilityDetailDiskGigabytesProvisionedOutOfRange         AzureDiskSuitabilityDetail = "DiskGigabytesProvisionedOutOfRange"
	AzureDiskSuitabilityDetailMegabytesPerSecondOfReadMissing            AzureDiskSuitabilityDetail = "MegabytesPerSecondOfReadMissing"
	AzureDiskSuitabilityDetailMegabytesPerSecondOfReadOutOfRange         AzureDiskSuitabilityDetail = "MegabytesPerSecondOfReadOutOfRange"
	AzureDiskSuitabilityDetailMegabytesPerSecondOfWriteMissing           AzureDiskSuitabilityDetail = "MegabytesPerSecondOfWriteMissing"
	AzureDiskSuitabilityDetailMegabytesPerSecondOfWriteOutOfRange        AzureDiskSuitabilityDetail = "MegabytesPerSecondOfWriteOutOfRange"
	AzureDiskSuitabilityDetailNone                                       AzureDiskSuitabilityDetail = "None"
	AzureDiskSuitabilityDetailNumberOfReadOperationsPerSecondMissing     AzureDiskSuitabilityDetail = "NumberOfReadOperationsPerSecondMissing"
	AzureDiskSuitabilityDetailNumberOfReadOperationsPerSecondOutOfRange  AzureDiskSuitabilityDetail = "NumberOfReadOperationsPerSecondOutOfRange"
	AzureDiskSuitabilityDetailNumberOfWriteOperationsPerSecondMissing    AzureDiskSuitabilityDetail = "NumberOfWriteOperationsPerSecondMissing"
	AzureDiskSuitabilityDetailNumberOfWriteOperationsPerSecondOutOfRange AzureDiskSuitabilityDetail = "NumberOfWriteOperationsPerSecondOutOfRange"
)

func PossibleAzureDiskSuitabilityDetailValues

func PossibleAzureDiskSuitabilityDetailValues() []AzureDiskSuitabilityDetail

PossibleAzureDiskSuitabilityDetailValues returns the possible values for the AzureDiskSuitabilityDetail const type.

type AzureDiskSuitabilityExplanation

type AzureDiskSuitabilityExplanation string
const (
	AzureDiskSuitabilityExplanationDiskSizeGreaterThanSupported           AzureDiskSuitabilityExplanation = "DiskSizeGreaterThanSupported"
	AzureDiskSuitabilityExplanationInternalErrorOccurredForDiskEvaluation AzureDiskSuitabilityExplanation = "InternalErrorOccurredForDiskEvaluation"
	AzureDiskSuitabilityExplanationNoDiskSizeFoundForSelectedRedundancy   AzureDiskSuitabilityExplanation = "NoDiskSizeFoundForSelectedRedundancy"
	AzureDiskSuitabilityExplanationNoDiskSizeFoundInSelectedLocation      AzureDiskSuitabilityExplanation = "NoDiskSizeFoundInSelectedLocation"
	AzureDiskSuitabilityExplanationNoEaPriceFoundForDiskSize              AzureDiskSuitabilityExplanation = "NoEaPriceFoundForDiskSize"
	AzureDiskSuitabilityExplanationNoSuitableDiskSizeForIops              AzureDiskSuitabilityExplanation = "NoSuitableDiskSizeForIops"
	AzureDiskSuitabilityExplanationNoSuitableDiskSizeForThroughput        AzureDiskSuitabilityExplanation = "NoSuitableDiskSizeForThroughput"
	AzureDiskSuitabilityExplanationNotApplicable                          AzureDiskSuitabilityExplanation = "NotApplicable"
	AzureDiskSuitabilityExplanationUnknown                                AzureDiskSuitabilityExplanation = "Unknown"
)

func PossibleAzureDiskSuitabilityExplanationValues

func PossibleAzureDiskSuitabilityExplanationValues() []AzureDiskSuitabilityExplanation

PossibleAzureDiskSuitabilityExplanationValues returns the possible values for the AzureDiskSuitabilityExplanation const type.

type AzureDiskType

type AzureDiskType string
const (
	AzureDiskTypePremium           AzureDiskType = "Premium"
	AzureDiskTypePremiumV2         AzureDiskType = "PremiumV2"
	AzureDiskTypeStandard          AzureDiskType = "Standard"
	AzureDiskTypeStandardOrPremium AzureDiskType = "StandardOrPremium"
	AzureDiskTypeStandardSSD       AzureDiskType = "StandardSSD"
	AzureDiskTypeUltra             AzureDiskType = "Ultra"
	AzureDiskTypeUnknown           AzureDiskType = "Unknown"
)

func PossibleAzureDiskTypeValues

func PossibleAzureDiskTypeValues() []AzureDiskType

PossibleAzureDiskTypeValues returns the possible values for the AzureDiskType const type.

type AzureEnvironmentType

type AzureEnvironmentType string

AzureEnvironmentType - Environment Type for Azure.

const (
	// AzureEnvironmentTypeDevTest - Development or Test Environment.
	AzureEnvironmentTypeDevTest AzureEnvironmentType = "DevTest"
	// AzureEnvironmentTypeProduction - Production Environment.
	AzureEnvironmentTypeProduction AzureEnvironmentType = "Production"
	// AzureEnvironmentTypeUnknown - Unknown. Indicates missing data.
	AzureEnvironmentTypeUnknown AzureEnvironmentType = "Unknown"
)

func PossibleAzureEnvironmentTypeValues

func PossibleAzureEnvironmentTypeValues() []AzureEnvironmentType

PossibleAzureEnvironmentTypeValues returns the possible values for the AzureEnvironmentType const type.

type AzureHybridUseBenefit

type AzureHybridUseBenefit string
const (
	AzureHybridUseBenefitNo      AzureHybridUseBenefit = "No"
	AzureHybridUseBenefitUnknown AzureHybridUseBenefit = "Unknown"
	AzureHybridUseBenefitYes     AzureHybridUseBenefit = "Yes"
)

func PossibleAzureHybridUseBenefitValues

func PossibleAzureHybridUseBenefitValues() []AzureHybridUseBenefit

PossibleAzureHybridUseBenefitValues returns the possible values for the AzureHybridUseBenefit const type.

type AzureIaasSQLSummary

type AzureIaasSQLSummary struct {
	// READ-ONLY; The on premises PaaS cost.
	AzureSQLCostDetails *CostDetails

	// READ-ONLY; The cost by storage type.
	CostByStorageType []*CostByStorageType

	// READ-ONLY; Estimated cost.
	EstimatedCost *float32

	// READ-ONLY; Estimated cost by offer.
	EstimatedCostByRecommendedOffer []*EstimatedCostByOffer

	// READ-ONLY; OS licensing cost.
	OSLicensingCost *float32

	// READ-ONLY; The recommended VM family summary.
	RecommendedVMFamilySummary []*RecommendedVMFamilySummary

	// READ-ONLY; Suitable SQL entities.
	SuitableSQLEntities *int32

	// READ-ONLY; Total SQL entities.
	TotalSQLEntities *int32
}

AzureIaasSQLSummary - Azure Iaas sql server summary.

func (AzureIaasSQLSummary) MarshalJSON

func (a AzureIaasSQLSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureIaasSQLSummary.

func (*AzureIaasSQLSummary) UnmarshalJSON

func (a *AzureIaasSQLSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureIaasSQLSummary.

type AzureIaasSummary

type AzureIaasSummary struct {
	// READ-ONLY; The on premises PaaS cost.
	AzureIaasCostDetails *CostDetails

	// READ-ONLY; Azure Iaas sql server summary.
	AzureIaasSQLSummary *AzureIaasSQLSummary

	// READ-ONLY; Azure Iaas virtual machine summary.
	AzureIaasVMSummary *AzureIaasVMSummary

	// READ-ONLY; Shows the year-on-year cost overall.
	YearOnYearEstimates *YearOnYearEstimates
}

AzureIaasSummary - The Azure IaaS summary.

func (AzureIaasSummary) MarshalJSON

func (a AzureIaasSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureIaasSummary.

func (*AzureIaasSummary) UnmarshalJSON

func (a *AzureIaasSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureIaasSummary.

type AzureIaasVMSummary

type AzureIaasVMSummary struct {
	// READ-ONLY; The on premises PaaS cost.
	AzureVMCostDetails *CostDetails

	// READ-ONLY; The total number of IaaS VM cores.
	Cores *int32

	// READ-ONLY; The cost by storage type.
	CostByStorageType []*CostByStorageType

	// READ-ONLY; Estimated cost.
	EstimatedCost *float32

	// READ-ONLY; Estimated cost by offer.
	EstimatedCostByRecommendedOffer []*EstimatedCostByOffer

	// READ-ONLY; The total memory in GB.
	MemoryGb *float32

	// READ-ONLY; OS licensing cost.
	OSLicensingCost *float32

	// READ-ONLY; The recommended VM family summary.
	RecommendedVMFamilySummary []*RecommendedVMFamilySummary

	// READ-ONLY; Servers suitable for migration.
	ServersSuitableForMigration *int32

	// READ-ONLY; The total number of servers.
	TotalNumberOfServers *int32
}

AzureIaasVMSummary - Azure Iaas virtual machine summary.

func (AzureIaasVMSummary) MarshalJSON

func (a AzureIaasVMSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureIaasVMSummary.

func (*AzureIaasVMSummary) UnmarshalJSON

func (a *AzureIaasVMSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureIaasVMSummary.

type AzureKubernetesServiceSummary

type AzureKubernetesServiceSummary struct {
	// READ-ONLY; Distribution by application type.
	DistributionByApp []*WebAppDistribution

	// READ-ONLY; Distribution by SKU.
	DistributionBySKU []*WebAppTargetSKU

	// READ-ONLY; Estimated cost by recommendation offer.
	EstimatedCostByOffer []*EstimatedCostByOffer
}

AzureKubernetesServiceSummary - Shows Azure Kubernetes Service summary.

func (AzureKubernetesServiceSummary) MarshalJSON

func (a AzureKubernetesServiceSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureKubernetesServiceSummary.

func (*AzureKubernetesServiceSummary) UnmarshalJSON

func (a *AzureKubernetesServiceSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureKubernetesServiceSummary.

type AzureLocation

type AzureLocation string

AzureLocation - Location for Azure.

const (
	AzureLocationAustraliaCentral   AzureLocation = "AustraliaCentral"
	AzureLocationAustraliaCentral2  AzureLocation = "AustraliaCentral2"
	AzureLocationAustraliaEast      AzureLocation = "AustraliaEast"
	AzureLocationAustraliaSoutheast AzureLocation = "AustraliaSoutheast"
	AzureLocationBrazilSouth        AzureLocation = "BrazilSouth"
	AzureLocationCanadaCentral      AzureLocation = "CanadaCentral"
	AzureLocationCanadaEast         AzureLocation = "CanadaEast"
	AzureLocationCentralIndia       AzureLocation = "CentralIndia"
	AzureLocationCentralUs          AzureLocation = "CentralUs"
	AzureLocationChinaEast          AzureLocation = "ChinaEast"
	AzureLocationChinaEast2         AzureLocation = "ChinaEast2"
	AzureLocationChinaNorth         AzureLocation = "ChinaNorth"
	AzureLocationChinaNorth2        AzureLocation = "ChinaNorth2"
	AzureLocationEastAsia           AzureLocation = "EastAsia"
	AzureLocationEastUs             AzureLocation = "EastUs"
	AzureLocationEastUs2            AzureLocation = "EastUs2"
	AzureLocationFranceCentral      AzureLocation = "FranceCentral"
	AzureLocationFranceSouth        AzureLocation = "FranceSouth"
	AzureLocationGermanyCentral     AzureLocation = "GermanyCentral"
	AzureLocationGermanyNorth       AzureLocation = "GermanyNorth"
	AzureLocationGermanyNortheast   AzureLocation = "GermanyNortheast"
	AzureLocationGermanyWestCentral AzureLocation = "GermanyWestCentral"
	AzureLocationJapanEast          AzureLocation = "JapanEast"
	AzureLocationJapanWest          AzureLocation = "JapanWest"
	AzureLocationKoreaCentral       AzureLocation = "KoreaCentral"
	AzureLocationKoreaSouth         AzureLocation = "KoreaSouth"
	AzureLocationNorthCentralUs     AzureLocation = "NorthCentralUs"
	AzureLocationNorthEurope        AzureLocation = "NorthEurope"
	AzureLocationNorwayEast         AzureLocation = "NorwayEast"
	AzureLocationNorwayWest         AzureLocation = "NorwayWest"
	AzureLocationQatarCentral       AzureLocation = "QatarCentral"
	AzureLocationSouthAfricaNorth   AzureLocation = "SouthAfricaNorth"
	AzureLocationSouthAfricaWest    AzureLocation = "SouthAfricaWest"
	AzureLocationSouthCentralUs     AzureLocation = "SouthCentralUs"
	AzureLocationSouthIndia         AzureLocation = "SouthIndia"
	AzureLocationSoutheastAsia      AzureLocation = "SoutheastAsia"
	AzureLocationSwedenCentral      AzureLocation = "SwedenCentral"
	AzureLocationSwitzerlandNorth   AzureLocation = "SwitzerlandNorth"
	AzureLocationSwitzerlandWest    AzureLocation = "SwitzerlandWest"
	AzureLocationUAECentral         AzureLocation = "UAECentral"
	AzureLocationUAENorth           AzureLocation = "UAENorth"
	AzureLocationUSDoDCentral       AzureLocation = "USDoDCentral"
	AzureLocationUSDoDEast          AzureLocation = "USDoDEast"
	AzureLocationUSGovArizona       AzureLocation = "USGovArizona"
	AzureLocationUSGovIowa          AzureLocation = "USGovIowa"
	AzureLocationUSGovTexas         AzureLocation = "USGovTexas"
	AzureLocationUSGovVirginia      AzureLocation = "USGovVirginia"
	AzureLocationUkSouth            AzureLocation = "UkSouth"
	AzureLocationUkWest             AzureLocation = "UkWest"
	AzureLocationUnknown            AzureLocation = "Unknown"
	AzureLocationUsNatEast          AzureLocation = "UsNatEast"
	AzureLocationUsNatWest          AzureLocation = "UsNatWest"
	AzureLocationUsSecCentral       AzureLocation = "UsSecCentral"
	AzureLocationUsSecEast          AzureLocation = "UsSecEast"
	AzureLocationUsSecWest          AzureLocation = "UsSecWest"
	AzureLocationWestCentralUs      AzureLocation = "WestCentralUs"
	AzureLocationWestEurope         AzureLocation = "WestEurope"
	AzureLocationWestIndia          AzureLocation = "WestIndia"
	AzureLocationWestUs             AzureLocation = "WestUs"
	AzureLocationWestUs2            AzureLocation = "WestUs2"
)

func PossibleAzureLocationValues

func PossibleAzureLocationValues() []AzureLocation

PossibleAzureLocationValues returns the possible values for the AzureLocation const type.

type AzureManagedDiskSKUDTO

type AzureManagedDiskSKUDTO struct {
	// READ-ONLY; Gets disk redundancy - e.g. LRS, ZRS.
	DiskRedundancy *AzureManagedDiskSKUDTODiskRedundancy

	// READ-ONLY; Gets the Size of the managed disk - e.g. P30, P40.
	DiskSize *AzureDiskSize

	// READ-ONLY; Gets the Type ("tier") of disk - e.g. standard, premium, ultra.
	DiskType *AzureManagedDiskSKUDTODiskType

	// READ-ONLY; Gets the recommended IOPS of the managed disk.
	RecommendedIops *float32

	// READ-ONLY; Gets the recommended in GB of the managed disk.
	RecommendedSizeInGib *float32

	// READ-ONLY; Gets the recommended throughput in MBPS of the managed disk.
	RecommendedThroughputInMbps *float32

	// READ-ONLY; Gets the managed disk storage cost.
	StorageCost *float32
}

AzureManagedDiskSKUDTO - Class representing an Azure Managed Disk SKU.

func (AzureManagedDiskSKUDTO) MarshalJSON

func (a AzureManagedDiskSKUDTO) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureManagedDiskSKUDTO.

func (*AzureManagedDiskSKUDTO) UnmarshalJSON

func (a *AzureManagedDiskSKUDTO) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureManagedDiskSKUDTO.

type AzureManagedDiskSKUDTODiskRedundancy

type AzureManagedDiskSKUDTODiskRedundancy string
const (
	AzureManagedDiskSKUDTODiskRedundancyLRS     AzureManagedDiskSKUDTODiskRedundancy = "LRS"
	AzureManagedDiskSKUDTODiskRedundancyUnknown AzureManagedDiskSKUDTODiskRedundancy = "Unknown"
	AzureManagedDiskSKUDTODiskRedundancyZRS     AzureManagedDiskSKUDTODiskRedundancy = "ZRS"
)

func PossibleAzureManagedDiskSKUDTODiskRedundancyValues

func PossibleAzureManagedDiskSKUDTODiskRedundancyValues() []AzureManagedDiskSKUDTODiskRedundancy

PossibleAzureManagedDiskSKUDTODiskRedundancyValues returns the possible values for the AzureManagedDiskSKUDTODiskRedundancy const type.

type AzureManagedDiskSKUDTODiskType

type AzureManagedDiskSKUDTODiskType string
const (
	AzureManagedDiskSKUDTODiskTypePremium           AzureManagedDiskSKUDTODiskType = "Premium"
	AzureManagedDiskSKUDTODiskTypePremiumV2         AzureManagedDiskSKUDTODiskType = "PremiumV2"
	AzureManagedDiskSKUDTODiskTypeStandard          AzureManagedDiskSKUDTODiskType = "Standard"
	AzureManagedDiskSKUDTODiskTypeStandardOrPremium AzureManagedDiskSKUDTODiskType = "StandardOrPremium"
	AzureManagedDiskSKUDTODiskTypeStandardSSD       AzureManagedDiskSKUDTODiskType = "StandardSSD"
	AzureManagedDiskSKUDTODiskTypeUltra             AzureManagedDiskSKUDTODiskType = "Ultra"
	AzureManagedDiskSKUDTODiskTypeUnknown           AzureManagedDiskSKUDTODiskType = "Unknown"
)

func PossibleAzureManagedDiskSKUDTODiskTypeValues

func PossibleAzureManagedDiskSKUDTODiskTypeValues() []AzureManagedDiskSKUDTODiskType

PossibleAzureManagedDiskSKUDTODiskTypeValues returns the possible values for the AzureManagedDiskSKUDTODiskType const type.

type AzureNetworkAdapterSuitabilityDetail

type AzureNetworkAdapterSuitabilityDetail string
const (
	AzureNetworkAdapterSuitabilityDetailMegabytesOfDataRecievedMissing       AzureNetworkAdapterSuitabilityDetail = "MegabytesOfDataRecievedMissing"
	AzureNetworkAdapterSuitabilityDetailMegabytesOfDataRecievedOutOfRange    AzureNetworkAdapterSuitabilityDetail = "MegabytesOfDataRecievedOutOfRange"
	AzureNetworkAdapterSuitabilityDetailMegabytesOfDataTransmittedMissing    AzureNetworkAdapterSuitabilityDetail = "MegabytesOfDataTransmittedMissing"
	AzureNetworkAdapterSuitabilityDetailMegabytesOfDataTransmittedOutOfRange AzureNetworkAdapterSuitabilityDetail = "MegabytesOfDataTransmittedOutOfRange"
	AzureNetworkAdapterSuitabilityDetailNone                                 AzureNetworkAdapterSuitabilityDetail = "None"
)

func PossibleAzureNetworkAdapterSuitabilityDetailValues

func PossibleAzureNetworkAdapterSuitabilityDetailValues() []AzureNetworkAdapterSuitabilityDetail

PossibleAzureNetworkAdapterSuitabilityDetailValues returns the possible values for the AzureNetworkAdapterSuitabilityDetail const type.

type AzureNetworkAdapterSuitabilityExplanation

type AzureNetworkAdapterSuitabilityExplanation string
const (
	AzureNetworkAdapterSuitabilityExplanationInternalErrorOccurred AzureNetworkAdapterSuitabilityExplanation = "InternalErrorOccurred"
	AzureNetworkAdapterSuitabilityExplanationNotApplicable         AzureNetworkAdapterSuitabilityExplanation = "NotApplicable"
	AzureNetworkAdapterSuitabilityExplanationUnknown               AzureNetworkAdapterSuitabilityExplanation = "Unknown"
)

func PossibleAzureNetworkAdapterSuitabilityExplanationValues

func PossibleAzureNetworkAdapterSuitabilityExplanationValues() []AzureNetworkAdapterSuitabilityExplanation

PossibleAzureNetworkAdapterSuitabilityExplanationValues returns the possible values for the AzureNetworkAdapterSuitabilityExplanation const type.

type AzureOfferCode

type AzureOfferCode string
const (
	AzureOfferCodeEA               AzureOfferCode = "EA"
	AzureOfferCodeMsazr0003P       AzureOfferCode = "MSAZR0003P"
	AzureOfferCodeMsazr0022P       AzureOfferCode = "MSAZR0022P"
	AzureOfferCodeMsazr0023P       AzureOfferCode = "MSAZR0023P"
	AzureOfferCodeMsazr0025P       AzureOfferCode = "MSAZR0025P"
	AzureOfferCodeMsazr0029P       AzureOfferCode = "MSAZR0029P"
	AzureOfferCodeMsazr0036P       AzureOfferCode = "MSAZR0036P"
	AzureOfferCodeMsazr0044P       AzureOfferCode = "MSAZR0044P"
	AzureOfferCodeMsazr0059P       AzureOfferCode = "MSAZR0059P"
	AzureOfferCodeMsazr0060P       AzureOfferCode = "MSAZR0060P"
	AzureOfferCodeMsazr0062P       AzureOfferCode = "MSAZR0062P"
	AzureOfferCodeMsazr0063P       AzureOfferCode = "MSAZR0063P"
	AzureOfferCodeMsazr0064P       AzureOfferCode = "MSAZR0064P"
	AzureOfferCodeMsazr0111P       AzureOfferCode = "MSAZR0111P"
	AzureOfferCodeMsazr0120P       AzureOfferCode = "MSAZR0120P"
	AzureOfferCodeMsazr0121P       AzureOfferCode = "MSAZR0121P"
	AzureOfferCodeMsazr0122P       AzureOfferCode = "MSAZR0122P"
	AzureOfferCodeMsazr0123P       AzureOfferCode = "MSAZR0123P"
	AzureOfferCodeMsazr0124P       AzureOfferCode = "MSAZR0124P"
	AzureOfferCodeMsazr0125P       AzureOfferCode = "MSAZR0125P"
	AzureOfferCodeMsazr0126P       AzureOfferCode = "MSAZR0126P"
	AzureOfferCodeMsazr0127P       AzureOfferCode = "MSAZR0127P"
	AzureOfferCodeMsazr0128P       AzureOfferCode = "MSAZR0128P"
	AzureOfferCodeMsazr0129P       AzureOfferCode = "MSAZR0129P"
	AzureOfferCodeMsazr0130P       AzureOfferCode = "MSAZR0130P"
	AzureOfferCodeMsazr0144P       AzureOfferCode = "MSAZR0144P"
	AzureOfferCodeMsazr0148P       AzureOfferCode = "MSAZR0148P"
	AzureOfferCodeMsazr0149P       AzureOfferCode = "MSAZR0149P"
	AzureOfferCodeMsazr0243P       AzureOfferCode = "MSAZR0243P"
	AzureOfferCodeMsazrde0003P     AzureOfferCode = "MSAZRDE0003P"
	AzureOfferCodeMsazrde0044P     AzureOfferCode = "MSAZRDE0044P"
	AzureOfferCodeMsazrusgov0003P  AzureOfferCode = "MSAZRUSGOV0003P"
	AzureOfferCodeMsmcazr0044P     AzureOfferCode = "MSMCAZR0044P"
	AzureOfferCodeMsmcazr0059P     AzureOfferCode = "MSMCAZR0059P"
	AzureOfferCodeMsmcazr0060P     AzureOfferCode = "MSMCAZR0060P"
	AzureOfferCodeMsmcazr0063P     AzureOfferCode = "MSMCAZR0063P"
	AzureOfferCodeMsmcazr0120P     AzureOfferCode = "MSMCAZR0120P"
	AzureOfferCodeMsmcazr0121P     AzureOfferCode = "MSMCAZR0121P"
	AzureOfferCodeMsmcazr0125P     AzureOfferCode = "MSMCAZR0125P"
	AzureOfferCodeMsmcazr0128P     AzureOfferCode = "MSMCAZR0128P"
	AzureOfferCodeSavingsPlan1Year AzureOfferCode = "SavingsPlan1Year"
	AzureOfferCodeSavingsPlan3Year AzureOfferCode = "SavingsPlan3Year"
	AzureOfferCodeUnknown          AzureOfferCode = "Unknown"
)

func PossibleAzureOfferCodeValues

func PossibleAzureOfferCodeValues() []AzureOfferCode

PossibleAzureOfferCodeValues returns the possible values for the AzureOfferCode const type.

type AzurePaasSummary

type AzurePaasSummary struct {
	// READ-ONLY; Shows Azure App Service Container summary.
	AzureAppServiceContainerSummary *AzureAppServiceContainerSummary

	// READ-ONLY; Shows Azure App Service summary.
	AzureAppServiceSummary *AzureAppServiceSummary

	// READ-ONLY; Shows Azure Kubernetes Service summary.
	AzureKubernetesServiceSummary *AzureKubernetesServiceSummary

	// READ-ONLY; Shows the Azure SQL details.
	AzureSQLSummary *AzureSQLSummary

	// READ-ONLY; Number of cores.
	Cores *int32

	// READ-ONLY; Shows the estimated cost by target.
	EstimatedCostByTarget *EstimatedCostByTarget

	// READ-ONLY; estimated SQL Server licensing cost.
	EstimatedSQLServerLicensingCost *float32

	// READ-ONLY; Memory Utilization.
	Memory *float32

	// READ-ONLY; Storage Utilization.
	Storage *float32

	// READ-ONLY; Suitable Sql instances.
	SuitableSQLEntities *int32

	// READ-ONLY; Suitable web applications.
	SuitableWebApps *int32

	// READ-ONLY; The on premises PaaS cost.
	TotalAzurePaasCost *CostDetails

	// READ-ONLY; Number of Sql instances.
	TotalSQLEntities *int32

	// READ-ONLY; Number of web applications.
	TotalWebApps *int32
}

AzurePaasSummary - Shows the PaaS Azure summary.

func (AzurePaasSummary) MarshalJSON

func (a AzurePaasSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzurePaasSummary.

func (*AzurePaasSummary) UnmarshalJSON

func (a *AzurePaasSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzurePaasSummary.

type AzurePricingTier

type AzurePricingTier string
const (
	AzurePricingTierBasic    AzurePricingTier = "Basic"
	AzurePricingTierStandard AzurePricingTier = "Standard"
)

func PossibleAzurePricingTierValues

func PossibleAzurePricingTierValues() []AzurePricingTier

PossibleAzurePricingTierValues returns the possible values for the AzurePricingTier const type.

type AzureQuorumWitnessDTO

type AzureQuorumWitnessDTO struct {
	// READ-ONLY; Gets quorum witness type.
	QuorumWitnessType *AzureQuorumWitnessDTOQuorumWitnessType
}

AzureQuorumWitnessDTO - Quorum Witness.

func (AzureQuorumWitnessDTO) MarshalJSON

func (a AzureQuorumWitnessDTO) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureQuorumWitnessDTO.

func (*AzureQuorumWitnessDTO) UnmarshalJSON

func (a *AzureQuorumWitnessDTO) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureQuorumWitnessDTO.

type AzureQuorumWitnessDTOQuorumWitnessType

type AzureQuorumWitnessDTOQuorumWitnessType string
const (
	AzureQuorumWitnessDTOQuorumWitnessTypeCloud   AzureQuorumWitnessDTOQuorumWitnessType = "Cloud"
	AzureQuorumWitnessDTOQuorumWitnessTypeDisk    AzureQuorumWitnessDTOQuorumWitnessType = "Disk"
	AzureQuorumWitnessDTOQuorumWitnessTypeUnknown AzureQuorumWitnessDTOQuorumWitnessType = "Unknown"
)

func PossibleAzureQuorumWitnessDTOQuorumWitnessTypeValues

func PossibleAzureQuorumWitnessDTOQuorumWitnessTypeValues() []AzureQuorumWitnessDTOQuorumWitnessType

PossibleAzureQuorumWitnessDTOQuorumWitnessTypeValues returns the possible values for the AzureQuorumWitnessDTOQuorumWitnessType const type.

type AzureReservedInstance

type AzureReservedInstance string
const (
	AzureReservedInstanceNone    AzureReservedInstance = "None"
	AzureReservedInstanceRI1Year AzureReservedInstance = "RI1Year"
	AzureReservedInstanceRI3Year AzureReservedInstance = "RI3Year"
)

func PossibleAzureReservedInstanceValues

func PossibleAzureReservedInstanceValues() []AzureReservedInstance

PossibleAzureReservedInstanceValues returns the possible values for the AzureReservedInstance const type.

type AzureSQLDataBaseType

type AzureSQLDataBaseType string
const (
	AzureSQLDataBaseTypeAutomatic      AzureSQLDataBaseType = "Automatic"
	AzureSQLDataBaseTypeElasticPool    AzureSQLDataBaseType = "ElasticPool"
	AzureSQLDataBaseTypeSingleDatabase AzureSQLDataBaseType = "SingleDatabase"
	AzureSQLDataBaseTypeUnknown        AzureSQLDataBaseType = "Unknown"
)

func PossibleAzureSQLDataBaseTypeValues

func PossibleAzureSQLDataBaseTypeValues() []AzureSQLDataBaseType

PossibleAzureSQLDataBaseTypeValues returns the possible values for the AzureSQLDataBaseType const type.

type AzureSQLIaasSKUDTO

type AzureSQLIaasSKUDTO struct {
	// READ-ONLY; Gets the target type.
	AzureSQLTargetType *TargetType

	// READ-ONLY; Gets the The list of data disk sizes.
	DataDiskSizes []*AzureManagedDiskSKUDTO

	// READ-ONLY; Gets the The list of log disk sizes.
	LogDiskSizes []*AzureManagedDiskSKUDTO

	// READ-ONLY; Gets the The Azure Compute Virtual Machine.
	VirtualMachineSize *AzureVirtualMachineSKUDTO
}

AzureSQLIaasSKUDTO - Class representing Azure SQL IAAS SKU.

func (AzureSQLIaasSKUDTO) MarshalJSON

func (a AzureSQLIaasSKUDTO) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureSQLIaasSKUDTO.

func (*AzureSQLIaasSKUDTO) UnmarshalJSON

func (a *AzureSQLIaasSKUDTO) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureSQLIaasSKUDTO.

type AzureSQLInstanceType

type AzureSQLInstanceType string
const (
	AzureSQLInstanceTypeAutomatic      AzureSQLInstanceType = "Automatic"
	AzureSQLInstanceTypeInstancePools  AzureSQLInstanceType = "InstancePools"
	AzureSQLInstanceTypeSingleInstance AzureSQLInstanceType = "SingleInstance"
	AzureSQLInstanceTypeUnknown        AzureSQLInstanceType = "Unknown"
)

func PossibleAzureSQLInstanceTypeValues

func PossibleAzureSQLInstanceTypeValues() []AzureSQLInstanceType

PossibleAzureSQLInstanceTypeValues returns the possible values for the AzureSQLInstanceType const type.

type AzureSQLPaasSKUDTO

type AzureSQLPaasSKUDTO struct {
	// READ-ONLY; Gets the compute tier.
	AzureSQLComputeTier *ComputeTier

	// READ-ONLY; Gets the hardware generation.
	AzureSQLHardwareGeneration *HardwareGeneration

	// READ-ONLY; Gets the service tier.
	AzureSQLServiceTier *AzureSQLServiceTier

	// READ-ONLY; Gets the target type.
	AzureSQLTargetType *TargetType

	// READ-ONLY; Gets the number of cores.
	Cores *int32

	// READ-ONLY; Gets the predicted data size in megabytes in the Azure SQL, will impact the billing cost.
	PredictedDataSizeInMB *float32

	// READ-ONLY; Gets the predicted log size in megabytes in the Azure SQL, will impact the billing cost.
	PredictedLogSizeInMB *float32

	// READ-ONLY; Gets the storage maximum size in megabytes.
	StorageMaxSizeInMB *float32
}

AzureSQLPaasSKUDTO - Class representing Azure SQL PAAS SKU.

func (AzureSQLPaasSKUDTO) MarshalJSON

func (a AzureSQLPaasSKUDTO) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureSQLPaasSKUDTO.

func (*AzureSQLPaasSKUDTO) UnmarshalJSON

func (a *AzureSQLPaasSKUDTO) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureSQLPaasSKUDTO.

type AzureSQLPurchaseModel

type AzureSQLPurchaseModel string
const (
	AzureSQLPurchaseModelDTU     AzureSQLPurchaseModel = "DTU"
	AzureSQLPurchaseModelUnknown AzureSQLPurchaseModel = "Unknown"
	AzureSQLPurchaseModelVCore   AzureSQLPurchaseModel = "VCore"
)

func PossibleAzureSQLPurchaseModelValues

func PossibleAzureSQLPurchaseModelValues() []AzureSQLPurchaseModel

PossibleAzureSQLPurchaseModelValues returns the possible values for the AzureSQLPurchaseModel const type.

type AzureSQLServiceTier

type AzureSQLServiceTier string
const (
	AzureSQLServiceTierAutomatic        AzureSQLServiceTier = "Automatic"
	AzureSQLServiceTierBusinessCritical AzureSQLServiceTier = "BusinessCritical"
	AzureSQLServiceTierGeneralPurpose   AzureSQLServiceTier = "GeneralPurpose"
	AzureSQLServiceTierHyperScale       AzureSQLServiceTier = "HyperScale"
	AzureSQLServiceTierUnknown          AzureSQLServiceTier = "Unknown"
)

func PossibleAzureSQLServiceTierValues

func PossibleAzureSQLServiceTierValues() []AzureSQLServiceTier

PossibleAzureSQLServiceTierValues returns the possible values for the AzureSQLServiceTier const type.

type AzureSQLSummary

type AzureSQLSummary struct {
	// READ-ONLY; Distribution by service tiers, retaining just to support older Business cases.
	DistributionByServiceTier []*SQLServiceTier

	// READ-ONLY; Distribution by service tiers for SQL DB.
	DistributionByServiceTierForSQLDb []*SQLServiceTier

	// READ-ONLY; Distribution by service tiers for SQL MI.
	DistributionByServiceTierForSQLMi []*SQLServiceTier

	// READ-ONLY; Estimated cost by recommended offer.
	EstimatedCostByOffer []*EstimatedCostByOffer
}

AzureSQLSummary - Shows the Azure SQL details.

func (AzureSQLSummary) MarshalJSON

func (a AzureSQLSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureSQLSummary.

func (*AzureSQLSummary) UnmarshalJSON

func (a *AzureSQLSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureSQLSummary.

type AzureSecurityOfferingType

type AzureSecurityOfferingType string
const (
	AzureSecurityOfferingTypeMDC AzureSecurityOfferingType = "MDC"
	AzureSecurityOfferingTypeNO  AzureSecurityOfferingType = "NO"
)

func PossibleAzureSecurityOfferingTypeValues

func PossibleAzureSecurityOfferingTypeValues() []AzureSecurityOfferingType

PossibleAzureSecurityOfferingTypeValues returns the possible values for the AzureSecurityOfferingType const type.

type AzureSettings

type AzureSettings struct {
	// REQUIRED; Business case Currency.
	Currency *BusinessCaseCurrency

	// REQUIRED; Gets or sets azure location.
	TargetLocation *string

	// Gets Avs labour cost percentage.
	AvsLaborCostPercentage *float32

	// Migration Strategy.
	BusinessCaseType *MigrationStrategy

	// Gets comfort factor.
	ComfortFactor *float32

	// Gets azure Discount percentage.
	DiscountPercentage *float32

	// Gets IaaS labour cost percentage.
	IaasLaborCostPercentage *float32

	// Gets infrastructure growth rate.
	InfrastructureGrowthRate *float32

	// Gets network cost percentage.
	NetworkCostPercentage *float32

	// Gets PaaS labour cost percentage.
	PaasLaborCostPercentage *float32

	// Gets migration completion percentage per year.
	PerYearMigrationCompletionPercentage map[string]*float32

	// Gets end time to use for performance.
	PerformanceDataEndTime *time.Time

	// Gets start time to use for performance.
	PerformanceDataStartTime *time.Time

	// Gets utilization percentile for performance.
	PerformanceUtilizationPercentile *float32

	// Gets the business case savings option type.
	SavingsOption *SavingsOption

	// Gets wACC percentage.
	Wacc *float32

	// Workload discovery source.
	WorkloadDiscoverySource *DiscoverySource
}

AzureSettings - Azure settings for a business case.

func (AzureSettings) MarshalJSON

func (a AzureSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureSettings.

func (*AzureSettings) UnmarshalJSON

func (a *AzureSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureSettings.

type AzureStorageRedundancy

type AzureStorageRedundancy string
const (
	AzureStorageRedundancyGeoRedundant           AzureStorageRedundancy = "GeoRedundant"
	AzureStorageRedundancyLocallyRedundant       AzureStorageRedundancy = "LocallyRedundant"
	AzureStorageRedundancyReadAccessGeoRedundant AzureStorageRedundancy = "ReadAccessGeoRedundant"
	AzureStorageRedundancyUnknown                AzureStorageRedundancy = "Unknown"
	AzureStorageRedundancyZoneRedundant          AzureStorageRedundancy = "ZoneRedundant"
)

func PossibleAzureStorageRedundancyValues

func PossibleAzureStorageRedundancyValues() []AzureStorageRedundancy

PossibleAzureStorageRedundancyValues returns the possible values for the AzureStorageRedundancy const type.

type AzureVMCategory

type AzureVMCategory string

AzureVMCategory - Azure VM Category.

const (
	// AzureVMCategoryAll - Indicates All categories of VM.
	AzureVMCategoryAll AzureVMCategory = "All"
	// AzureVMCategoryComputeOptimized - Compute Optimized.
	AzureVMCategoryComputeOptimized AzureVMCategory = "ComputeOptimized"
	// AzureVMCategoryGeneralPurpose - General Purpose.
	AzureVMCategoryGeneralPurpose AzureVMCategory = "GeneralPurpose"
	// AzureVMCategoryGpuOptimized - GPU Optimized.
	AzureVMCategoryGpuOptimized AzureVMCategory = "GpuOptimized"
	// AzureVMCategoryHighPerformanceCompute - High Performance Compute.
	AzureVMCategoryHighPerformanceCompute AzureVMCategory = "HighPerformanceCompute"
	// AzureVMCategoryIsolated - Isolated VM.
	AzureVMCategoryIsolated AzureVMCategory = "Isolated"
	// AzureVMCategoryMemoryOptimized - Memory Optimized.
	AzureVMCategoryMemoryOptimized AzureVMCategory = "MemoryOptimized"
	// AzureVMCategoryStorageOptimized - Storage Optimized.
	AzureVMCategoryStorageOptimized AzureVMCategory = "StorageOptimized"
)

func PossibleAzureVMCategoryValues

func PossibleAzureVMCategoryValues() []AzureVMCategory

PossibleAzureVMCategoryValues returns the possible values for the AzureVMCategory const type.

type AzureVMFamily

type AzureVMFamily string
const (
	AzureVMFamilyAv2Series     AzureVMFamily = "Av2_series"
	AzureVMFamilyBasicA0A4     AzureVMFamily = "Basic_A0_A4"
	AzureVMFamilyDCSeries      AzureVMFamily = "DC_Series"
	AzureVMFamilyDSSeries      AzureVMFamily = "DS_series"
	AzureVMFamilyDSeries       AzureVMFamily = "D_series"
	AzureVMFamilyDSv2Series    AzureVMFamily = "DSv2_series"
	AzureVMFamilyDadsv5Series  AzureVMFamily = "Dadsv5_series"
	AzureVMFamilyDasv4Series   AzureVMFamily = "Dasv4_series"
	AzureVMFamilyDasv5Series   AzureVMFamily = "Dasv5_series"
	AzureVMFamilyDav4Series    AzureVMFamily = "Dav4_series"
	AzureVMFamilyDdsv4Series   AzureVMFamily = "Ddsv4_series"
	AzureVMFamilyDdsv5Series   AzureVMFamily = "Ddsv5_series"
	AzureVMFamilyDdv4Series    AzureVMFamily = "Ddv4_series"
	AzureVMFamilyDdv5Series    AzureVMFamily = "Ddv5_series"
	AzureVMFamilyDsv3Series    AzureVMFamily = "Dsv3_series"
	AzureVMFamilyDsv4Series    AzureVMFamily = "Dsv4_series"
	AzureVMFamilyDsv5Series    AzureVMFamily = "Dsv5_series"
	AzureVMFamilyDv2Series     AzureVMFamily = "Dv2_series"
	AzureVMFamilyDv3Series     AzureVMFamily = "Dv3_series"
	AzureVMFamilyDv4Series     AzureVMFamily = "Dv4_series"
	AzureVMFamilyDv5Series     AzureVMFamily = "Dv5_series"
	AzureVMFamilyEadsv5Series  AzureVMFamily = "Eadsv5_series"
	AzureVMFamilyEasv4Series   AzureVMFamily = "Easv4_series"
	AzureVMFamilyEasv5Series   AzureVMFamily = "Easv5_series"
	AzureVMFamilyEav4Series    AzureVMFamily = "Eav4_series"
	AzureVMFamilyEbdsv5Series  AzureVMFamily = "Ebdsv5_series"
	AzureVMFamilyEbsv5Series   AzureVMFamily = "Ebsv5_series"
	AzureVMFamilyEdsv4Series   AzureVMFamily = "Edsv4_series"
	AzureVMFamilyEdsv5Series   AzureVMFamily = "Edsv5_series"
	AzureVMFamilyEdv4Series    AzureVMFamily = "Edv4_series"
	AzureVMFamilyEdv5Series    AzureVMFamily = "Edv5_series"
	AzureVMFamilyEsv3Series    AzureVMFamily = "Esv3_series"
	AzureVMFamilyEsv4Series    AzureVMFamily = "Esv4_series"
	AzureVMFamilyEsv5Series    AzureVMFamily = "Esv5_series"
	AzureVMFamilyEv3Series     AzureVMFamily = "Ev3_series"
	AzureVMFamilyEv4Series     AzureVMFamily = "Ev4_series"
	AzureVMFamilyEv5Series     AzureVMFamily = "Ev5_series"
	AzureVMFamilyFSeries       AzureVMFamily = "F_series"
	AzureVMFamilyFsSeries      AzureVMFamily = "Fs_series"
	AzureVMFamilyFsv2Series    AzureVMFamily = "Fsv2_series"
	AzureVMFamilyGSSeries      AzureVMFamily = "GS_series"
	AzureVMFamilyGSeries       AzureVMFamily = "G_series"
	AzureVMFamilyHSeries       AzureVMFamily = "H_series"
	AzureVMFamilyLsSeries      AzureVMFamily = "Ls_series"
	AzureVMFamilyLsv2Series    AzureVMFamily = "Lsv2_series"
	AzureVMFamilyMSeries       AzureVMFamily = "M_series"
	AzureVMFamilyMdsv2Series   AzureVMFamily = "Mdsv2_series"
	AzureVMFamilyMsv2Series    AzureVMFamily = "Msv2_series"
	AzureVMFamilyMv2Series     AzureVMFamily = "Mv2_series"
	AzureVMFamilyStandardA0A7  AzureVMFamily = "Standard_A0_A7"
	AzureVMFamilyStandardA8A11 AzureVMFamily = "Standard_A8_A11"
	AzureVMFamilyUnknown       AzureVMFamily = "Unknown"
)

func PossibleAzureVMFamilyValues

func PossibleAzureVMFamilyValues() []AzureVMFamily

PossibleAzureVMFamilyValues returns the possible values for the AzureVMFamily const type.

type AzureVMSize

type AzureVMSize string
const (
	AzureVMSizeBasicA0             AzureVMSize = "Basic_A0"
	AzureVMSizeBasicA1             AzureVMSize = "Basic_A1"
	AzureVMSizeBasicA2             AzureVMSize = "Basic_A2"
	AzureVMSizeBasicA3             AzureVMSize = "Basic_A3"
	AzureVMSizeBasicA4             AzureVMSize = "Basic_A4"
	AzureVMSizeStandardA0          AzureVMSize = "Standard_A0"
	AzureVMSizeStandardA1          AzureVMSize = "Standard_A1"
	AzureVMSizeStandardA10         AzureVMSize = "Standard_A10"
	AzureVMSizeStandardA11         AzureVMSize = "Standard_A11"
	AzureVMSizeStandardA1V2        AzureVMSize = "Standard_A1_v2"
	AzureVMSizeStandardA2          AzureVMSize = "Standard_A2"
	AzureVMSizeStandardA2MV2       AzureVMSize = "Standard_A2m_v2"
	AzureVMSizeStandardA2V2        AzureVMSize = "Standard_A2_v2"
	AzureVMSizeStandardA3          AzureVMSize = "Standard_A3"
	AzureVMSizeStandardA4          AzureVMSize = "Standard_A4"
	AzureVMSizeStandardA4MV2       AzureVMSize = "Standard_A4m_v2"
	AzureVMSizeStandardA4V2        AzureVMSize = "Standard_A4_v2"
	AzureVMSizeStandardA5          AzureVMSize = "Standard_A5"
	AzureVMSizeStandardA6          AzureVMSize = "Standard_A6"
	AzureVMSizeStandardA7          AzureVMSize = "Standard_A7"
	AzureVMSizeStandardA8          AzureVMSize = "Standard_A8"
	AzureVMSizeStandardA8MV2       AzureVMSize = "Standard_A8m_v2"
	AzureVMSizeStandardA8V2        AzureVMSize = "Standard_A8_v2"
	AzureVMSizeStandardA9          AzureVMSize = "Standard_A9"
	AzureVMSizeStandardD1          AzureVMSize = "Standard_D1"
	AzureVMSizeStandardD11         AzureVMSize = "Standard_D11"
	AzureVMSizeStandardD11V2       AzureVMSize = "Standard_D11_v2"
	AzureVMSizeStandardD12         AzureVMSize = "Standard_D12"
	AzureVMSizeStandardD12V2       AzureVMSize = "Standard_D12_v2"
	AzureVMSizeStandardD13         AzureVMSize = "Standard_D13"
	AzureVMSizeStandardD13V2       AzureVMSize = "Standard_D13_v2"
	AzureVMSizeStandardD14         AzureVMSize = "Standard_D14"
	AzureVMSizeStandardD14V2       AzureVMSize = "Standard_D14_v2"
	AzureVMSizeStandardD15V2       AzureVMSize = "Standard_D15_v2"
	AzureVMSizeStandardD16AV4      AzureVMSize = "Standard_D16a_v4"
	AzureVMSizeStandardD16AdsV5    AzureVMSize = "Standard_D16ads_v5"
	AzureVMSizeStandardD16AsV4     AzureVMSize = "Standard_D16as_v4"
	AzureVMSizeStandardD16AsV5     AzureVMSize = "Standard_D16as_v5"
	AzureVMSizeStandardD16DV4      AzureVMSize = "Standard_D16d_v4"
	AzureVMSizeStandardD16DV5      AzureVMSize = "Standard_D16d_v5"
	AzureVMSizeStandardD16DsV4     AzureVMSize = "Standard_D16ds_v4"
	AzureVMSizeStandardD16DsV5     AzureVMSize = "Standard_D16ds_v5"
	AzureVMSizeStandardD16SV3      AzureVMSize = "Standard_D16s_v3"
	AzureVMSizeStandardD16SV4      AzureVMSize = "Standard_D16s_v4"
	AzureVMSizeStandardD16SV5      AzureVMSize = "Standard_D16s_v5"
	AzureVMSizeStandardD16V3       AzureVMSize = "Standard_D16_v3"
	AzureVMSizeStandardD16V4       AzureVMSize = "Standard_D16_v4"
	AzureVMSizeStandardD16V5       AzureVMSize = "Standard_D16_v5"
	AzureVMSizeStandardD1V2        AzureVMSize = "Standard_D1_v2"
	AzureVMSizeStandardD2          AzureVMSize = "Standard_D2"
	AzureVMSizeStandardD2AV4       AzureVMSize = "Standard_D2a_v4"
	AzureVMSizeStandardD2AdsV5     AzureVMSize = "Standard_D2ads_v5"
	AzureVMSizeStandardD2AsV4      AzureVMSize = "Standard_D2as_v4"
	AzureVMSizeStandardD2AsV5      AzureVMSize = "Standard_D2as_v5"
	AzureVMSizeStandardD2DV4       AzureVMSize = "Standard_D2d_v4"
	AzureVMSizeStandardD2DV5       AzureVMSize = "Standard_D2d_v5"
	AzureVMSizeStandardD2DsV4      AzureVMSize = "Standard_D2ds_v4"
	AzureVMSizeStandardD2DsV5      AzureVMSize = "Standard_D2ds_v5"
	AzureVMSizeStandardD2SV3       AzureVMSize = "Standard_D2s_v3"
	AzureVMSizeStandardD2SV4       AzureVMSize = "Standard_D2s_v4"
	AzureVMSizeStandardD2SV5       AzureVMSize = "Standard_D2s_v5"
	AzureVMSizeStandardD2V2        AzureVMSize = "Standard_D2_v2"
	AzureVMSizeStandardD2V3        AzureVMSize = "Standard_D2_v3"
	AzureVMSizeStandardD2V4        AzureVMSize = "Standard_D2_v4"
	AzureVMSizeStandardD2V5        AzureVMSize = "Standard_D2_v5"
	AzureVMSizeStandardD3          AzureVMSize = "Standard_D3"
	AzureVMSizeStandardD32AV4      AzureVMSize = "Standard_D32a_v4"
	AzureVMSizeStandardD32AdsV5    AzureVMSize = "Standard_D32ads_v5"
	AzureVMSizeStandardD32AsV4     AzureVMSize = "Standard_D32as_v4"
	AzureVMSizeStandardD32AsV5     AzureVMSize = "Standard_D32as_v5"
	AzureVMSizeStandardD32DV4      AzureVMSize = "Standard_D32d_v4"
	AzureVMSizeStandardD32DV5      AzureVMSize = "Standard_D32d_v5"
	AzureVMSizeStandardD32DsV4     AzureVMSize = "Standard_D32ds_v4"
	AzureVMSizeStandardD32DsV5     AzureVMSize = "Standard_D32ds_v5"
	AzureVMSizeStandardD32SV3      AzureVMSize = "Standard_D32s_v3"
	AzureVMSizeStandardD32SV4      AzureVMSize = "Standard_D32s_v4"
	AzureVMSizeStandardD32SV5      AzureVMSize = "Standard_D32s_v5"
	AzureVMSizeStandardD32V3       AzureVMSize = "Standard_D32_v3"
	AzureVMSizeStandardD32V4       AzureVMSize = "Standard_D32_v4"
	AzureVMSizeStandardD32V5       AzureVMSize = "Standard_D32_v5"
	AzureVMSizeStandardD3V2        AzureVMSize = "Standard_D3_v2"
	AzureVMSizeStandardD4          AzureVMSize = "Standard_D4"
	AzureVMSizeStandardD48AV4      AzureVMSize = "Standard_D48a_v4"
	AzureVMSizeStandardD48AdsV5    AzureVMSize = "Standard_D48ads_v5"
	AzureVMSizeStandardD48AsV4     AzureVMSize = "Standard_D48as_v4"
	AzureVMSizeStandardD48AsV5     AzureVMSize = "Standard_D48as_v5"
	AzureVMSizeStandardD48DV4      AzureVMSize = "Standard_D48d_v4"
	AzureVMSizeStandardD48DV5      AzureVMSize = "Standard_D48d_v5"
	AzureVMSizeStandardD48DsV4     AzureVMSize = "Standard_D48ds_v4"
	AzureVMSizeStandardD48DsV5     AzureVMSize = "Standard_D48ds_v5"
	AzureVMSizeStandardD48SV4      AzureVMSize = "Standard_D48s_v4"
	AzureVMSizeStandardD48SV5      AzureVMSize = "Standard_D48s_v5"
	AzureVMSizeStandardD48V4       AzureVMSize = "Standard_D48_v4"
	AzureVMSizeStandardD48V5       AzureVMSize = "Standard_D48_v5"
	AzureVMSizeStandardD4AV4       AzureVMSize = "Standard_D4a_v4"
	AzureVMSizeStandardD4AdsV5     AzureVMSize = "Standard_D4ads_v5"
	AzureVMSizeStandardD4AsV4      AzureVMSize = "Standard_D4as_v4"
	AzureVMSizeStandardD4AsV5      AzureVMSize = "Standard_D4as_v5"
	AzureVMSizeStandardD4DV4       AzureVMSize = "Standard_D4d_v4"
	AzureVMSizeStandardD4DV5       AzureVMSize = "Standard_D4d_v5"
	AzureVMSizeStandardD4DsV4      AzureVMSize = "Standard_D4ds_v4"
	AzureVMSizeStandardD4DsV5      AzureVMSize = "Standard_D4ds_v5"
	AzureVMSizeStandardD4SV3       AzureVMSize = "Standard_D4s_v3"
	AzureVMSizeStandardD4SV4       AzureVMSize = "Standard_D4s_v4"
	AzureVMSizeStandardD4SV5       AzureVMSize = "Standard_D4s_v5"
	AzureVMSizeStandardD4V2        AzureVMSize = "Standard_D4_v2"
	AzureVMSizeStandardD4V3        AzureVMSize = "Standard_D4_v3"
	AzureVMSizeStandardD4V4        AzureVMSize = "Standard_D4_v4"
	AzureVMSizeStandardD4V5        AzureVMSize = "Standard_D4_v5"
	AzureVMSizeStandardD5V2        AzureVMSize = "Standard_D5_v2"
	AzureVMSizeStandardD64AV4      AzureVMSize = "Standard_D64a_v4"
	AzureVMSizeStandardD64AdsV5    AzureVMSize = "Standard_D64ads_v5"
	AzureVMSizeStandardD64AsV4     AzureVMSize = "Standard_D64as_v4"
	AzureVMSizeStandardD64AsV5     AzureVMSize = "Standard_D64as_v5"
	AzureVMSizeStandardD64DV4      AzureVMSize = "Standard_D64d_v4"
	AzureVMSizeStandardD64DV5      AzureVMSize = "Standard_D64d_v5"
	AzureVMSizeStandardD64DsV4     AzureVMSize = "Standard_D64ds_v4"
	AzureVMSizeStandardD64DsV5     AzureVMSize = "Standard_D64ds_v5"
	AzureVMSizeStandardD64SV3      AzureVMSize = "Standard_D64s_v3"
	AzureVMSizeStandardD64SV4      AzureVMSize = "Standard_D64s_v4"
	AzureVMSizeStandardD64SV5      AzureVMSize = "Standard_D64s_v5"
	AzureVMSizeStandardD64V3       AzureVMSize = "Standard_D64_v3"
	AzureVMSizeStandardD64V4       AzureVMSize = "Standard_D64_v4"
	AzureVMSizeStandardD64V5       AzureVMSize = "Standard_D64_v5"
	AzureVMSizeStandardD8AV4       AzureVMSize = "Standard_D8a_v4"
	AzureVMSizeStandardD8AdsV5     AzureVMSize = "Standard_D8ads_v5"
	AzureVMSizeStandardD8AsV4      AzureVMSize = "Standard_D8as_v4"
	AzureVMSizeStandardD8AsV5      AzureVMSize = "Standard_D8as_v5"
	AzureVMSizeStandardD8DV4       AzureVMSize = "Standard_D8d_v4"
	AzureVMSizeStandardD8DV5       AzureVMSize = "Standard_D8d_v5"
	AzureVMSizeStandardD8DsV4      AzureVMSize = "Standard_D8ds_v4"
	AzureVMSizeStandardD8DsV5      AzureVMSize = "Standard_D8ds_v5"
	AzureVMSizeStandardD8SV3       AzureVMSize = "Standard_D8s_v3"
	AzureVMSizeStandardD8SV4       AzureVMSize = "Standard_D8s_v4"
	AzureVMSizeStandardD8SV5       AzureVMSize = "Standard_D8s_v5"
	AzureVMSizeStandardD8V3        AzureVMSize = "Standard_D8_v3"
	AzureVMSizeStandardD8V4        AzureVMSize = "Standard_D8_v4"
	AzureVMSizeStandardD8V5        AzureVMSize = "Standard_D8_v5"
	AzureVMSizeStandardD96AV4      AzureVMSize = "Standard_D96a_v4"
	AzureVMSizeStandardD96AdsV5    AzureVMSize = "Standard_D96ads_v5"
	AzureVMSizeStandardD96AsV4     AzureVMSize = "Standard_D96as_v4"
	AzureVMSizeStandardD96AsV5     AzureVMSize = "Standard_D96as_v5"
	AzureVMSizeStandardD96DV5      AzureVMSize = "Standard_D96d_v5"
	AzureVMSizeStandardD96DsV5     AzureVMSize = "Standard_D96ds_v5"
	AzureVMSizeStandardD96SV5      AzureVMSize = "Standard_D96s_v5"
	AzureVMSizeStandardD96V5       AzureVMSize = "Standard_D96_v5"
	AzureVMSizeStandardDC2S        AzureVMSize = "Standard_DC2s"
	AzureVMSizeStandardDC4S        AzureVMSize = "Standard_DC4s"
	AzureVMSizeStandardDS1         AzureVMSize = "Standard_DS1"
	AzureVMSizeStandardDS11        AzureVMSize = "Standard_DS11"
	AzureVMSizeStandardDS111V2     AzureVMSize = "Standard_DS11_1_v2"
	AzureVMSizeStandardDS11V2      AzureVMSize = "Standard_DS11_v2"
	AzureVMSizeStandardDS12        AzureVMSize = "Standard_DS12"
	AzureVMSizeStandardDS121V2     AzureVMSize = "Standard_DS12_1_v2"
	AzureVMSizeStandardDS122V2     AzureVMSize = "Standard_DS12_2_v2"
	AzureVMSizeStandardDS12V2      AzureVMSize = "Standard_DS12_v2"
	AzureVMSizeStandardDS13        AzureVMSize = "Standard_DS13"
	AzureVMSizeStandardDS132V2     AzureVMSize = "Standard_DS13_2_v2"
	AzureVMSizeStandardDS134V2     AzureVMSize = "Standard_DS13_4_v2"
	AzureVMSizeStandardDS13V2      AzureVMSize = "Standard_DS13_v2"
	AzureVMSizeStandardDS14        AzureVMSize = "Standard_DS14"
	AzureVMSizeStandardDS144V2     AzureVMSize = "Standard_DS14_4_v2"
	AzureVMSizeStandardDS148V2     AzureVMSize = "Standard_DS14_8_v2"
	AzureVMSizeStandardDS14V2      AzureVMSize = "Standard_DS14_v2"
	AzureVMSizeStandardDS15V2      AzureVMSize = "Standard_DS15_v2"
	AzureVMSizeStandardDS1V2       AzureVMSize = "Standard_DS1_v2"
	AzureVMSizeStandardDS2         AzureVMSize = "Standard_DS2"
	AzureVMSizeStandardDS2V2       AzureVMSize = "Standard_DS2_v2"
	AzureVMSizeStandardDS3         AzureVMSize = "Standard_DS3"
	AzureVMSizeStandardDS3V2       AzureVMSize = "Standard_DS3_v2"
	AzureVMSizeStandardDS4         AzureVMSize = "Standard_DS4"
	AzureVMSizeStandardDS4V2       AzureVMSize = "Standard_DS4_v2"
	AzureVMSizeStandardDS5V2       AzureVMSize = "Standard_DS5_v2"
	AzureVMSizeStandardE104IDV5    AzureVMSize = "Standard_E104id_v5"
	AzureVMSizeStandardE104IDsV5   AzureVMSize = "Standard_E104ids_v5"
	AzureVMSizeStandardE104IV5     AzureVMSize = "Standard_E104i_v5"
	AzureVMSizeStandardE104IsV5    AzureVMSize = "Standard_E104is_v5"
	AzureVMSizeStandardE164AdsV5   AzureVMSize = "Standard_E16_4ads_v5"
	AzureVMSizeStandardE164AsV4    AzureVMSize = "Standard_E16_4as_v4"
	AzureVMSizeStandardE164AsV5    AzureVMSize = "Standard_E16_4as_v5"
	AzureVMSizeStandardE164DsV4    AzureVMSize = "Standard_E16_4ds_v4"
	AzureVMSizeStandardE164DsV5    AzureVMSize = "Standard_E16_4ds_v5"
	AzureVMSizeStandardE164SV3     AzureVMSize = "Standard_E16_4s_v3"
	AzureVMSizeStandardE164SV4     AzureVMSize = "Standard_E16_4s_v4"
	AzureVMSizeStandardE164SV5     AzureVMSize = "Standard_E16_4s_v5"
	AzureVMSizeStandardE168AdsV5   AzureVMSize = "Standard_E16_8ads_v5"
	AzureVMSizeStandardE168AsV4    AzureVMSize = "Standard_E16_8as_v4"
	AzureVMSizeStandardE168AsV5    AzureVMSize = "Standard_E16_8as_v5"
	AzureVMSizeStandardE168DsV4    AzureVMSize = "Standard_E16_8ds_v4"
	AzureVMSizeStandardE168DsV5    AzureVMSize = "Standard_E16_8ds_v5"
	AzureVMSizeStandardE168SV3     AzureVMSize = "Standard_E16_8s_v3"
	AzureVMSizeStandardE168SV4     AzureVMSize = "Standard_E16_8s_v4"
	AzureVMSizeStandardE168SV5     AzureVMSize = "Standard_E16_8s_v5"
	AzureVMSizeStandardE16AV4      AzureVMSize = "Standard_E16a_v4"
	AzureVMSizeStandardE16AdsV5    AzureVMSize = "Standard_E16ads_v5"
	AzureVMSizeStandardE16AsV4     AzureVMSize = "Standard_E16as_v4"
	AzureVMSizeStandardE16AsV5     AzureVMSize = "Standard_E16as_v5"
	AzureVMSizeStandardE16BdsV5    AzureVMSize = "Standard_E16bds_v5"
	AzureVMSizeStandardE16BsV5     AzureVMSize = "Standard_E16bs_v5"
	AzureVMSizeStandardE16DV4      AzureVMSize = "Standard_E16d_v4"
	AzureVMSizeStandardE16DV5      AzureVMSize = "Standard_E16d_v5"
	AzureVMSizeStandardE16DsV4     AzureVMSize = "Standard_E16ds_v4"
	AzureVMSizeStandardE16DsV5     AzureVMSize = "Standard_E16ds_v5"
	AzureVMSizeStandardE16SV3      AzureVMSize = "Standard_E16s_v3"
	AzureVMSizeStandardE16SV4      AzureVMSize = "Standard_E16s_v4"
	AzureVMSizeStandardE16SV5      AzureVMSize = "Standard_E16s_v5"
	AzureVMSizeStandardE16V3       AzureVMSize = "Standard_E16_v3"
	AzureVMSizeStandardE16V4       AzureVMSize = "Standard_E16_v4"
	AzureVMSizeStandardE16V5       AzureVMSize = "Standard_E16_v5"
	AzureVMSizeStandardE20AV4      AzureVMSize = "Standard_E20a_v4"
	AzureVMSizeStandardE20AdsV5    AzureVMSize = "Standard_E20ads_v5"
	AzureVMSizeStandardE20AsV4     AzureVMSize = "Standard_E20as_v4"
	AzureVMSizeStandardE20AsV5     AzureVMSize = "Standard_E20as_v5"
	AzureVMSizeStandardE20DV4      AzureVMSize = "Standard_E20d_v4"
	AzureVMSizeStandardE20DV5      AzureVMSize = "Standard_E20d_v5"
	AzureVMSizeStandardE20DsV4     AzureVMSize = "Standard_E20ds_v4"
	AzureVMSizeStandardE20DsV5     AzureVMSize = "Standard_E20ds_v5"
	AzureVMSizeStandardE20SV3      AzureVMSize = "Standard_E20s_v3"
	AzureVMSizeStandardE20SV4      AzureVMSize = "Standard_E20s_v4"
	AzureVMSizeStandardE20SV5      AzureVMSize = "Standard_E20s_v5"
	AzureVMSizeStandardE20V3       AzureVMSize = "Standard_E20_v3"
	AzureVMSizeStandardE20V4       AzureVMSize = "Standard_E20_v4"
	AzureVMSizeStandardE20V5       AzureVMSize = "Standard_E20_v5"
	AzureVMSizeStandardE2AV4       AzureVMSize = "Standard_E2a_v4"
	AzureVMSizeStandardE2AdsV5     AzureVMSize = "Standard_E2ads_v5"
	AzureVMSizeStandardE2AsV4      AzureVMSize = "Standard_E2as_v4"
	AzureVMSizeStandardE2AsV5      AzureVMSize = "Standard_E2as_v5"
	AzureVMSizeStandardE2BdsV5     AzureVMSize = "Standard_E2bds_v5"
	AzureVMSizeStandardE2BsV5      AzureVMSize = "Standard_E2bs_v5"
	AzureVMSizeStandardE2DV4       AzureVMSize = "Standard_E2d_v4"
	AzureVMSizeStandardE2DV5       AzureVMSize = "Standard_E2d_v5"
	AzureVMSizeStandardE2DsV4      AzureVMSize = "Standard_E2ds_v4"
	AzureVMSizeStandardE2DsV5      AzureVMSize = "Standard_E2ds_v5"
	AzureVMSizeStandardE2SV3       AzureVMSize = "Standard_E2s_v3"
	AzureVMSizeStandardE2SV4       AzureVMSize = "Standard_E2s_v4"
	AzureVMSizeStandardE2SV5       AzureVMSize = "Standard_E2s_v5"
	AzureVMSizeStandardE2V3        AzureVMSize = "Standard_E2_v3"
	AzureVMSizeStandardE2V4        AzureVMSize = "Standard_E2_v4"
	AzureVMSizeStandardE2V5        AzureVMSize = "Standard_E2_v5"
	AzureVMSizeStandardE3216AdsV5  AzureVMSize = "Standard_E32_16ads_v5"
	AzureVMSizeStandardE3216AsV4   AzureVMSize = "Standard_E32_16as_v4"
	AzureVMSizeStandardE3216AsV5   AzureVMSize = "Standard_E32_16as_v5"
	AzureVMSizeStandardE3216DsV4   AzureVMSize = "Standard_E32_16ds_v4"
	AzureVMSizeStandardE3216DsV5   AzureVMSize = "Standard_E32_16ds_v5"
	AzureVMSizeStandardE3216SV3    AzureVMSize = "Standard_E32_16s_v3"
	AzureVMSizeStandardE3216SV4    AzureVMSize = "Standard_E32_16s_v4"
	AzureVMSizeStandardE3216SV5    AzureVMSize = "Standard_E32_16s_v5"
	AzureVMSizeStandardE328AdsV5   AzureVMSize = "Standard_E32_8ads_v5"
	AzureVMSizeStandardE328AsV4    AzureVMSize = "Standard_E32_8as_v4"
	AzureVMSizeStandardE328AsV5    AzureVMSize = "Standard_E32_8as_v5"
	AzureVMSizeStandardE328DsV4    AzureVMSize = "Standard_E32_8ds_v4"
	AzureVMSizeStandardE328DsV5    AzureVMSize = "Standard_E32_8ds_v5"
	AzureVMSizeStandardE328SV3     AzureVMSize = "Standard_E32_8s_v3"
	AzureVMSizeStandardE328SV4     AzureVMSize = "Standard_E32_8s_v4"
	AzureVMSizeStandardE328SV5     AzureVMSize = "Standard_E32_8s_v5"
	AzureVMSizeStandardE32AV4      AzureVMSize = "Standard_E32a_v4"
	AzureVMSizeStandardE32AdsV5    AzureVMSize = "Standard_E32ads_v5"
	AzureVMSizeStandardE32AsV4     AzureVMSize = "Standard_E32as_v4"
	AzureVMSizeStandardE32AsV5     AzureVMSize = "Standard_E32as_v5"
	AzureVMSizeStandardE32BdsV5    AzureVMSize = "Standard_E32bds_v5"
	AzureVMSizeStandardE32BsV5     AzureVMSize = "Standard_E32bs_v5"
	AzureVMSizeStandardE32DV4      AzureVMSize = "Standard_E32d_v4"
	AzureVMSizeStandardE32DV5      AzureVMSize = "Standard_E32d_v5"
	AzureVMSizeStandardE32DsV4     AzureVMSize = "Standard_E32ds_v4"
	AzureVMSizeStandardE32DsV5     AzureVMSize = "Standard_E32ds_v5"
	AzureVMSizeStandardE32SV3      AzureVMSize = "Standard_E32s_v3"
	AzureVMSizeStandardE32SV4      AzureVMSize = "Standard_E32s_v4"
	AzureVMSizeStandardE32SV5      AzureVMSize = "Standard_E32s_v5"
	AzureVMSizeStandardE32V3       AzureVMSize = "Standard_E32_v3"
	AzureVMSizeStandardE32V4       AzureVMSize = "Standard_E32_v4"
	AzureVMSizeStandardE32V5       AzureVMSize = "Standard_E32_v5"
	AzureVMSizeStandardE42AdsV5    AzureVMSize = "Standard_E4_2ads_v5"
	AzureVMSizeStandardE42AsV4     AzureVMSize = "Standard_E4_2as_v4"
	AzureVMSizeStandardE42AsV5     AzureVMSize = "Standard_E4_2as_v5"
	AzureVMSizeStandardE42DsV4     AzureVMSize = "Standard_E4_2ds_v4"
	AzureVMSizeStandardE42DsV5     AzureVMSize = "Standard_E4_2ds_v5"
	AzureVMSizeStandardE42SV3      AzureVMSize = "Standard_E4_2s_v3"
	AzureVMSizeStandardE42SV4      AzureVMSize = "Standard_E4_2s_v4"
	AzureVMSizeStandardE42SV5      AzureVMSize = "Standard_E4_2s_v5"
	AzureVMSizeStandardE48AV4      AzureVMSize = "Standard_E48a_v4"
	AzureVMSizeStandardE48AdsV5    AzureVMSize = "Standard_E48ads_v5"
	AzureVMSizeStandardE48AsV4     AzureVMSize = "Standard_E48as_v4"
	AzureVMSizeStandardE48AsV5     AzureVMSize = "Standard_E48as_v5"
	AzureVMSizeStandardE48BdsV5    AzureVMSize = "Standard_E48bds_v5"
	AzureVMSizeStandardE48BsV5     AzureVMSize = "Standard_E48bs_v5"
	AzureVMSizeStandardE48DV4      AzureVMSize = "Standard_E48d_v4"
	AzureVMSizeStandardE48DV5      AzureVMSize = "Standard_E48d_v5"
	AzureVMSizeStandardE48DsV4     AzureVMSize = "Standard_E48ds_v4"
	AzureVMSizeStandardE48DsV5     AzureVMSize = "Standard_E48ds_v5"
	AzureVMSizeStandardE48SV3      AzureVMSize = "Standard_E48s_v3"
	AzureVMSizeStandardE48SV4      AzureVMSize = "Standard_E48s_v4"
	AzureVMSizeStandardE48SV5      AzureVMSize = "Standard_E48s_v5"
	AzureVMSizeStandardE48V3       AzureVMSize = "Standard_E48_v3"
	AzureVMSizeStandardE48V4       AzureVMSize = "Standard_E48_v4"
	AzureVMSizeStandardE48V5       AzureVMSize = "Standard_E48_v5"
	AzureVMSizeStandardE4AV4       AzureVMSize = "Standard_E4a_v4"
	AzureVMSizeStandardE4AdsV5     AzureVMSize = "Standard_E4ads_v5"
	AzureVMSizeStandardE4AsV4      AzureVMSize = "Standard_E4as_v4"
	AzureVMSizeStandardE4AsV5      AzureVMSize = "Standard_E4as_v5"
	AzureVMSizeStandardE4BdsV5     AzureVMSize = "Standard_E4bds_v5"
	AzureVMSizeStandardE4BsV5      AzureVMSize = "Standard_E4bs_v5"
	AzureVMSizeStandardE4DV4       AzureVMSize = "Standard_E4d_v4"
	AzureVMSizeStandardE4DV5       AzureVMSize = "Standard_E4d_v5"
	AzureVMSizeStandardE4DsV4      AzureVMSize = "Standard_E4ds_v4"
	AzureVMSizeStandardE4DsV5      AzureVMSize = "Standard_E4ds_v5"
	AzureVMSizeStandardE4SV3       AzureVMSize = "Standard_E4s_v3"
	AzureVMSizeStandardE4SV4       AzureVMSize = "Standard_E4s_v4"
	AzureVMSizeStandardE4SV5       AzureVMSize = "Standard_E4s_v5"
	AzureVMSizeStandardE4V3        AzureVMSize = "Standard_E4_v3"
	AzureVMSizeStandardE4V4        AzureVMSize = "Standard_E4_v4"
	AzureVMSizeStandardE4V5        AzureVMSize = "Standard_E4_v5"
	AzureVMSizeStandardE6416AdsV5  AzureVMSize = "Standard_E64_16ads_v5"
	AzureVMSizeStandardE6416AsV4   AzureVMSize = "Standard_E64_16as_v4"
	AzureVMSizeStandardE6416AsV5   AzureVMSize = "Standard_E64_16as_v5"
	AzureVMSizeStandardE6416DsV4   AzureVMSize = "Standard_E64_16ds_v4"
	AzureVMSizeStandardE6416DsV5   AzureVMSize = "Standard_E64_16ds_v5"
	AzureVMSizeStandardE6416SV3    AzureVMSize = "Standard_E64_16s_v3"
	AzureVMSizeStandardE6416SV4    AzureVMSize = "Standard_E64_16s_v4"
	AzureVMSizeStandardE6416SV5    AzureVMSize = "Standard_E64_16s_v5"
	AzureVMSizeStandardE6432AdsV5  AzureVMSize = "Standard_E64_32ads_v5"
	AzureVMSizeStandardE6432AsV4   AzureVMSize = "Standard_E64_32as_v4"
	AzureVMSizeStandardE6432AsV5   AzureVMSize = "Standard_E64_32as_v5"
	AzureVMSizeStandardE6432DsV4   AzureVMSize = "Standard_E64_32ds_v4"
	AzureVMSizeStandardE6432DsV5   AzureVMSize = "Standard_E64_32ds_v5"
	AzureVMSizeStandardE6432SV3    AzureVMSize = "Standard_E64_32s_v3"
	AzureVMSizeStandardE6432SV4    AzureVMSize = "Standard_E64_32s_v4"
	AzureVMSizeStandardE6432SV5    AzureVMSize = "Standard_E64_32s_v5"
	AzureVMSizeStandardE64AV4      AzureVMSize = "Standard_E64a_v4"
	AzureVMSizeStandardE64AdsV5    AzureVMSize = "Standard_E64ads_v5"
	AzureVMSizeStandardE64AsV4     AzureVMSize = "Standard_E64as_v4"
	AzureVMSizeStandardE64AsV5     AzureVMSize = "Standard_E64as_v5"
	AzureVMSizeStandardE64BdsV5    AzureVMSize = "Standard_E64bds_v5"
	AzureVMSizeStandardE64BsV5     AzureVMSize = "Standard_E64bs_v5"
	AzureVMSizeStandardE64DV4      AzureVMSize = "Standard_E64d_v4"
	AzureVMSizeStandardE64DV5      AzureVMSize = "Standard_E64d_v5"
	AzureVMSizeStandardE64DsV4     AzureVMSize = "Standard_E64ds_v4"
	AzureVMSizeStandardE64DsV5     AzureVMSize = "Standard_E64ds_v5"
	AzureVMSizeStandardE64IV3      AzureVMSize = "Standard_E64i_v3"
	AzureVMSizeStandardE64IsV3     AzureVMSize = "Standard_E64is_v3"
	AzureVMSizeStandardE64SV3      AzureVMSize = "Standard_E64s_v3"
	AzureVMSizeStandardE64SV4      AzureVMSize = "Standard_E64s_v4"
	AzureVMSizeStandardE64SV5      AzureVMSize = "Standard_E64s_v5"
	AzureVMSizeStandardE64V3       AzureVMSize = "Standard_E64_v3"
	AzureVMSizeStandardE64V4       AzureVMSize = "Standard_E64_v4"
	AzureVMSizeStandardE64V5       AzureVMSize = "Standard_E64_v5"
	AzureVMSizeStandardE80IDsV4    AzureVMSize = "Standard_E80ids_v4"
	AzureVMSizeStandardE80IsV4     AzureVMSize = "Standard_E80is_v4"
	AzureVMSizeStandardE82AdsV5    AzureVMSize = "Standard_E8_2ads_v5"
	AzureVMSizeStandardE82AsV4     AzureVMSize = "Standard_E8_2as_v4"
	AzureVMSizeStandardE82AsV5     AzureVMSize = "Standard_E8_2as_v5"
	AzureVMSizeStandardE82DsV4     AzureVMSize = "Standard_E8_2ds_v4"
	AzureVMSizeStandardE82DsV5     AzureVMSize = "Standard_E8_2ds_v5"
	AzureVMSizeStandardE82SV3      AzureVMSize = "Standard_E8_2s_v3"
	AzureVMSizeStandardE82SV4      AzureVMSize = "Standard_E8_2s_v4"
	AzureVMSizeStandardE82SV5      AzureVMSize = "Standard_E8_2s_v5"
	AzureVMSizeStandardE84AdsV5    AzureVMSize = "Standard_E8_4ads_v5"
	AzureVMSizeStandardE84AsV4     AzureVMSize = "Standard_E8_4as_v4"
	AzureVMSizeStandardE84AsV5     AzureVMSize = "Standard_E8_4as_v5"
	AzureVMSizeStandardE84DsV4     AzureVMSize = "Standard_E8_4ds_v4"
	AzureVMSizeStandardE84DsV5     AzureVMSize = "Standard_E8_4ds_v5"
	AzureVMSizeStandardE84SV3      AzureVMSize = "Standard_E8_4s_v3"
	AzureVMSizeStandardE84SV4      AzureVMSize = "Standard_E8_4s_v4"
	AzureVMSizeStandardE84SV5      AzureVMSize = "Standard_E8_4s_v5"
	AzureVMSizeStandardE8AV4       AzureVMSize = "Standard_E8a_v4"
	AzureVMSizeStandardE8AdsV5     AzureVMSize = "Standard_E8ads_v5"
	AzureVMSizeStandardE8AsV4      AzureVMSize = "Standard_E8as_v4"
	AzureVMSizeStandardE8AsV5      AzureVMSize = "Standard_E8as_v5"
	AzureVMSizeStandardE8BdsV5     AzureVMSize = "Standard_E8bds_v5"
	AzureVMSizeStandardE8BsV5      AzureVMSize = "Standard_E8bs_v5"
	AzureVMSizeStandardE8DV4       AzureVMSize = "Standard_E8d_v4"
	AzureVMSizeStandardE8DV5       AzureVMSize = "Standard_E8d_v5"
	AzureVMSizeStandardE8DsV4      AzureVMSize = "Standard_E8ds_v4"
	AzureVMSizeStandardE8DsV5      AzureVMSize = "Standard_E8ds_v5"
	AzureVMSizeStandardE8SV3       AzureVMSize = "Standard_E8s_v3"
	AzureVMSizeStandardE8SV4       AzureVMSize = "Standard_E8s_v4"
	AzureVMSizeStandardE8SV5       AzureVMSize = "Standard_E8s_v5"
	AzureVMSizeStandardE8V3        AzureVMSize = "Standard_E8_v3"
	AzureVMSizeStandardE8V4        AzureVMSize = "Standard_E8_v4"
	AzureVMSizeStandardE8V5        AzureVMSize = "Standard_E8_v5"
	AzureVMSizeStandardE9624AdsV5  AzureVMSize = "Standard_E96_24ads_v5"
	AzureVMSizeStandardE9624AsV4   AzureVMSize = "Standard_E96_24as_v4"
	AzureVMSizeStandardE9624AsV5   AzureVMSize = "Standard_E96_24as_v5"
	AzureVMSizeStandardE9624DsV5   AzureVMSize = "Standard_E96_24ds_v5"
	AzureVMSizeStandardE9624SV5    AzureVMSize = "Standard_E96_24s_v5"
	AzureVMSizeStandardE9648AdsV5  AzureVMSize = "Standard_E96_48ads_v5"
	AzureVMSizeStandardE9648AsV4   AzureVMSize = "Standard_E96_48as_v4"
	AzureVMSizeStandardE9648AsV5   AzureVMSize = "Standard_E96_48as_v5"
	AzureVMSizeStandardE9648DsV5   AzureVMSize = "Standard_E96_48ds_v5"
	AzureVMSizeStandardE9648SV5    AzureVMSize = "Standard_E96_48s_v5"
	AzureVMSizeStandardE96AV4      AzureVMSize = "Standard_E96a_v4"
	AzureVMSizeStandardE96AdsV5    AzureVMSize = "Standard_E96ads_v5"
	AzureVMSizeStandardE96AsV4     AzureVMSize = "Standard_E96as_v4"
	AzureVMSizeStandardE96AsV5     AzureVMSize = "Standard_E96as_v5"
	AzureVMSizeStandardE96DV5      AzureVMSize = "Standard_E96d_v5"
	AzureVMSizeStandardE96DsV5     AzureVMSize = "Standard_E96ds_v5"
	AzureVMSizeStandardE96SV5      AzureVMSize = "Standard_E96s_v5"
	AzureVMSizeStandardE96V5       AzureVMSize = "Standard_E96_v5"
	AzureVMSizeStandardF1          AzureVMSize = "Standard_F1"
	AzureVMSizeStandardF16         AzureVMSize = "Standard_F16"
	AzureVMSizeStandardF16S        AzureVMSize = "Standard_F16s"
	AzureVMSizeStandardF16SV2      AzureVMSize = "Standard_F16s_v2"
	AzureVMSizeStandardF1S         AzureVMSize = "Standard_F1s"
	AzureVMSizeStandardF2          AzureVMSize = "Standard_F2"
	AzureVMSizeStandardF2S         AzureVMSize = "Standard_F2s"
	AzureVMSizeStandardF2SV2       AzureVMSize = "Standard_F2s_v2"
	AzureVMSizeStandardF32SV2      AzureVMSize = "Standard_F32s_v2"
	AzureVMSizeStandardF4          AzureVMSize = "Standard_F4"
	AzureVMSizeStandardF48SV2      AzureVMSize = "Standard_F48s_v2"
	AzureVMSizeStandardF4S         AzureVMSize = "Standard_F4s"
	AzureVMSizeStandardF4SV2       AzureVMSize = "Standard_F4s_v2"
	AzureVMSizeStandardF64SV2      AzureVMSize = "Standard_F64s_v2"
	AzureVMSizeStandardF72SV2      AzureVMSize = "Standard_F72s_v2"
	AzureVMSizeStandardF8          AzureVMSize = "Standard_F8"
	AzureVMSizeStandardF8S         AzureVMSize = "Standard_F8s"
	AzureVMSizeStandardF8SV2       AzureVMSize = "Standard_F8s_v2"
	AzureVMSizeStandardG1          AzureVMSize = "Standard_G1"
	AzureVMSizeStandardG2          AzureVMSize = "Standard_G2"
	AzureVMSizeStandardG3          AzureVMSize = "Standard_G3"
	AzureVMSizeStandardG4          AzureVMSize = "Standard_G4"
	AzureVMSizeStandardG5          AzureVMSize = "Standard_G5"
	AzureVMSizeStandardGS1         AzureVMSize = "Standard_GS1"
	AzureVMSizeStandardGS2         AzureVMSize = "Standard_GS2"
	AzureVMSizeStandardGS3         AzureVMSize = "Standard_GS3"
	AzureVMSizeStandardGS4         AzureVMSize = "Standard_GS4"
	AzureVMSizeStandardGS44        AzureVMSize = "Standard_GS4_4"
	AzureVMSizeStandardGS48        AzureVMSize = "Standard_GS4_8"
	AzureVMSizeStandardGS5         AzureVMSize = "Standard_GS5"
	AzureVMSizeStandardGS516       AzureVMSize = "Standard_GS5_16"
	AzureVMSizeStandardGS58        AzureVMSize = "Standard_GS5_8"
	AzureVMSizeStandardH16         AzureVMSize = "Standard_H16"
	AzureVMSizeStandardH16M        AzureVMSize = "Standard_H16m"
	AzureVMSizeStandardH16Mr       AzureVMSize = "Standard_H16mr"
	AzureVMSizeStandardH16R        AzureVMSize = "Standard_H16r"
	AzureVMSizeStandardH8          AzureVMSize = "Standard_H8"
	AzureVMSizeStandardH8M         AzureVMSize = "Standard_H8m"
	AzureVMSizeStandardL16S        AzureVMSize = "Standard_L16s"
	AzureVMSizeStandardL16SV2      AzureVMSize = "Standard_L16s_v2"
	AzureVMSizeStandardL32S        AzureVMSize = "Standard_L32s"
	AzureVMSizeStandardL32SV2      AzureVMSize = "Standard_L32s_v2"
	AzureVMSizeStandardL48SV2      AzureVMSize = "Standard_L48s_v2"
	AzureVMSizeStandardL4S         AzureVMSize = "Standard_L4s"
	AzureVMSizeStandardL64SV2      AzureVMSize = "Standard_L64s_v2"
	AzureVMSizeStandardL80SV2      AzureVMSize = "Standard_L80s_v2"
	AzureVMSizeStandardL8S         AzureVMSize = "Standard_L8s"
	AzureVMSizeStandardL8SV2       AzureVMSize = "Standard_L8s_v2"
	AzureVMSizeStandardM128        AzureVMSize = "Standard_M128"
	AzureVMSizeStandardM12832Ms    AzureVMSize = "Standard_M128_32ms"
	AzureVMSizeStandardM12864Ms    AzureVMSize = "Standard_M128_64ms"
	AzureVMSizeStandardM128DmsV2   AzureVMSize = "Standard_M128dms_v2"
	AzureVMSizeStandardM128DsV2    AzureVMSize = "Standard_M128ds_v2"
	AzureVMSizeStandardM128M       AzureVMSize = "Standard_M128m"
	AzureVMSizeStandardM128Ms      AzureVMSize = "Standard_M128ms"
	AzureVMSizeStandardM128MsV2    AzureVMSize = "Standard_M128ms_v2"
	AzureVMSizeStandardM128S       AzureVMSize = "Standard_M128s"
	AzureVMSizeStandardM128SV2     AzureVMSize = "Standard_M128s_v2"
	AzureVMSizeStandardM164Ms      AzureVMSize = "Standard_M16_4ms"
	AzureVMSizeStandardM168Ms      AzureVMSize = "Standard_M16_8ms"
	AzureVMSizeStandardM16Ms       AzureVMSize = "Standard_M16ms"
	AzureVMSizeStandardM192IDsV2   AzureVMSize = "Standard_M192ids_v2"
	AzureVMSizeStandardM192IdmsV2  AzureVMSize = "Standard_M192idms_v2"
	AzureVMSizeStandardM192ImsV2   AzureVMSize = "Standard_M192ims_v2"
	AzureVMSizeStandardM192IsV2    AzureVMSize = "Standard_M192is_v2"
	AzureVMSizeStandardM208MsV2    AzureVMSize = "Standard_M208ms_v2"
	AzureVMSizeStandardM208SV2     AzureVMSize = "Standard_M208s_v2"
	AzureVMSizeStandardM3216Ms     AzureVMSize = "Standard_M32_16ms"
	AzureVMSizeStandardM328Ms      AzureVMSize = "Standard_M32_8ms"
	AzureVMSizeStandardM32DmsV2    AzureVMSize = "Standard_M32dms_v2"
	AzureVMSizeStandardM32Ls       AzureVMSize = "Standard_M32ls"
	AzureVMSizeStandardM32Ms       AzureVMSize = "Standard_M32ms"
	AzureVMSizeStandardM32MsV2     AzureVMSize = "Standard_M32ms_v2"
	AzureVMSizeStandardM32Ts       AzureVMSize = "Standard_M32ts"
	AzureVMSizeStandardM416208MsV2 AzureVMSize = "Standard_M416_208ms_v2"
	AzureVMSizeStandardM416208SV2  AzureVMSize = "Standard_M416_208s_v2"
	AzureVMSizeStandardM416MsV2    AzureVMSize = "Standard_M416ms_v2"
	AzureVMSizeStandardM416SV2     AzureVMSize = "Standard_M416s_v2"
	AzureVMSizeStandardM64         AzureVMSize = "Standard_M64"
	AzureVMSizeStandardM6416Ms     AzureVMSize = "Standard_M64_16ms"
	AzureVMSizeStandardM6432Ms     AzureVMSize = "Standard_M64_32ms"
	AzureVMSizeStandardM64DmsV2    AzureVMSize = "Standard_M64dms_v2"
	AzureVMSizeStandardM64DsV2     AzureVMSize = "Standard_M64ds_v2"
	AzureVMSizeStandardM64Ls       AzureVMSize = "Standard_M64ls"
	AzureVMSizeStandardM64M        AzureVMSize = "Standard_M64m"
	AzureVMSizeStandardM64Ms       AzureVMSize = "Standard_M64ms"
	AzureVMSizeStandardM64MsV2     AzureVMSize = "Standard_M64ms_v2"
	AzureVMSizeStandardM64S        AzureVMSize = "Standard_M64s"
	AzureVMSizeStandardM64SV2      AzureVMSize = "Standard_M64s_v2"
	AzureVMSizeStandardM82Ms       AzureVMSize = "Standard_M8_2ms"
	AzureVMSizeStandardM84Ms       AzureVMSize = "Standard_M8_4ms"
	AzureVMSizeStandardM8Ms        AzureVMSize = "Standard_M8ms"
	AzureVMSizeUnknown             AzureVMSize = "Unknown"
)

func PossibleAzureVMSizeValues

func PossibleAzureVMSizeValues() []AzureVMSize

PossibleAzureVMSizeValues returns the possible values for the AzureVMSize const type.

type AzureVMSuitabilityDetail

type AzureVMSuitabilityDetail string
const (
	AzureVMSuitabilityDetailCannotReportBandwidthCosts            AzureVMSuitabilityDetail = "CannotReportBandwidthCosts"
	AzureVMSuitabilityDetailCannotReportComputeCost               AzureVMSuitabilityDetail = "CannotReportComputeCost"
	AzureVMSuitabilityDetailCannotReportStorageCost               AzureVMSuitabilityDetail = "CannotReportStorageCost"
	AzureVMSuitabilityDetailNone                                  AzureVMSuitabilityDetail = "None"
	AzureVMSuitabilityDetailPercentageOfCoresUtilizedMissing      AzureVMSuitabilityDetail = "PercentageOfCoresUtilizedMissing"
	AzureVMSuitabilityDetailPercentageOfCoresUtilizedOutOfRange   AzureVMSuitabilityDetail = "PercentageOfCoresUtilizedOutOfRange"
	AzureVMSuitabilityDetailPercentageOfMemoryUtilizedMissing     AzureVMSuitabilityDetail = "PercentageOfMemoryUtilizedMissing"
	AzureVMSuitabilityDetailPercentageOfMemoryUtilizedOutOfRange  AzureVMSuitabilityDetail = "PercentageOfMemoryUtilizedOutOfRange"
	AzureVMSuitabilityDetailRecommendedSizeHasLessNetworkAdapters AzureVMSuitabilityDetail = "RecommendedSizeHasLessNetworkAdapters"
)

func PossibleAzureVMSuitabilityDetailValues

func PossibleAzureVMSuitabilityDetailValues() []AzureVMSuitabilityDetail

PossibleAzureVMSuitabilityDetailValues returns the possible values for the AzureVMSuitabilityDetail const type.

type AzureVMSuitabilityExplanation

type AzureVMSuitabilityExplanation string
const (
	AzureVMSuitabilityExplanationBootTypeNotSupported                          AzureVMSuitabilityExplanation = "BootTypeNotSupported"
	AzureVMSuitabilityExplanationBootTypeUnknown                               AzureVMSuitabilityExplanation = "BootTypeUnknown"
	AzureVMSuitabilityExplanationCheckCentOsVersion                            AzureVMSuitabilityExplanation = "CheckCentOsVersion"
	AzureVMSuitabilityExplanationCheckCoreOsLinuxVersion                       AzureVMSuitabilityExplanation = "CheckCoreOsLinuxVersion"
	AzureVMSuitabilityExplanationCheckDebianLinuxVersion                       AzureVMSuitabilityExplanation = "CheckDebianLinuxVersion"
	AzureVMSuitabilityExplanationCheckOpenSuseLinuxVersion                     AzureVMSuitabilityExplanation = "CheckOpenSuseLinuxVersion"
	AzureVMSuitabilityExplanationCheckOracleLinuxVersion                       AzureVMSuitabilityExplanation = "CheckOracleLinuxVersion"
	AzureVMSuitabilityExplanationCheckRedHatLinuxVersion                       AzureVMSuitabilityExplanation = "CheckRedHatLinuxVersion"
	AzureVMSuitabilityExplanationCheckSuseLinuxVersion                         AzureVMSuitabilityExplanation = "CheckSuseLinuxVersion"
	AzureVMSuitabilityExplanationCheckUbuntuLinuxVersion                       AzureVMSuitabilityExplanation = "CheckUbuntuLinuxVersion"
	AzureVMSuitabilityExplanationCheckWindowsServer2008R2Version               AzureVMSuitabilityExplanation = "CheckWindowsServer2008R2Version"
	AzureVMSuitabilityExplanationEndorsedWithConditionsLinuxDistributions      AzureVMSuitabilityExplanation = "EndorsedWithConditionsLinuxDistributions"
	AzureVMSuitabilityExplanationGuestOperatingSystemArchitectureNotSupported  AzureVMSuitabilityExplanation = "GuestOperatingSystemArchitectureNotSupported"
	AzureVMSuitabilityExplanationGuestOperatingSystemNotSupported              AzureVMSuitabilityExplanation = "GuestOperatingSystemNotSupported"
	AzureVMSuitabilityExplanationGuestOperatingSystemUnknown                   AzureVMSuitabilityExplanation = "GuestOperatingSystemUnknown"
	AzureVMSuitabilityExplanationInternalErrorOccurredDuringComputeEvaluation  AzureVMSuitabilityExplanation = "InternalErrorOccurredDuringComputeEvaluation"
	AzureVMSuitabilityExplanationInternalErrorOccurredDuringNetworkEvaluation  AzureVMSuitabilityExplanation = "InternalErrorOccurredDuringNetworkEvaluation"
	AzureVMSuitabilityExplanationInternalErrorOccurredDuringStorageEvaluation  AzureVMSuitabilityExplanation = "InternalErrorOccurredDuringStorageEvaluation"
	AzureVMSuitabilityExplanationMoreDisksThanSupported                        AzureVMSuitabilityExplanation = "MoreDisksThanSupported"
	AzureVMSuitabilityExplanationNoEaPriceFoundForVMSize                       AzureVMSuitabilityExplanation = "NoEaPriceFoundForVmSize"
	AzureVMSuitabilityExplanationNoGuestOperatingSystemConditionallySupported  AzureVMSuitabilityExplanation = "NoGuestOperatingSystemConditionallySupported"
	AzureVMSuitabilityExplanationNoSuitableVMSizeFound                         AzureVMSuitabilityExplanation = "NoSuitableVmSizeFound"
	AzureVMSuitabilityExplanationNoVMSizeForBasicPricingTier                   AzureVMSuitabilityExplanation = "NoVmSizeForBasicPricingTier"
	AzureVMSuitabilityExplanationNoVMSizeForSelectedAzureLocation              AzureVMSuitabilityExplanation = "NoVmSizeForSelectedAzureLocation"
	AzureVMSuitabilityExplanationNoVMSizeForSelectedPricingTier                AzureVMSuitabilityExplanation = "NoVmSizeForSelectedPricingTier"
	AzureVMSuitabilityExplanationNoVMSizeForStandardPricingTier                AzureVMSuitabilityExplanation = "NoVmSizeForStandardPricingTier"
	AzureVMSuitabilityExplanationNoVMSizeFoundForOfferCurrencyReservedInstance AzureVMSuitabilityExplanation = "NoVmSizeFoundForOfferCurrencyReservedInstance"
	AzureVMSuitabilityExplanationNoVMSizeInSelectedFamilyFound                 AzureVMSuitabilityExplanation = "NoVmSizeInSelectedFamilyFound"
	AzureVMSuitabilityExplanationNoVMSizeSupportsNetworkPerformance            AzureVMSuitabilityExplanation = "NoVmSizeSupportsNetworkPerformance"
	AzureVMSuitabilityExplanationNoVMSizeSupportsStoragePerformance            AzureVMSuitabilityExplanation = "NoVmSizeSupportsStoragePerformance"
	AzureVMSuitabilityExplanationNotApplicable                                 AzureVMSuitabilityExplanation = "NotApplicable"
	AzureVMSuitabilityExplanationOneOrMoreAdaptersNotSuitable                  AzureVMSuitabilityExplanation = "OneOrMoreAdaptersNotSuitable"
	AzureVMSuitabilityExplanationOneOrMoreDisksNotSuitable                     AzureVMSuitabilityExplanation = "OneOrMoreDisksNotSuitable"
	AzureVMSuitabilityExplanationUnendorsedLinuxDistributions                  AzureVMSuitabilityExplanation = "UnendorsedLinuxDistributions"
	AzureVMSuitabilityExplanationUnknown                                       AzureVMSuitabilityExplanation = "Unknown"
	AzureVMSuitabilityExplanationWindowsClientVersionsConditionallySupported   AzureVMSuitabilityExplanation = "WindowsClientVersionsConditionallySupported"
	AzureVMSuitabilityExplanationWindowsOSNoLongerUnderMSSupport               AzureVMSuitabilityExplanation = "WindowsOSNoLongerUnderMSSupport"
	AzureVMSuitabilityExplanationWindowsServerVersionConditionallySupported    AzureVMSuitabilityExplanation = "WindowsServerVersionConditionallySupported"
	AzureVMSuitabilityExplanationWindowsServerVersionsSupportedWithCaveat      AzureVMSuitabilityExplanation = "WindowsServerVersionsSupportedWithCaveat"
)

func PossibleAzureVMSuitabilityExplanationValues

func PossibleAzureVMSuitabilityExplanationValues() []AzureVMSuitabilityExplanation

PossibleAzureVMSuitabilityExplanationValues returns the possible values for the AzureVMSuitabilityExplanation const type.

type AzureVirtualMachineSKUDTO

type AzureVirtualMachineSKUDTO struct {
	// READ-ONLY; Gets the Available vCores. This can be less than the vCores in the Constrained vCPU VM Sizes.
	AvailableCores *int32

	// READ-ONLY; Gets the Virtual Machine SKU name,: E.g. : Standard_F16s.
	AzureSKUName *AzureVMSize

	// READ-ONLY; Gets the Virtual Machine Family, for example : standardMSFamily.
	AzureVMFamily *AzureVMFamily

	// READ-ONLY; Gets the Compute Size in vCores.
	Cores *int32

	// READ-ONLY; Gets the Max network interfaces.
	MaxNetworkInterfaces *int32
}

AzureVirtualMachineSKUDTO - Azure Virtual Machine SKU.

func (AzureVirtualMachineSKUDTO) MarshalJSON

func (a AzureVirtualMachineSKUDTO) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type AzureVirtualMachineSKUDTO.

func (*AzureVirtualMachineSKUDTO) UnmarshalJSON

func (a *AzureVirtualMachineSKUDTO) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type AzureVirtualMachineSKUDTO.

type AzureWebAppSuitabilityIssueCategory

type AzureWebAppSuitabilityIssueCategory string
const (
	AzureWebAppSuitabilityIssueCategoryInfo    AzureWebAppSuitabilityIssueCategory = "Info"
	AzureWebAppSuitabilityIssueCategoryIssue   AzureWebAppSuitabilityIssueCategory = "Issue"
	AzureWebAppSuitabilityIssueCategoryUnknown AzureWebAppSuitabilityIssueCategory = "Unknown"
)

func PossibleAzureWebAppSuitabilityIssueCategoryValues

func PossibleAzureWebAppSuitabilityIssueCategoryValues() []AzureWebAppSuitabilityIssueCategory

PossibleAzureWebAppSuitabilityIssueCategoryValues returns the possible values for the AzureWebAppSuitabilityIssueCategory const type.

type AzureWebAppTargetType

type AzureWebAppTargetType string
const (
	AzureWebAppTargetTypeAzureAppService          AzureWebAppTargetType = "AzureAppService"
	AzureWebAppTargetTypeAzureAppServiceContainer AzureWebAppTargetType = "AzureAppServiceContainer"
	AzureWebAppTargetTypeUnknown                  AzureWebAppTargetType = "Unknown"
)

func PossibleAzureWebAppTargetTypeValues

func PossibleAzureWebAppTargetTypeValues() []AzureWebAppTargetType

PossibleAzureWebAppTargetTypeValues returns the possible values for the AzureWebAppTargetType const type.

type AzureWebAppTier

type AzureWebAppTier string
const (
	AzureWebAppTierFree      AzureWebAppTier = "Free"
	AzureWebAppTierIsolated  AzureWebAppTier = "Isolated"
	AzureWebAppTierPremiumV2 AzureWebAppTier = "Premium_V2"
	AzureWebAppTierPremiumV3 AzureWebAppTier = "Premium_V3"
	AzureWebAppTierUnknown   AzureWebAppTier = "Unknown"
)

func PossibleAzureWebAppTierValues

func PossibleAzureWebAppTierValues() []AzureWebAppTier

PossibleAzureWebAppTierValues returns the possible values for the AzureWebAppTier const type.

type BusinessCase

type BusinessCase struct {
	// The resource-specific properties for this resource.
	Properties *BusinessCaseProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

BusinessCase - Business case resource.

func (BusinessCase) MarshalJSON

func (b BusinessCase) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BusinessCase.

func (*BusinessCase) UnmarshalJSON

func (b *BusinessCase) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BusinessCase.

type BusinessCaseAvsSummaryOperationsClient

type BusinessCaseAvsSummaryOperationsClient struct {
	// contains filtered or unexported fields
}

BusinessCaseAvsSummaryOperationsClient contains the methods for the BusinessCaseAvsSummaryOperations group. Don't use this type directly, use NewBusinessCaseAvsSummaryOperationsClient() instead.

func NewBusinessCaseAvsSummaryOperationsClient

func NewBusinessCaseAvsSummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*BusinessCaseAvsSummaryOperationsClient, error)

NewBusinessCaseAvsSummaryOperationsClient creates a new instance of BusinessCaseAvsSummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*BusinessCaseAvsSummaryOperationsClient) Get

Get - Get a AvsSummary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • avsSummaryName - Gets the Name of the Avs Summary.
  • options - BusinessCaseAvsSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCaseAvsSummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseAvsSummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewBusinessCaseAvsSummaryOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.AvsSummary = armmigrationassessment.AvsSummary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/avsSummaries"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/avsSummaries/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.AvsSummaryProperties{
	// 		AzureAvsSummary: &armmigrationassessment.AzureAvsSummary{
	// 			AvsCostDetails: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			AvsNodeSummary: &armmigrationassessment.AvsNodeSummary{
	// 				AvsNodeCostDetails: &armmigrationassessment.CostDetails{
	// 					AhubSavings: to.Ptr[float32](1),
	// 					ComputeCost: to.Ptr[float32](19),
	// 					EsuSavings: to.Ptr[float32](28),
	// 					FacilitiesCost: to.Ptr[float32](19),
	// 					ItLaborCost: to.Ptr[float32](29),
	// 					LinuxAhubSavings: to.Ptr[float32](18),
	// 					ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 						ManagementCost: to.Ptr[float32](22),
	// 						ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 							{
	// 								Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 								Value: to.Ptr[float32](16),
	// 						}},
	// 					},
	// 					NetworkCost: to.Ptr[float32](28),
	// 					SecurityCost: to.Ptr[float32](4),
	// 					StorageCost: to.Ptr[float32](27),
	// 				},
	// 				Cores: to.Ptr[int32](17),
	// 				EstimatedCost: to.Ptr[float32](29),
	// 				EstimatedCostByRecommendedOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year RI"),
	// 				}},
	// 				EstimatedCostWithVcfByol: to.Ptr[float32](24),
	// 				EstimatedExternalStorage: []*armmigrationassessment.EstimatedExternalStorage{
	// 					{
	// 						StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
	// 						StorageUtilization: to.Ptr[float32](97),
	// 						TotalStorageCost: to.Ptr[float32](250),
	// 						TotalStorageInGB: to.Ptr[float32](1024),
	// 					},
	// 					{
	// 						StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
	// 						StorageUtilization: to.Ptr[float32](99),
	// 						TotalStorageCost: to.Ptr[float32](350),
	// 						TotalStorageInGB: to.Ptr[float32](1024),
	// 				}},
	// 				EstimatedNetwork: []*armmigrationassessment.EstimatedNetwork{
	// 					{
	// 						Cost: to.Ptr[float32](200),
	// 						SKUType: to.Ptr(armmigrationassessment.NetworkSKUTypeExpressRouteUltra),
	// 				}},
	// 				MemoryGb: to.Ptr[float32](19),
	// 				OSLicensingCost: to.Ptr[float32](18),
	// 				RecommendedAvsNodeTypeSummary: []*armmigrationassessment.RecommendedAvsNodeTypeSummary{
	// 					{
	// 						AvsNodeType: to.Ptr("AV36"),
	// 						FailuresToTolerateAndRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
	// 						NumberOfNodes: to.Ptr[int32](16),
	// 				}},
	// 				ServersSuitableForMigration: to.Ptr[int32](28),
	// 				TotalNumberOfServers: to.Ptr[int32](4),
	// 			},
	// 			YearOnYearEstimates: &armmigrationassessment.YearOnYearEstimates{
	// 				AzureCapexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](1049.81370090828),
	// 					"Year1": to.Ptr[float32](881.843508762955),
	// 					"Year2": to.Ptr[float32](578.709802625689),
	// 					"Year3": to.Ptr[float32](0),
	// 				},
	// 				AzureCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](351803.869241272),
	// 					"Year1": to.Ptr[float32](374738.191162668),
	// 					"Year2": to.Ptr[float32](391989.235419251),
	// 					"Year3": to.Ptr[float32](396114.705),
	// 				},
	// 				AzureOpexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](350754.055540363),
	// 					"Year1": to.Ptr[float32](373856.347653905),
	// 					"Year2": to.Ptr[float32](391410.525616625),
	// 					"Year3": to.Ptr[float32](396114.705),
	// 				},
	// 				OnPremisesCapexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](1049.81370090828),
	// 					"Year1": to.Ptr[float32](1102.30438595369),
	// 					"Year2": to.Ptr[float32](1157.41960525138),
	// 					"Year3": to.Ptr[float32](1215.29058551395),
	// 				},
	// 				OnPremisesCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](351803.869241272),
	// 					"Year1": to.Ptr[float32](369394.062703335),
	// 					"Year2": to.Ptr[float32](387863.765838502),
	// 					"Year3": to.Ptr[float32](408410.454130427),
	// 				},
	// 				OnPremisesOpexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](350754.055540363),
	// 					"Year1": to.Ptr[float32](368291.758317382),
	// 					"Year2": to.Ptr[float32](386706.346233251),
	// 					"Year3": to.Ptr[float32](407195.163544913),
	// 				},
	// 				PaybackPeriod: to.Ptr[int32](0),
	// 				Savings: map[string]*float32{
	// 					"Year0": to.Ptr[float32](0),
	// 					"Year1": to.Ptr[float32](-5344.12845933292),
	// 					"Year2": to.Ptr[float32](-4125.46958074899),
	// 					"Year3": to.Ptr[float32](12295.7491304271),
	// 				},
	// 			},
	// 		},
	// 		OnPremisesAvsSummary: &armmigrationassessment.OnPremisesIaasSummary{
	// 			Cores: to.Ptr[int32](26),
	// 			CPUUtilization: to.Ptr[float32](24),
	// 			DistributionByOperatingSystem: []*armmigrationassessment.DistributionByOperatingSystem{
	// 				{
	// 					Count: to.Ptr[int32](4),
	// 					OSClassificationType: to.Ptr("WindowsOSInSupport"),
	// 			}},
	// 			DistributionByOperatingSystemVersion: []*armmigrationassessment.DistributionByType{
	// 				{
	// 					Type: to.Ptr("Microsoft Windows Server 2016 Datacenter"),
	// 					Count: to.Ptr[int32](27),
	// 			}},
	// 			DistributionBySQLEdition: []*armmigrationassessment.DistributionByType{
	// 				{
	// 					Type: to.Ptr("Enterprise Evaluation Edition"),
	// 					Count: to.Ptr[int32](27),
	// 			}},
	// 			DistributionBySQLVersion: []*armmigrationassessment.DistributionByType{
	// 				{
	// 					Type: to.Ptr("SQL Server 2012"),
	// 					Count: to.Ptr[int32](27),
	// 			}},
	// 			DistributionByVirtualization: []*armmigrationassessment.DistributionByVirtualization{
	// 				{
	// 					Count: to.Ptr[int32](30),
	// 					VirtualizationType: to.Ptr("Vmware"),
	// 			}},
	// 			IaasOsSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 				Extended: to.Ptr[int32](26),
	// 				MainStream: to.Ptr[int32](20),
	// 				OutOfSupport: to.Ptr[int32](29),
	// 				UnknownSupport: to.Ptr[int32](2),
	// 			},
	// 			IaasSQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 				Extended: to.Ptr[int32](26),
	// 				MainStream: to.Ptr[int32](20),
	// 				OutOfSupport: to.Ptr[int32](29),
	// 				UnknownSupport: to.Ptr[int32](2),
	// 			},
	// 			MemoryGb: to.Ptr[float32](4),
	// 			MemoryUtilization: to.Ptr[float32](10),
	// 			OnPremisesIaasCostDetails: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			OnPremisesIaasCostForDecommissioned: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			OnPremisesUtilizationData: &armmigrationassessment.UtilizationData{
	// 				NumberOfActiveEntities: to.Ptr[int32](10),
	// 				NumberOfDecommisionEntities: to.Ptr[int32](10),
	// 				NumberOfInactiveEntities: to.Ptr[int32](18),
	// 				NumberOfUnknownEntities: to.Ptr[int32](13),
	// 			},
	// 			OSLicensingDetails: []*armmigrationassessment.IaasOsLicensingDetails{
	// 				{
	// 					DecomissionCost: to.Ptr[float32](29),
	// 					OSType: to.Ptr("Windows"),
	// 					TotalCost: to.Ptr[float32](11),
	// 			}},
	// 			OSServicePackInsight: &armmigrationassessment.ServicePackInsight{
	// 				Patched: to.Ptr[int32](14),
	// 				UnknownServicePack: to.Ptr[int32](3),
	// 				Unpatched: to.Ptr[int32](5),
	// 			},
	// 			Servers: to.Ptr[int32](29),
	// 			SQLServicePackInsight: &armmigrationassessment.ServicePackInsight{
	// 				Patched: to.Ptr[int32](14),
	// 				UnknownServicePack: to.Ptr[int32](3),
	// 				Unpatched: to.Ptr[int32](5),
	// 			},
	// 			StorageUtilization: to.Ptr[float32](26),
	// 		},
	// 	},
	// }
}
Output:

func (*BusinessCaseAvsSummaryOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List AvsSummary resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - BusinessCaseAvsSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCaseAvsSummaryOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseAvsSummaryOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewBusinessCaseAvsSummaryOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.AvsSummaryListResult = armmigrationassessment.AvsSummaryListResult{
		// 	Value: []*armmigrationassessment.AvsSummary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/avsSummaries"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/avsSummaries/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.AvsSummaryProperties{
		// 				AzureAvsSummary: &armmigrationassessment.AzureAvsSummary{
		// 					AvsCostDetails: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					AvsNodeSummary: &armmigrationassessment.AvsNodeSummary{
		// 						AvsNodeCostDetails: &armmigrationassessment.CostDetails{
		// 							AhubSavings: to.Ptr[float32](1),
		// 							ComputeCost: to.Ptr[float32](19),
		// 							EsuSavings: to.Ptr[float32](28),
		// 							FacilitiesCost: to.Ptr[float32](19),
		// 							ItLaborCost: to.Ptr[float32](29),
		// 							LinuxAhubSavings: to.Ptr[float32](18),
		// 							ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 								ManagementCost: to.Ptr[float32](22),
		// 								ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 									{
		// 										Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 										Value: to.Ptr[float32](16),
		// 								}},
		// 							},
		// 							NetworkCost: to.Ptr[float32](28),
		// 							SecurityCost: to.Ptr[float32](4),
		// 							StorageCost: to.Ptr[float32](27),
		// 						},
		// 						Cores: to.Ptr[int32](17),
		// 						EstimatedCost: to.Ptr[float32](29),
		// 						EstimatedCostByRecommendedOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year RI"),
		// 						}},
		// 						EstimatedCostWithVcfByol: to.Ptr[float32](24),
		// 						EstimatedExternalStorage: []*armmigrationassessment.EstimatedExternalStorage{
		// 							{
		// 								StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfStandard),
		// 								StorageUtilization: to.Ptr[float32](97),
		// 								TotalStorageCost: to.Ptr[float32](250),
		// 								TotalStorageInGB: to.Ptr[float32](1024),
		// 							},
		// 							{
		// 								StorageType: to.Ptr(armmigrationassessment.ExternalStorageTypeAnfPremium),
		// 								StorageUtilization: to.Ptr[float32](99),
		// 								TotalStorageCost: to.Ptr[float32](350),
		// 								TotalStorageInGB: to.Ptr[float32](1024),
		// 						}},
		// 						EstimatedNetwork: []*armmigrationassessment.EstimatedNetwork{
		// 							{
		// 								Cost: to.Ptr[float32](200),
		// 								SKUType: to.Ptr(armmigrationassessment.NetworkSKUTypeExpressRouteUltra),
		// 						}},
		// 						MemoryGb: to.Ptr[float32](19),
		// 						OSLicensingCost: to.Ptr[float32](18),
		// 						RecommendedAvsNodeTypeSummary: []*armmigrationassessment.RecommendedAvsNodeTypeSummary{
		// 							{
		// 								AvsNodeType: to.Ptr("AV36"),
		// 								FailuresToTolerateAndRaidLevel: to.Ptr(armmigrationassessment.FttAndRaidLevelFtt1Raid1),
		// 								NumberOfNodes: to.Ptr[int32](16),
		// 						}},
		// 						ServersSuitableForMigration: to.Ptr[int32](28),
		// 						TotalNumberOfServers: to.Ptr[int32](4),
		// 					},
		// 					YearOnYearEstimates: &armmigrationassessment.YearOnYearEstimates{
		// 						AzureCapexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](1049.81370090828),
		// 							"Year1": to.Ptr[float32](881.843508762955),
		// 							"Year2": to.Ptr[float32](578.709802625689),
		// 							"Year3": to.Ptr[float32](0),
		// 						},
		// 						AzureCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](351803.869241272),
		// 							"Year1": to.Ptr[float32](374738.191162668),
		// 							"Year2": to.Ptr[float32](391989.235419251),
		// 							"Year3": to.Ptr[float32](396114.705),
		// 						},
		// 						AzureOpexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](350754.055540363),
		// 							"Year1": to.Ptr[float32](373856.347653905),
		// 							"Year2": to.Ptr[float32](391410.525616625),
		// 							"Year3": to.Ptr[float32](396114.705),
		// 						},
		// 						OnPremisesCapexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](1049.81370090828),
		// 							"Year1": to.Ptr[float32](1102.30438595369),
		// 							"Year2": to.Ptr[float32](1157.41960525138),
		// 							"Year3": to.Ptr[float32](1215.29058551395),
		// 						},
		// 						OnPremisesCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](351803.869241272),
		// 							"Year1": to.Ptr[float32](369394.062703335),
		// 							"Year2": to.Ptr[float32](387863.765838502),
		// 							"Year3": to.Ptr[float32](408410.454130427),
		// 						},
		// 						OnPremisesOpexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](350754.055540363),
		// 							"Year1": to.Ptr[float32](368291.758317382),
		// 							"Year2": to.Ptr[float32](386706.346233251),
		// 							"Year3": to.Ptr[float32](407195.163544913),
		// 						},
		// 						PaybackPeriod: to.Ptr[int32](0),
		// 						Savings: map[string]*float32{
		// 							"Year0": to.Ptr[float32](0),
		// 							"Year1": to.Ptr[float32](-5344.12845933292),
		// 							"Year2": to.Ptr[float32](-4125.46958074899),
		// 							"Year3": to.Ptr[float32](12295.7491304271),
		// 						},
		// 					},
		// 				},
		// 				OnPremisesAvsSummary: &armmigrationassessment.OnPremisesIaasSummary{
		// 					Cores: to.Ptr[int32](26),
		// 					CPUUtilization: to.Ptr[float32](24),
		// 					DistributionByOperatingSystem: []*armmigrationassessment.DistributionByOperatingSystem{
		// 						{
		// 							Count: to.Ptr[int32](4),
		// 							OSClassificationType: to.Ptr("WindowsOSInSupport"),
		// 					}},
		// 					DistributionByOperatingSystemVersion: []*armmigrationassessment.DistributionByType{
		// 						{
		// 							Type: to.Ptr("Microsoft Windows Server 2016 Datacenter"),
		// 							Count: to.Ptr[int32](27),
		// 					}},
		// 					DistributionBySQLEdition: []*armmigrationassessment.DistributionByType{
		// 						{
		// 							Type: to.Ptr("Enterprise Evaluation Edition"),
		// 							Count: to.Ptr[int32](27),
		// 					}},
		// 					DistributionBySQLVersion: []*armmigrationassessment.DistributionByType{
		// 						{
		// 							Type: to.Ptr("SQL Server 2012"),
		// 							Count: to.Ptr[int32](27),
		// 					}},
		// 					DistributionByVirtualization: []*armmigrationassessment.DistributionByVirtualization{
		// 						{
		// 							Count: to.Ptr[int32](30),
		// 							VirtualizationType: to.Ptr("Vmware"),
		// 					}},
		// 					IaasOsSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 						Extended: to.Ptr[int32](26),
		// 						MainStream: to.Ptr[int32](20),
		// 						OutOfSupport: to.Ptr[int32](29),
		// 						UnknownSupport: to.Ptr[int32](2),
		// 					},
		// 					IaasSQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 						Extended: to.Ptr[int32](26),
		// 						MainStream: to.Ptr[int32](20),
		// 						OutOfSupport: to.Ptr[int32](29),
		// 						UnknownSupport: to.Ptr[int32](2),
		// 					},
		// 					MemoryGb: to.Ptr[float32](4),
		// 					MemoryUtilization: to.Ptr[float32](10),
		// 					OnPremisesIaasCostDetails: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					OnPremisesIaasCostForDecommissioned: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					OnPremisesUtilizationData: &armmigrationassessment.UtilizationData{
		// 						NumberOfActiveEntities: to.Ptr[int32](10),
		// 						NumberOfDecommisionEntities: to.Ptr[int32](10),
		// 						NumberOfInactiveEntities: to.Ptr[int32](18),
		// 						NumberOfUnknownEntities: to.Ptr[int32](13),
		// 					},
		// 					OSLicensingDetails: []*armmigrationassessment.IaasOsLicensingDetails{
		// 						{
		// 							DecomissionCost: to.Ptr[float32](29),
		// 							OSType: to.Ptr("Windows"),
		// 							TotalCost: to.Ptr[float32](11),
		// 					}},
		// 					OSServicePackInsight: &armmigrationassessment.ServicePackInsight{
		// 						Patched: to.Ptr[int32](14),
		// 						UnknownServicePack: to.Ptr[int32](3),
		// 						Unpatched: to.Ptr[int32](5),
		// 					},
		// 					Servers: to.Ptr[int32](29),
		// 					SQLServicePackInsight: &armmigrationassessment.ServicePackInsight{
		// 						Patched: to.Ptr[int32](14),
		// 						UnknownServicePack: to.Ptr[int32](3),
		// 						Unpatched: to.Ptr[int32](5),
		// 					},
		// 					StorageUtilization: to.Ptr[float32](26),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type BusinessCaseAvsSummaryOperationsClientGetOptions

type BusinessCaseAvsSummaryOperationsClientGetOptions struct {
}

BusinessCaseAvsSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCaseAvsSummaryOperationsClient.Get method.

type BusinessCaseAvsSummaryOperationsClientGetResponse

type BusinessCaseAvsSummaryOperationsClientGetResponse struct {
	// Avs summary REST resource.
	AvsSummary
}

BusinessCaseAvsSummaryOperationsClientGetResponse contains the response from method BusinessCaseAvsSummaryOperationsClient.Get.

type BusinessCaseAvsSummaryOperationsClientListByBusinessCaseOptions

type BusinessCaseAvsSummaryOperationsClientListByBusinessCaseOptions struct {
}

BusinessCaseAvsSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCaseAvsSummaryOperationsClient.NewListByBusinessCasePager method.

type BusinessCaseAvsSummaryOperationsClientListByBusinessCaseResponse

type BusinessCaseAvsSummaryOperationsClientListByBusinessCaseResponse struct {
	// The response of a AvsSummary list operation.
	AvsSummaryListResult
}

BusinessCaseAvsSummaryOperationsClientListByBusinessCaseResponse contains the response from method BusinessCaseAvsSummaryOperationsClient.NewListByBusinessCasePager.

type BusinessCaseCurrency

type BusinessCaseCurrency string

BusinessCaseCurrency - Business case supported currency types.

const (
	// BusinessCaseCurrencyARS - Currency ARS.
	BusinessCaseCurrencyARS BusinessCaseCurrency = "ARS"
	// BusinessCaseCurrencyAUD - Currency AUD.
	BusinessCaseCurrencyAUD BusinessCaseCurrency = "AUD"
	// BusinessCaseCurrencyBRL - Currency BRL.
	BusinessCaseCurrencyBRL BusinessCaseCurrency = "BRL"
	// BusinessCaseCurrencyCAD - Currency CAD.
	BusinessCaseCurrencyCAD BusinessCaseCurrency = "CAD"
	// BusinessCaseCurrencyCHF - Currency CHF.
	BusinessCaseCurrencyCHF BusinessCaseCurrency = "CHF"
	// BusinessCaseCurrencyCNY - Currency CNY.
	BusinessCaseCurrencyCNY BusinessCaseCurrency = "CNY"
	// BusinessCaseCurrencyDKK - Currency DKK.
	BusinessCaseCurrencyDKK BusinessCaseCurrency = "DKK"
	// BusinessCaseCurrencyEUR - Currency EUR.
	BusinessCaseCurrencyEUR BusinessCaseCurrency = "EUR"
	// BusinessCaseCurrencyGBP - Currency GBP.
	BusinessCaseCurrencyGBP BusinessCaseCurrency = "GBP"
	// BusinessCaseCurrencyHKD - Currency HKD.
	BusinessCaseCurrencyHKD BusinessCaseCurrency = "HKD"
	// BusinessCaseCurrencyIDR - Currency IDR.
	BusinessCaseCurrencyIDR BusinessCaseCurrency = "IDR"
	// BusinessCaseCurrencyINR - Currency INR.
	BusinessCaseCurrencyINR BusinessCaseCurrency = "INR"
	// BusinessCaseCurrencyJPY - Currency JPY.
	BusinessCaseCurrencyJPY BusinessCaseCurrency = "JPY"
	// BusinessCaseCurrencyKRW - Currency KRW.
	BusinessCaseCurrencyKRW BusinessCaseCurrency = "KRW"
	// BusinessCaseCurrencyMXN - Currency MXN.
	BusinessCaseCurrencyMXN BusinessCaseCurrency = "MXN"
	// BusinessCaseCurrencyMYR - Currency MYR.
	BusinessCaseCurrencyMYR BusinessCaseCurrency = "MYR"
	// BusinessCaseCurrencyNOK - Currency NOK.
	BusinessCaseCurrencyNOK BusinessCaseCurrency = "NOK"
	// BusinessCaseCurrencyNZD - Currency NZD.
	BusinessCaseCurrencyNZD BusinessCaseCurrency = "NZD"
	// BusinessCaseCurrencyRUB - Currency RUB.
	BusinessCaseCurrencyRUB BusinessCaseCurrency = "RUB"
	// BusinessCaseCurrencySAR - Currency SAR.
	BusinessCaseCurrencySAR BusinessCaseCurrency = "SAR"
	// BusinessCaseCurrencySEK - Currency SEK.
	BusinessCaseCurrencySEK BusinessCaseCurrency = "SEK"
	// BusinessCaseCurrencyTRY - Currency TRY.
	BusinessCaseCurrencyTRY BusinessCaseCurrency = "TRY"
	// BusinessCaseCurrencyTWD - Currency TWD.
	BusinessCaseCurrencyTWD BusinessCaseCurrency = "TWD"
	// BusinessCaseCurrencyUSD - Currency USD.
	BusinessCaseCurrencyUSD BusinessCaseCurrency = "USD"
	// BusinessCaseCurrencyUnknown - Currency Unknown.
	BusinessCaseCurrencyUnknown BusinessCaseCurrency = "Unknown"
	// BusinessCaseCurrencyZAR - Currency ZAR.
	BusinessCaseCurrencyZAR BusinessCaseCurrency = "ZAR"
)

func PossibleBusinessCaseCurrencyValues

func PossibleBusinessCaseCurrencyValues() []BusinessCaseCurrency

PossibleBusinessCaseCurrencyValues returns the possible values for the BusinessCaseCurrency const type.

type BusinessCaseIaasSummaryOperationsClient

type BusinessCaseIaasSummaryOperationsClient struct {
	// contains filtered or unexported fields
}

BusinessCaseIaasSummaryOperationsClient contains the methods for the BusinessCaseIaasSummaryOperations group. Don't use this type directly, use NewBusinessCaseIaasSummaryOperationsClient() instead.

func NewBusinessCaseIaasSummaryOperationsClient

func NewBusinessCaseIaasSummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*BusinessCaseIaasSummaryOperationsClient, error)

NewBusinessCaseIaasSummaryOperationsClient creates a new instance of BusinessCaseIaasSummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*BusinessCaseIaasSummaryOperationsClient) Get

Get - Get a IaasSummary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • iaasSummaryName - Gets the Name of the Iaas Summary.
  • options - BusinessCaseIaasSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCaseIaasSummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseIaasSummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewBusinessCaseIaasSummaryOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.IaasSummary = armmigrationassessment.IaasSummary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/iaasSummaries"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/iaasSummaries/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.IaasSummaryProperties{
	// 		AzureIaasSummary: &armmigrationassessment.AzureIaasSummary{
	// 			AzureIaasCostDetails: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			AzureIaasSQLSummary: &armmigrationassessment.AzureIaasSQLSummary{
	// 				AzureSQLCostDetails: &armmigrationassessment.CostDetails{
	// 					AhubSavings: to.Ptr[float32](1),
	// 					ComputeCost: to.Ptr[float32](19),
	// 					EsuSavings: to.Ptr[float32](28),
	// 					FacilitiesCost: to.Ptr[float32](19),
	// 					ItLaborCost: to.Ptr[float32](29),
	// 					LinuxAhubSavings: to.Ptr[float32](18),
	// 					ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 						ManagementCost: to.Ptr[float32](22),
	// 						ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 							{
	// 								Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 								Value: to.Ptr[float32](16),
	// 						}},
	// 					},
	// 					NetworkCost: to.Ptr[float32](28),
	// 					SecurityCost: to.Ptr[float32](4),
	// 					StorageCost: to.Ptr[float32](27),
	// 				},
	// 				CostByStorageType: []*armmigrationassessment.CostByStorageType{
	// 					{
	// 						Cost: to.Ptr[float32](12),
	// 						StorageType: to.Ptr("StandardSsd"),
	// 				}},
	// 				EstimatedCost: to.Ptr[float32](23),
	// 				EstimatedCostByRecommendedOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year RI"),
	// 				}},
	// 				OSLicensingCost: to.Ptr[float32](8),
	// 				RecommendedVMFamilySummary: []*armmigrationassessment.RecommendedVMFamilySummary{
	// 					{
	// 						AzureVMFamily: to.Ptr("Standard_F4"),
	// 						NumberOfMachines: to.Ptr[int32](26),
	// 				}},
	// 				SuitableSQLEntities: to.Ptr[int32](21),
	// 				TotalSQLEntities: to.Ptr[int32](7),
	// 			},
	// 			AzureIaasVMSummary: &armmigrationassessment.AzureIaasVMSummary{
	// 				AzureVMCostDetails: &armmigrationassessment.CostDetails{
	// 					AhubSavings: to.Ptr[float32](1),
	// 					ComputeCost: to.Ptr[float32](19),
	// 					EsuSavings: to.Ptr[float32](28),
	// 					FacilitiesCost: to.Ptr[float32](19),
	// 					ItLaborCost: to.Ptr[float32](29),
	// 					LinuxAhubSavings: to.Ptr[float32](18),
	// 					ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 						ManagementCost: to.Ptr[float32](22),
	// 						ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 							{
	// 								Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 								Value: to.Ptr[float32](16),
	// 						}},
	// 					},
	// 					NetworkCost: to.Ptr[float32](28),
	// 					SecurityCost: to.Ptr[float32](4),
	// 					StorageCost: to.Ptr[float32](27),
	// 				},
	// 				Cores: to.Ptr[int32](6),
	// 				CostByStorageType: []*armmigrationassessment.CostByStorageType{
	// 					{
	// 						Cost: to.Ptr[float32](12),
	// 						StorageType: to.Ptr("StandardSsd"),
	// 				}},
	// 				EstimatedCost: to.Ptr[float32](19),
	// 				EstimatedCostByRecommendedOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year RI"),
	// 				}},
	// 				MemoryGb: to.Ptr[float32](26),
	// 				OSLicensingCost: to.Ptr[float32](12),
	// 				RecommendedVMFamilySummary: []*armmigrationassessment.RecommendedVMFamilySummary{
	// 					{
	// 						AzureVMFamily: to.Ptr("Standard_F4"),
	// 						NumberOfMachines: to.Ptr[int32](26),
	// 				}},
	// 				ServersSuitableForMigration: to.Ptr[int32](15),
	// 				TotalNumberOfServers: to.Ptr[int32](27),
	// 			},
	// 			YearOnYearEstimates: &armmigrationassessment.YearOnYearEstimates{
	// 				AzureCapexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](1049.81370090828),
	// 					"Year1": to.Ptr[float32](881.843508762955),
	// 					"Year2": to.Ptr[float32](578.709802625689),
	// 					"Year3": to.Ptr[float32](0),
	// 				},
	// 				AzureCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](351803.869241272),
	// 					"Year1": to.Ptr[float32](374738.191162668),
	// 					"Year2": to.Ptr[float32](391989.235419251),
	// 					"Year3": to.Ptr[float32](396114.705),
	// 				},
	// 				AzureOpexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](350754.055540363),
	// 					"Year1": to.Ptr[float32](373856.347653905),
	// 					"Year2": to.Ptr[float32](391410.525616625),
	// 					"Year3": to.Ptr[float32](396114.705),
	// 				},
	// 				OnPremisesCapexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](1049.81370090828),
	// 					"Year1": to.Ptr[float32](1102.30438595369),
	// 					"Year2": to.Ptr[float32](1157.41960525138),
	// 					"Year3": to.Ptr[float32](1215.29058551395),
	// 				},
	// 				OnPremisesCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](351803.869241272),
	// 					"Year1": to.Ptr[float32](369394.062703335),
	// 					"Year2": to.Ptr[float32](387863.765838502),
	// 					"Year3": to.Ptr[float32](408410.454130427),
	// 				},
	// 				OnPremisesOpexCost: map[string]*float32{
	// 					"Year0": to.Ptr[float32](350754.055540363),
	// 					"Year1": to.Ptr[float32](368291.758317382),
	// 					"Year2": to.Ptr[float32](386706.346233251),
	// 					"Year3": to.Ptr[float32](407195.163544913),
	// 				},
	// 				PaybackPeriod: to.Ptr[int32](0),
	// 				Savings: map[string]*float32{
	// 					"Year0": to.Ptr[float32](0),
	// 					"Year1": to.Ptr[float32](-5344.12845933292),
	// 					"Year2": to.Ptr[float32](-4125.46958074899),
	// 					"Year3": to.Ptr[float32](12295.7491304271),
	// 				},
	// 			},
	// 		},
	// 		OnPremisesIaasSummary: &armmigrationassessment.OnPremisesIaasSummary{
	// 			Cores: to.Ptr[int32](26),
	// 			CPUUtilization: to.Ptr[float32](24),
	// 			DistributionByOperatingSystem: []*armmigrationassessment.DistributionByOperatingSystem{
	// 				{
	// 					Count: to.Ptr[int32](4),
	// 					OSClassificationType: to.Ptr("LinuxOSInSupport"),
	// 			}},
	// 			DistributionByOperatingSystemVersion: []*armmigrationassessment.DistributionByType{
	// 				{
	// 					Type: to.Ptr("Ubuntu"),
	// 					Count: to.Ptr[int32](27),
	// 			}},
	// 			DistributionBySQLEdition: []*armmigrationassessment.DistributionByType{
	// 				{
	// 					Type: to.Ptr("Enterprise Evaluation Edition"),
	// 					Count: to.Ptr[int32](27),
	// 			}},
	// 			DistributionBySQLVersion: []*armmigrationassessment.DistributionByType{
	// 				{
	// 					Type: to.Ptr("SQL Server 2012"),
	// 					Count: to.Ptr[int32](27),
	// 			}},
	// 			DistributionByVirtualization: []*armmigrationassessment.DistributionByVirtualization{
	// 				{
	// 					Count: to.Ptr[int32](30),
	// 					VirtualizationType: to.Ptr("Vmware"),
	// 			}},
	// 			IaasOsSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 				Extended: to.Ptr[int32](26),
	// 				MainStream: to.Ptr[int32](20),
	// 				OutOfSupport: to.Ptr[int32](29),
	// 				UnknownSupport: to.Ptr[int32](2),
	// 			},
	// 			IaasSQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 				Extended: to.Ptr[int32](26),
	// 				MainStream: to.Ptr[int32](20),
	// 				OutOfSupport: to.Ptr[int32](29),
	// 				UnknownSupport: to.Ptr[int32](2),
	// 			},
	// 			MemoryGb: to.Ptr[float32](4),
	// 			MemoryUtilization: to.Ptr[float32](10),
	// 			OnPremisesIaasCostDetails: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			OnPremisesIaasCostForDecommissioned: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			OnPremisesUtilizationData: &armmigrationassessment.UtilizationData{
	// 				NumberOfActiveEntities: to.Ptr[int32](10),
	// 				NumberOfDecommisionEntities: to.Ptr[int32](10),
	// 				NumberOfInactiveEntities: to.Ptr[int32](18),
	// 				NumberOfUnknownEntities: to.Ptr[int32](13),
	// 			},
	// 			OSLicensingDetails: []*armmigrationassessment.IaasOsLicensingDetails{
	// 				{
	// 					DecomissionCost: to.Ptr[float32](29),
	// 					OSType: to.Ptr("Windows"),
	// 					TotalCost: to.Ptr[float32](11),
	// 			}},
	// 			OSServicePackInsight: &armmigrationassessment.ServicePackInsight{
	// 				Patched: to.Ptr[int32](14),
	// 				UnknownServicePack: to.Ptr[int32](3),
	// 				Unpatched: to.Ptr[int32](5),
	// 			},
	// 			Servers: to.Ptr[int32](29),
	// 			SQLServicePackInsight: &armmigrationassessment.ServicePackInsight{
	// 				Patched: to.Ptr[int32](14),
	// 				UnknownServicePack: to.Ptr[int32](3),
	// 				Unpatched: to.Ptr[int32](5),
	// 			},
	// 			StorageUtilization: to.Ptr[float32](26),
	// 		},
	// 	},
	// }
}
Output:

func (*BusinessCaseIaasSummaryOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List IaasSummary resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - BusinessCaseIaasSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCaseIaasSummaryOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseIaasSummaryOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewBusinessCaseIaasSummaryOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.IaasSummaryListResult = armmigrationassessment.IaasSummaryListResult{
		// 	Value: []*armmigrationassessment.IaasSummary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/iaasSummaries"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/iaasSummaries/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.IaasSummaryProperties{
		// 				AzureIaasSummary: &armmigrationassessment.AzureIaasSummary{
		// 					AzureIaasCostDetails: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					AzureIaasSQLSummary: &armmigrationassessment.AzureIaasSQLSummary{
		// 						AzureSQLCostDetails: &armmigrationassessment.CostDetails{
		// 							AhubSavings: to.Ptr[float32](1),
		// 							ComputeCost: to.Ptr[float32](19),
		// 							EsuSavings: to.Ptr[float32](28),
		// 							FacilitiesCost: to.Ptr[float32](19),
		// 							ItLaborCost: to.Ptr[float32](29),
		// 							LinuxAhubSavings: to.Ptr[float32](18),
		// 							ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 								ManagementCost: to.Ptr[float32](22),
		// 								ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 									{
		// 										Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 										Value: to.Ptr[float32](16),
		// 								}},
		// 							},
		// 							NetworkCost: to.Ptr[float32](28),
		// 							SecurityCost: to.Ptr[float32](4),
		// 							StorageCost: to.Ptr[float32](27),
		// 						},
		// 						CostByStorageType: []*armmigrationassessment.CostByStorageType{
		// 							{
		// 								Cost: to.Ptr[float32](12),
		// 								StorageType: to.Ptr("StandardSsd"),
		// 						}},
		// 						EstimatedCost: to.Ptr[float32](23),
		// 						EstimatedCostByRecommendedOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year RI"),
		// 						}},
		// 						OSLicensingCost: to.Ptr[float32](8),
		// 						RecommendedVMFamilySummary: []*armmigrationassessment.RecommendedVMFamilySummary{
		// 							{
		// 								AzureVMFamily: to.Ptr("Standard_F4"),
		// 								NumberOfMachines: to.Ptr[int32](26),
		// 						}},
		// 						SuitableSQLEntities: to.Ptr[int32](21),
		// 						TotalSQLEntities: to.Ptr[int32](7),
		// 					},
		// 					AzureIaasVMSummary: &armmigrationassessment.AzureIaasVMSummary{
		// 						AzureVMCostDetails: &armmigrationassessment.CostDetails{
		// 							AhubSavings: to.Ptr[float32](1),
		// 							ComputeCost: to.Ptr[float32](19),
		// 							EsuSavings: to.Ptr[float32](28),
		// 							FacilitiesCost: to.Ptr[float32](19),
		// 							ItLaborCost: to.Ptr[float32](29),
		// 							LinuxAhubSavings: to.Ptr[float32](18),
		// 							ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 								ManagementCost: to.Ptr[float32](22),
		// 								ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 									{
		// 										Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 										Value: to.Ptr[float32](16),
		// 								}},
		// 							},
		// 							NetworkCost: to.Ptr[float32](28),
		// 							SecurityCost: to.Ptr[float32](4),
		// 							StorageCost: to.Ptr[float32](27),
		// 						},
		// 						Cores: to.Ptr[int32](6),
		// 						CostByStorageType: []*armmigrationassessment.CostByStorageType{
		// 							{
		// 								Cost: to.Ptr[float32](12),
		// 								StorageType: to.Ptr("StandardSsd"),
		// 						}},
		// 						EstimatedCost: to.Ptr[float32](19),
		// 						EstimatedCostByRecommendedOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year RI"),
		// 						}},
		// 						MemoryGb: to.Ptr[float32](26),
		// 						OSLicensingCost: to.Ptr[float32](12),
		// 						RecommendedVMFamilySummary: []*armmigrationassessment.RecommendedVMFamilySummary{
		// 							{
		// 								AzureVMFamily: to.Ptr("Standard_F4"),
		// 								NumberOfMachines: to.Ptr[int32](26),
		// 						}},
		// 						ServersSuitableForMigration: to.Ptr[int32](15),
		// 						TotalNumberOfServers: to.Ptr[int32](27),
		// 					},
		// 					YearOnYearEstimates: &armmigrationassessment.YearOnYearEstimates{
		// 						AzureCapexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](1049.81370090828),
		// 							"Year1": to.Ptr[float32](881.843508762955),
		// 							"Year2": to.Ptr[float32](578.709802625689),
		// 							"Year3": to.Ptr[float32](0),
		// 						},
		// 						AzureCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](351803.869241272),
		// 							"Year1": to.Ptr[float32](374738.191162668),
		// 							"Year2": to.Ptr[float32](391989.235419251),
		// 							"Year3": to.Ptr[float32](396114.705),
		// 						},
		// 						AzureOpexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](350754.055540363),
		// 							"Year1": to.Ptr[float32](373856.347653905),
		// 							"Year2": to.Ptr[float32](391410.525616625),
		// 							"Year3": to.Ptr[float32](396114.705),
		// 						},
		// 						OnPremisesCapexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](1049.81370090828),
		// 							"Year1": to.Ptr[float32](1102.30438595369),
		// 							"Year2": to.Ptr[float32](1157.41960525138),
		// 							"Year3": to.Ptr[float32](1215.29058551395),
		// 						},
		// 						OnPremisesCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](351803.869241272),
		// 							"Year1": to.Ptr[float32](369394.062703335),
		// 							"Year2": to.Ptr[float32](387863.765838502),
		// 							"Year3": to.Ptr[float32](408410.454130427),
		// 						},
		// 						OnPremisesOpexCost: map[string]*float32{
		// 							"Year0": to.Ptr[float32](350754.055540363),
		// 							"Year1": to.Ptr[float32](368291.758317382),
		// 							"Year2": to.Ptr[float32](386706.346233251),
		// 							"Year3": to.Ptr[float32](407195.163544913),
		// 						},
		// 						PaybackPeriod: to.Ptr[int32](0),
		// 						Savings: map[string]*float32{
		// 							"Year0": to.Ptr[float32](0),
		// 							"Year1": to.Ptr[float32](-5344.12845933292),
		// 							"Year2": to.Ptr[float32](-4125.46958074899),
		// 							"Year3": to.Ptr[float32](12295.7491304271),
		// 						},
		// 					},
		// 				},
		// 				OnPremisesIaasSummary: &armmigrationassessment.OnPremisesIaasSummary{
		// 					Cores: to.Ptr[int32](26),
		// 					CPUUtilization: to.Ptr[float32](24),
		// 					DistributionByOperatingSystem: []*armmigrationassessment.DistributionByOperatingSystem{
		// 						{
		// 							Count: to.Ptr[int32](4),
		// 							OSClassificationType: to.Ptr("LinuxOSInSupport"),
		// 					}},
		// 					DistributionByOperatingSystemVersion: []*armmigrationassessment.DistributionByType{
		// 						{
		// 							Type: to.Ptr("Ubuntu"),
		// 							Count: to.Ptr[int32](27),
		// 					}},
		// 					DistributionBySQLEdition: []*armmigrationassessment.DistributionByType{
		// 						{
		// 							Type: to.Ptr("Enterprise Evaluation Edition"),
		// 							Count: to.Ptr[int32](27),
		// 					}},
		// 					DistributionBySQLVersion: []*armmigrationassessment.DistributionByType{
		// 						{
		// 							Type: to.Ptr("SQL Server 2012"),
		// 							Count: to.Ptr[int32](27),
		// 					}},
		// 					DistributionByVirtualization: []*armmigrationassessment.DistributionByVirtualization{
		// 						{
		// 							Count: to.Ptr[int32](30),
		// 							VirtualizationType: to.Ptr("Vmware"),
		// 					}},
		// 					IaasOsSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 						Extended: to.Ptr[int32](26),
		// 						MainStream: to.Ptr[int32](20),
		// 						OutOfSupport: to.Ptr[int32](29),
		// 						UnknownSupport: to.Ptr[int32](2),
		// 					},
		// 					IaasSQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 						Extended: to.Ptr[int32](26),
		// 						MainStream: to.Ptr[int32](20),
		// 						OutOfSupport: to.Ptr[int32](29),
		// 						UnknownSupport: to.Ptr[int32](2),
		// 					},
		// 					MemoryGb: to.Ptr[float32](4),
		// 					MemoryUtilization: to.Ptr[float32](10),
		// 					OnPremisesIaasCostDetails: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					OnPremisesIaasCostForDecommissioned: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					OnPremisesUtilizationData: &armmigrationassessment.UtilizationData{
		// 						NumberOfActiveEntities: to.Ptr[int32](10),
		// 						NumberOfDecommisionEntities: to.Ptr[int32](10),
		// 						NumberOfInactiveEntities: to.Ptr[int32](18),
		// 						NumberOfUnknownEntities: to.Ptr[int32](13),
		// 					},
		// 					OSLicensingDetails: []*armmigrationassessment.IaasOsLicensingDetails{
		// 						{
		// 							DecomissionCost: to.Ptr[float32](29),
		// 							OSType: to.Ptr("Windows"),
		// 							TotalCost: to.Ptr[float32](11),
		// 					}},
		// 					OSServicePackInsight: &armmigrationassessment.ServicePackInsight{
		// 						Patched: to.Ptr[int32](14),
		// 						UnknownServicePack: to.Ptr[int32](3),
		// 						Unpatched: to.Ptr[int32](5),
		// 					},
		// 					Servers: to.Ptr[int32](29),
		// 					SQLServicePackInsight: &armmigrationassessment.ServicePackInsight{
		// 						Patched: to.Ptr[int32](14),
		// 						UnknownServicePack: to.Ptr[int32](3),
		// 						Unpatched: to.Ptr[int32](5),
		// 					},
		// 					StorageUtilization: to.Ptr[float32](26),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type BusinessCaseIaasSummaryOperationsClientGetOptions

type BusinessCaseIaasSummaryOperationsClientGetOptions struct {
}

BusinessCaseIaasSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCaseIaasSummaryOperationsClient.Get method.

type BusinessCaseIaasSummaryOperationsClientGetResponse

type BusinessCaseIaasSummaryOperationsClientGetResponse struct {
	// Iaas summary REST resource.
	IaasSummary
}

BusinessCaseIaasSummaryOperationsClientGetResponse contains the response from method BusinessCaseIaasSummaryOperationsClient.Get.

type BusinessCaseIaasSummaryOperationsClientListByBusinessCaseOptions

type BusinessCaseIaasSummaryOperationsClientListByBusinessCaseOptions struct {
}

BusinessCaseIaasSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCaseIaasSummaryOperationsClient.NewListByBusinessCasePager method.

type BusinessCaseIaasSummaryOperationsClientListByBusinessCaseResponse

type BusinessCaseIaasSummaryOperationsClientListByBusinessCaseResponse struct {
	// The response of a IaasSummary list operation.
	IaasSummaryListResult
}

BusinessCaseIaasSummaryOperationsClientListByBusinessCaseResponse contains the response from method BusinessCaseIaasSummaryOperationsClient.NewListByBusinessCasePager.

type BusinessCaseListResult

type BusinessCaseListResult struct {
	// REQUIRED; The BusinessCase items on this page
	Value []*BusinessCase

	// The link to the next page of items
	NextLink *string
}

BusinessCaseListResult - The response of a BusinessCase list operation.

func (BusinessCaseListResult) MarshalJSON

func (b BusinessCaseListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BusinessCaseListResult.

func (*BusinessCaseListResult) UnmarshalJSON

func (b *BusinessCaseListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BusinessCaseListResult.

type BusinessCaseOperationsClient

type BusinessCaseOperationsClient struct {
	// contains filtered or unexported fields
}

BusinessCaseOperationsClient contains the methods for the BusinessCaseOperations group. Don't use this type directly, use NewBusinessCaseOperationsClient() instead.

func NewBusinessCaseOperationsClient

func NewBusinessCaseOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*BusinessCaseOperationsClient, error)

NewBusinessCaseOperationsClient creates a new instance of BusinessCaseOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*BusinessCaseOperationsClient) BeginCompareSummary

func (client *BusinessCaseOperationsClient) BeginCompareSummary(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, body any, options *BusinessCaseOperationsClientBeginCompareSummaryOptions) (*runtime.Poller[BusinessCaseOperationsClientCompareSummaryResponse], error)

BeginCompareSummary - A long-running resource action. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • body - The content of the action request
  • options - BusinessCaseOperationsClientBeginCompareSummaryOptions contains the optional parameters for the BusinessCaseOperationsClient.BeginCompareSummary method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOperations_CompareSummary_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewBusinessCaseOperationsClient().BeginCompareSummary(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.CompareSummary = armmigrationassessment.CompareSummary{
	// 	AzureArcEnabledOnPremisesCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](21),
	// 		ComputeCost: to.Ptr[float32](14),
	// 		EsuSavings: to.Ptr[float32](22),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](12),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](24),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](28),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](8),
	// 		SecurityCost: to.Ptr[float32](19),
	// 		StorageCost: to.Ptr[float32](28),
	// 	},
	// 	AzureAvsCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	AzureIaasCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	AzurePaasCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	FutureAzureArcEnabledOnPremisesCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](21),
	// 		ComputeCost: to.Ptr[float32](14),
	// 		EsuSavings: to.Ptr[float32](22),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](12),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](24),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](28),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](8),
	// 		SecurityCost: to.Ptr[float32](19),
	// 		StorageCost: to.Ptr[float32](28),
	// 	},
	// 	FutureCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](21),
	// 		ComputeCost: to.Ptr[float32](14),
	// 		EsuSavings: to.Ptr[float32](22),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](12),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](24),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](28),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](8),
	// 		SecurityCost: to.Ptr[float32](19),
	// 		StorageCost: to.Ptr[float32](28),
	// 	},
	// 	OnPremisesAvsCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	OnPremisesAvsDecommissionedCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	OnPremisesIaasCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	OnPremisesIaasDecommissionedCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	OnPremisesPaasCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// 	OnPremisesPaasDecommissionedCostDetails: &armmigrationassessment.CostDetails{
	// 		AhubSavings: to.Ptr[float32](1),
	// 		ComputeCost: to.Ptr[float32](19),
	// 		EsuSavings: to.Ptr[float32](28),
	// 		FacilitiesCost: to.Ptr[float32](19),
	// 		ItLaborCost: to.Ptr[float32](29),
	// 		LinuxAhubSavings: to.Ptr[float32](10),
	// 		ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 			ManagementCost: to.Ptr[float32](22),
	// 			ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 				{
	// 					Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 					Value: to.Ptr[float32](16),
	// 			}},
	// 		},
	// 		NetworkCost: to.Ptr[float32](28),
	// 		SecurityCost: to.Ptr[float32](4),
	// 		StorageCost: to.Ptr[float32](27),
	// 	},
	// }
}
Output:

func (*BusinessCaseOperationsClient) BeginCreate

func (client *BusinessCaseOperationsClient) BeginCreate(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, resource BusinessCase, options *BusinessCaseOperationsClientBeginCreateOptions) (*runtime.Poller[BusinessCaseOperationsClientCreateResponse], error)

BeginCreate - Create a BusinessCase If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • resource - Resource create parameters.
  • options - BusinessCaseOperationsClientBeginCreateOptions contains the optional parameters for the BusinessCaseOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewBusinessCaseOperationsClient().BeginCreate(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", armmigrationassessment.BusinessCase{
		Properties: &armmigrationassessment.BusinessCaseProperties{
			Settings: &armmigrationassessment.Settings{
				AzureArcSettings: &armmigrationassessment.AzureArcSettings{
					AzureArcState:       to.Ptr(armmigrationassessment.AzureArcStateEnabled),
					LaborCostPercentage: to.Ptr[float32](70),
					ManagementSettings: &armmigrationassessment.AzureArcManagementSettings{
						MonitoringSettings: &armmigrationassessment.AzureArcMonitoringSettings{
							AlertRulesCount: to.Ptr[int32](10),
							LogsVolumeInGB:  to.Ptr[float32](0.5),
						},
					},
				},
				AzureSettings: &armmigrationassessment.AzureSettings{
					AvsLaborCostPercentage:   to.Ptr[float32](0),
					BusinessCaseType:         to.Ptr(armmigrationassessment.MigrationStrategyOptimizeForCost),
					ComfortFactor:            to.Ptr[float32](29),
					Currency:                 to.Ptr(armmigrationassessment.BusinessCaseCurrencyUSD),
					DiscountPercentage:       to.Ptr[float32](83),
					IaasLaborCostPercentage:  to.Ptr[float32](94),
					InfrastructureGrowthRate: to.Ptr[float32](83),
					NetworkCostPercentage:    to.Ptr[float32](40),
					PaasLaborCostPercentage:  to.Ptr[float32](47),
					PerYearMigrationCompletionPercentage: map[string]*float32{
						"Year0": to.Ptr[float32](20),
						"Year1": to.Ptr[float32](30),
						"Year2": to.Ptr[float32](60),
						"Year3": to.Ptr[float32](90),
					},
					PerformanceDataEndTime:           to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:10:07.764Z"); return t }()),
					PerformanceDataStartTime:         to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:10:07.764Z"); return t }()),
					PerformanceUtilizationPercentile: to.Ptr[float32](4),
					SavingsOption:                    to.Ptr(armmigrationassessment.SavingsOptionRI3Year),
					TargetLocation:                   to.Ptr("WestUs2"),
					Wacc:                             to.Ptr[float32](79),
					WorkloadDiscoverySource:          to.Ptr(armmigrationassessment.DiscoverySourceAppliance),
				},
				OnPremiseSettings: &armmigrationassessment.OnPremiseSettings{
					ComputeSettings: &armmigrationassessment.ComputeSettings{
						HyperthreadCoreToMemoryRatio: to.Ptr[float32](12),
						Price:                        to.Ptr[float32](16),
						RhelLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
							LicenseCost: to.Ptr[float32](9),
						},
						SQLServerLicensing: []*armmigrationassessment.SQLServerLicensingSettings{
							{
								LicenseCost:           to.Ptr[float32](27),
								SoftwareAssuranceCost: to.Ptr[float32](16),
								Version:               to.Ptr(armmigrationassessment.SQLServerLicenseTypeEnterprise),
							}},
						SuseLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
							LicenseCost: to.Ptr[float32](9),
						},
						VirtualizationSoftwareSettings: &armmigrationassessment.VirtualizationSoftwareSettings{
							VMwareCloudFoundationLicenseCost: to.Ptr[float32](7),
						},
						WindowsServerLicensing: &armmigrationassessment.WindowsServerLicensingSettings{
							LicenseCost:           to.Ptr[float32](9),
							LicensesPerCore:       to.Ptr[int32](11),
							SoftwareAssuranceCost: to.Ptr[float32](1),
						},
					},
					FacilitySettings: &armmigrationassessment.FacilitySettings{
						FacilitiesCostPerKwh: to.Ptr[float32](28),
					},
					LaborSettings: &armmigrationassessment.LaborSettings{
						HourlyAdminCost:         to.Ptr[float32](25),
						PhysicalServersPerAdmin: to.Ptr[int32](6),
						VirtualMachinesPerAdmin: to.Ptr[int32](24),
					},
					ManagementSettings: &armmigrationassessment.ManagementSettings{
						HypervVirtualizationManagementSettings: &armmigrationassessment.HypervVirtualizationManagementSettings{
							LicenseAndSupportList: []*armmigrationassessment.HypervLicense{
								{
									LicenseCost: to.Ptr[float32](4),
									LicenseType: to.Ptr(armmigrationassessment.HyperVLicenseTypeStandard),
								}},
							NumberOfPhysicalCoresPerLicense: to.Ptr[int32](2),
							SoftwareAssuranceCost:           to.Ptr[float32](11),
						},
						OtherManagementCostsSettings: &armmigrationassessment.OtherManagementCostsSettings{
							DataProtectionCostPerServerPerYear: to.Ptr[float32](18),
							MonitoringCostPerServerPerYear:     to.Ptr[float32](10),
							PatchingCostPerServerPerYear:       to.Ptr[float32](18),
						},
						ThirdPartyManagementSettings: &armmigrationassessment.ThirdPartyManagementSettings{
							LicenseCost: to.Ptr[float32](23),
							SupportCost: to.Ptr[float32](9),
						},
					},
					NetworkSettings: &armmigrationassessment.NetworkSettings{
						HardwareSoftwareCostPercentage: to.Ptr[float32](50),
						MaintenanceCostPercentage:      to.Ptr[float32](48),
					},
					SecuritySettings: &armmigrationassessment.SecuritySettings{
						ServerSecurityCostPerServerPerYear:    to.Ptr[float32](14),
						SQLServerSecurityCostPerServerPerYear: to.Ptr[float32](7),
					},
					StorageSettings: &armmigrationassessment.StorageSettings{
						CostPerGbPerMonth: to.Ptr[float32](22),
						MaintainanceCostPercentageToAcquisitionCost: to.Ptr[float32](1),
					},
				},
			},
			State: to.Ptr(armmigrationassessment.BusinessCaseStateInProgress),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.BusinessCase = armmigrationassessment.BusinessCase{
	// 	Name: to.Ptr("sample-business-case"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.BusinessCaseProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
	// 		ReportStatusDetails: []*armmigrationassessment.ReportDetails{
	// 			{
	// 				ReportStatus: to.Ptr(armmigrationassessment.ReportStatusCompleted),
	// 				ReportType: to.Ptr(armmigrationassessment.ReportTypeExcel),
	// 		}},
	// 		Settings: &armmigrationassessment.Settings{
	// 			AzureArcSettings: &armmigrationassessment.AzureArcSettings{
	// 				AzureArcState: to.Ptr(armmigrationassessment.AzureArcStateEnabled),
	// 				LaborCostPercentage: to.Ptr[float32](70),
	// 				ManagementSettings: &armmigrationassessment.AzureArcManagementSettings{
	// 					MonitoringSettings: &armmigrationassessment.AzureArcMonitoringSettings{
	// 						AlertRulesCount: to.Ptr[int32](10),
	// 						LogsVolumeInGB: to.Ptr[float32](0.5),
	// 					},
	// 				},
	// 			},
	// 			AzureSettings: &armmigrationassessment.AzureSettings{
	// 				AvsLaborCostPercentage: to.Ptr[float32](0),
	// 				BusinessCaseType: to.Ptr(armmigrationassessment.MigrationStrategyOptimizeForCost),
	// 				ComfortFactor: to.Ptr[float32](29),
	// 				Currency: to.Ptr(armmigrationassessment.BusinessCaseCurrencyUSD),
	// 				DiscountPercentage: to.Ptr[float32](83),
	// 				IaasLaborCostPercentage: to.Ptr[float32](94),
	// 				InfrastructureGrowthRate: to.Ptr[float32](83),
	// 				NetworkCostPercentage: to.Ptr[float32](40),
	// 				PaasLaborCostPercentage: to.Ptr[float32](47),
	// 				PerYearMigrationCompletionPercentage: map[string]*float32{
	// 					"Year0": to.Ptr[float32](20),
	// 					"Year1": to.Ptr[float32](30),
	// 					"Year2": to.Ptr[float32](60),
	// 					"Year3": to.Ptr[float32](90),
	// 				},
	// 				PerformanceDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:10:07.764Z"); return t}()),
	// 				PerformanceDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:10:07.764Z"); return t}()),
	// 				PerformanceUtilizationPercentile: to.Ptr[float32](4),
	// 				SavingsOption: to.Ptr(armmigrationassessment.SavingsOptionRI3Year),
	// 				TargetLocation: to.Ptr("WestUs2"),
	// 				Wacc: to.Ptr[float32](79),
	// 				WorkloadDiscoverySource: to.Ptr(armmigrationassessment.DiscoverySourceAppliance),
	// 			},
	// 			OnPremiseSettings: &armmigrationassessment.OnPremiseSettings{
	// 				ComputeSettings: &armmigrationassessment.ComputeSettings{
	// 					HyperthreadCoreToMemoryRatio: to.Ptr[float32](12),
	// 					Price: to.Ptr[float32](16),
	// 					RhelLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
	// 						LicenseCost: to.Ptr[float32](9),
	// 					},
	// 					SQLServerLicensing: []*armmigrationassessment.SQLServerLicensingSettings{
	// 						{
	// 							LicenseCost: to.Ptr[float32](27),
	// 							SoftwareAssuranceCost: to.Ptr[float32](16),
	// 							Version: to.Ptr(armmigrationassessment.SQLServerLicenseTypeEnterprise),
	// 					}},
	// 					SuseLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
	// 						LicenseCost: to.Ptr[float32](9),
	// 					},
	// 					VirtualizationSoftwareSettings: &armmigrationassessment.VirtualizationSoftwareSettings{
	// 						VMwareCloudFoundationLicenseCost: to.Ptr[float32](7),
	// 					},
	// 					WindowsServerLicensing: &armmigrationassessment.WindowsServerLicensingSettings{
	// 						LicenseCost: to.Ptr[float32](9),
	// 						LicensesPerCore: to.Ptr[int32](11),
	// 						SoftwareAssuranceCost: to.Ptr[float32](1),
	// 					},
	// 				},
	// 				FacilitySettings: &armmigrationassessment.FacilitySettings{
	// 					FacilitiesCostPerKwh: to.Ptr[float32](28),
	// 				},
	// 				LaborSettings: &armmigrationassessment.LaborSettings{
	// 					HourlyAdminCost: to.Ptr[float32](25),
	// 					PhysicalServersPerAdmin: to.Ptr[int32](6),
	// 					VirtualMachinesPerAdmin: to.Ptr[int32](24),
	// 				},
	// 				ManagementSettings: &armmigrationassessment.ManagementSettings{
	// 					HypervVirtualizationManagementSettings: &armmigrationassessment.HypervVirtualizationManagementSettings{
	// 						LicenseAndSupportList: []*armmigrationassessment.HypervLicense{
	// 							{
	// 								LicenseCost: to.Ptr[float32](4),
	// 								LicenseType: to.Ptr(armmigrationassessment.HyperVLicenseTypeStandard),
	// 						}},
	// 						NumberOfPhysicalCoresPerLicense: to.Ptr[int32](2),
	// 						SoftwareAssuranceCost: to.Ptr[float32](11),
	// 					},
	// 					OtherManagementCostsSettings: &armmigrationassessment.OtherManagementCostsSettings{
	// 						DataProtectionCostPerServerPerYear: to.Ptr[float32](18),
	// 						MonitoringCostPerServerPerYear: to.Ptr[float32](10),
	// 						PatchingCostPerServerPerYear: to.Ptr[float32](18),
	// 					},
	// 					ThirdPartyManagementSettings: &armmigrationassessment.ThirdPartyManagementSettings{
	// 						LicenseCost: to.Ptr[float32](23),
	// 						SupportCost: to.Ptr[float32](9),
	// 					},
	// 				},
	// 				NetworkSettings: &armmigrationassessment.NetworkSettings{
	// 					HardwareSoftwareCostPercentage: to.Ptr[float32](50),
	// 					MaintenanceCostPercentage: to.Ptr[float32](48),
	// 				},
	// 				SecuritySettings: &armmigrationassessment.SecuritySettings{
	// 					ServerSecurityCostPerServerPerYear: to.Ptr[float32](14),
	// 					SQLServerSecurityCostPerServerPerYear: to.Ptr[float32](7),
	// 				},
	// 				StorageSettings: &armmigrationassessment.StorageSettings{
	// 					CostPerGbPerMonth: to.Ptr[float32](22),
	// 					MaintainanceCostPercentageToAcquisitionCost: to.Ptr[float32](1),
	// 				},
	// 			},
	// 		},
	// 		State: to.Ptr(armmigrationassessment.BusinessCaseStateCompleted),
	// 	},
	// }
}
Output:

func (*BusinessCaseOperationsClient) BeginGetReportDownloadURL

BeginGetReportDownloadURL - Get the URL for downloading the business case in a report format. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • body - The content of the action request
  • options - BusinessCaseOperationsClientBeginGetReportDownloadURLOptions contains the optional parameters for the BusinessCaseOperationsClient.BeginGetReportDownloadURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOperations_GetReportDownloadUrl_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewBusinessCaseOperationsClient().BeginGetReportDownloadURL(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.ReportDownloadURL = armmigrationassessment.ReportDownloadURL{
	// 	BusinessCaseReportURL: to.Ptr("mxwaejake"),
	// 	ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:10:20.491Z"); return t}()),
	// }
}
Output:

func (*BusinessCaseOperationsClient) Delete

func (client *BusinessCaseOperationsClient) Delete(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, options *BusinessCaseOperationsClientDeleteOptions) (BusinessCaseOperationsClientDeleteResponse, error)

Delete - Delete a BusinessCase If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - BusinessCaseOperationsClientDeleteOptions contains the optional parameters for the BusinessCaseOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewBusinessCaseOperationsClient().Delete(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*BusinessCaseOperationsClient) Get

func (client *BusinessCaseOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, options *BusinessCaseOperationsClientGetOptions) (BusinessCaseOperationsClientGetResponse, error)

Get - Get a BusinessCase If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - BusinessCaseOperationsClientGetOptions contains the optional parameters for the BusinessCaseOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewBusinessCaseOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.BusinessCase = armmigrationassessment.BusinessCase{
	// 	Name: to.Ptr("sample-business-case"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases"),
	// 	ID: to.Ptr("/subscriptions/5E8485F1-A440-404E-9F91-AFAC5A9993B2/resourceGroups/rgv2024-01-01-preview/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.238Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.238Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.BusinessCaseProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
	// 		ReportStatusDetails: []*armmigrationassessment.ReportDetails{
	// 			{
	// 				ReportStatus: to.Ptr(armmigrationassessment.ReportStatusCompleted),
	// 				ReportType: to.Ptr(armmigrationassessment.ReportTypeExcel),
	// 		}},
	// 		Settings: &armmigrationassessment.Settings{
	// 			AzureArcSettings: &armmigrationassessment.AzureArcSettings{
	// 				AzureArcState: to.Ptr(armmigrationassessment.AzureArcStateEnabled),
	// 				LaborCostPercentage: to.Ptr[float32](70),
	// 				ManagementSettings: &armmigrationassessment.AzureArcManagementSettings{
	// 					MonitoringSettings: &armmigrationassessment.AzureArcMonitoringSettings{
	// 						AlertRulesCount: to.Ptr[int32](10),
	// 						LogsVolumeInGB: to.Ptr[float32](0.5),
	// 					},
	// 				},
	// 			},
	// 			AzureSettings: &armmigrationassessment.AzureSettings{
	// 				AvsLaborCostPercentage: to.Ptr[float32](69),
	// 				BusinessCaseType: to.Ptr(armmigrationassessment.MigrationStrategyOptimizeForCost),
	// 				ComfortFactor: to.Ptr[float32](8),
	// 				Currency: to.Ptr(armmigrationassessment.BusinessCaseCurrencyUSD),
	// 				DiscountPercentage: to.Ptr[float32](52),
	// 				IaasLaborCostPercentage: to.Ptr[float32](73),
	// 				InfrastructureGrowthRate: to.Ptr[float32](44),
	// 				NetworkCostPercentage: to.Ptr[float32](71),
	// 				PaasLaborCostPercentage: to.Ptr[float32](50),
	// 				PerYearMigrationCompletionPercentage: map[string]*float32{
	// 					"Year0": to.Ptr[float32](20),
	// 					"Year1": to.Ptr[float32](30),
	// 					"Year2": to.Ptr[float32](60),
	// 					"Year3": to.Ptr[float32](90),
	// 				},
	// 				PerformanceDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.237Z"); return t}()),
	// 				PerformanceDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.237Z"); return t}()),
	// 				PerformanceUtilizationPercentile: to.Ptr[float32](64),
	// 				SavingsOption: to.Ptr(armmigrationassessment.SavingsOptionRI3Year),
	// 				TargetLocation: to.Ptr("WestUs2"),
	// 				Wacc: to.Ptr[float32](5),
	// 				WorkloadDiscoverySource: to.Ptr(armmigrationassessment.DiscoverySourceAppliance),
	// 			},
	// 			OnPremiseSettings: &armmigrationassessment.OnPremiseSettings{
	// 				ComputeSettings: &armmigrationassessment.ComputeSettings{
	// 					HyperthreadCoreToMemoryRatio: to.Ptr[float32](5),
	// 					Price: to.Ptr[float32](14),
	// 					RhelLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
	// 						LicenseCost: to.Ptr[float32](9),
	// 					},
	// 					SQLServerLicensing: []*armmigrationassessment.SQLServerLicensingSettings{
	// 						{
	// 							LicenseCost: to.Ptr[float32](14),
	// 							SoftwareAssuranceCost: to.Ptr[float32](13),
	// 							Version: to.Ptr(armmigrationassessment.SQLServerLicenseTypeEnterprise),
	// 					}},
	// 					SuseLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
	// 						LicenseCost: to.Ptr[float32](9),
	// 					},
	// 					VirtualizationSoftwareSettings: &armmigrationassessment.VirtualizationSoftwareSettings{
	// 						VMwareCloudFoundationLicenseCost: to.Ptr[float32](7),
	// 					},
	// 					WindowsServerLicensing: &armmigrationassessment.WindowsServerLicensingSettings{
	// 						LicenseCost: to.Ptr[float32](13),
	// 						LicensesPerCore: to.Ptr[int32](8),
	// 						SoftwareAssuranceCost: to.Ptr[float32](14),
	// 					},
	// 				},
	// 				FacilitySettings: &armmigrationassessment.FacilitySettings{
	// 					FacilitiesCostPerKwh: to.Ptr[float32](28),
	// 				},
	// 				LaborSettings: &armmigrationassessment.LaborSettings{
	// 					HourlyAdminCost: to.Ptr[float32](15),
	// 					PhysicalServersPerAdmin: to.Ptr[int32](30),
	// 					VirtualMachinesPerAdmin: to.Ptr[int32](1),
	// 				},
	// 				ManagementSettings: &armmigrationassessment.ManagementSettings{
	// 					HypervVirtualizationManagementSettings: &armmigrationassessment.HypervVirtualizationManagementSettings{
	// 						LicenseAndSupportList: []*armmigrationassessment.HypervLicense{
	// 							{
	// 								LicenseCost: to.Ptr[float32](12),
	// 								LicenseType: to.Ptr(armmigrationassessment.HyperVLicenseTypeStandard),
	// 						}},
	// 						NumberOfPhysicalCoresPerLicense: to.Ptr[int32](21),
	// 						SoftwareAssuranceCost: to.Ptr[float32](1),
	// 					},
	// 					OtherManagementCostsSettings: &armmigrationassessment.OtherManagementCostsSettings{
	// 						DataProtectionCostPerServerPerYear: to.Ptr[float32](28),
	// 						MonitoringCostPerServerPerYear: to.Ptr[float32](15),
	// 						PatchingCostPerServerPerYear: to.Ptr[float32](15),
	// 					},
	// 					ThirdPartyManagementSettings: &armmigrationassessment.ThirdPartyManagementSettings{
	// 						LicenseCost: to.Ptr[float32](6),
	// 						SupportCost: to.Ptr[float32](2),
	// 					},
	// 				},
	// 				NetworkSettings: &armmigrationassessment.NetworkSettings{
	// 					HardwareSoftwareCostPercentage: to.Ptr[float32](79),
	// 					MaintenanceCostPercentage: to.Ptr[float32](82),
	// 				},
	// 				SecuritySettings: &armmigrationassessment.SecuritySettings{
	// 					ServerSecurityCostPerServerPerYear: to.Ptr[float32](2),
	// 					SQLServerSecurityCostPerServerPerYear: to.Ptr[float32](23),
	// 				},
	// 				StorageSettings: &armmigrationassessment.StorageSettings{
	// 					CostPerGbPerMonth: to.Ptr[float32](15),
	// 					MaintainanceCostPercentageToAcquisitionCost: to.Ptr[float32](91),
	// 				},
	// 			},
	// 		},
	// 		State: to.Ptr(armmigrationassessment.BusinessCaseStateCompleted),
	// 	},
	// }
}
Output:

func (*BusinessCaseOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List BusinessCase resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - BusinessCaseOperationsClientListByAssessmentProjectOptions contains the optional parameters for the BusinessCaseOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewBusinessCaseOperationsClient().NewListByAssessmentProjectPager("rgopenapi", "multipleto8617project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.BusinessCaseListResult = armmigrationassessment.BusinessCaseListResult{
		// 	Value: []*armmigrationassessment.BusinessCase{
		// 		{
		// 			Name: to.Ptr("businessCase1"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases"),
		// 			ID: to.Ptr("/subscriptions/5E8485F1-A440-404E-9F91-AFAC5A9993B2/resourceGroups/rgv2024-01-01-preview/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/businessCase1"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.238Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.238Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.BusinessCaseProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
		// 				ReportStatusDetails: []*armmigrationassessment.ReportDetails{
		// 					{
		// 						ReportStatus: to.Ptr(armmigrationassessment.ReportStatusCompleted),
		// 						ReportType: to.Ptr(armmigrationassessment.ReportTypeExcel),
		// 				}},
		// 				Settings: &armmigrationassessment.Settings{
		// 					AzureArcSettings: &armmigrationassessment.AzureArcSettings{
		// 						AzureArcState: to.Ptr(armmigrationassessment.AzureArcStateEnabled),
		// 						LaborCostPercentage: to.Ptr[float32](70),
		// 						ManagementSettings: &armmigrationassessment.AzureArcManagementSettings{
		// 							MonitoringSettings: &armmigrationassessment.AzureArcMonitoringSettings{
		// 								AlertRulesCount: to.Ptr[int32](10),
		// 								LogsVolumeInGB: to.Ptr[float32](0.5),
		// 							},
		// 						},
		// 					},
		// 					AzureSettings: &armmigrationassessment.AzureSettings{
		// 						AvsLaborCostPercentage: to.Ptr[float32](69),
		// 						BusinessCaseType: to.Ptr(armmigrationassessment.MigrationStrategyOptimizeForCost),
		// 						ComfortFactor: to.Ptr[float32](8),
		// 						Currency: to.Ptr(armmigrationassessment.BusinessCaseCurrencyUSD),
		// 						DiscountPercentage: to.Ptr[float32](52),
		// 						IaasLaborCostPercentage: to.Ptr[float32](73),
		// 						InfrastructureGrowthRate: to.Ptr[float32](44),
		// 						NetworkCostPercentage: to.Ptr[float32](71),
		// 						PaasLaborCostPercentage: to.Ptr[float32](50),
		// 						PerYearMigrationCompletionPercentage: map[string]*float32{
		// 							"Year0": to.Ptr[float32](20),
		// 							"Year1": to.Ptr[float32](30),
		// 							"Year2": to.Ptr[float32](60),
		// 							"Year3": to.Ptr[float32](90),
		// 						},
		// 						PerformanceDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.237Z"); return t}()),
		// 						PerformanceDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-05T11:57:41.237Z"); return t}()),
		// 						PerformanceUtilizationPercentile: to.Ptr[float32](64),
		// 						SavingsOption: to.Ptr(armmigrationassessment.SavingsOptionRI3Year),
		// 						TargetLocation: to.Ptr("WestUs2"),
		// 						Wacc: to.Ptr[float32](5),
		// 						WorkloadDiscoverySource: to.Ptr(armmigrationassessment.DiscoverySourceAppliance),
		// 					},
		// 					OnPremiseSettings: &armmigrationassessment.OnPremiseSettings{
		// 						ComputeSettings: &armmigrationassessment.ComputeSettings{
		// 							HyperthreadCoreToMemoryRatio: to.Ptr[float32](5),
		// 							Price: to.Ptr[float32](14),
		// 							RhelLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
		// 								LicenseCost: to.Ptr[float32](9),
		// 							},
		// 							SQLServerLicensing: []*armmigrationassessment.SQLServerLicensingSettings{
		// 								{
		// 									LicenseCost: to.Ptr[float32](14),
		// 									SoftwareAssuranceCost: to.Ptr[float32](13),
		// 									Version: to.Ptr(armmigrationassessment.SQLServerLicenseTypeEnterprise),
		// 							}},
		// 							SuseLinuxServerLicensing: &armmigrationassessment.LinuxServerLicensingSettings{
		// 								LicenseCost: to.Ptr[float32](9),
		// 							},
		// 							VirtualizationSoftwareSettings: &armmigrationassessment.VirtualizationSoftwareSettings{
		// 								VMwareCloudFoundationLicenseCost: to.Ptr[float32](7),
		// 							},
		// 							WindowsServerLicensing: &armmigrationassessment.WindowsServerLicensingSettings{
		// 								LicenseCost: to.Ptr[float32](13),
		// 								LicensesPerCore: to.Ptr[int32](8),
		// 								SoftwareAssuranceCost: to.Ptr[float32](14),
		// 							},
		// 						},
		// 						FacilitySettings: &armmigrationassessment.FacilitySettings{
		// 							FacilitiesCostPerKwh: to.Ptr[float32](28),
		// 						},
		// 						LaborSettings: &armmigrationassessment.LaborSettings{
		// 							HourlyAdminCost: to.Ptr[float32](15),
		// 							PhysicalServersPerAdmin: to.Ptr[int32](30),
		// 							VirtualMachinesPerAdmin: to.Ptr[int32](1),
		// 						},
		// 						ManagementSettings: &armmigrationassessment.ManagementSettings{
		// 							HypervVirtualizationManagementSettings: &armmigrationassessment.HypervVirtualizationManagementSettings{
		// 								LicenseAndSupportList: []*armmigrationassessment.HypervLicense{
		// 									{
		// 										LicenseCost: to.Ptr[float32](12),
		// 										LicenseType: to.Ptr(armmigrationassessment.HyperVLicenseTypeStandard),
		// 								}},
		// 								NumberOfPhysicalCoresPerLicense: to.Ptr[int32](21),
		// 								SoftwareAssuranceCost: to.Ptr[float32](1),
		// 							},
		// 							OtherManagementCostsSettings: &armmigrationassessment.OtherManagementCostsSettings{
		// 								DataProtectionCostPerServerPerYear: to.Ptr[float32](28),
		// 								MonitoringCostPerServerPerYear: to.Ptr[float32](15),
		// 								PatchingCostPerServerPerYear: to.Ptr[float32](15),
		// 							},
		// 							ThirdPartyManagementSettings: &armmigrationassessment.ThirdPartyManagementSettings{
		// 								LicenseCost: to.Ptr[float32](6),
		// 								SupportCost: to.Ptr[float32](2),
		// 							},
		// 						},
		// 						NetworkSettings: &armmigrationassessment.NetworkSettings{
		// 							HardwareSoftwareCostPercentage: to.Ptr[float32](79),
		// 							MaintenanceCostPercentage: to.Ptr[float32](82),
		// 						},
		// 						SecuritySettings: &armmigrationassessment.SecuritySettings{
		// 							ServerSecurityCostPerServerPerYear: to.Ptr[float32](2),
		// 							SQLServerSecurityCostPerServerPerYear: to.Ptr[float32](23),
		// 						},
		// 						StorageSettings: &armmigrationassessment.StorageSettings{
		// 							CostPerGbPerMonth: to.Ptr[float32](15),
		// 							MaintainanceCostPercentageToAcquisitionCost: to.Ptr[float32](91),
		// 						},
		// 					},
		// 				},
		// 				State: to.Ptr(armmigrationassessment.BusinessCaseStateCompleted),
		// 			},
		// 	}},
		// }
	}
}
Output:

type BusinessCaseOperationsClientBeginCompareSummaryOptions

type BusinessCaseOperationsClientBeginCompareSummaryOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

BusinessCaseOperationsClientBeginCompareSummaryOptions contains the optional parameters for the BusinessCaseOperationsClient.BeginCompareSummary method.

type BusinessCaseOperationsClientBeginCreateOptions

type BusinessCaseOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

BusinessCaseOperationsClientBeginCreateOptions contains the optional parameters for the BusinessCaseOperationsClient.BeginCreate method.

type BusinessCaseOperationsClientBeginGetReportDownloadURLOptions

type BusinessCaseOperationsClientBeginGetReportDownloadURLOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

BusinessCaseOperationsClientBeginGetReportDownloadURLOptions contains the optional parameters for the BusinessCaseOperationsClient.BeginGetReportDownloadURL method.

type BusinessCaseOperationsClientCompareSummaryResponse

type BusinessCaseOperationsClientCompareSummaryResponse struct {
	// Compare summary class.
	CompareSummary
}

BusinessCaseOperationsClientCompareSummaryResponse contains the response from method BusinessCaseOperationsClient.BeginCompareSummary.

type BusinessCaseOperationsClientCreateResponse

type BusinessCaseOperationsClientCreateResponse struct {
	// Business case resource.
	BusinessCase
}

BusinessCaseOperationsClientCreateResponse contains the response from method BusinessCaseOperationsClient.BeginCreate.

type BusinessCaseOperationsClientDeleteOptions

type BusinessCaseOperationsClientDeleteOptions struct {
}

BusinessCaseOperationsClientDeleteOptions contains the optional parameters for the BusinessCaseOperationsClient.Delete method.

type BusinessCaseOperationsClientDeleteResponse

type BusinessCaseOperationsClientDeleteResponse struct {
}

BusinessCaseOperationsClientDeleteResponse contains the response from method BusinessCaseOperationsClient.Delete.

type BusinessCaseOperationsClientGetOptions

type BusinessCaseOperationsClientGetOptions struct {
}

BusinessCaseOperationsClientGetOptions contains the optional parameters for the BusinessCaseOperationsClient.Get method.

type BusinessCaseOperationsClientGetReportDownloadURLResponse

type BusinessCaseOperationsClientGetReportDownloadURLResponse struct {
	// Download URL for assessment report.
	ReportDownloadURL
}

BusinessCaseOperationsClientGetReportDownloadURLResponse contains the response from method BusinessCaseOperationsClient.BeginGetReportDownloadURL.

type BusinessCaseOperationsClientGetResponse

type BusinessCaseOperationsClientGetResponse struct {
	// Business case resource.
	BusinessCase
}

BusinessCaseOperationsClientGetResponse contains the response from method BusinessCaseOperationsClient.Get.

type BusinessCaseOperationsClientListByAssessmentProjectOptions

type BusinessCaseOperationsClientListByAssessmentProjectOptions struct {
}

BusinessCaseOperationsClientListByAssessmentProjectOptions contains the optional parameters for the BusinessCaseOperationsClient.NewListByAssessmentProjectPager method.

type BusinessCaseOperationsClientListByAssessmentProjectResponse

type BusinessCaseOperationsClientListByAssessmentProjectResponse struct {
	// The response of a BusinessCase list operation.
	BusinessCaseListResult
}

BusinessCaseOperationsClientListByAssessmentProjectResponse contains the response from method BusinessCaseOperationsClient.NewListByAssessmentProjectPager.

type BusinessCaseOverviewSummaryOperationsClient

type BusinessCaseOverviewSummaryOperationsClient struct {
	// contains filtered or unexported fields
}

BusinessCaseOverviewSummaryOperationsClient contains the methods for the BusinessCaseOverviewSummaryOperations group. Don't use this type directly, use NewBusinessCaseOverviewSummaryOperationsClient() instead.

func NewBusinessCaseOverviewSummaryOperationsClient

func NewBusinessCaseOverviewSummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*BusinessCaseOverviewSummaryOperationsClient, error)

NewBusinessCaseOverviewSummaryOperationsClient creates a new instance of BusinessCaseOverviewSummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*BusinessCaseOverviewSummaryOperationsClient) Get

Get - Get a OverviewSummary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • overviewSummaryName - Gets the Name of the Overview Summary.
  • options - BusinessCaseOverviewSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCaseOverviewSummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOverviewSummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewBusinessCaseOverviewSummaryOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.OverviewSummary = armmigrationassessment.OverviewSummary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/overviewSummaries"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/overviewSummaries/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.OverviewSummaryProperties{
	// 		AzureArcEnabledOnPremisesCost: to.Ptr[float32](6),
	// 		AzureArcServicesCost: to.Ptr[float32](27),
	// 		EsuSavingsFor4Years: to.Ptr[float32](20),
	// 		FutureAzureArcEnabledOnPremisesCost: to.Ptr[float32](13),
	// 		FutureAzureArcServicesCost: to.Ptr[float32](7),
	// 		FutureAzureIaasCost: to.Ptr[float32](23),
	// 		FutureAzurePaasCost: to.Ptr[float32](28),
	// 		FutureCostIncludingAzureArc: to.Ptr[float32](27),
	// 		FutureEsuSavingsFor4YearsIncludingAzureArc: to.Ptr[float32](7),
	// 		FutureManagementCostSavingsIncludingAzureArc: to.Ptr[float32](24),
	// 		FutureSecurityCostSavingsIncludingAzureArc: to.Ptr[float32](18),
	// 		IaasOsDistribution: &armmigrationassessment.IaasOsDistribution{
	// 			Linux: to.Ptr[int32](22),
	// 			Other: to.Ptr[int32](14),
	// 			Windows: to.Ptr[int32](5),
	// 		},
	// 		LinuxAhubSavings: to.Ptr[float32](26),
	// 		ManagementCostSavings: to.Ptr[float32](19),
	// 		OSSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 			Extended: to.Ptr[int32](26),
	// 			MainStream: to.Ptr[int32](20),
	// 			OutOfSupport: to.Ptr[int32](29),
	// 			UnknownSupport: to.Ptr[int32](2),
	// 		},
	// 		PaasDistribution: &armmigrationassessment.PaasDistribution{
	// 			IisWebServers: to.Ptr[int32](9),
	// 			SQLServers: to.Ptr[int32](28),
	// 			WebAppDistribution: map[string]*int32{
	// 				"key683": to.Ptr[int32](28),
	// 			},
	// 		},
	// 		SecurityCostSavings: to.Ptr[float32](8),
	// 		ServersDiscovered: &armmigrationassessment.ServersDiscovered{
	// 			HyperV: to.Ptr[int32](28),
	// 			NotApplicable: to.Ptr[int32](13),
	// 			Physical: to.Ptr[int32](16),
	// 			VMWare: to.Ptr[int32](6),
	// 		},
	// 		SQLAhubSavings: to.Ptr[float32](29),
	// 		SQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 			Extended: to.Ptr[int32](26),
	// 			MainStream: to.Ptr[int32](20),
	// 			OutOfSupport: to.Ptr[int32](29),
	// 			UnknownSupport: to.Ptr[int32](2),
	// 		},
	// 		TotalAzureAvsCost: to.Ptr[float32](21),
	// 		TotalAzureCost: to.Ptr[float32](20),
	// 		TotalAzureIaasCost: to.Ptr[float32](29),
	// 		TotalAzurePaasCost: to.Ptr[float32](18),
	// 		TotalOnPremisesCost: to.Ptr[float32](20),
	// 		UtilizationData: &armmigrationassessment.UtilizationData{
	// 			NumberOfActiveEntities: to.Ptr[int32](10),
	// 			NumberOfDecommisionEntities: to.Ptr[int32](10),
	// 			NumberOfInactiveEntities: to.Ptr[int32](18),
	// 			NumberOfUnknownEntities: to.Ptr[int32](13),
	// 		},
	// 		WindowsAhubSavings: to.Ptr[float32](26),
	// 		YearOnYearEstimates: &armmigrationassessment.YearOnYearEstimates{
	// 			AzureArcEnabledOnPremisesCost: []*armmigrationassessment.YearOnYearCost{
	// 				{
	// 					Cost: to.Ptr[float32](8646893.36496789),
	// 					Year: to.Ptr(armmigrationassessment.YearYear0),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](6452444.63321628),
	// 					Year: to.Ptr(armmigrationassessment.YearYear1),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](7361476.3148771),
	// 					Year: to.Ptr(armmigrationassessment.YearYear2),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](7893482.58062095),
	// 					Year: to.Ptr(armmigrationassessment.YearYear3),
	// 			}},
	// 			AzureCapexCost: map[string]*float32{
	// 				"Year0": to.Ptr[float32](1049.81370090828),
	// 				"Year1": to.Ptr[float32](881.843508762955),
	// 				"Year2": to.Ptr[float32](578.709802625689),
	// 				"Year3": to.Ptr[float32](0),
	// 			},
	// 			AzureCost: map[string]*float32{
	// 				"Year0": to.Ptr[float32](351803.869241272),
	// 				"Year1": to.Ptr[float32](374738.191162668),
	// 				"Year2": to.Ptr[float32](391989.235419251),
	// 				"Year3": to.Ptr[float32](396114.705),
	// 			},
	// 			AzureOpexCost: map[string]*float32{
	// 				"Year0": to.Ptr[float32](350754.055540363),
	// 				"Year1": to.Ptr[float32](373856.347653905),
	// 				"Year2": to.Ptr[float32](391410.525616625),
	// 				"Year3": to.Ptr[float32](396114.705),
	// 			},
	// 			FutureAzureArcEnabledOnPremisesEsuCost: []*armmigrationassessment.YearOnYearCost{
	// 				{
	// 					Cost: to.Ptr[float32](2777682.6),
	// 					Year: to.Ptr(armmigrationassessment.YearYear0),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](217405.65),
	// 					Year: to.Ptr(armmigrationassessment.YearYear1),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](334683.25),
	// 					Year: to.Ptr(armmigrationassessment.YearYear2),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](0),
	// 					Year: to.Ptr(armmigrationassessment.YearYear3),
	// 			}},
	// 			FutureCost: []*armmigrationassessment.YearOnYearCost{
	// 				{
	// 					Cost: to.Ptr[float32](8619047.96496789),
	// 					Year: to.Ptr(armmigrationassessment.YearYear0),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](5847511.33627395),
	// 					Year: to.Ptr(armmigrationassessment.YearYear1),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](5363132.85669087),
	// 					Year: to.Ptr(armmigrationassessment.YearYear2),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](3616793.89850464),
	// 					Year: to.Ptr(armmigrationassessment.YearYear3),
	// 			}},
	// 			FutureOnPremisesEsuCost: []*armmigrationassessment.YearOnYearCost{
	// 				{
	// 					Cost: to.Ptr[float32](3742242.49),
	// 					Year: to.Ptr(armmigrationassessment.YearYear0),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](413811.16),
	// 					Year: to.Ptr(armmigrationassessment.YearYear1),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](250961.91),
	// 					Year: to.Ptr(armmigrationassessment.YearYear2),
	// 				},
	// 				{
	// 					Cost: to.Ptr[float32](0),
	// 					Year: to.Ptr(armmigrationassessment.YearYear3),
	// 			}},
	// 			OnPremisesCapexCost: map[string]*float32{
	// 				"Year0": to.Ptr[float32](1049.81370090828),
	// 				"Year1": to.Ptr[float32](1102.30438595369),
	// 				"Year2": to.Ptr[float32](1157.41960525138),
	// 				"Year3": to.Ptr[float32](1215.29058551395),
	// 			},
	// 			OnPremisesCost: map[string]*float32{
	// 				"Year0": to.Ptr[float32](351803.869241272),
	// 				"Year1": to.Ptr[float32](369394.062703335),
	// 				"Year2": to.Ptr[float32](387863.765838502),
	// 				"Year3": to.Ptr[float32](408410.454130427),
	// 			},
	// 			OnPremisesOpexCost: map[string]*float32{
	// 				"Year0": to.Ptr[float32](350754.055540363),
	// 				"Year1": to.Ptr[float32](368291.758317382),
	// 				"Year2": to.Ptr[float32](386706.346233251),
	// 				"Year3": to.Ptr[float32](407195.163544913),
	// 			},
	// 			PaybackPeriod: to.Ptr[int32](0),
	// 			Savings: map[string]*float32{
	// 				"Year0": to.Ptr[float32](0),
	// 				"Year1": to.Ptr[float32](-5344.12845933292),
	// 				"Year2": to.Ptr[float32](-4125.46958074899),
	// 				"Year3": to.Ptr[float32](12295.7491304271),
	// 			},
	// 		},
	// 	},
	// }
}
Output:

func (*BusinessCaseOverviewSummaryOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List OverviewSummary resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCaseOverviewSummaryOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCaseOverviewSummaryOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewBusinessCaseOverviewSummaryOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.OverviewSummaryListResult = armmigrationassessment.OverviewSummaryListResult{
		// 	Value: []*armmigrationassessment.OverviewSummary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/overviewSummaries"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/overviewSummaries/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.OverviewSummaryProperties{
		// 				AzureArcEnabledOnPremisesCost: to.Ptr[float32](6),
		// 				AzureArcServicesCost: to.Ptr[float32](27),
		// 				EsuSavingsFor4Years: to.Ptr[float32](20),
		// 				FutureAzureArcEnabledOnPremisesCost: to.Ptr[float32](13),
		// 				FutureAzureArcServicesCost: to.Ptr[float32](7),
		// 				FutureAzureIaasCost: to.Ptr[float32](23),
		// 				FutureAzurePaasCost: to.Ptr[float32](28),
		// 				FutureCostIncludingAzureArc: to.Ptr[float32](27),
		// 				FutureEsuSavingsFor4YearsIncludingAzureArc: to.Ptr[float32](7),
		// 				FutureManagementCostSavingsIncludingAzureArc: to.Ptr[float32](24),
		// 				FutureSecurityCostSavingsIncludingAzureArc: to.Ptr[float32](18),
		// 				IaasOsDistribution: &armmigrationassessment.IaasOsDistribution{
		// 					Linux: to.Ptr[int32](22),
		// 					Other: to.Ptr[int32](14),
		// 					Windows: to.Ptr[int32](5),
		// 				},
		// 				LinuxAhubSavings: to.Ptr[float32](26),
		// 				ManagementCostSavings: to.Ptr[float32](19),
		// 				OSSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 					Extended: to.Ptr[int32](26),
		// 					MainStream: to.Ptr[int32](20),
		// 					OutOfSupport: to.Ptr[int32](29),
		// 					UnknownSupport: to.Ptr[int32](2),
		// 				},
		// 				PaasDistribution: &armmigrationassessment.PaasDistribution{
		// 					IisWebServers: to.Ptr[int32](9),
		// 					SQLServers: to.Ptr[int32](28),
		// 					WebAppDistribution: map[string]*int32{
		// 						"key683": to.Ptr[int32](28),
		// 					},
		// 				},
		// 				SecurityCostSavings: to.Ptr[float32](8),
		// 				ServersDiscovered: &armmigrationassessment.ServersDiscovered{
		// 					HyperV: to.Ptr[int32](28),
		// 					NotApplicable: to.Ptr[int32](13),
		// 					Physical: to.Ptr[int32](16),
		// 					VMWare: to.Ptr[int32](6),
		// 				},
		// 				SQLAhubSavings: to.Ptr[float32](29),
		// 				SQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 					Extended: to.Ptr[int32](26),
		// 					MainStream: to.Ptr[int32](20),
		// 					OutOfSupport: to.Ptr[int32](29),
		// 					UnknownSupport: to.Ptr[int32](2),
		// 				},
		// 				TotalAzureAvsCost: to.Ptr[float32](21),
		// 				TotalAzureCost: to.Ptr[float32](20),
		// 				TotalAzureIaasCost: to.Ptr[float32](29),
		// 				TotalAzurePaasCost: to.Ptr[float32](18),
		// 				TotalOnPremisesCost: to.Ptr[float32](20),
		// 				UtilizationData: &armmigrationassessment.UtilizationData{
		// 					NumberOfActiveEntities: to.Ptr[int32](10),
		// 					NumberOfDecommisionEntities: to.Ptr[int32](10),
		// 					NumberOfInactiveEntities: to.Ptr[int32](18),
		// 					NumberOfUnknownEntities: to.Ptr[int32](13),
		// 				},
		// 				WindowsAhubSavings: to.Ptr[float32](26),
		// 				YearOnYearEstimates: &armmigrationassessment.YearOnYearEstimates{
		// 					AzureArcEnabledOnPremisesCost: []*armmigrationassessment.YearOnYearCost{
		// 						{
		// 							Cost: to.Ptr[float32](8646893.36496789),
		// 							Year: to.Ptr(armmigrationassessment.YearYear0),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](6452444.63321628),
		// 							Year: to.Ptr(armmigrationassessment.YearYear1),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](7361476.3148771),
		// 							Year: to.Ptr(armmigrationassessment.YearYear2),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](7893482.58062095),
		// 							Year: to.Ptr(armmigrationassessment.YearYear3),
		// 					}},
		// 					AzureCapexCost: map[string]*float32{
		// 						"Year0": to.Ptr[float32](1049.81370090828),
		// 						"Year1": to.Ptr[float32](881.843508762955),
		// 						"Year2": to.Ptr[float32](578.709802625689),
		// 						"Year3": to.Ptr[float32](0),
		// 					},
		// 					AzureCost: map[string]*float32{
		// 						"Year0": to.Ptr[float32](351803.869241272),
		// 						"Year1": to.Ptr[float32](374738.191162668),
		// 						"Year2": to.Ptr[float32](391989.235419251),
		// 						"Year3": to.Ptr[float32](396114.705),
		// 					},
		// 					AzureOpexCost: map[string]*float32{
		// 						"Year0": to.Ptr[float32](350754.055540363),
		// 						"Year1": to.Ptr[float32](373856.347653905),
		// 						"Year2": to.Ptr[float32](391410.525616625),
		// 						"Year3": to.Ptr[float32](396114.705),
		// 					},
		// 					FutureAzureArcEnabledOnPremisesEsuCost: []*armmigrationassessment.YearOnYearCost{
		// 						{
		// 							Cost: to.Ptr[float32](2777682.6),
		// 							Year: to.Ptr(armmigrationassessment.YearYear0),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](217405.65),
		// 							Year: to.Ptr(armmigrationassessment.YearYear1),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](334683.25),
		// 							Year: to.Ptr(armmigrationassessment.YearYear2),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](0),
		// 							Year: to.Ptr(armmigrationassessment.YearYear3),
		// 					}},
		// 					FutureCost: []*armmigrationassessment.YearOnYearCost{
		// 						{
		// 							Cost: to.Ptr[float32](8619047.96496789),
		// 							Year: to.Ptr(armmigrationassessment.YearYear0),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](5847511.33627395),
		// 							Year: to.Ptr(armmigrationassessment.YearYear1),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](5363132.85669087),
		// 							Year: to.Ptr(armmigrationassessment.YearYear2),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](3616793.89850464),
		// 							Year: to.Ptr(armmigrationassessment.YearYear3),
		// 					}},
		// 					FutureOnPremisesEsuCost: []*armmigrationassessment.YearOnYearCost{
		// 						{
		// 							Cost: to.Ptr[float32](3742242.49),
		// 							Year: to.Ptr(armmigrationassessment.YearYear0),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](413811.16),
		// 							Year: to.Ptr(armmigrationassessment.YearYear1),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](250961.91),
		// 							Year: to.Ptr(armmigrationassessment.YearYear2),
		// 						},
		// 						{
		// 							Cost: to.Ptr[float32](0),
		// 							Year: to.Ptr(armmigrationassessment.YearYear3),
		// 					}},
		// 					OnPremisesCapexCost: map[string]*float32{
		// 						"Year0": to.Ptr[float32](1049.81370090828),
		// 						"Year1": to.Ptr[float32](1102.30438595369),
		// 						"Year2": to.Ptr[float32](1157.41960525138),
		// 						"Year3": to.Ptr[float32](1215.29058551395),
		// 					},
		// 					OnPremisesCost: map[string]*float32{
		// 						"Year0": to.Ptr[float32](351803.869241272),
		// 						"Year1": to.Ptr[float32](369394.062703335),
		// 						"Year2": to.Ptr[float32](387863.765838502),
		// 						"Year3": to.Ptr[float32](408410.454130427),
		// 					},
		// 					OnPremisesOpexCost: map[string]*float32{
		// 						"Year0": to.Ptr[float32](350754.055540363),
		// 						"Year1": to.Ptr[float32](368291.758317382),
		// 						"Year2": to.Ptr[float32](386706.346233251),
		// 						"Year3": to.Ptr[float32](407195.163544913),
		// 					},
		// 					PaybackPeriod: to.Ptr[int32](0),
		// 					Savings: map[string]*float32{
		// 						"Year0": to.Ptr[float32](0),
		// 						"Year1": to.Ptr[float32](-5344.12845933292),
		// 						"Year2": to.Ptr[float32](-4125.46958074899),
		// 						"Year3": to.Ptr[float32](12295.7491304271),
		// 					},
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type BusinessCaseOverviewSummaryOperationsClientGetOptions

type BusinessCaseOverviewSummaryOperationsClientGetOptions struct {
}

BusinessCaseOverviewSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCaseOverviewSummaryOperationsClient.Get method.

type BusinessCaseOverviewSummaryOperationsClientGetResponse

type BusinessCaseOverviewSummaryOperationsClientGetResponse struct {
	// Overview summary REST resource.
	OverviewSummary
}

BusinessCaseOverviewSummaryOperationsClientGetResponse contains the response from method BusinessCaseOverviewSummaryOperationsClient.Get.

type BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseOptions

type BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseOptions struct {
}

BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCaseOverviewSummaryOperationsClient.NewListByBusinessCasePager method.

type BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseResponse

type BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseResponse struct {
	// The response of a OverviewSummary list operation.
	OverviewSummaryListResult
}

BusinessCaseOverviewSummaryOperationsClientListByBusinessCaseResponse contains the response from method BusinessCaseOverviewSummaryOperationsClient.NewListByBusinessCasePager.

type BusinessCasePaasSummaryOperationsClient

type BusinessCasePaasSummaryOperationsClient struct {
	// contains filtered or unexported fields
}

BusinessCasePaasSummaryOperationsClient contains the methods for the BusinessCasePaasSummaryOperations group. Don't use this type directly, use NewBusinessCasePaasSummaryOperationsClient() instead.

func NewBusinessCasePaasSummaryOperationsClient

func NewBusinessCasePaasSummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*BusinessCasePaasSummaryOperationsClient, error)

NewBusinessCasePaasSummaryOperationsClient creates a new instance of BusinessCasePaasSummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*BusinessCasePaasSummaryOperationsClient) Get

Get - Get a PaasSummary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • paasSummaryName - Gets the Name of the Paas Summary.
  • options - BusinessCasePaasSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCasePaasSummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCasePaasSummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewBusinessCasePaasSummaryOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.PaasSummary = armmigrationassessment.PaasSummary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/paasSummaries"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/paasSummaries/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.PaasSummaryProperties{
	// 		Azure: &armmigrationassessment.AzurePaasSummary{
	// 			AzureAppServiceContainerSummary: &armmigrationassessment.AzureAppServiceContainerSummary{
	// 				DistributionByApp: []*armmigrationassessment.WebAppDistribution{
	// 					{
	// 						NumberOfWebApps: to.Ptr[float32](14),
	// 						WebAppType: to.Ptr(armmigrationassessment.WebAppTypesUnknown),
	// 				}},
	// 				DistributionBySKU: []*armmigrationassessment.WebAppTargetSKU{
	// 					{
	// 						Cost: to.Ptr[float32](14),
	// 						Count: to.Ptr[int32](30),
	// 						SKUName: to.Ptr("Premium_V3"),
	// 				}},
	// 				EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year ASP"),
	// 				}},
	// 			},
	// 			AzureAppServiceSummary: &armmigrationassessment.AzureAppServiceSummary{
	// 				DistributionByApp: []*armmigrationassessment.WebAppDistribution{
	// 					{
	// 						NumberOfWebApps: to.Ptr[float32](14),
	// 						WebAppType: to.Ptr(armmigrationassessment.WebAppTypesUnknown),
	// 				}},
	// 				DistributionBySKU: []*armmigrationassessment.AppServiceSKU{
	// 					{
	// 						Cost: to.Ptr[float32](6),
	// 						Count: to.Ptr[int32](27),
	// 						SKUName: to.Ptr("Premium_V3"),
	// 				}},
	// 				EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year ASP"),
	// 				}},
	// 			},
	// 			AzureKubernetesServiceSummary: &armmigrationassessment.AzureKubernetesServiceSummary{
	// 				DistributionByApp: []*armmigrationassessment.WebAppDistribution{
	// 					{
	// 						NumberOfWebApps: to.Ptr[float32](14),
	// 						WebAppType: to.Ptr(armmigrationassessment.WebAppTypesUnknown),
	// 				}},
	// 				DistributionBySKU: []*armmigrationassessment.WebAppTargetSKU{
	// 					{
	// 						Cost: to.Ptr[float32](14),
	// 						Count: to.Ptr[int32](30),
	// 						SKUName: to.Ptr("Premium_V3"),
	// 				}},
	// 				EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year ASP"),
	// 				}},
	// 			},
	// 			AzureSQLSummary: &armmigrationassessment.AzureSQLSummary{
	// 				DistributionByServiceTier: []*armmigrationassessment.SQLServiceTier{
	// 					{
	// 						ServiceTierName: to.Ptr("GeneralPurpose"),
	// 						ServiceTierNumber: to.Ptr[float32](1),
	// 				}},
	// 				DistributionByServiceTierForSQLDb: []*armmigrationassessment.SQLServiceTier{
	// 					{
	// 						ServiceTierName: to.Ptr("GeneralPurpose"),
	// 						ServiceTierNumber: to.Ptr[float32](1),
	// 				}},
	// 				DistributionByServiceTierForSQLMi: []*armmigrationassessment.SQLServiceTier{
	// 					{
	// 						ServiceTierName: to.Ptr("GeneralPurpose"),
	// 						ServiceTierNumber: to.Ptr[float32](1),
	// 				}},
	// 				EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
	// 					{
	// 						Cost: to.Ptr[float32](17),
	// 						OfferName: to.Ptr("3 Year RI"),
	// 				}},
	// 			},
	// 			Cores: to.Ptr[int32](3),
	// 			EstimatedCostByTarget: &armmigrationassessment.EstimatedCostByTarget{
	// 				AppServiceContainerCost: to.Ptr[float32](23),
	// 				AppServiceCost: to.Ptr[float32](5),
	// 				AzureKubernetesServiceCost: to.Ptr[float32](22),
	// 				AzureSQLDbCost: to.Ptr[float32](6),
	// 				AzureSQLMiCost: to.Ptr[float32](27),
	// 			},
	// 			EstimatedSQLServerLicensingCost: to.Ptr[float32](18),
	// 			Memory: to.Ptr[float32](29),
	// 			Storage: to.Ptr[float32](8),
	// 			SuitableSQLEntities: to.Ptr[int32](8),
	// 			SuitableWebApps: to.Ptr[int32](8),
	// 			TotalAzurePaasCost: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			TotalSQLEntities: to.Ptr[int32](1),
	// 			TotalWebApps: to.Ptr[int32](22),
	// 		},
	// 		OnPremises: &armmigrationassessment.OnPremisesPaasSummary{
	// 			CPUUtilization: to.Ptr[float32](18),
	// 			MemoryUtilization: to.Ptr[float32](14),
	// 			OnPremisesPaasCostForDecommisioned: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			OnPremisesPaasLicensingCost: &armmigrationassessment.OnPremisesPaasLicensingCost{
	// 				DecomissionServerCost: to.Ptr[float32](1),
	// 				TotalCost: to.Ptr[float32](29),
	// 			},
	// 			OnPremisesSQLSummary: &armmigrationassessment.OnPremisesSQLSummary{
	// 				DistributionBySQLEdition: []*armmigrationassessment.DistributionByType{
	// 					{
	// 						Type: to.Ptr("Enterprise Edition (64-bit)"),
	// 						Count: to.Ptr[int32](27),
	// 				}},
	// 				DistributionBySQLVersion: []*armmigrationassessment.SQLVersionDetails{
	// 					{
	// 						NumberOfInstances: to.Ptr[int32](20),
	// 						SQLVersion: to.Ptr("SQL Server 2019"),
	// 				}},
	// 				SQLDatabases: to.Ptr[int32](21),
	// 				SQLInstances: to.Ptr[int32](26),
	// 				SQLOnPremisesUtilizationData: &armmigrationassessment.UtilizationData{
	// 					NumberOfActiveEntities: to.Ptr[int32](10),
	// 					NumberOfDecommisionEntities: to.Ptr[int32](10),
	// 					NumberOfInactiveEntities: to.Ptr[int32](18),
	// 					NumberOfUnknownEntities: to.Ptr[int32](13),
	// 				},
	// 			},
	// 			OnPremisesWebAppSummary: &armmigrationassessment.OnPremisesWebAppSummary{
	// 				NumberOfWebApplications: to.Ptr[int32](27),
	// 				NumberOfWebAppsPerType: map[string]*int32{
	// 					"key2586": to.Ptr[int32](28),
	// 				},
	// 				NumberOfWebServers: to.Ptr[int32](1),
	// 			},
	// 			OSServicePackInsight: &armmigrationassessment.ServicePackInsight{
	// 				Patched: to.Ptr[int32](14),
	// 				UnknownServicePack: to.Ptr[int32](3),
	// 				Unpatched: to.Ptr[int32](5),
	// 			},
	// 			OSSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 				Extended: to.Ptr[int32](26),
	// 				MainStream: to.Ptr[int32](20),
	// 				OutOfSupport: to.Ptr[int32](29),
	// 				UnknownSupport: to.Ptr[int32](2),
	// 			},
	// 			SQLServicePackInsight: &armmigrationassessment.ServicePackInsight{
	// 				Patched: to.Ptr[int32](14),
	// 				UnknownServicePack: to.Ptr[int32](3),
	// 				Unpatched: to.Ptr[int32](5),
	// 			},
	// 			SQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
	// 				Extended: to.Ptr[int32](26),
	// 				MainStream: to.Ptr[int32](20),
	// 				OutOfSupport: to.Ptr[int32](29),
	// 				UnknownSupport: to.Ptr[int32](2),
	// 			},
	// 			TotalOnPremisesPaasCost: &armmigrationassessment.CostDetails{
	// 				AhubSavings: to.Ptr[float32](1),
	// 				ComputeCost: to.Ptr[float32](19),
	// 				EsuSavings: to.Ptr[float32](28),
	// 				FacilitiesCost: to.Ptr[float32](19),
	// 				ItLaborCost: to.Ptr[float32](29),
	// 				LinuxAhubSavings: to.Ptr[float32](18),
	// 				ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
	// 					ManagementCost: to.Ptr[float32](22),
	// 					ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
	// 						{
	// 							Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
	// 							Value: to.Ptr[float32](16),
	// 					}},
	// 				},
	// 				NetworkCost: to.Ptr[float32](28),
	// 				SecurityCost: to.Ptr[float32](4),
	// 				StorageCost: to.Ptr[float32](27),
	// 			},
	// 			TotalServers: to.Ptr[int32](29),
	// 		},
	// 	},
	// }
}
Output:

func (*BusinessCasePaasSummaryOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List PaasSummary resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - BusinessCasePaasSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCasePaasSummaryOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/BusinessCasePaasSummaryOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewBusinessCasePaasSummaryOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.PaasSummaryListResult = armmigrationassessment.PaasSummaryListResult{
		// 	Value: []*armmigrationassessment.PaasSummary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/businessCases/paasSummaries"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentProjects/multipleto8617project/businessCases/sample-business-case/paasSummaries/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.PaasSummaryProperties{
		// 				Azure: &armmigrationassessment.AzurePaasSummary{
		// 					AzureAppServiceContainerSummary: &armmigrationassessment.AzureAppServiceContainerSummary{
		// 						DistributionByApp: []*armmigrationassessment.WebAppDistribution{
		// 							{
		// 								NumberOfWebApps: to.Ptr[float32](14),
		// 								WebAppType: to.Ptr(armmigrationassessment.WebAppTypesUnknown),
		// 						}},
		// 						DistributionBySKU: []*armmigrationassessment.WebAppTargetSKU{
		// 							{
		// 								Cost: to.Ptr[float32](14),
		// 								Count: to.Ptr[int32](30),
		// 								SKUName: to.Ptr("Premium_V3"),
		// 						}},
		// 						EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year ASP"),
		// 						}},
		// 					},
		// 					AzureAppServiceSummary: &armmigrationassessment.AzureAppServiceSummary{
		// 						DistributionByApp: []*armmigrationassessment.WebAppDistribution{
		// 							{
		// 								NumberOfWebApps: to.Ptr[float32](14),
		// 								WebAppType: to.Ptr(armmigrationassessment.WebAppTypesUnknown),
		// 						}},
		// 						DistributionBySKU: []*armmigrationassessment.AppServiceSKU{
		// 							{
		// 								Cost: to.Ptr[float32](6),
		// 								Count: to.Ptr[int32](27),
		// 								SKUName: to.Ptr("Premium_V3"),
		// 						}},
		// 						EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year ASP"),
		// 						}},
		// 					},
		// 					AzureKubernetesServiceSummary: &armmigrationassessment.AzureKubernetesServiceSummary{
		// 						DistributionByApp: []*armmigrationassessment.WebAppDistribution{
		// 							{
		// 								NumberOfWebApps: to.Ptr[float32](14),
		// 								WebAppType: to.Ptr(armmigrationassessment.WebAppTypesUnknown),
		// 						}},
		// 						DistributionBySKU: []*armmigrationassessment.WebAppTargetSKU{
		// 							{
		// 								Cost: to.Ptr[float32](14),
		// 								Count: to.Ptr[int32](30),
		// 								SKUName: to.Ptr("Premium_V3"),
		// 						}},
		// 						EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year ASP"),
		// 						}},
		// 					},
		// 					AzureSQLSummary: &armmigrationassessment.AzureSQLSummary{
		// 						DistributionByServiceTier: []*armmigrationassessment.SQLServiceTier{
		// 							{
		// 								ServiceTierName: to.Ptr("GeneralPurpose"),
		// 								ServiceTierNumber: to.Ptr[float32](1),
		// 						}},
		// 						DistributionByServiceTierForSQLDb: []*armmigrationassessment.SQLServiceTier{
		// 							{
		// 								ServiceTierName: to.Ptr("GeneralPurpose"),
		// 								ServiceTierNumber: to.Ptr[float32](1),
		// 						}},
		// 						DistributionByServiceTierForSQLMi: []*armmigrationassessment.SQLServiceTier{
		// 							{
		// 								ServiceTierName: to.Ptr("GeneralPurpose"),
		// 								ServiceTierNumber: to.Ptr[float32](1),
		// 						}},
		// 						EstimatedCostByOffer: []*armmigrationassessment.EstimatedCostByOffer{
		// 							{
		// 								Cost: to.Ptr[float32](17),
		// 								OfferName: to.Ptr("3 Year RI"),
		// 						}},
		// 					},
		// 					Cores: to.Ptr[int32](3),
		// 					EstimatedCostByTarget: &armmigrationassessment.EstimatedCostByTarget{
		// 						AppServiceContainerCost: to.Ptr[float32](23),
		// 						AppServiceCost: to.Ptr[float32](5),
		// 						AzureKubernetesServiceCost: to.Ptr[float32](22),
		// 						AzureSQLDbCost: to.Ptr[float32](6),
		// 						AzureSQLMiCost: to.Ptr[float32](27),
		// 					},
		// 					EstimatedSQLServerLicensingCost: to.Ptr[float32](18),
		// 					Memory: to.Ptr[float32](29),
		// 					Storage: to.Ptr[float32](8),
		// 					SuitableSQLEntities: to.Ptr[int32](8),
		// 					SuitableWebApps: to.Ptr[int32](8),
		// 					TotalAzurePaasCost: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					TotalSQLEntities: to.Ptr[int32](1),
		// 					TotalWebApps: to.Ptr[int32](22),
		// 				},
		// 				OnPremises: &armmigrationassessment.OnPremisesPaasSummary{
		// 					CPUUtilization: to.Ptr[float32](18),
		// 					MemoryUtilization: to.Ptr[float32](14),
		// 					OnPremisesPaasCostForDecommisioned: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					OnPremisesPaasLicensingCost: &armmigrationassessment.OnPremisesPaasLicensingCost{
		// 						DecomissionServerCost: to.Ptr[float32](1),
		// 						TotalCost: to.Ptr[float32](29),
		// 					},
		// 					OnPremisesSQLSummary: &armmigrationassessment.OnPremisesSQLSummary{
		// 						DistributionBySQLEdition: []*armmigrationassessment.DistributionByType{
		// 							{
		// 								Type: to.Ptr("Enterprise Edition (64-bit)"),
		// 								Count: to.Ptr[int32](27),
		// 						}},
		// 						DistributionBySQLVersion: []*armmigrationassessment.SQLVersionDetails{
		// 							{
		// 								NumberOfInstances: to.Ptr[int32](20),
		// 								SQLVersion: to.Ptr("SQL Server 2019"),
		// 						}},
		// 						SQLDatabases: to.Ptr[int32](21),
		// 						SQLInstances: to.Ptr[int32](26),
		// 						SQLOnPremisesUtilizationData: &armmigrationassessment.UtilizationData{
		// 							NumberOfActiveEntities: to.Ptr[int32](10),
		// 							NumberOfDecommisionEntities: to.Ptr[int32](10),
		// 							NumberOfInactiveEntities: to.Ptr[int32](18),
		// 							NumberOfUnknownEntities: to.Ptr[int32](13),
		// 						},
		// 					},
		// 					OnPremisesWebAppSummary: &armmigrationassessment.OnPremisesWebAppSummary{
		// 						NumberOfWebApplications: to.Ptr[int32](27),
		// 						NumberOfWebAppsPerType: map[string]*int32{
		// 							"key2586": to.Ptr[int32](28),
		// 						},
		// 						NumberOfWebServers: to.Ptr[int32](1),
		// 					},
		// 					OSServicePackInsight: &armmigrationassessment.ServicePackInsight{
		// 						Patched: to.Ptr[int32](14),
		// 						UnknownServicePack: to.Ptr[int32](3),
		// 						Unpatched: to.Ptr[int32](5),
		// 					},
		// 					OSSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 						Extended: to.Ptr[int32](26),
		// 						MainStream: to.Ptr[int32](20),
		// 						OutOfSupport: to.Ptr[int32](29),
		// 						UnknownSupport: to.Ptr[int32](2),
		// 					},
		// 					SQLServicePackInsight: &armmigrationassessment.ServicePackInsight{
		// 						Patched: to.Ptr[int32](14),
		// 						UnknownServicePack: to.Ptr[int32](3),
		// 						Unpatched: to.Ptr[int32](5),
		// 					},
		// 					SQLSupportStatusDistribution: &armmigrationassessment.SupportStatusDistribution{
		// 						Extended: to.Ptr[int32](26),
		// 						MainStream: to.Ptr[int32](20),
		// 						OutOfSupport: to.Ptr[int32](29),
		// 						UnknownSupport: to.Ptr[int32](2),
		// 					},
		// 					TotalOnPremisesPaasCost: &armmigrationassessment.CostDetails{
		// 						AhubSavings: to.Ptr[float32](1),
		// 						ComputeCost: to.Ptr[float32](19),
		// 						EsuSavings: to.Ptr[float32](28),
		// 						FacilitiesCost: to.Ptr[float32](19),
		// 						ItLaborCost: to.Ptr[float32](29),
		// 						LinuxAhubSavings: to.Ptr[float32](18),
		// 						ManagementCostDetails: &armmigrationassessment.ManagementCostDetails{
		// 							ManagementCost: to.Ptr[float32](22),
		// 							ManagementCostComponents: []*armmigrationassessment.ManagementCostComponent{
		// 								{
		// 									Name: to.Ptr(armmigrationassessment.ManagementCostComponentNameUnknown),
		// 									Value: to.Ptr[float32](16),
		// 							}},
		// 						},
		// 						NetworkCost: to.Ptr[float32](28),
		// 						SecurityCost: to.Ptr[float32](4),
		// 						StorageCost: to.Ptr[float32](27),
		// 					},
		// 					TotalServers: to.Ptr[int32](29),
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type BusinessCasePaasSummaryOperationsClientGetOptions

type BusinessCasePaasSummaryOperationsClientGetOptions struct {
}

BusinessCasePaasSummaryOperationsClientGetOptions contains the optional parameters for the BusinessCasePaasSummaryOperationsClient.Get method.

type BusinessCasePaasSummaryOperationsClientGetResponse

type BusinessCasePaasSummaryOperationsClientGetResponse struct {
	// Paas summary REST resource.
	PaasSummary
}

BusinessCasePaasSummaryOperationsClientGetResponse contains the response from method BusinessCasePaasSummaryOperationsClient.Get.

type BusinessCasePaasSummaryOperationsClientListByBusinessCaseOptions

type BusinessCasePaasSummaryOperationsClientListByBusinessCaseOptions struct {
}

BusinessCasePaasSummaryOperationsClientListByBusinessCaseOptions contains the optional parameters for the BusinessCasePaasSummaryOperationsClient.NewListByBusinessCasePager method.

type BusinessCasePaasSummaryOperationsClientListByBusinessCaseResponse

type BusinessCasePaasSummaryOperationsClientListByBusinessCaseResponse struct {
	// The response of a PaasSummary list operation.
	PaasSummaryListResult
}

BusinessCasePaasSummaryOperationsClientListByBusinessCaseResponse contains the response from method BusinessCasePaasSummaryOperationsClient.NewListByBusinessCasePager.

type BusinessCaseProperties

type BusinessCaseProperties struct {
	// Business case settings.
	Settings *Settings

	// READ-ONLY; The status of the last operation.
	ProvisioningState *ProvisioningState2

	// READ-ONLY; Gets the state of business case reports.
	ReportStatusDetails []*ReportDetails

	// READ-ONLY; Business case state.
	State *BusinessCaseState
}

BusinessCaseProperties - Property bag for an Microsoft.Azure.Migrate.BusinessCaseService.Api.V20220202_preview.Resources.BusinessCase resource.

func (BusinessCaseProperties) MarshalJSON

func (b BusinessCaseProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BusinessCaseProperties.

func (*BusinessCaseProperties) UnmarshalJSON

func (b *BusinessCaseProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BusinessCaseProperties.

type BusinessCaseState

type BusinessCaseState string

BusinessCaseState - Business case supported state types.

const (
	// BusinessCaseStateCompleted - Completed State.
	BusinessCaseStateCompleted BusinessCaseState = "Completed"
	// BusinessCaseStateFailed - Failed State.
	BusinessCaseStateFailed BusinessCaseState = "Failed"
	// BusinessCaseStateInProgress - InProgress State.
	BusinessCaseStateInProgress BusinessCaseState = "InProgress"
	// BusinessCaseStateInvalid - Invalid State.
	BusinessCaseStateInvalid BusinessCaseState = "Invalid"
	// BusinessCaseStateOutDated - OutDated State.
	BusinessCaseStateOutDated BusinessCaseState = "OutDated"
	// BusinessCaseStateOutOfSync - OutOfSync State.
	BusinessCaseStateOutOfSync BusinessCaseState = "OutOfSync"
	// BusinessCaseStateUnknown - Unknown State.
	BusinessCaseStateUnknown BusinessCaseState = "Unknown"
)

func PossibleBusinessCaseStateValues

func PossibleBusinessCaseStateValues() []BusinessCaseState

PossibleBusinessCaseStateValues returns the possible values for the BusinessCaseState const type.

type Check

type Check struct {
	// READ-ONLY; Gets behavior or check result.
	Behavior *CheckResult

	// READ-ONLY; Gets cause.
	Cause *string

	// READ-ONLY; Gets description.
	Description *string

	// READ-ONLY; Gets more information about check or rule.
	MoreInfo *MoreInfo

	// READ-ONLY; Gets name.
	Name *string

	// READ-ONLY; Gets recommendation.
	Recommendation *string
}

Check - Data model of Check or Rule for Suitability Analysis.

func (Check) MarshalJSON

func (c Check) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Check.

func (*Check) UnmarshalJSON

func (c *Check) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Check.

type CheckResult

type CheckResult string

CheckResult - Suitability Check or Rule Result.

const (
	// CheckResultIssue - Indicates Migration Issue.
	CheckResultIssue CheckResult = "Issue"
	// CheckResultPass - Indicates check is passed.
	CheckResultPass CheckResult = "Pass"
	// CheckResultUnknown - Indicates missing value.
	CheckResultUnknown CheckResult = "Unknown"
	// CheckResultWarn - Indicates Migration Warning.
	CheckResultWarn CheckResult = "Warn"
)

func PossibleCheckResultValues

func PossibleCheckResultValues() []CheckResult

PossibleCheckResultValues returns the possible values for the CheckResult const type.

type ClientFactory

type ClientFactory struct {
	// contains filtered or unexported fields
}

ClientFactory is a client factory used to create any client in this module. Don't use this type directly, use NewClientFactory instead.

func NewClientFactory

func NewClientFactory(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ClientFactory, error)

NewClientFactory creates a new instance of ClientFactory with the specified values. The parameter values will be propagated to any client created from this factory.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ClientFactory) NewAksAssessmentOperationsClient

func (c *ClientFactory) NewAksAssessmentOperationsClient() *AksAssessmentOperationsClient

NewAksAssessmentOperationsClient creates a new instance of AksAssessmentOperationsClient.

func (*ClientFactory) NewAksClusterOperationsClient

func (c *ClientFactory) NewAksClusterOperationsClient() *AksClusterOperationsClient

NewAksClusterOperationsClient creates a new instance of AksClusterOperationsClient.

func (*ClientFactory) NewAksCostDetailOperationsClient

func (c *ClientFactory) NewAksCostDetailOperationsClient() *AksCostDetailOperationsClient

NewAksCostDetailOperationsClient creates a new instance of AksCostDetailOperationsClient.

func (*ClientFactory) NewAksOptionsOperationsClient

func (c *ClientFactory) NewAksOptionsOperationsClient() *AksOptionsOperationsClient

NewAksOptionsOperationsClient creates a new instance of AksOptionsOperationsClient.

func (*ClientFactory) NewAksSummaryOperationsClient

func (c *ClientFactory) NewAksSummaryOperationsClient() *AksSummaryOperationsClient

NewAksSummaryOperationsClient creates a new instance of AksSummaryOperationsClient.

func (*ClientFactory) NewAssessedMachinesOperationsClient

func (c *ClientFactory) NewAssessedMachinesOperationsClient() *AssessedMachinesOperationsClient

NewAssessedMachinesOperationsClient creates a new instance of AssessedMachinesOperationsClient.

func (*ClientFactory) NewAssessedSQLDatabaseV2OperationsClient

func (c *ClientFactory) NewAssessedSQLDatabaseV2OperationsClient() *AssessedSQLDatabaseV2OperationsClient

NewAssessedSQLDatabaseV2OperationsClient creates a new instance of AssessedSQLDatabaseV2OperationsClient.

func (*ClientFactory) NewAssessedSQLInstanceV2OperationsClient

func (c *ClientFactory) NewAssessedSQLInstanceV2OperationsClient() *AssessedSQLInstanceV2OperationsClient

NewAssessedSQLInstanceV2OperationsClient creates a new instance of AssessedSQLInstanceV2OperationsClient.

func (*ClientFactory) NewAssessedSQLMachinesOperationsClient

func (c *ClientFactory) NewAssessedSQLMachinesOperationsClient() *AssessedSQLMachinesOperationsClient

NewAssessedSQLMachinesOperationsClient creates a new instance of AssessedSQLMachinesOperationsClient.

func (*ClientFactory) NewAssessedSQLRecommendedEntityOperationsClient

func (c *ClientFactory) NewAssessedSQLRecommendedEntityOperationsClient() *AssessedSQLRecommendedEntityOperationsClient

NewAssessedSQLRecommendedEntityOperationsClient creates a new instance of AssessedSQLRecommendedEntityOperationsClient.

func (*ClientFactory) NewAssessedWebAppV2OperationsClient

func (c *ClientFactory) NewAssessedWebAppV2OperationsClient() *AssessedWebAppV2OperationsClient

NewAssessedWebAppV2OperationsClient creates a new instance of AssessedWebAppV2OperationsClient.

func (*ClientFactory) NewAssessedWebApplicationOperationsClient

func (c *ClientFactory) NewAssessedWebApplicationOperationsClient() *AssessedWebApplicationOperationsClient

NewAssessedWebApplicationOperationsClient creates a new instance of AssessedWebApplicationOperationsClient.

func (*ClientFactory) NewAssessmentOptionsOperationsClient

func (c *ClientFactory) NewAssessmentOptionsOperationsClient() *AssessmentOptionsOperationsClient

NewAssessmentOptionsOperationsClient creates a new instance of AssessmentOptionsOperationsClient.

func (*ClientFactory) NewAssessmentProjectSummaryOperationsClient

func (c *ClientFactory) NewAssessmentProjectSummaryOperationsClient() *AssessmentProjectSummaryOperationsClient

NewAssessmentProjectSummaryOperationsClient creates a new instance of AssessmentProjectSummaryOperationsClient.

func (*ClientFactory) NewAssessmentProjectsOperationsClient

func (c *ClientFactory) NewAssessmentProjectsOperationsClient() *AssessmentProjectsOperationsClient

NewAssessmentProjectsOperationsClient creates a new instance of AssessmentProjectsOperationsClient.

func (*ClientFactory) NewAssessmentsOperationsClient

func (c *ClientFactory) NewAssessmentsOperationsClient() *AssessmentsOperationsClient

NewAssessmentsOperationsClient creates a new instance of AssessmentsOperationsClient.

func (*ClientFactory) NewAvsAssessedMachinesOperationsClient

func (c *ClientFactory) NewAvsAssessedMachinesOperationsClient() *AvsAssessedMachinesOperationsClient

NewAvsAssessedMachinesOperationsClient creates a new instance of AvsAssessedMachinesOperationsClient.

func (*ClientFactory) NewAvsAssessmentOptionsOperationsClient

func (c *ClientFactory) NewAvsAssessmentOptionsOperationsClient() *AvsAssessmentOptionsOperationsClient

NewAvsAssessmentOptionsOperationsClient creates a new instance of AvsAssessmentOptionsOperationsClient.

func (*ClientFactory) NewAvsAssessmentsOperationsClient

func (c *ClientFactory) NewAvsAssessmentsOperationsClient() *AvsAssessmentsOperationsClient

NewAvsAssessmentsOperationsClient creates a new instance of AvsAssessmentsOperationsClient.

func (*ClientFactory) NewBusinessCaseAvsSummaryOperationsClient

func (c *ClientFactory) NewBusinessCaseAvsSummaryOperationsClient() *BusinessCaseAvsSummaryOperationsClient

NewBusinessCaseAvsSummaryOperationsClient creates a new instance of BusinessCaseAvsSummaryOperationsClient.

func (*ClientFactory) NewBusinessCaseIaasSummaryOperationsClient

func (c *ClientFactory) NewBusinessCaseIaasSummaryOperationsClient() *BusinessCaseIaasSummaryOperationsClient

NewBusinessCaseIaasSummaryOperationsClient creates a new instance of BusinessCaseIaasSummaryOperationsClient.

func (*ClientFactory) NewBusinessCaseOperationsClient

func (c *ClientFactory) NewBusinessCaseOperationsClient() *BusinessCaseOperationsClient

NewBusinessCaseOperationsClient creates a new instance of BusinessCaseOperationsClient.

func (*ClientFactory) NewBusinessCaseOverviewSummaryOperationsClient

func (c *ClientFactory) NewBusinessCaseOverviewSummaryOperationsClient() *BusinessCaseOverviewSummaryOperationsClient

NewBusinessCaseOverviewSummaryOperationsClient creates a new instance of BusinessCaseOverviewSummaryOperationsClient.

func (*ClientFactory) NewBusinessCasePaasSummaryOperationsClient

func (c *ClientFactory) NewBusinessCasePaasSummaryOperationsClient() *BusinessCasePaasSummaryOperationsClient

NewBusinessCasePaasSummaryOperationsClient creates a new instance of BusinessCasePaasSummaryOperationsClient.

func (*ClientFactory) NewEvaluatedAvsMachinesOperationsClient

func (c *ClientFactory) NewEvaluatedAvsMachinesOperationsClient() *EvaluatedAvsMachinesOperationsClient

NewEvaluatedAvsMachinesOperationsClient creates a new instance of EvaluatedAvsMachinesOperationsClient.

func (*ClientFactory) NewEvaluatedMachinesOperationsClient

func (c *ClientFactory) NewEvaluatedMachinesOperationsClient() *EvaluatedMachinesOperationsClient

NewEvaluatedMachinesOperationsClient creates a new instance of EvaluatedMachinesOperationsClient.

func (*ClientFactory) NewEvaluatedSQLEntitiesOperationsClient

func (c *ClientFactory) NewEvaluatedSQLEntitiesOperationsClient() *EvaluatedSQLEntitiesOperationsClient

NewEvaluatedSQLEntitiesOperationsClient creates a new instance of EvaluatedSQLEntitiesOperationsClient.

func (*ClientFactory) NewEvaluatedWebAppsOperationsClient

func (c *ClientFactory) NewEvaluatedWebAppsOperationsClient() *EvaluatedWebAppsOperationsClient

NewEvaluatedWebAppsOperationsClient creates a new instance of EvaluatedWebAppsOperationsClient.

func (*ClientFactory) NewGroupsOperationsClient

func (c *ClientFactory) NewGroupsOperationsClient() *GroupsOperationsClient

NewGroupsOperationsClient creates a new instance of GroupsOperationsClient.

func (*ClientFactory) NewHypervCollectorsOperationsClient

func (c *ClientFactory) NewHypervCollectorsOperationsClient() *HypervCollectorsOperationsClient

NewHypervCollectorsOperationsClient creates a new instance of HypervCollectorsOperationsClient.

func (*ClientFactory) NewImportCollectorsOperationsClient

func (c *ClientFactory) NewImportCollectorsOperationsClient() *ImportCollectorsOperationsClient

NewImportCollectorsOperationsClient creates a new instance of ImportCollectorsOperationsClient.

func (*ClientFactory) NewMachinesOperationsClient

func (c *ClientFactory) NewMachinesOperationsClient() *MachinesOperationsClient

NewMachinesOperationsClient creates a new instance of MachinesOperationsClient.

func (*ClientFactory) NewOperationsClient

func (c *ClientFactory) NewOperationsClient() *OperationsClient

NewOperationsClient creates a new instance of OperationsClient.

func (*ClientFactory) NewPrivateEndpointConnectionOperationsClient

func (c *ClientFactory) NewPrivateEndpointConnectionOperationsClient() *PrivateEndpointConnectionOperationsClient

NewPrivateEndpointConnectionOperationsClient creates a new instance of PrivateEndpointConnectionOperationsClient.

func (*ClientFactory) NewPrivateLinkResourceOperationsClient

func (c *ClientFactory) NewPrivateLinkResourceOperationsClient() *PrivateLinkResourceOperationsClient

NewPrivateLinkResourceOperationsClient creates a new instance of PrivateLinkResourceOperationsClient.

func (*ClientFactory) NewSQLAssessmentOptionsOperationsClient

func (c *ClientFactory) NewSQLAssessmentOptionsOperationsClient() *SQLAssessmentOptionsOperationsClient

NewSQLAssessmentOptionsOperationsClient creates a new instance of SQLAssessmentOptionsOperationsClient.

func (*ClientFactory) NewSQLAssessmentV2OperationsClient

func (c *ClientFactory) NewSQLAssessmentV2OperationsClient() *SQLAssessmentV2OperationsClient

NewSQLAssessmentV2OperationsClient creates a new instance of SQLAssessmentV2OperationsClient.

func (*ClientFactory) NewSQLAssessmentV2SummaryOperationsClient

func (c *ClientFactory) NewSQLAssessmentV2SummaryOperationsClient() *SQLAssessmentV2SummaryOperationsClient

NewSQLAssessmentV2SummaryOperationsClient creates a new instance of SQLAssessmentV2SummaryOperationsClient.

func (*ClientFactory) NewSQLCollectorOperationsClient

func (c *ClientFactory) NewSQLCollectorOperationsClient() *SQLCollectorOperationsClient

NewSQLCollectorOperationsClient creates a new instance of SQLCollectorOperationsClient.

func (*ClientFactory) NewServerCollectorsOperationsClient

func (c *ClientFactory) NewServerCollectorsOperationsClient() *ServerCollectorsOperationsClient

NewServerCollectorsOperationsClient creates a new instance of ServerCollectorsOperationsClient.

func (*ClientFactory) NewVmwareCollectorsOperationsClient

func (c *ClientFactory) NewVmwareCollectorsOperationsClient() *VmwareCollectorsOperationsClient

NewVmwareCollectorsOperationsClient creates a new instance of VmwareCollectorsOperationsClient.

func (*ClientFactory) NewWebAppAssessmentOptionsOperationsClient

func (c *ClientFactory) NewWebAppAssessmentOptionsOperationsClient() *WebAppAssessmentOptionsOperationsClient

NewWebAppAssessmentOptionsOperationsClient creates a new instance of WebAppAssessmentOptionsOperationsClient.

func (*ClientFactory) NewWebAppAssessmentV2OperationsClient

func (c *ClientFactory) NewWebAppAssessmentV2OperationsClient() *WebAppAssessmentV2OperationsClient

NewWebAppAssessmentV2OperationsClient creates a new instance of WebAppAssessmentV2OperationsClient.

func (*ClientFactory) NewWebAppAssessmentV2SummaryOperationsClient

func (c *ClientFactory) NewWebAppAssessmentV2SummaryOperationsClient() *WebAppAssessmentV2SummaryOperationsClient

NewWebAppAssessmentV2SummaryOperationsClient creates a new instance of WebAppAssessmentV2SummaryOperationsClient.

func (*ClientFactory) NewWebAppCollectorOperationsClient

func (c *ClientFactory) NewWebAppCollectorOperationsClient() *WebAppCollectorOperationsClient

NewWebAppCollectorOperationsClient creates a new instance of WebAppCollectorOperationsClient.

func (*ClientFactory) NewWebAppServicePlanV2OperationsClient

func (c *ClientFactory) NewWebAppServicePlanV2OperationsClient() *WebAppServicePlanV2OperationsClient

NewWebAppServicePlanV2OperationsClient creates a new instance of WebAppServicePlanV2OperationsClient.

type CloudSuitability

type CloudSuitability string

CloudSuitability - Cloud Suitability for Azure.

const (
	// CloudSuitabilityConditionallySuitable - Conditionally Suitable for Azure.
	CloudSuitabilityConditionallySuitable CloudSuitability = "ConditionallySuitable"
	// CloudSuitabilityNotSuitable - Not Suitable for Azure.
	CloudSuitabilityNotSuitable CloudSuitability = "NotSuitable"
	// CloudSuitabilityReadinessUnknown - Unknown Readiness for Azure.
	CloudSuitabilityReadinessUnknown CloudSuitability = "ReadinessUnknown"
	// CloudSuitabilitySuitable - Suitable for Azure.
	CloudSuitabilitySuitable CloudSuitability = "Suitable"
	// CloudSuitabilityUnknown - Unknown. Indicates missing data.
	CloudSuitabilityUnknown CloudSuitability = "Unknown"
)

func PossibleCloudSuitabilityValues

func PossibleCloudSuitabilityValues() []CloudSuitability

PossibleCloudSuitabilityValues returns the possible values for the CloudSuitability const type.

type CollectorAgentPropertiesBase

type CollectorAgentPropertiesBase struct {
	// Gets the collector agent id.
	ID *string

	// Gets the collector last heartbeat time.
	LastHeartbeatUTC *time.Time

	// Gets or sets the SPN details.
	SpnDetails *CollectorAgentSpnPropertiesBase

	// Gets the collector agent version.
	Version *string
}

CollectorAgentPropertiesBase - Collector agent property class.

func (CollectorAgentPropertiesBase) MarshalJSON

func (c CollectorAgentPropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CollectorAgentPropertiesBase.

func (*CollectorAgentPropertiesBase) UnmarshalJSON

func (c *CollectorAgentPropertiesBase) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CollectorAgentPropertiesBase.

type CollectorAgentSpnPropertiesBase

type CollectorAgentSpnPropertiesBase struct {
	// Gets the AAD application id.
	ApplicationID *string

	// Gets the AAD audience url.
	Audience *string

	// Gets the AAD authority endpoint.
	Authority *string

	// Gets the object id of the AAD application.
	ObjectID *string

	// Gets the tenant id of the AAD application.
	TenantID *string
}

CollectorAgentSpnPropertiesBase - Collector agent SPN details class.

func (CollectorAgentSpnPropertiesBase) MarshalJSON

func (c CollectorAgentSpnPropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CollectorAgentSpnPropertiesBase.

func (*CollectorAgentSpnPropertiesBase) UnmarshalJSON

func (c *CollectorAgentSpnPropertiesBase) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CollectorAgentSpnPropertiesBase.

type CollectorPropertiesBase

type CollectorPropertiesBase struct {
	// Gets the discovery site id.
	DiscoverySiteID *string

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Gets the Timestamp when collector was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Timestamp when collector was last updated.
	UpdatedTimestamp *time.Time
}

CollectorPropertiesBase - Collector properties class.

func (CollectorPropertiesBase) MarshalJSON

func (c CollectorPropertiesBase) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CollectorPropertiesBase.

func (*CollectorPropertiesBase) UnmarshalJSON

func (c *CollectorPropertiesBase) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CollectorPropertiesBase.

type CollectorPropertiesBaseWithAgent

type CollectorPropertiesBaseWithAgent struct {
	// Gets or sets the collector agent properties.
	AgentProperties *CollectorAgentPropertiesBase

	// Gets the discovery site id.
	DiscoverySiteID *string

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// READ-ONLY; Gets the Timestamp when collector was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Timestamp when collector was last updated.
	UpdatedTimestamp *time.Time
}

CollectorPropertiesBaseWithAgent - Collector properties class.

func (CollectorPropertiesBaseWithAgent) MarshalJSON

func (c CollectorPropertiesBaseWithAgent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CollectorPropertiesBaseWithAgent.

func (*CollectorPropertiesBaseWithAgent) UnmarshalJSON

func (c *CollectorPropertiesBaseWithAgent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CollectorPropertiesBaseWithAgent.

type CompareSummary

type CompareSummary struct {
	// READ-ONLY; The Azure arc enabled on-premises cost.
	AzureArcEnabledOnPremisesCostDetails *CostDetails

	// READ-ONLY; The AVS cost.
	AzureAvsCostDetails *CostDetails

	// READ-ONLY; The azure IaaS cost.
	AzureIaasCostDetails *CostDetails

	// READ-ONLY; The azure PaaS cost.
	AzurePaasCostDetails *CostDetails

	// READ-ONLY; The final azure arc enabled on-premises cost based on the final migration percentage.
	FutureAzureArcEnabledOnPremisesCostDetails *CostDetails

	// READ-ONLY; Future state cost which includes Azure cost and Arc enabled on-premises cost based on the final migration percentage.
	FutureCostDetails *CostDetails

	// READ-ONLY; The on premises AVS cost.
	OnPremisesAvsCostDetails *CostDetails

	// READ-ONLY; The on premises AVS decommissioned cost.
	OnPremisesAvsDecommissionedCostDetails *CostDetails

	// READ-ONLY; The on premises IaaS cost.
	OnPremisesIaasCostDetails *CostDetails

	// READ-ONLY; The on premises IaaS decommissioned cost.
	OnPremisesIaasDecommissionedCostDetails *CostDetails

	// READ-ONLY; The on premises PaaS cost.
	OnPremisesPaasCostDetails *CostDetails

	// READ-ONLY; The on premises PaaS decommissioned cost.
	OnPremisesPaasDecommissionedCostDetails *CostDetails
}

CompareSummary - Compare summary class.

func (CompareSummary) MarshalJSON

func (c CompareSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CompareSummary.

func (*CompareSummary) UnmarshalJSON

func (c *CompareSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CompareSummary.

type CompatibilityLevel

type CompatibilityLevel string
const (
	CompatibilityLevelCompatLevel100 CompatibilityLevel = "CompatLevel100"
	CompatibilityLevelCompatLevel110 CompatibilityLevel = "CompatLevel110"
	CompatibilityLevelCompatLevel120 CompatibilityLevel = "CompatLevel120"
	CompatibilityLevelCompatLevel130 CompatibilityLevel = "CompatLevel130"
	CompatibilityLevelCompatLevel140 CompatibilityLevel = "CompatLevel140"
	CompatibilityLevelCompatLevel150 CompatibilityLevel = "CompatLevel150"
	CompatibilityLevelCompatLevel80  CompatibilityLevel = "CompatLevel80"
	CompatibilityLevelCompatLevel90  CompatibilityLevel = "CompatLevel90"
	CompatibilityLevelUnknown        CompatibilityLevel = "Unknown"
)

func PossibleCompatibilityLevelValues

func PossibleCompatibilityLevelValues() []CompatibilityLevel

PossibleCompatibilityLevelValues returns the possible values for the CompatibilityLevel const type.

type ComputeResource

type ComputeResource struct {
	// READ-ONLY; Gets cores.
	Cores *float32

	// READ-ONLY; Gets memory.
	Memory *float32
}

ComputeResource - Data model of Cores and Memory Compute Resource.

func (ComputeResource) MarshalJSON

func (c ComputeResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ComputeResource.

func (*ComputeResource) UnmarshalJSON

func (c *ComputeResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ComputeResource.

type ComputeSettings

type ComputeSettings struct {
	// REQUIRED; Hyperthread core to memory ratio.
	HyperthreadCoreToMemoryRatio *float32

	// REQUIRED; Compute Price.
	Price *float32

	// REQUIRED; Linux Rhel Server licensing settings.
	RhelLinuxServerLicensing *LinuxServerLicensingSettings

	// REQUIRED; SQL Server licensing settings.
	SQLServerLicensing []*SQLServerLicensingSettings

	// REQUIRED; Linux Suse Server licensing settings.
	SuseLinuxServerLicensing *LinuxServerLicensingSettings

	// REQUIRED; Virtualization software settings.
	VirtualizationSoftwareSettings *VirtualizationSoftwareSettings

	// REQUIRED; Windows Server licensing settings.
	WindowsServerLicensing *WindowsServerLicensingSettings
}

ComputeSettings - Compute settings.

func (ComputeSettings) MarshalJSON

func (c ComputeSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ComputeSettings.

func (*ComputeSettings) UnmarshalJSON

func (c *ComputeSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ComputeSettings.

type ComputeTier

type ComputeTier string
const (
	ComputeTierAutomatic   ComputeTier = "Automatic"
	ComputeTierProvisioned ComputeTier = "Provisioned"
	ComputeTierServerless  ComputeTier = "Serverless"
	ComputeTierUnknown     ComputeTier = "Unknown"
)

func PossibleComputeTierValues

func PossibleComputeTierValues() []ComputeTier

PossibleComputeTierValues returns the possible values for the ComputeTier const type.

type ConsolidationType

type ConsolidationType string

ConsolidationType - Consolidation Type.

const (
	// ConsolidationTypeAsOnSource - As On Source or On Premises Consolidation.
	ConsolidationTypeAsOnSource ConsolidationType = "AsOnSource"
	// ConsolidationTypeFull - Full Consolidation.
	ConsolidationTypeFull ConsolidationType = "Full"
)

func PossibleConsolidationTypeValues

func PossibleConsolidationTypeValues() []ConsolidationType

PossibleConsolidationTypeValues returns the possible values for the ConsolidationType const type.

type CostByStorageType

type CostByStorageType struct {
	// READ-ONLY; Cost per storage type.
	Cost *float32

	// READ-ONLY; The storage type.
	StorageType *string
}

CostByStorageType - The cost by storage type.

func (CostByStorageType) MarshalJSON

func (c CostByStorageType) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CostByStorageType.

func (*CostByStorageType) UnmarshalJSON

func (c *CostByStorageType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CostByStorageType.

type CostComponent

type CostComponent struct {
	// The textual description of the component.
	Description *string

	// The value of the component.
	Value *float32

	// READ-ONLY; Gets the name of the component.
	Name *CostComponentName
}

CostComponent - Class to represent the component of the cost.

func (CostComponent) MarshalJSON

func (c CostComponent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CostComponent.

func (*CostComponent) UnmarshalJSON

func (c *CostComponent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CostComponent.

type CostComponentName

type CostComponentName string

CostComponentName - Enum to represent component name.

const (
	// CostComponentNameMonthlyAvsExternalStorageCost - Monthly AVS External Storage cost
	CostComponentNameMonthlyAvsExternalStorageCost CostComponentName = "MonthlyAvsExternalStorageCost"
	// CostComponentNameMonthlyAvsNetworkCost - Monthly AVS Network cost
	CostComponentNameMonthlyAvsNetworkCost CostComponentName = "MonthlyAvsNetworkCost"
	// CostComponentNameMonthlyAvsNodeCost - Monthly AVS Node cost
	CostComponentNameMonthlyAvsNodeCost CostComponentName = "MonthlyAvsNodeCost"
	// CostComponentNameMonthlyAzureHybridCostSavings - Cost Savings due to Windows Azure Hybrid on monthly basis.
	CostComponentNameMonthlyAzureHybridCostSavings CostComponentName = "MonthlyAzureHybridCostSavings"
	// CostComponentNameMonthlyLinuxAzureHybridCostSavings - Cost Savings due to Linux Azure Hybrid on monthly basis.
	CostComponentNameMonthlyLinuxAzureHybridCostSavings CostComponentName = "MonthlyLinuxAzureHybridCostSavings"
	// CostComponentNameMonthlyPremiumV2StorageCost - Monthly PremiumV2 Storage Cost.
	CostComponentNameMonthlyPremiumV2StorageCost CostComponentName = "MonthlyPremiumV2StorageCost"
	// CostComponentNameMonthlySecurityCost - Monthly security cost.
	CostComponentNameMonthlySecurityCost CostComponentName = "MonthlySecurityCost"
	// CostComponentNameMonthlyVcfByolCostDifference - Monthly compute cost difference between VCF BYOL and non VCF BYOL SKUs
	CostComponentNameMonthlyVcfByolCostDifference CostComponentName = "MonthlyVcfByolCostDifference"
	// CostComponentNameUnknown - Default Cost Component name represented by Unknown.
	CostComponentNameUnknown CostComponentName = "Unknown"
)

func PossibleCostComponentNameValues

func PossibleCostComponentNameValues() []CostComponentName

PossibleCostComponentNameValues returns the possible values for the CostComponentName const type.

type CostDetails

type CostDetails struct {
	// READ-ONLY; The windows AhubSavings.
	AhubSavings *float32

	// READ-ONLY; The compute cost.
	ComputeCost *float32

	// READ-ONLY; esu savings.
	EsuSavings *float32

	// READ-ONLY; The facilities cost related to hosting customer workloads in a datacenter.
	FacilitiesCost *float32

	// READ-ONLY; The IT labor cost.
	ItLaborCost *float32

	// READ-ONLY; The linux AhubSavings.
	LinuxAhubSavings *float32

	// READ-ONLY; Management Cost Details.
	ManagementCostDetails *ManagementCostDetails

	// READ-ONLY; The network cost.
	NetworkCost *float32

	// READ-ONLY; Security Cost.
	SecurityCost *float32

	// READ-ONLY; The storage cost.
	StorageCost *float32
}

CostDetails - The on premises PaaS cost.

func (CostDetails) MarshalJSON

func (c CostDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CostDetails.

func (*CostDetails) UnmarshalJSON

func (c *CostDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type CostDetails.

type CreatedByType

type CreatedByType string

CreatedByType - The type of identity that created the resource.

const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.

type DiscoveredEntitiesSummary

type DiscoveredEntitiesSummary struct {
	// READ-ONLY; Number of machines
	NumberOfMachines *int32

	// READ-ONLY; Number of web servers
	NumberOfServers *int32

	// READ-ONLY; Number of web apps
	NumberOfWebApps *int32

	// READ-ONLY; Web app summary data
	WebAppSummary map[string]*int32

	// READ-ONLY; Web server summary data
	WebServerSummary map[string]*int32
}

DiscoveredEntitiesSummary - Discovered entities summary.

func (DiscoveredEntitiesSummary) MarshalJSON

func (d DiscoveredEntitiesSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiscoveredEntitiesSummary.

func (*DiscoveredEntitiesSummary) UnmarshalJSON

func (d *DiscoveredEntitiesSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiscoveredEntitiesSummary.

type DiscoveredEntityLightSummary

type DiscoveredEntityLightSummary struct {
	// REQUIRED; Gets or sets the number of machines.
	NumberOfMachines *int32

	// REQUIRED; Gets or sets the number of servers.
	NumberOfServers *int32

	// REQUIRED; Gets or sets the number of web apps.
	NumberOfWebApps *int32
}

DiscoveredEntityLightSummary - Discovered entity light summary.

func (DiscoveredEntityLightSummary) MarshalJSON

func (d DiscoveredEntityLightSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DiscoveredEntityLightSummary.

func (*DiscoveredEntityLightSummary) UnmarshalJSON

func (d *DiscoveredEntityLightSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DiscoveredEntityLightSummary.

type DiscoverySource

type DiscoverySource string

DiscoverySource - Business case supported Discovery source types.

const (
	// DiscoverySourceAppliance - Appliance Discovery Source.
	DiscoverySourceAppliance DiscoverySource = "Appliance"
	// DiscoverySourceImport - Import Discovery Source.
	DiscoverySourceImport DiscoverySource = "Import"
	// DiscoverySourceUnknown - Unknown Discovery Source.
	DiscoverySourceUnknown DiscoverySource = "Unknown"
)

func PossibleDiscoverySourceValues

func PossibleDiscoverySourceValues() []DiscoverySource

PossibleDiscoverySourceValues returns the possible values for the DiscoverySource const type.

type Disk

type Disk struct {
	// READ-ONLY; User friendly name of the disk.
	DisplayName *string

	// READ-ONLY; Gigabytes of storage provisioned for this disk.
	GigabytesAllocated *float32
}

Disk - A disk discovered on a machine.

func (Disk) MarshalJSON

func (d Disk) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Disk.

func (*Disk) UnmarshalJSON

func (d *Disk) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Disk.

type DistributionByOperatingSystem

type DistributionByOperatingSystem struct {
	// READ-ONLY; The number of machines with the OS type classification.
	Count *int32

	// READ-ONLY; The Os classification type.
	OSClassificationType *string
}

DistributionByOperatingSystem - The distribution by operating system.

func (DistributionByOperatingSystem) MarshalJSON

func (d DistributionByOperatingSystem) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DistributionByOperatingSystem.

func (*DistributionByOperatingSystem) UnmarshalJSON

func (d *DistributionByOperatingSystem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DistributionByOperatingSystem.

type DistributionByType

type DistributionByType struct {
	// READ-ONLY; Distribution Count.
	Count *int32

	// READ-ONLY; Distribution Type.
	Type *string
}

DistributionByType - Distribution by Type.

func (DistributionByType) MarshalJSON

func (d DistributionByType) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DistributionByType.

func (*DistributionByType) UnmarshalJSON

func (d *DistributionByType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DistributionByType.

type DistributionByVirtualization

type DistributionByVirtualization struct {
	// READ-ONLY; The number of machines with the Virtualization type classification.
	Count *int32

	// READ-ONLY; The Virtualization type.
	VirtualizationType *string
}

DistributionByVirtualization - The distribution by virtualization.

func (DistributionByVirtualization) MarshalJSON

func (d DistributionByVirtualization) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DistributionByVirtualization.

func (*DistributionByVirtualization) UnmarshalJSON

func (d *DistributionByVirtualization) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DistributionByVirtualization.

type DownloadURL

type DownloadURL struct {
	// READ-ONLY; Hyperlink to download report.
	AssessmentReportURL *string

	// READ-ONLY; Expiry date of download url.
	ExpirationTime *time.Time
}

DownloadURL - Data model of Download URL for assessment report.

func (DownloadURL) MarshalJSON

func (d DownloadURL) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DownloadURL.

func (*DownloadURL) UnmarshalJSON

func (d *DownloadURL) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DownloadURL.

type EntityUptime

type EntityUptime struct {
	// Gets the days per month.
	DaysPerMonth *int32

	// Gets the hours per day.
	HoursPerDay *int32
}

EntityUptime - Entity Uptime.

func (EntityUptime) MarshalJSON

func (e EntityUptime) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EntityUptime.

func (*EntityUptime) UnmarshalJSON

func (e *EntityUptime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EntityUptime.

type EnvironmentType

type EnvironmentType string
const (
	EnvironmentTypeProduction EnvironmentType = "Production"
	EnvironmentTypeTest       EnvironmentType = "Test"
)

func PossibleEnvironmentTypeValues

func PossibleEnvironmentTypeValues() []EnvironmentType

PossibleEnvironmentTypeValues returns the possible values for the EnvironmentType const type.

type Error

type Error struct {
	// READ-ONLY; Gets the agent scenario where this error occurred.
	AgentScenario *string

	// READ-ONLY; Gets the Appliance name.
	ApplianceName *string

	// READ-ONLY; Gets the error code.
	Code *string

	// READ-ONLY; Gets the error ID.
	ID *int32

	// READ-ONLY; Gets the type of assessment impacted by this error.
	ImpactedAssessmentType *string

	// READ-ONLY; Gets the error message.
	Message *string

	// READ-ONLY; Gets the error message parameters.
	MessageParameters map[string]*string

	// READ-ONLY; Gets the error possible causes.
	PossibleCauses *string

	// READ-ONLY; Gets the recommended action for the error.
	RecommendedAction *string

	// READ-ONLY; Gets the Run as account ID.
	RunAsAccountID *string

	// READ-ONLY; Gets the error severity.
	Severity *string

	// READ-ONLY; Gets the error summary message.
	SummaryMessage *string

	// READ-ONLY; Gets the time stamp when the error was updated.
	UpdatedTimeStamp *time.Time
}

Error web model class.

func (Error) MarshalJSON

func (e Error) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Error.

func (*Error) UnmarshalJSON

func (e *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Error.

type ErrorDetailAutoGenerated

type ErrorDetailAutoGenerated struct {
	// READ-ONLY; Error Code
	Code *string

	// READ-ONLY; Description of the error occurred
	Message *string
}

ErrorDetailAutoGenerated - Error Details

func (ErrorDetailAutoGenerated) MarshalJSON

func (e ErrorDetailAutoGenerated) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorDetailAutoGenerated.

func (*ErrorDetailAutoGenerated) UnmarshalJSON

func (e *ErrorDetailAutoGenerated) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorDetailAutoGenerated.

type ErrorSummary

type ErrorSummary struct {
	// READ-ONLY; Gets the assessment type.
	AssessmentType *AssessmentType

	// READ-ONLY; Gets the affected entity count.
	Count *int32
}

ErrorSummary - Error summary containing affected entities for each type of assessment.

func (ErrorSummary) MarshalJSON

func (e ErrorSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ErrorSummary.

func (*ErrorSummary) UnmarshalJSON

func (e *ErrorSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ErrorSummary.

type EstimatedCostByOffer

type EstimatedCostByOffer struct {
	// READ-ONLY; Cost for the offer.
	Cost *float32

	// READ-ONLY; The offer name.
	OfferName *string
}

EstimatedCostByOffer - The estimated cost by offer.

func (EstimatedCostByOffer) MarshalJSON

func (e EstimatedCostByOffer) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EstimatedCostByOffer.

func (*EstimatedCostByOffer) UnmarshalJSON

func (e *EstimatedCostByOffer) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EstimatedCostByOffer.

type EstimatedCostByTarget

type EstimatedCostByTarget struct {
	// READ-ONLY; Azure App Service Containers cost.
	AppServiceContainerCost *float32

	// READ-ONLY; Azure App Service cost.
	AppServiceCost *float32

	// READ-ONLY; Azure Kubernetes Service cost.
	AzureKubernetesServiceCost *float32

	// READ-ONLY; Azure SQL DB cost.
	AzureSQLDbCost *float32

	// READ-ONLY; Azure SQL MI cost.
	AzureSQLMiCost *float32
}

EstimatedCostByTarget - Shows the estimated cost by target.

func (EstimatedCostByTarget) MarshalJSON

func (e EstimatedCostByTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EstimatedCostByTarget.

func (*EstimatedCostByTarget) UnmarshalJSON

func (e *EstimatedCostByTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EstimatedCostByTarget.

type EstimatedExternalStorage

type EstimatedExternalStorage struct {
	// READ-ONLY; External storage type
	StorageType *ExternalStorageType

	// READ-ONLY; Percent storage utilization
	StorageUtilization *float32

	// READ-ONLY; Total storage cost
	TotalStorageCost *float32

	// READ-ONLY; Total storage allocation in GB
	TotalStorageInGB *float32
}

EstimatedExternalStorage - Estimated external storage

func (EstimatedExternalStorage) MarshalJSON

func (e EstimatedExternalStorage) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EstimatedExternalStorage.

func (*EstimatedExternalStorage) UnmarshalJSON

func (e *EstimatedExternalStorage) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EstimatedExternalStorage.

type EstimatedNetwork

type EstimatedNetwork struct {
	// READ-ONLY; Network Sku type cost.
	Cost *float32

	// READ-ONLY; Network SKU type.
	SKUType *NetworkSKUType
}

EstimatedNetwork - Estimated network

func (EstimatedNetwork) MarshalJSON

func (e EstimatedNetwork) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EstimatedNetwork.

func (*EstimatedNetwork) UnmarshalJSON

func (e *EstimatedNetwork) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EstimatedNetwork.

type EvaluatedAvsMachine

type EvaluatedAvsMachine struct {
	// The resource-specific properties for this resource.
	Properties *EvaluatedAvsMachineProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

EvaluatedAvsMachine - Evaluated AVS machine resource.

func (EvaluatedAvsMachine) MarshalJSON

func (e EvaluatedAvsMachine) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedAvsMachine.

func (*EvaluatedAvsMachine) UnmarshalJSON

func (e *EvaluatedAvsMachine) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedAvsMachine.

type EvaluatedAvsMachineListResult

type EvaluatedAvsMachineListResult struct {
	// REQUIRED; The EvaluatedAvsMachine items on this page
	Value []*EvaluatedAvsMachine

	// The link to the next page of items
	NextLink *string
}

EvaluatedAvsMachineListResult - The response of a EvaluatedAvsMachine list operation.

func (EvaluatedAvsMachineListResult) MarshalJSON

func (e EvaluatedAvsMachineListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedAvsMachineListResult.

func (*EvaluatedAvsMachineListResult) UnmarshalJSON

func (e *EvaluatedAvsMachineListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedAvsMachineListResult.

type EvaluatedAvsMachineProperties

type EvaluatedAvsMachineProperties struct {
	// READ-ONLY; Activity state.
	ActivityState *string

	// READ-ONLY; Machine Id.
	MachineID *string

	// READ-ONLY; Operating System (OS) name.
	OperatingSystemName *string

	// READ-ONLY; Qualifying offer.
	QualifyingOffer *string

	// READ-ONLY; Is machine ready for migration.
	ReadyForMigration *string

	// READ-ONLY; Recommended Azure target.
	RecommendedAzureTarget *string

	// READ-ONLY; Server Name.
	ServerName *string

	// READ-ONLY; End of Support status.
	SupportStatus *SupportabilityStatus

	// READ-ONLY; Virtualization type.
	VirtualizationType *string
}

EvaluatedAvsMachineProperties - Evaluated AVS machine properties class.

func (EvaluatedAvsMachineProperties) MarshalJSON

func (e EvaluatedAvsMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedAvsMachineProperties.

func (*EvaluatedAvsMachineProperties) UnmarshalJSON

func (e *EvaluatedAvsMachineProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedAvsMachineProperties.

type EvaluatedAvsMachinesOperationsClient

type EvaluatedAvsMachinesOperationsClient struct {
	// contains filtered or unexported fields
}

EvaluatedAvsMachinesOperationsClient contains the methods for the EvaluatedAvsMachinesOperations group. Don't use this type directly, use NewEvaluatedAvsMachinesOperationsClient() instead.

func NewEvaluatedAvsMachinesOperationsClient

func NewEvaluatedAvsMachinesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*EvaluatedAvsMachinesOperationsClient, error)

NewEvaluatedAvsMachinesOperationsClient creates a new instance of EvaluatedAvsMachinesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*EvaluatedAvsMachinesOperationsClient) Get

func (client *EvaluatedAvsMachinesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, evaluatedAvsMachineName string, options *EvaluatedAvsMachinesOperationsClientGetOptions) (EvaluatedAvsMachinesOperationsClientGetResponse, error)

Get - Get a EvaluatedAvsMachine If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • evaluatedAvsMachineName - Business case Evaluated AVS machine ARM name
  • options - EvaluatedAvsMachinesOperationsClientGetOptions contains the optional parameters for the EvaluatedAvsMachinesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedAvsMachinesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEvaluatedAvsMachinesOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "a404-r1w16-1.FPL.COM", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.EvaluatedAvsMachine = armmigrationassessment.EvaluatedAvsMachine{
	// 	Name: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedavsmachine"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedavsmachine/a404-r1w16-1.FPL.COM"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.EvaluatedAvsMachineProperties{
	// 		ActivityState: to.Ptr("inconclusive"),
	// 		MachineID: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 		OperatingSystemName: to.Ptr("Ubuntu"),
	// 		QualifyingOffer: to.Ptr("3 Year RI"),
	// 		ReadyForMigration: to.Ptr("Ready"),
	// 		RecommendedAzureTarget: to.Ptr("AzureVm"),
	// 		ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 		SupportStatus: to.Ptr(armmigrationassessment.SupportabilityStatusUnknown),
	// 		VirtualizationType: to.Ptr("Vmware"),
	// 	},
	// }
}
Output:

func (*EvaluatedAvsMachinesOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List EvaluatedAvsMachine resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - EvaluatedAvsMachinesOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedAvsMachinesOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedAvsMachinesOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewEvaluatedAvsMachinesOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", &armmigrationassessment.EvaluatedAvsMachinesOperationsClientListByBusinessCaseOptions{Filter: to.Ptr("zcwvgkjkvddoylnfkgclpytp"),
		PageSize:          to.Ptr[int32](9),
		ContinuationToken: to.Ptr("er"),
		TotalRecordCount:  to.Ptr[int32](2),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.EvaluatedAvsMachineListResult = armmigrationassessment.EvaluatedAvsMachineListResult{
		// 	Value: []*armmigrationassessment.EvaluatedAvsMachine{
		// 		{
		// 			Name: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedavsmachine"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedavsmachine/a404-r1w16-1.FPL.COM"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.EvaluatedAvsMachineProperties{
		// 				ActivityState: to.Ptr("inconclusive"),
		// 				MachineID: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 				OperatingSystemName: to.Ptr("Ubuntu"),
		// 				QualifyingOffer: to.Ptr("3 Year RI"),
		// 				ReadyForMigration: to.Ptr("Ready"),
		// 				RecommendedAzureTarget: to.Ptr("AzureVm"),
		// 				ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 				SupportStatus: to.Ptr(armmigrationassessment.SupportabilityStatusUnknown),
		// 				VirtualizationType: to.Ptr("Vmware"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type EvaluatedAvsMachinesOperationsClientGetOptions

type EvaluatedAvsMachinesOperationsClientGetOptions struct {
}

EvaluatedAvsMachinesOperationsClientGetOptions contains the optional parameters for the EvaluatedAvsMachinesOperationsClient.Get method.

type EvaluatedAvsMachinesOperationsClientGetResponse

type EvaluatedAvsMachinesOperationsClientGetResponse struct {
	// Evaluated AVS machine resource.
	EvaluatedAvsMachine
}

EvaluatedAvsMachinesOperationsClientGetResponse contains the response from method EvaluatedAvsMachinesOperationsClient.Get.

type EvaluatedAvsMachinesOperationsClientListByBusinessCaseOptions

type EvaluatedAvsMachinesOperationsClientListByBusinessCaseOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

EvaluatedAvsMachinesOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedAvsMachinesOperationsClient.NewListByBusinessCasePager method.

type EvaluatedAvsMachinesOperationsClientListByBusinessCaseResponse

type EvaluatedAvsMachinesOperationsClientListByBusinessCaseResponse struct {
	// The response of a EvaluatedAvsMachine list operation.
	EvaluatedAvsMachineListResult
}

EvaluatedAvsMachinesOperationsClientListByBusinessCaseResponse contains the response from method EvaluatedAvsMachinesOperationsClient.NewListByBusinessCasePager.

type EvaluatedMachine

type EvaluatedMachine struct {
	// The resource-specific properties for this resource.
	Properties *EvaluatedMachineProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

EvaluatedMachine - Evaluated machine resource.

func (EvaluatedMachine) MarshalJSON

func (e EvaluatedMachine) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedMachine.

func (*EvaluatedMachine) UnmarshalJSON

func (e *EvaluatedMachine) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedMachine.

type EvaluatedMachineListResult

type EvaluatedMachineListResult struct {
	// REQUIRED; The EvaluatedMachine items on this page
	Value []*EvaluatedMachine

	// The link to the next page of items
	NextLink *string
}

EvaluatedMachineListResult - The response of a EvaluatedMachine list operation.

func (EvaluatedMachineListResult) MarshalJSON

func (e EvaluatedMachineListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedMachineListResult.

func (*EvaluatedMachineListResult) UnmarshalJSON

func (e *EvaluatedMachineListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedMachineListResult.

type EvaluatedMachineProperties

type EvaluatedMachineProperties struct {
	// READ-ONLY; Activity state.
	ActivityState *string

	// READ-ONLY; Machine Id.
	MachineID *string

	// READ-ONLY; Operating System (OS) name.
	OperatingSystemName *string

	// READ-ONLY; Qualifying offer.
	QualifyingOffer *string

	// READ-ONLY; Is machine ready for migration.
	ReadyForMigration *string

	// READ-ONLY; Recommended Azure target.
	RecommendedAzureTarget *string

	// READ-ONLY; Server Name.
	ServerName *string

	// READ-ONLY; End of Support status.
	SupportStatus *SupportabilityStatus

	// READ-ONLY; Virtualization type.
	VirtualizationType *string
}

EvaluatedMachineProperties - Evaluated machine properties class.

func (EvaluatedMachineProperties) MarshalJSON

func (e EvaluatedMachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedMachineProperties.

func (*EvaluatedMachineProperties) UnmarshalJSON

func (e *EvaluatedMachineProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedMachineProperties.

type EvaluatedMachinesOperationsClient

type EvaluatedMachinesOperationsClient struct {
	// contains filtered or unexported fields
}

EvaluatedMachinesOperationsClient contains the methods for the EvaluatedMachinesOperations group. Don't use this type directly, use NewEvaluatedMachinesOperationsClient() instead.

func NewEvaluatedMachinesOperationsClient

func NewEvaluatedMachinesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*EvaluatedMachinesOperationsClient, error)

NewEvaluatedMachinesOperationsClient creates a new instance of EvaluatedMachinesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*EvaluatedMachinesOperationsClient) Get

func (client *EvaluatedMachinesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, evaluatedMachineName string, options *EvaluatedMachinesOperationsClientGetOptions) (EvaluatedMachinesOperationsClientGetResponse, error)

Get - Get a EvaluatedMachine If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • evaluatedMachineName - Business case Evaluated machine ARM name
  • options - EvaluatedMachinesOperationsClientGetOptions contains the optional parameters for the EvaluatedMachinesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedMachinesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEvaluatedMachinesOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "a404-r1w16-1.FPL.COM", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.EvaluatedMachine = armmigrationassessment.EvaluatedMachine{
	// 	Name: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedmachine"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedmachine/a404-r1w16-1.FPL.COM"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.EvaluatedMachineProperties{
	// 		ActivityState: to.Ptr("inconclusive"),
	// 		MachineID: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 		OperatingSystemName: to.Ptr("Ubuntu"),
	// 		QualifyingOffer: to.Ptr("3 Year RI"),
	// 		ReadyForMigration: to.Ptr("Ready"),
	// 		RecommendedAzureTarget: to.Ptr("AzureVm"),
	// 		ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 		SupportStatus: to.Ptr(armmigrationassessment.SupportabilityStatusUnknown),
	// 		VirtualizationType: to.Ptr("Vmware"),
	// 	},
	// }
}
Output:

func (*EvaluatedMachinesOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List EvaluatedMachine resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - EvaluatedMachinesOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedMachinesOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedMachinesOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewEvaluatedMachinesOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", &armmigrationassessment.EvaluatedMachinesOperationsClientListByBusinessCaseOptions{Filter: to.Ptr("fyiccra"),
		PageSize:          to.Ptr[int32](16),
		ContinuationToken: to.Ptr("mipqzxorbubmdjm"),
		TotalRecordCount:  to.Ptr[int32](28),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.EvaluatedMachineListResult = armmigrationassessment.EvaluatedMachineListResult{
		// 	Value: []*armmigrationassessment.EvaluatedMachine{
		// 		{
		// 			Name: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedmachine"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedmachine/a404-r1w16-1.FPL.COM"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.EvaluatedMachineProperties{
		// 				ActivityState: to.Ptr("inconclusive"),
		// 				MachineID: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 				OperatingSystemName: to.Ptr("Ubuntu"),
		// 				QualifyingOffer: to.Ptr("3 Year RI"),
		// 				ReadyForMigration: to.Ptr("Ready"),
		// 				RecommendedAzureTarget: to.Ptr("AzureVm"),
		// 				ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 				SupportStatus: to.Ptr(armmigrationassessment.SupportabilityStatusUnknown),
		// 				VirtualizationType: to.Ptr("Vmware"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type EvaluatedMachinesOperationsClientGetOptions

type EvaluatedMachinesOperationsClientGetOptions struct {
}

EvaluatedMachinesOperationsClientGetOptions contains the optional parameters for the EvaluatedMachinesOperationsClient.Get method.

type EvaluatedMachinesOperationsClientGetResponse

type EvaluatedMachinesOperationsClientGetResponse struct {
	// Evaluated machine resource.
	EvaluatedMachine
}

EvaluatedMachinesOperationsClientGetResponse contains the response from method EvaluatedMachinesOperationsClient.Get.

type EvaluatedMachinesOperationsClientListByBusinessCaseOptions

type EvaluatedMachinesOperationsClientListByBusinessCaseOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

EvaluatedMachinesOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedMachinesOperationsClient.NewListByBusinessCasePager method.

type EvaluatedMachinesOperationsClientListByBusinessCaseResponse

type EvaluatedMachinesOperationsClientListByBusinessCaseResponse struct {
	// The response of a EvaluatedMachine list operation.
	EvaluatedMachineListResult
}

EvaluatedMachinesOperationsClientListByBusinessCaseResponse contains the response from method EvaluatedMachinesOperationsClient.NewListByBusinessCasePager.

type EvaluatedSQLEntitiesOperationsClient

type EvaluatedSQLEntitiesOperationsClient struct {
	// contains filtered or unexported fields
}

EvaluatedSQLEntitiesOperationsClient contains the methods for the EvaluatedSQLEntitiesOperations group. Don't use this type directly, use NewEvaluatedSQLEntitiesOperationsClient() instead.

func NewEvaluatedSQLEntitiesOperationsClient

func NewEvaluatedSQLEntitiesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*EvaluatedSQLEntitiesOperationsClient, error)

NewEvaluatedSQLEntitiesOperationsClient creates a new instance of EvaluatedSQLEntitiesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*EvaluatedSQLEntitiesOperationsClient) Get

func (client *EvaluatedSQLEntitiesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, evaluatedSQLEntityName string, options *EvaluatedSQLEntitiesOperationsClientGetOptions) (EvaluatedSQLEntitiesOperationsClientGetResponse, error)

Get - Get a EvaluatedSqlEntity If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • evaluatedSQLEntityName - Business case Evaluated sql entity ARM name
  • options - EvaluatedSQLEntitiesOperationsClientGetOptions contains the optional parameters for the EvaluatedSQLEntitiesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedSqlEntitiesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEvaluatedSQLEntitiesOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "a404-r1w16-1.FPL.COM", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.EvaluatedSQLEntity = armmigrationassessment.EvaluatedSQLEntity{
	// 	Name: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedsqlentity"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedsqlentity/a404-r1w16-1.FPL.COM"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.EvaluatedSQLEntityProperties{
	// 		ActivityState: to.Ptr("active"),
	// 		DbCount: to.Ptr[int32](1),
	// 		QualifyingOffer: to.Ptr("3 Year RI"),
	// 		ReadyForMigration: to.Ptr("Ready"),
	// 		RecommendedAzureTarget: to.Ptr("AzureVirtualMachine"),
	// 		ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 		SupportStatus: to.Ptr(armmigrationassessment.SupportabilityStatusUnknown),
	// 		VirtualizationType: to.Ptr("Vmware"),
	// 	},
	// }
}
Output:

func (*EvaluatedSQLEntitiesOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List EvaluatedSqlEntity resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - EvaluatedSQLEntitiesOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedSQLEntitiesOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedSqlEntitiesOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewEvaluatedSQLEntitiesOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", &armmigrationassessment.EvaluatedSQLEntitiesOperationsClientListByBusinessCaseOptions{Filter: to.Ptr("rukrirndrwnypcf"),
		PageSize:          to.Ptr[int32](13),
		ContinuationToken: to.Ptr("bqkhzxsvqhnarrffqtgeytrznivh"),
		TotalRecordCount:  to.Ptr[int32](12),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.EvaluatedSQLEntityListResult = armmigrationassessment.EvaluatedSQLEntityListResult{
		// 	Value: []*armmigrationassessment.EvaluatedSQLEntity{
		// 		{
		// 			Name: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedsqlentity"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedsqlentity/a404-r1w16-1.FPL.COM"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.EvaluatedSQLEntityProperties{
		// 				ActivityState: to.Ptr("active"),
		// 				DbCount: to.Ptr[int32](1),
		// 				QualifyingOffer: to.Ptr("3 Year RI"),
		// 				ReadyForMigration: to.Ptr("Ready"),
		// 				RecommendedAzureTarget: to.Ptr("AzureVirtualMachine"),
		// 				ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 				SupportStatus: to.Ptr(armmigrationassessment.SupportabilityStatusUnknown),
		// 				VirtualizationType: to.Ptr("Vmware"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type EvaluatedSQLEntitiesOperationsClientGetOptions

type EvaluatedSQLEntitiesOperationsClientGetOptions struct {
}

EvaluatedSQLEntitiesOperationsClientGetOptions contains the optional parameters for the EvaluatedSQLEntitiesOperationsClient.Get method.

type EvaluatedSQLEntitiesOperationsClientGetResponse

type EvaluatedSQLEntitiesOperationsClientGetResponse struct {
	// Evaluated sql entity resource.
	EvaluatedSQLEntity
}

EvaluatedSQLEntitiesOperationsClientGetResponse contains the response from method EvaluatedSQLEntitiesOperationsClient.Get.

type EvaluatedSQLEntitiesOperationsClientListByBusinessCaseOptions

type EvaluatedSQLEntitiesOperationsClientListByBusinessCaseOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

EvaluatedSQLEntitiesOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedSQLEntitiesOperationsClient.NewListByBusinessCasePager method.

type EvaluatedSQLEntitiesOperationsClientListByBusinessCaseResponse

type EvaluatedSQLEntitiesOperationsClientListByBusinessCaseResponse struct {
	// The response of a EvaluatedSqlEntity list operation.
	EvaluatedSQLEntityListResult
}

EvaluatedSQLEntitiesOperationsClientListByBusinessCaseResponse contains the response from method EvaluatedSQLEntitiesOperationsClient.NewListByBusinessCasePager.

type EvaluatedSQLEntity

type EvaluatedSQLEntity struct {
	// The resource-specific properties for this resource.
	Properties *EvaluatedSQLEntityProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

EvaluatedSQLEntity - Evaluated sql entity resource.

func (EvaluatedSQLEntity) MarshalJSON

func (e EvaluatedSQLEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedSQLEntity.

func (*EvaluatedSQLEntity) UnmarshalJSON

func (e *EvaluatedSQLEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedSQLEntity.

type EvaluatedSQLEntityListResult

type EvaluatedSQLEntityListResult struct {
	// REQUIRED; The EvaluatedSqlEntity items on this page
	Value []*EvaluatedSQLEntity

	// The link to the next page of items
	NextLink *string
}

EvaluatedSQLEntityListResult - The response of a EvaluatedSqlEntity list operation.

func (EvaluatedSQLEntityListResult) MarshalJSON

func (e EvaluatedSQLEntityListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedSQLEntityListResult.

func (*EvaluatedSQLEntityListResult) UnmarshalJSON

func (e *EvaluatedSQLEntityListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedSQLEntityListResult.

type EvaluatedSQLEntityProperties

type EvaluatedSQLEntityProperties struct {
	// READ-ONLY; Activity state.
	ActivityState *string

	// READ-ONLY; DB count in instance.
	DbCount *int32

	// READ-ONLY; Qualifying offer.
	QualifyingOffer *string

	// READ-ONLY; Is SQL Instance ready for migration.
	ReadyForMigration *string

	// READ-ONLY; Recommended Azure target.
	RecommendedAzureTarget *string

	// READ-ONLY; SQL Server edition.
	SQLEdition *string

	// READ-ONLY; SQL Server version.
	SQLVersion *string

	// READ-ONLY; Server name.
	ServerName *string

	// READ-ONLY; End of Support status.
	SupportStatus *SupportabilityStatus

	// READ-ONLY; The virtualization type.
	VirtualizationType *string
}

EvaluatedSQLEntityProperties - Evaluated sql entity properties class.

func (EvaluatedSQLEntityProperties) MarshalJSON

func (e EvaluatedSQLEntityProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedSQLEntityProperties.

func (*EvaluatedSQLEntityProperties) UnmarshalJSON

func (e *EvaluatedSQLEntityProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedSQLEntityProperties.

type EvaluatedWebApp

type EvaluatedWebApp struct {
	// The resource-specific properties for this resource.
	Properties *EvaluatedWebAppProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

EvaluatedWebApp - Evaluated web app resource.

func (EvaluatedWebApp) MarshalJSON

func (e EvaluatedWebApp) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedWebApp.

func (*EvaluatedWebApp) UnmarshalJSON

func (e *EvaluatedWebApp) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedWebApp.

type EvaluatedWebAppListResult

type EvaluatedWebAppListResult struct {
	// REQUIRED; The EvaluatedWebApp items on this page
	Value []*EvaluatedWebApp

	// The link to the next page of items
	NextLink *string
}

EvaluatedWebAppListResult - The response of a EvaluatedWebApp list operation.

func (EvaluatedWebAppListResult) MarshalJSON

func (e EvaluatedWebAppListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedWebAppListResult.

func (*EvaluatedWebAppListResult) UnmarshalJSON

func (e *EvaluatedWebAppListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedWebAppListResult.

type EvaluatedWebAppProperties

type EvaluatedWebAppProperties struct {
	// The activity state.
	ActivityState *string

	// Is machine ready for migration.
	ReadyForMigration *string

	// Recommended Azure SKU name.
	RecommendedAzureSKUName *string

	// Recommended Azure SKU size.
	RecommendedAzureSKUSize *string

	// Recommended Azure target.
	RecommendedAzureTarget *string

	// The server name.
	ServerName *string

	// The workload.
	Workload *string
}

EvaluatedWebAppProperties - Evaluated web app properties class.

func (EvaluatedWebAppProperties) MarshalJSON

func (e EvaluatedWebAppProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type EvaluatedWebAppProperties.

func (*EvaluatedWebAppProperties) UnmarshalJSON

func (e *EvaluatedWebAppProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type EvaluatedWebAppProperties.

type EvaluatedWebAppsOperationsClient

type EvaluatedWebAppsOperationsClient struct {
	// contains filtered or unexported fields
}

EvaluatedWebAppsOperationsClient contains the methods for the EvaluatedWebAppsOperations group. Don't use this type directly, use NewEvaluatedWebAppsOperationsClient() instead.

func NewEvaluatedWebAppsOperationsClient

func NewEvaluatedWebAppsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*EvaluatedWebAppsOperationsClient, error)

NewEvaluatedWebAppsOperationsClient creates a new instance of EvaluatedWebAppsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*EvaluatedWebAppsOperationsClient) Get

func (client *EvaluatedWebAppsOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, businessCaseName string, evaluatedWebAppName string, options *EvaluatedWebAppsOperationsClientGetOptions) (EvaluatedWebAppsOperationsClientGetResponse, error)

Get - Get a EvaluatedWebApp If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • evaluatedWebAppName - Business case Evaluated web App ARM name
  • options - EvaluatedWebAppsOperationsClientGetOptions contains the optional parameters for the EvaluatedWebAppsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedWebAppsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewEvaluatedWebAppsOperationsClient().Get(ctx, "rgopenapi", "multipleto8617project", "sample-business-case", "a404-r1w16-1.FPL.COM", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.EvaluatedWebApp = armmigrationassessment.EvaluatedWebApp{
	// 	Name: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedwebapp"),
	// 	ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedwebapp/a404-r1w16-1.FPL.COM"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		CreatedBy: to.Ptr("t72jdt@company.com"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("t72jdt@company.com"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.EvaluatedWebAppProperties{
	// 		ActivityState: to.Ptr("active"),
	// 		ReadyForMigration: to.Ptr("Ready"),
	// 		RecommendedAzureSKUName: to.Ptr("Premium_V3"),
	// 		RecommendedAzureSKUSize: to.Ptr("P1 v3"),
	// 		RecommendedAzureTarget: to.Ptr("AzureVm"),
	// 		ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
	// 		Workload: to.Ptr("WebApps"),
	// 	},
	// }
}
Output:

func (*EvaluatedWebAppsOperationsClient) NewListByBusinessCasePager

NewListByBusinessCasePager - List EvaluatedWebApp resources by BusinessCase

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • businessCaseName - Business case ARM name
  • options - EvaluatedWebAppsOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedWebAppsOperationsClient.NewListByBusinessCasePager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/EvaluatedWebAppsOperations_ListByBusinessCase_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewEvaluatedWebAppsOperationsClient().NewListByBusinessCasePager("rgopenapi", "multipleto8617project", "sample-business-case", &armmigrationassessment.EvaluatedWebAppsOperationsClientListByBusinessCaseOptions{Filter: to.Ptr("pwrvmthelxikwweggf"),
		PageSize:          to.Ptr[int32](18),
		ContinuationToken: to.Ptr("oizcutotskmhqxxmpwiqzvzyaubjt"),
		TotalRecordCount:  to.Ptr[int32](2),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.EvaluatedWebAppListResult = armmigrationassessment.EvaluatedWebAppListResult{
		// 	Value: []*armmigrationassessment.EvaluatedWebApp{
		// 		{
		// 			Name: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/businessCases/evaluatedwebapp"),
		// 			ID: to.Ptr("/subscriptions/ADC896AD-6A38-454E-9A62-AFC618F5F4BC/resourceGroups/rgopenapi/providers/Microsoft.Migrate/assessmentprojects/multipleto8617project/businessCases/sample-business-case/evaluatedwebapp/a404-r1w16-1.FPL.COM"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				CreatedBy: to.Ptr("t72jdt@company.com"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-08T07:09:55.036Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("t72jdt@company.com"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.EvaluatedWebAppProperties{
		// 				ActivityState: to.Ptr("active"),
		// 				ReadyForMigration: to.Ptr("Ready"),
		// 				RecommendedAzureSKUName: to.Ptr("Premium_V3"),
		// 				RecommendedAzureSKUSize: to.Ptr("P1 v3"),
		// 				RecommendedAzureTarget: to.Ptr("AzureVm"),
		// 				ServerName: to.Ptr("a404-r1w16-1.FPL.COM"),
		// 				Workload: to.Ptr("WebApps"),
		// 			},
		// 	}},
		// }
	}
}
Output:

type EvaluatedWebAppsOperationsClientGetOptions

type EvaluatedWebAppsOperationsClientGetOptions struct {
}

EvaluatedWebAppsOperationsClientGetOptions contains the optional parameters for the EvaluatedWebAppsOperationsClient.Get method.

type EvaluatedWebAppsOperationsClientGetResponse

type EvaluatedWebAppsOperationsClientGetResponse struct {
	// Evaluated web app resource.
	EvaluatedWebApp
}

EvaluatedWebAppsOperationsClientGetResponse contains the response from method EvaluatedWebAppsOperationsClient.Get.

type EvaluatedWebAppsOperationsClientListByBusinessCaseOptions

type EvaluatedWebAppsOperationsClientListByBusinessCaseOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

EvaluatedWebAppsOperationsClientListByBusinessCaseOptions contains the optional parameters for the EvaluatedWebAppsOperationsClient.NewListByBusinessCasePager method.

type EvaluatedWebAppsOperationsClientListByBusinessCaseResponse

type EvaluatedWebAppsOperationsClientListByBusinessCaseResponse struct {
	// The response of a EvaluatedWebApp list operation.
	EvaluatedWebAppListResult
}

EvaluatedWebAppsOperationsClientListByBusinessCaseResponse contains the response from method EvaluatedWebAppsOperationsClient.NewListByBusinessCasePager.

type ExternalStorageType

type ExternalStorageType string

ExternalStorageType - Different External storage skus.

const (
	// ExternalStorageTypeAnfPremium - ANF external storage with Premium SKU.
	ExternalStorageTypeAnfPremium ExternalStorageType = "AnfPremium"
	// ExternalStorageTypeAnfStandard - ANF external storage with Standard SKU.
	ExternalStorageTypeAnfStandard ExternalStorageType = "AnfStandard"
	// ExternalStorageTypeAnfUltra - ANF external storage with Ultra SKU.
	ExternalStorageTypeAnfUltra ExternalStorageType = "AnfUltra"
	// ExternalStorageTypeNone - Indicates No external storage.
	ExternalStorageTypeNone ExternalStorageType = "None"
	// ExternalStorageTypeUnknown - Indicates un-supported external storage.
	ExternalStorageTypeUnknown ExternalStorageType = "Unknown"
)

func PossibleExternalStorageTypeValues

func PossibleExternalStorageTypeValues() []ExternalStorageType

PossibleExternalStorageTypeValues returns the possible values for the ExternalStorageType const type.

type FacilitySettings

type FacilitySettings struct {
	// The facilities cost.
	FacilitiesCostPerKwh *float32
}

FacilitySettings - Facility settings.

func (FacilitySettings) MarshalJSON

func (f FacilitySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FacilitySettings.

func (*FacilitySettings) UnmarshalJSON

func (f *FacilitySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type FacilitySettings.

type FttAndRaidLevel

type FttAndRaidLevel string

FttAndRaidLevel - FTT and RAID Level.

const (
	// FttAndRaidLevelFtt1Raid1 - FTT 1 and RAID Level 1.
	FttAndRaidLevelFtt1Raid1 FttAndRaidLevel = "Ftt1Raid1"
	// FttAndRaidLevelFtt1Raid5 - FTT 1 and RAID Level 5.
	FttAndRaidLevelFtt1Raid5 FttAndRaidLevel = "Ftt1Raid5"
	// FttAndRaidLevelFtt2Raid1 - FTT 2 and RAID Level 1.
	FttAndRaidLevelFtt2Raid1 FttAndRaidLevel = "Ftt2Raid1"
	// FttAndRaidLevelFtt2Raid6 - FTT 2 and RAID Level 6.
	FttAndRaidLevelFtt2Raid6 FttAndRaidLevel = "Ftt2Raid6"
	// FttAndRaidLevelFtt3Raid1 - FTT 3 and RAID Level 1.
	FttAndRaidLevelFtt3Raid1 FttAndRaidLevel = "Ftt3Raid1"
	// FttAndRaidLevelUnknown - Unknown FTT and RAID Level.
	FttAndRaidLevelUnknown FttAndRaidLevel = "Unknown"
)

func PossibleFttAndRaidLevelValues

func PossibleFttAndRaidLevelValues() []FttAndRaidLevel

PossibleFttAndRaidLevelValues returns the possible values for the FttAndRaidLevel const type.

type Group

type Group struct {
	// The resource-specific properties for this resource.
	Properties *GroupProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

Group resource.

func (Group) MarshalJSON

func (g Group) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Group.

func (*Group) UnmarshalJSON

func (g *Group) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Group.

type GroupBodyProperties

type GroupBodyProperties struct {
	// List of machine names that are part of this group.
	Machines []*string

	// Whether to add or remove the machines.
	OperationType *GroupUpdateOperation
}

GroupBodyProperties - Body properties of group update.

func (GroupBodyProperties) MarshalJSON

func (g GroupBodyProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GroupBodyProperties.

func (*GroupBodyProperties) UnmarshalJSON

func (g *GroupBodyProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GroupBodyProperties.

type GroupListResult

type GroupListResult struct {
	// REQUIRED; The Group items on this page
	Value []*Group

	// The link to the next page of items
	NextLink *string
}

GroupListResult - The response of a Group list operation.

func (GroupListResult) MarshalJSON

func (g GroupListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GroupListResult.

func (*GroupListResult) UnmarshalJSON

func (g *GroupListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GroupListResult.

type GroupProperties

type GroupProperties struct {
	// The type of group.
	GroupType *GroupType

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// List of assessment types supported on this group.
	SupportedAssessmentTypes []*AssessmentType

	// READ-ONLY; If the assessments are in running state.
	AreAssessmentsRunning *bool

	// READ-ONLY; List of References to Assessments created on this group.
	Assessments []*string

	// READ-ONLY; Time when this group was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp *time.Time

	// READ-ONLY; Whether the group has been created and is valid.
	GroupStatus *GroupStatus

	// READ-ONLY; Number of machines part of this group.
	MachineCount *int32

	// READ-ONLY; Time when this group was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp *time.Time
}

GroupProperties - Properties of group resource.

func (GroupProperties) MarshalJSON

func (g GroupProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GroupProperties.

func (*GroupProperties) UnmarshalJSON

func (g *GroupProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type GroupProperties.

type GroupStatus

type GroupStatus string
const (
	GroupStatusCompleted GroupStatus = "Completed"
	GroupStatusCreated   GroupStatus = "Created"
	GroupStatusInvalid   GroupStatus = "Invalid"
	GroupStatusRunning   GroupStatus = "Running"
	GroupStatusUpdated   GroupStatus = "Updated"
)

func PossibleGroupStatusValues

func PossibleGroupStatusValues() []GroupStatus

PossibleGroupStatusValues returns the possible values for the GroupStatus const type.

type GroupType

type GroupType string
const (
	GroupTypeDefault GroupType = "Default"
	GroupTypeImport  GroupType = "Import"
)

func PossibleGroupTypeValues

func PossibleGroupTypeValues() []GroupType

PossibleGroupTypeValues returns the possible values for the GroupType const type.

type GroupUpdateOperation

type GroupUpdateOperation string
const (
	GroupUpdateOperationAdd    GroupUpdateOperation = "Add"
	GroupUpdateOperationRemove GroupUpdateOperation = "Remove"
)

func PossibleGroupUpdateOperationValues

func PossibleGroupUpdateOperationValues() []GroupUpdateOperation

PossibleGroupUpdateOperationValues returns the possible values for the GroupUpdateOperation const type.

type GroupsOperationsClient

type GroupsOperationsClient struct {
	// contains filtered or unexported fields
}

GroupsOperationsClient contains the methods for the GroupsOperations group. Don't use this type directly, use NewGroupsOperationsClient() instead.

func NewGroupsOperationsClient

func NewGroupsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*GroupsOperationsClient, error)

NewGroupsOperationsClient creates a new instance of GroupsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*GroupsOperationsClient) BeginCreate

func (client *GroupsOperationsClient) BeginCreate(ctx context.Context, resourceGroupName string, projectName string, groupName string, resource Group, options *GroupsOperationsClientBeginCreateOptions) (*runtime.Poller[GroupsOperationsClientCreateResponse], error)

BeginCreate - Create a Group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • resource - Resource create parameters.
  • options - GroupsOperationsClientBeginCreateOptions contains the optional parameters for the GroupsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/GroupsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewGroupsOperationsClient().BeginCreate(ctx, "ayagrawrg", "app18700project", "kuchatur-test", armmigrationassessment.Group{
		Properties: &armmigrationassessment.GroupProperties{
			ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			GroupStatus:       to.Ptr(armmigrationassessment.GroupStatusCompleted),
			GroupType:         to.Ptr(armmigrationassessment.GroupTypeDefault),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Group = armmigrationassessment.Group{
	// 	Name: to.Ptr("kuchatur-test"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("lrmhonmbodwva"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.GroupProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AreAssessmentsRunning: to.Ptr(true),
	// 		Assessments: []*string{
	// 			to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1")},
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
	// 			GroupStatus: to.Ptr(armmigrationassessment.GroupStatusCompleted),
	// 			GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 			MachineCount: to.Ptr[int32](20),
	// 			SupportedAssessmentTypes: []*armmigrationassessment.AssessmentType{
	// 				to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
	// 				to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment)},
	// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
	// 			},
	// 		}
}
Output:

func (*GroupsOperationsClient) BeginUpdateMachines

BeginUpdateMachines - Update machines in group by adding or removing machines. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • body - The content of the action request
  • options - GroupsOperationsClientBeginUpdateMachinesOptions contains the optional parameters for the GroupsOperationsClient.BeginUpdateMachines method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/GroupsOperations_UpdateMachines_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewGroupsOperationsClient().BeginUpdateMachines(ctx, "ayagrawrg", "app18700project", "kuchatur-test", armmigrationassessment.UpdateGroupBody{
		ETag: to.Ptr("*"),
		Properties: &armmigrationassessment.GroupBodyProperties{
			Machines: []*string{
				to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/machines/18895660-c5e5-4247-8cfc-cd24e1fe57f3")},
			OperationType: to.Ptr(armmigrationassessment.GroupUpdateOperationAdd),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Group = armmigrationassessment.Group{
	// 	Name: to.Ptr("kuchatur-test"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("lrmhonmbodwva"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.GroupProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AreAssessmentsRunning: to.Ptr(true),
	// 		Assessments: []*string{
	// 			to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1")},
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
	// 			GroupStatus: to.Ptr(armmigrationassessment.GroupStatusCompleted),
	// 			GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 			MachineCount: to.Ptr[int32](20),
	// 			SupportedAssessmentTypes: []*armmigrationassessment.AssessmentType{
	// 				to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
	// 				to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment)},
	// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
	// 			},
	// 		}
}
Output:

func (*GroupsOperationsClient) Delete

func (client *GroupsOperationsClient) Delete(ctx context.Context, resourceGroupName string, projectName string, groupName string, options *GroupsOperationsClientDeleteOptions) (GroupsOperationsClientDeleteResponse, error)

Delete - Delete a Group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • options - GroupsOperationsClientDeleteOptions contains the optional parameters for the GroupsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/GroupsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewGroupsOperationsClient().Delete(ctx, "ayagrawrg", "app18700project", "kuchatur-test", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*GroupsOperationsClient) Get

func (client *GroupsOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, options *GroupsOperationsClientGetOptions) (GroupsOperationsClientGetResponse, error)

Get - Get a Group If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • options - GroupsOperationsClientGetOptions contains the optional parameters for the GroupsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/GroupsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewGroupsOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "kuchatur-test", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Group = armmigrationassessment.Group{
	// 	Name: to.Ptr("kuchatur-test"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("lrmhonmbodwva"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.GroupProperties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
	// 		AreAssessmentsRunning: to.Ptr(true),
	// 		Assessments: []*string{
	// 			to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1")},
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
	// 			GroupStatus: to.Ptr(armmigrationassessment.GroupStatusCompleted),
	// 			GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 			MachineCount: to.Ptr[int32](20),
	// 			SupportedAssessmentTypes: []*armmigrationassessment.AssessmentType{
	// 				to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
	// 				to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment)},
	// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
	// 			},
	// 		}
}
Output:

func (*GroupsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List Group resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - GroupsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the GroupsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/GroupsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewGroupsOperationsClient().NewListByAssessmentProjectPager("ayagrawrg", "app18700project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.GroupListResult = armmigrationassessment.GroupListResult{
		// 	Value: []*armmigrationassessment.Group{
		// 		{
		// 			Name: to.Ptr("kuchatur-test"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("bhjfiiwermbzqfoqxtxpjigj"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("lrmhonmbodwva"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.GroupProperties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
		// 				AreAssessmentsRunning: to.Ptr(true),
		// 				Assessments: []*string{
		// 					to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/kuchatur-test/assessments/asm1")},
		// 					CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
		// 					GroupStatus: to.Ptr(armmigrationassessment.GroupStatusCompleted),
		// 					GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 					MachineCount: to.Ptr[int32](20),
		// 					SupportedAssessmentTypes: []*armmigrationassessment.AssessmentType{
		// 						to.Ptr(armmigrationassessment.AssessmentTypeMachineAssessment),
		// 						to.Ptr(armmigrationassessment.AssessmentTypeAvsAssessment)},
		// 						UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:29.161Z"); return t}()),
		// 					},
		// 			}},
		// 		}
	}
}
Output:

type GroupsOperationsClientBeginCreateOptions

type GroupsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

GroupsOperationsClientBeginCreateOptions contains the optional parameters for the GroupsOperationsClient.BeginCreate method.

type GroupsOperationsClientBeginUpdateMachinesOptions

type GroupsOperationsClientBeginUpdateMachinesOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

GroupsOperationsClientBeginUpdateMachinesOptions contains the optional parameters for the GroupsOperationsClient.BeginUpdateMachines method.

type GroupsOperationsClientCreateResponse

type GroupsOperationsClientCreateResponse struct {
	// Group resource.
	Group
}

GroupsOperationsClientCreateResponse contains the response from method GroupsOperationsClient.BeginCreate.

type GroupsOperationsClientDeleteOptions

type GroupsOperationsClientDeleteOptions struct {
}

GroupsOperationsClientDeleteOptions contains the optional parameters for the GroupsOperationsClient.Delete method.

type GroupsOperationsClientDeleteResponse

type GroupsOperationsClientDeleteResponse struct {
}

GroupsOperationsClientDeleteResponse contains the response from method GroupsOperationsClient.Delete.

type GroupsOperationsClientGetOptions

type GroupsOperationsClientGetOptions struct {
}

GroupsOperationsClientGetOptions contains the optional parameters for the GroupsOperationsClient.Get method.

type GroupsOperationsClientGetResponse

type GroupsOperationsClientGetResponse struct {
	// Group resource.
	Group
}

GroupsOperationsClientGetResponse contains the response from method GroupsOperationsClient.Get.

type GroupsOperationsClientListByAssessmentProjectOptions

type GroupsOperationsClientListByAssessmentProjectOptions struct {
}

GroupsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the GroupsOperationsClient.NewListByAssessmentProjectPager method.

type GroupsOperationsClientListByAssessmentProjectResponse

type GroupsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a Group list operation.
	GroupListResult
}

GroupsOperationsClientListByAssessmentProjectResponse contains the response from method GroupsOperationsClient.NewListByAssessmentProjectPager.

type GroupsOperationsClientUpdateMachinesResponse

type GroupsOperationsClientUpdateMachinesResponse struct {
	// Group resource.
	Group
}

GroupsOperationsClientUpdateMachinesResponse contains the response from method GroupsOperationsClient.BeginUpdateMachines.

type GuestOperatingSystemArchitecture

type GuestOperatingSystemArchitecture string
const (
	GuestOperatingSystemArchitectureUnknown GuestOperatingSystemArchitecture = "Unknown"
	GuestOperatingSystemArchitectureX64     GuestOperatingSystemArchitecture = "X64"
	GuestOperatingSystemArchitectureX86     GuestOperatingSystemArchitecture = "X86"
)

func PossibleGuestOperatingSystemArchitectureValues

func PossibleGuestOperatingSystemArchitectureValues() []GuestOperatingSystemArchitecture

PossibleGuestOperatingSystemArchitectureValues returns the possible values for the GuestOperatingSystemArchitecture const type.

type HardwareGeneration

type HardwareGeneration string
const (
	HardwareGenerationAutomatic  HardwareGeneration = "Automatic"
	HardwareGenerationDCSeries   HardwareGeneration = "DC_series"
	HardwareGenerationFsv2Series HardwareGeneration = "Fsv2_series"
	HardwareGenerationGen5       HardwareGeneration = "Gen5"
	HardwareGenerationMSeries    HardwareGeneration = "M_series"
	HardwareGenerationUnknown    HardwareGeneration = "Unknown"
)

func PossibleHardwareGenerationValues

func PossibleHardwareGenerationValues() []HardwareGeneration

PossibleHardwareGenerationValues returns the possible values for the HardwareGeneration const type.

type HyperVLicenseType

type HyperVLicenseType string

HyperVLicenseType - Business case supported HyperV License types.

const (
	// HyperVLicenseTypeDatacentre - Datacentre HyperV License.
	HyperVLicenseTypeDatacentre HyperVLicenseType = "Datacentre"
	// HyperVLicenseTypeStandard - Standard HyperV License.
	HyperVLicenseTypeStandard HyperVLicenseType = "Standard"
	// HyperVLicenseTypeUnknown - Unknown HyperV License.
	HyperVLicenseTypeUnknown HyperVLicenseType = "Unknown"
)

func PossibleHyperVLicenseTypeValues

func PossibleHyperVLicenseTypeValues() []HyperVLicenseType

PossibleHyperVLicenseTypeValues returns the possible values for the HyperVLicenseType const type.

type HypervCollector

type HypervCollector struct {
	// The resource-specific properties for this resource.
	Properties *CollectorPropertiesBaseWithAgent

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

HypervCollector - Hyper-V collector resource.

func (HypervCollector) MarshalJSON

func (h HypervCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HypervCollector.

func (*HypervCollector) UnmarshalJSON

func (h *HypervCollector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HypervCollector.

type HypervCollectorListResult

type HypervCollectorListResult struct {
	// REQUIRED; The HypervCollector items on this page
	Value []*HypervCollector

	// The link to the next page of items
	NextLink *string
}

HypervCollectorListResult - The response of a HypervCollector list operation.

func (HypervCollectorListResult) MarshalJSON

func (h HypervCollectorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HypervCollectorListResult.

func (*HypervCollectorListResult) UnmarshalJSON

func (h *HypervCollectorListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HypervCollectorListResult.

type HypervCollectorsOperationsClient

type HypervCollectorsOperationsClient struct {
	// contains filtered or unexported fields
}

HypervCollectorsOperationsClient contains the methods for the HypervCollectorsOperations group. Don't use this type directly, use NewHypervCollectorsOperationsClient() instead.

func NewHypervCollectorsOperationsClient

func NewHypervCollectorsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*HypervCollectorsOperationsClient, error)

NewHypervCollectorsOperationsClient creates a new instance of HypervCollectorsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*HypervCollectorsOperationsClient) BeginCreate

BeginCreate - Create a HypervCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • hypervCollectorName - Hyper-V collector ARM name
  • resource - Resource create parameters.
  • options - HypervCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the HypervCollectorsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/HypervCollectorsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewHypervCollectorsOperationsClient().BeginCreate(ctx, "ayagrawRG", "app18700project", "test-697cecollector", armmigrationassessment.HypervCollector{
		Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
			ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
				ID:               to.Ptr("12f1d90f-b3fa-4926-8893-e56803a09af0"),
				LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-07T14:25:35.708Z"); return t }()),
				SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
					ApplicationID: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
					Audience:      to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
					Authority:     to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
					ObjectID:      to.Ptr("01b9f9e2-2d82-414c-adaa-09ce259b6b44"),
					TenantID:      to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
				},
				Version: to.Ptr("2.0.1993.19"),
			},
			DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/HyperVSites/test-60527site"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.HypervCollector = armmigrationassessment.HypervCollector{
	// 	Name: to.Ptr("test-697cecollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/hypervcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/hypervcollectors/test-697cecollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("12f1d90f-b3fa-4926-8893-e56803a09af0"),
	// 			LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-07T14:25:35.708Z"); return t}()),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
	// 				Audience: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("01b9f9e2-2d82-414c-adaa-09ce259b6b44"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 			Version: to.Ptr("2.0.1993.19"),
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-06T17:35:52.750Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/HyperVSites/test-60527site"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:47.984Z"); return t}()),
	// 	},
	// }
}
Output:

func (*HypervCollectorsOperationsClient) Delete

Delete - Delete a HypervCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • hypervCollectorName - Hyper-V collector ARM name
  • options - HypervCollectorsOperationsClientDeleteOptions contains the optional parameters for the HypervCollectorsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/HypervCollectorsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewHypervCollectorsOperationsClient().Delete(ctx, "ayagrawRG", "app18700project", "test-697cecollector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*HypervCollectorsOperationsClient) Get

Get - Get a HypervCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • hypervCollectorName - Hyper-V collector ARM name
  • options - HypervCollectorsOperationsClientGetOptions contains the optional parameters for the HypervCollectorsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/HypervCollectorsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewHypervCollectorsOperationsClient().Get(ctx, "ayagrawRG", "app18700project", "test-697cecollector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.HypervCollector = armmigrationassessment.HypervCollector{
	// 	Name: to.Ptr("test-697cecollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/hypervcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/hypervcollectors/test-697cecollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("12f1d90f-b3fa-4926-8893-e56803a09af0"),
	// 			LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-07T14:25:35.708Z"); return t}()),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
	// 				Audience: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("01b9f9e2-2d82-414c-adaa-09ce259b6b44"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 			Version: to.Ptr("2.0.1993.19"),
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-06T17:35:52.750Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/HyperVSites/test-60527site"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:47.984Z"); return t}()),
	// 	},
	// }
}
Output:

func (*HypervCollectorsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List HypervCollector resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - HypervCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the HypervCollectorsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/HypervCollectorsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewHypervCollectorsOperationsClient().NewListByAssessmentProjectPager("ayagrawRG", "app18700project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.HypervCollectorListResult = armmigrationassessment.HypervCollectorListResult{
		// 	Value: []*armmigrationassessment.HypervCollector{
		// 		{
		// 			Name: to.Ptr("test-697cecollector"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/hypervcollectors"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/hypervcollectors/test-697cecollector"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
		// 				AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
		// 					ID: to.Ptr("12f1d90f-b3fa-4926-8893-e56803a09af0"),
		// 					LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-07T14:25:35.708Z"); return t}()),
		// 					SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
		// 						ApplicationID: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
		// 						Audience: to.Ptr("e3bd6eaa-980b-40ae-a30e-2a5069ba097c"),
		// 						Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 						ObjectID: to.Ptr("01b9f9e2-2d82-414c-adaa-09ce259b6b44"),
		// 						TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 					},
		// 					Version: to.Ptr("2.0.1993.19"),
		// 				},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-07-06T17:35:52.750Z"); return t}()),
		// 				DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/HyperVSites/test-60527site"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:47.984Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type HypervCollectorsOperationsClientBeginCreateOptions

type HypervCollectorsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

HypervCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the HypervCollectorsOperationsClient.BeginCreate method.

type HypervCollectorsOperationsClientCreateResponse

type HypervCollectorsOperationsClientCreateResponse struct {
	// Hyper-V collector resource.
	HypervCollector
}

HypervCollectorsOperationsClientCreateResponse contains the response from method HypervCollectorsOperationsClient.BeginCreate.

type HypervCollectorsOperationsClientDeleteOptions

type HypervCollectorsOperationsClientDeleteOptions struct {
}

HypervCollectorsOperationsClientDeleteOptions contains the optional parameters for the HypervCollectorsOperationsClient.Delete method.

type HypervCollectorsOperationsClientDeleteResponse

type HypervCollectorsOperationsClientDeleteResponse struct {
}

HypervCollectorsOperationsClientDeleteResponse contains the response from method HypervCollectorsOperationsClient.Delete.

type HypervCollectorsOperationsClientGetOptions

type HypervCollectorsOperationsClientGetOptions struct {
}

HypervCollectorsOperationsClientGetOptions contains the optional parameters for the HypervCollectorsOperationsClient.Get method.

type HypervCollectorsOperationsClientGetResponse

type HypervCollectorsOperationsClientGetResponse struct {
	// Hyper-V collector resource.
	HypervCollector
}

HypervCollectorsOperationsClientGetResponse contains the response from method HypervCollectorsOperationsClient.Get.

type HypervCollectorsOperationsClientListByAssessmentProjectOptions

type HypervCollectorsOperationsClientListByAssessmentProjectOptions struct {
}

HypervCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the HypervCollectorsOperationsClient.NewListByAssessmentProjectPager method.

type HypervCollectorsOperationsClientListByAssessmentProjectResponse

type HypervCollectorsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a HypervCollector list operation.
	HypervCollectorListResult
}

HypervCollectorsOperationsClientListByAssessmentProjectResponse contains the response from method HypervCollectorsOperationsClient.NewListByAssessmentProjectPager.

type HypervLicense

type HypervLicense struct {
	// REQUIRED; Cost of a licence.
	LicenseCost *float32

	// REQUIRED; HyperV licence type.
	LicenseType *HyperVLicenseType
}

HypervLicense - Representation of a licence.

func (HypervLicense) MarshalJSON

func (h HypervLicense) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HypervLicense.

func (*HypervLicense) UnmarshalJSON

func (h *HypervLicense) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HypervLicense.

type HypervVirtualizationManagementSettings

type HypervVirtualizationManagementSettings struct {
	// REQUIRED; Licence and support list.
	LicenseAndSupportList []*HypervLicense

	// REQUIRED; Number of physical cores per licence.
	NumberOfPhysicalCoresPerLicense *int32

	// REQUIRED; Software Assurance Cost.
	SoftwareAssuranceCost *float32
}

HypervVirtualizationManagementSettings - HyperV Virtualization Management Settings.

func (HypervVirtualizationManagementSettings) MarshalJSON

func (h HypervVirtualizationManagementSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type HypervVirtualizationManagementSettings.

func (*HypervVirtualizationManagementSettings) UnmarshalJSON

func (h *HypervVirtualizationManagementSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type HypervVirtualizationManagementSettings.

type IaasOsDistribution

type IaasOsDistribution struct {
	// READ-ONLY; Number of Linux servers.
	Linux *int32

	// READ-ONLY; Number of servers neither Windows or Linux.
	Other *int32

	// READ-ONLY; Number of Windows servers.
	Windows *int32
}

IaasOsDistribution - Shows the infrastructure as a service machine OS distribution.

func (IaasOsDistribution) MarshalJSON

func (i IaasOsDistribution) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IaasOsDistribution.

func (*IaasOsDistribution) UnmarshalJSON

func (i *IaasOsDistribution) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IaasOsDistribution.

type IaasOsLicensingDetails

type IaasOsLicensingDetails struct {
	// READ-ONLY; The decommission cost.
	DecomissionCost *float32

	// READ-ONLY; The OS type.
	OSType *string

	// READ-ONLY; The total cost.
	TotalCost *float32
}

IaasOsLicensingDetails - The Iaas OS licensing details.

func (IaasOsLicensingDetails) MarshalJSON

func (i IaasOsLicensingDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IaasOsLicensingDetails.

func (*IaasOsLicensingDetails) UnmarshalJSON

func (i *IaasOsLicensingDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IaasOsLicensingDetails.

type IaasSummary

type IaasSummary struct {
	// The resource-specific properties for this resource.
	Properties *IaasSummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

IaasSummary - Iaas summary REST resource.

func (IaasSummary) MarshalJSON

func (i IaasSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IaasSummary.

func (*IaasSummary) UnmarshalJSON

func (i *IaasSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IaasSummary.

type IaasSummaryListResult

type IaasSummaryListResult struct {
	// REQUIRED; The IaasSummary items on this page
	Value []*IaasSummary

	// The link to the next page of items
	NextLink *string
}

IaasSummaryListResult - The response of a IaasSummary list operation.

func (IaasSummaryListResult) MarshalJSON

func (i IaasSummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IaasSummaryListResult.

func (*IaasSummaryListResult) UnmarshalJSON

func (i *IaasSummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IaasSummaryListResult.

type IaasSummaryProperties

type IaasSummaryProperties struct {
	// READ-ONLY; The Azure IaaS summary.
	AzureIaasSummary *AzureIaasSummary

	// READ-ONLY; The on premises IaaS summary.
	OnPremisesIaasSummary *OnPremisesIaasSummary
}

IaasSummaryProperties - Iaas summary properties class.

func (IaasSummaryProperties) MarshalJSON

func (i IaasSummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IaasSummaryProperties.

func (*IaasSummaryProperties) UnmarshalJSON

func (i *IaasSummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type IaasSummaryProperties.

type ImpactedAssessmentObject

type ImpactedAssessmentObject struct {
	// READ-ONLY; Gets the object name.
	ObjectName *string

	// READ-ONLY; Gets the object type.
	ObjectType *string
}

ImpactedAssessmentObject - Class representing the impacted objects.

func (ImpactedAssessmentObject) MarshalJSON

func (i ImpactedAssessmentObject) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ImpactedAssessmentObject.

func (*ImpactedAssessmentObject) UnmarshalJSON

func (i *ImpactedAssessmentObject) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ImpactedAssessmentObject.

type ImportCollector

type ImportCollector struct {
	// The resource-specific properties for this resource.
	Properties *CollectorPropertiesBase

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

ImportCollector - Import collector resource.

func (ImportCollector) MarshalJSON

func (i ImportCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ImportCollector.

func (*ImportCollector) UnmarshalJSON

func (i *ImportCollector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ImportCollector.

type ImportCollectorListResult

type ImportCollectorListResult struct {
	// REQUIRED; The ImportCollector items on this page
	Value []*ImportCollector

	// The link to the next page of items
	NextLink *string
}

ImportCollectorListResult - The response of a ImportCollector list operation.

func (ImportCollectorListResult) MarshalJSON

func (i ImportCollectorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ImportCollectorListResult.

func (*ImportCollectorListResult) UnmarshalJSON

func (i *ImportCollectorListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ImportCollectorListResult.

type ImportCollectorsOperationsClient

type ImportCollectorsOperationsClient struct {
	// contains filtered or unexported fields
}

ImportCollectorsOperationsClient contains the methods for the ImportCollectorsOperations group. Don't use this type directly, use NewImportCollectorsOperationsClient() instead.

func NewImportCollectorsOperationsClient

func NewImportCollectorsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ImportCollectorsOperationsClient, error)

NewImportCollectorsOperationsClient creates a new instance of ImportCollectorsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ImportCollectorsOperationsClient) BeginCreate

BeginCreate - Create a ImportCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • importCollectorName - Import collector ARM name
  • resource - Resource create parameters.
  • options - ImportCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the ImportCollectorsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ImportCollectorsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewImportCollectorsOperationsClient().BeginCreate(ctx, "ayagrawRG", "app18700project", "importCollectore7d5", armmigrationassessment.ImportCollector{
		Properties: &armmigrationassessment.CollectorPropertiesBase{
			ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			DiscoverySiteID:   to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawRG/providers/microsoft.offazure/importsites/actualSEA37d4importSite"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.ImportCollector = armmigrationassessment.ImportCollector{
	// 	Name: to.Ptr("importCollectore7d5"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/importcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/importcollectors/importCollectore7d5"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBase{
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-10-01T11:04:34.340Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawRG/providers/microsoft.offazure/importsites/actualSEA37d4importSite"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:48.383Z"); return t}()),
	// 	},
	// }
}
Output:

func (*ImportCollectorsOperationsClient) Delete

Delete - Delete a ImportCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • importCollectorName - Import collector ARM name
  • options - ImportCollectorsOperationsClientDeleteOptions contains the optional parameters for the ImportCollectorsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ImportCollectorsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewImportCollectorsOperationsClient().Delete(ctx, "ayagrawRG", "app18700project", "importCollectore7d5", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*ImportCollectorsOperationsClient) Get

Get - Get a ImportCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • importCollectorName - Import collector ARM name
  • options - ImportCollectorsOperationsClientGetOptions contains the optional parameters for the ImportCollectorsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ImportCollectorsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewImportCollectorsOperationsClient().Get(ctx, "ayagrawRG", "app18700project", "importCollectore7d5", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.ImportCollector = armmigrationassessment.ImportCollector{
	// 	Name: to.Ptr("importCollectore7d5"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/importcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/importcollectors/importCollectore7d5"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBase{
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-10-01T11:04:34.340Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawRG/providers/microsoft.offazure/importsites/actualSEA37d4importSite"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:48.383Z"); return t}()),
	// 	},
	// }
}
Output:

func (*ImportCollectorsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List ImportCollector resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - ImportCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the ImportCollectorsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ImportCollectorsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewImportCollectorsOperationsClient().NewListByAssessmentProjectPager("ayagrawRG", "app18700project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.ImportCollectorListResult = armmigrationassessment.ImportCollectorListResult{
		// 	Value: []*armmigrationassessment.ImportCollector{
		// 		{
		// 			Name: to.Ptr("importCollectore7d5"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/importcollectors"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/importcollectors/importCollectore7d5"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.CollectorPropertiesBase{
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-10-01T11:04:34.340Z"); return t}()),
		// 				DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawRG/providers/microsoft.offazure/importsites/actualSEA37d4importSite"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:48.383Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type ImportCollectorsOperationsClientBeginCreateOptions

type ImportCollectorsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

ImportCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the ImportCollectorsOperationsClient.BeginCreate method.

type ImportCollectorsOperationsClientCreateResponse

type ImportCollectorsOperationsClientCreateResponse struct {
	// Import collector resource.
	ImportCollector
}

ImportCollectorsOperationsClientCreateResponse contains the response from method ImportCollectorsOperationsClient.BeginCreate.

type ImportCollectorsOperationsClientDeleteOptions

type ImportCollectorsOperationsClientDeleteOptions struct {
}

ImportCollectorsOperationsClientDeleteOptions contains the optional parameters for the ImportCollectorsOperationsClient.Delete method.

type ImportCollectorsOperationsClientDeleteResponse

type ImportCollectorsOperationsClientDeleteResponse struct {
}

ImportCollectorsOperationsClientDeleteResponse contains the response from method ImportCollectorsOperationsClient.Delete.

type ImportCollectorsOperationsClientGetOptions

type ImportCollectorsOperationsClientGetOptions struct {
}

ImportCollectorsOperationsClientGetOptions contains the optional parameters for the ImportCollectorsOperationsClient.Get method.

type ImportCollectorsOperationsClientGetResponse

type ImportCollectorsOperationsClientGetResponse struct {
	// Import collector resource.
	ImportCollector
}

ImportCollectorsOperationsClientGetResponse contains the response from method ImportCollectorsOperationsClient.Get.

type ImportCollectorsOperationsClientListByAssessmentProjectOptions

type ImportCollectorsOperationsClientListByAssessmentProjectOptions struct {
}

ImportCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the ImportCollectorsOperationsClient.NewListByAssessmentProjectPager method.

type ImportCollectorsOperationsClientListByAssessmentProjectResponse

type ImportCollectorsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a ImportCollector list operation.
	ImportCollectorListResult
}

ImportCollectorsOperationsClientListByAssessmentProjectResponse contains the response from method ImportCollectorsOperationsClient.NewListByAssessmentProjectPager.

type LaborSettings

type LaborSettings struct {
	// REQUIRED; Hourly administrator cost.
	HourlyAdminCost *float32

	// REQUIRED; Physical servers per administrator.
	PhysicalServersPerAdmin *int32

	// REQUIRED; Virtual machines per administrator.
	VirtualMachinesPerAdmin *int32
}

LaborSettings - Labour settings.

func (LaborSettings) MarshalJSON

func (l LaborSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LaborSettings.

func (*LaborSettings) UnmarshalJSON

func (l *LaborSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LaborSettings.

type LicensingProgram

type LicensingProgram string

LicensingProgram - Licensing Program for Azure.

const (
	// LicensingProgramDefault - Default value. Indicates Pay As You Go.
	LicensingProgramDefault LicensingProgram = "Default"
	// LicensingProgramEA - Enterprise Agreement.
	LicensingProgramEA LicensingProgram = "EA"
)

func PossibleLicensingProgramValues

func PossibleLicensingProgramValues() []LicensingProgram

PossibleLicensingProgramValues returns the possible values for the LicensingProgram const type.

type LinuxServerLicensingSettings

type LinuxServerLicensingSettings struct {
	// REQUIRED; Licence Cost.
	LicenseCost *float32
}

LinuxServerLicensingSettings - Linux Server licensing settings.

func (LinuxServerLicensingSettings) MarshalJSON

func (l LinuxServerLicensingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LinuxServerLicensingSettings.

func (*LinuxServerLicensingSettings) UnmarshalJSON

func (l *LinuxServerLicensingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type LinuxServerLicensingSettings.

type Machine

type Machine struct {
	// The resource-specific properties for this resource.
	Properties *MachineProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

Machine resource.

func (Machine) MarshalJSON

func (m Machine) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Machine.

func (*Machine) UnmarshalJSON

func (m *Machine) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Machine.

type MachineAssessmentProperties

type MachineAssessmentProperties struct {
	// Gets or sets the azure storage type. Premium, Standard etc.
	AzureDiskTypes []*AzureDiskType

	// Gets or sets the user configurable setting to display the azure hybrid use benefit.
	AzureHybridUseBenefit *AzureHybridUseBenefit

	// Azure Location or Azure region where to which the machines will be migrated.
	AzureLocation *string

	// Azure Offer Code.
	AzureOfferCode *AzureOfferCode

	// Gets or sets Azure Pricing Tier - Free, Basic, etc.
	AzurePricingTier *AzurePricingTier

	// Gets or sets the Azure Storage Redundancy. Example: Locally Redundant Storage.
	AzureStorageRedundancy *AzureStorageRedundancy

	// Gets or sets the Azure VM families.
	AzureVMFamilies []*AzureVMFamily

	// Currency in which prices should be reported.
	Currency *AzureCurrency

	// Custom discount percentage.
	DiscountPercentage *float32

	// Gets or sets enterprise agreement subscription id.
	EaSubscriptionID *string

	// Gets or sets the user configurable setting to display the linux azure hybrid use benefit.
	LinuxAzureHybridUseBenefit *AzureHybridUseBenefit

	// Percentile of the utilization data values to be considered while assessing machines.
	Percentile *Percentile

	// Gets or sets the end time to consider performance data for assessment.
	PerfDataEndTime *time.Time

	// Gets or sets the start time to consider performance data for assessment.
	PerfDataStartTime *time.Time

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// Gets or sets the Azure Reserved Instance - 1-Year, 3-Year.
	ReservedInstance *AzureReservedInstance

	// Percentage of buffer that user wants on performance metrics when recommending Azure sizes.
	ScalingFactor *float32

	// Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// Time Range for which the historic utilization data should be considered for assessment.
	TimeRange *TimeRange

	// Gets or sets the duration for which the VMs are up in the on-premises environment.
	VMUptime *VMUptime

	// READ-ONLY; Gets or sets the assessment error summary. This is the number of machines affected by each type of error in
	// this assessment.
	AssessmentErrorSummary map[string]*int32

	// READ-ONLY; Assessment type of the assessment.
	AssessmentType *AssessmentType

	// READ-ONLY; Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// READ-ONLY; Gets the collection of cost components.
	CostComponents []*CostComponent

	// READ-ONLY; Date and Time when assessment was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Gets the distribution by os name.
	DistributionByOsName map[string]*int32

	// READ-ONLY; Gets the distribution distribution of sqlInstances by service pack insight.
	DistributionByServicePackInsight map[string]*int32

	// READ-ONLY; Gets the distribution of sqlInstances by support status.
	DistributionBySupportStatus map[string]*int32

	// READ-ONLY; Gets the group type for the assessment.
	GroupType *GroupType

	// READ-ONLY; Gets or sets the aggregate Bandwidth Cost for all machines in the assessment.
	MonthlyBandwidthCost *float32

	// READ-ONLY; Gets or sets the aggregate Compute Cost for all machines in the assessment.
	MonthlyComputeCost *float32

	// READ-ONLY; Gets or sets the aggregate premium storage cost for all machines in the assessment.
	MonthlyPremiumStorageCost *float32

	// READ-ONLY; Gets or sets the aggregate standard SSD storage cost for all the machines in the assessment.
	MonthlyStandardSsdStorageCost *float32

	// READ-ONLY; Gets or sets the aggregate Storage Cost for all machines in the assessment.
	MonthlyStorageCost *float32

	// READ-ONLY; Gets or sets the aggregate ultra storage cost for all machines in the assessment.
	MonthlyUltraStorageCost *float32

	// READ-ONLY; Gets or sets the Number of machines part of the assessment.
	NumberOfMachines *int32

	// READ-ONLY; Last time when rates were queried.
	PricesTimestamp *time.Time

	// READ-ONLY; Schema version.
	SchemaVersion *string

	// READ-ONLY; User configurable setting to display the Stage of Assessment.
	Stage *AssessmentStage

	// READ-ONLY; Whether assessment is in valid state and all machines have been assessed.
	Status *AssessmentStatus

	// READ-ONLY; Gets or sets the Cloud suitability summary for all the machines in the assessment.
	SuitabilitySummary map[string]*int32

	// READ-ONLY; Date and Time when assessment was last updated.
	UpdatedTimestamp *time.Time
}

MachineAssessmentProperties - Properties of an assessment.

func (MachineAssessmentProperties) MarshalJSON

func (m MachineAssessmentProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MachineAssessmentProperties.

func (*MachineAssessmentProperties) UnmarshalJSON

func (m *MachineAssessmentProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MachineAssessmentProperties.

type MachineBootType

type MachineBootType string
const (
	MachineBootTypeBios         MachineBootType = "BIOS"
	MachineBootTypeEFI          MachineBootType = "EFI"
	MachineBootTypeNotSpecified MachineBootType = "NotSpecified"
	MachineBootTypeUnknown      MachineBootType = "Unknown"
)

func PossibleMachineBootTypeValues

func PossibleMachineBootTypeValues() []MachineBootType

PossibleMachineBootTypeValues returns the possible values for the MachineBootType const type.

type MachineListResult

type MachineListResult struct {
	// REQUIRED; The Machine items on this page
	Value []*Machine

	// The link to the next page of items
	NextLink *string
}

MachineListResult - The response of a Machine list operation.

func (MachineListResult) MarshalJSON

func (m MachineListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MachineListResult.

func (*MachineListResult) UnmarshalJSON

func (m *MachineListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MachineListResult.

type MachineProperties

type MachineProperties struct {
	// READ-ONLY; Boot type of machine discovered in private data center.
	BootType *MachineBootType

	// READ-ONLY; When was machine first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; The data center management server ARM Id for the machine.
	DatacenterManagementServerArmID *string

	// READ-ONLY; The data center management server name for the machine.
	DatacenterManagementServerName *string

	// READ-ONLY; Description for the machine.
	Description *string

	// READ-ONLY; Site id of machine discovered in private data center.
	DiscoveryMachineArmID *string

	// READ-ONLY; Disks attached to the machine discovered in private data center.
	Disks map[string]*Disk

	// READ-ONLY; Display Name of the Machine.
	DisplayName *string

	// READ-ONLY; List of errors for this machine.
	Errors []*Error

	// READ-ONLY; Gets the References to the groups that this machine is member of.
	Groups []*string

	// READ-ONLY; Gets Processor details of the host.
	HostProcessor *ProcessorInfo

	// READ-ONLY; Megabytes of memory found allocated for the machine in private data center.
	MegabytesOfMemory *float32

	// READ-ONLY; Network adapters attached to the machine discovered in private data center.
	NetworkAdapters map[string]*NetworkAdapter

	// READ-ONLY; Number of CPU cores found on the machine.
	NumberOfCores *int32

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemName *string

	// READ-ONLY; Operating system as reported by datacenter management solution.
	OperatingSystemType *string

	// READ-ONLY; Operating system version as reported by datacenter management solution.
	OperatingSystemVersion *string

	// READ-ONLY; Gets the product support status related details.
	ProductSupportStatus *ProductSupportStatus

	// READ-ONLY; SQL instances discovered on the machine.
	SQLInstances []*string

	// READ-ONLY; When was machine last updated.
	UpdatedTimestamp *time.Time

	// READ-ONLY; Web applications discovered on the machine.
	WebApplications []*string

	// READ-ONLY; Gets or sets workload summary.
	WorkloadSummary *WorkloadSummary
}

MachineProperties - Properties of a machine.

func (MachineProperties) MarshalJSON

func (m MachineProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MachineProperties.

func (*MachineProperties) UnmarshalJSON

func (m *MachineProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MachineProperties.

type MachinesOperationsClient

type MachinesOperationsClient struct {
	// contains filtered or unexported fields
}

MachinesOperationsClient contains the methods for the MachinesOperations group. Don't use this type directly, use NewMachinesOperationsClient() instead.

func NewMachinesOperationsClient

func NewMachinesOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*MachinesOperationsClient, error)

NewMachinesOperationsClient creates a new instance of MachinesOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*MachinesOperationsClient) Get

func (client *MachinesOperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, machineName string, options *MachinesOperationsClientGetOptions) (MachinesOperationsClientGetResponse, error)

Get - Get a Machine If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • machineName - Assessible Machine ARM name
  • options - MachinesOperationsClientGetOptions contains the optional parameters for the MachinesOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/MachinesOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewMachinesOperationsClient().Get(ctx, "ayagrawrg", "app18700project", "55082b89-99e2-4c40-b63f-d4f4d6ba961d", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.Machine = armmigrationassessment.Machine{
	// 	Name: to.Ptr("55082b89-99e2-4c40-b63f-d4f4d6ba961d"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/machines"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/machines/55082b89-99e2-4c40-b63f-d4f4d6ba961d"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.MachineProperties{
	// 		Description: to.Ptr(""),
	// 		BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-08-31T14:31:19.465Z"); return t}()),
	// 		DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app48697site/vcenters/idclab-vcen65-fareast-corp-micr-7071f35f-082c-4333-9ca9-3fdd5254db17"),
	// 		DatacenterManagementServerName: to.Ptr("idclab-vcen65.fareast.corp.microsoft.com"),
	// 		DiscoveryMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app48697site/machines/idclab-vcen65-fareast-corp-micr-7071f35f-082c-4333-9ca9-3fdd5254db17_50379cec-8534-dcd7-0c7e-b16f6572bf94"),
	// 		Disks: map[string]*armmigrationassessment.Disk{
	// 			"6000C295-4e9d-4322-6690-aff91beffb82": &armmigrationassessment.Disk{
	// 				DisplayName: to.Ptr("scsi0:2"),
	// 				GigabytesAllocated: to.Ptr[float32](50),
	// 			},
	// 			"6000C297-a876-f49f-c202-0289620d5223": &armmigrationassessment.Disk{
	// 				DisplayName: to.Ptr("scsi0:1"),
	// 				GigabytesAllocated: to.Ptr[float32](250),
	// 			},
	// 			"6000C29d-4e28-24a9-eaee-02fa5a17dadf": &armmigrationassessment.Disk{
	// 				DisplayName: to.Ptr("scsi0:0"),
	// 				GigabytesAllocated: to.Ptr[float32](150),
	// 			},
	// 		},
	// 		DisplayName: to.Ptr("a410-r1w12r2-7"),
	// 		Errors: []*armmigrationassessment.Error{
	// 		},
	// 		Groups: []*string{
	// 			to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/azure-vmwaresolution-ame-15389"),
	// 			to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/rajoshtest")},
	// 			MegabytesOfMemory: to.Ptr[float32](30720),
	// 			NetworkAdapters: map[string]*armmigrationassessment.NetworkAdapter{
	// 				"4000": &armmigrationassessment.NetworkAdapter{
	// 					DisplayName: to.Ptr("VM Network"),
	// 					IPAddresses: []*string{
	// 					},
	// 					MacAddress: to.Ptr("00:50:56:b7:04:06"),
	// 				},
	// 			},
	// 			NumberOfCores: to.Ptr[int32](8),
	// 			OperatingSystemName: to.Ptr("Microsoft Windows Server 2012 (64-bit)"),
	// 			OperatingSystemType: to.Ptr("windowsGuest"),
	// 			ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
	// 				CurrentEsuYear: to.Ptr("Unknown"),
	// 				EsuStatus: to.Ptr("Unknown"),
	// 				Eta: to.Ptr[int32](0),
	// 				ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-10-08T00:00:00.000Z"); return t}()),
	// 				ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-10-14T00:00:00.000Z"); return t}()),
	// 				ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-13T00:00:00.000Z"); return t}()),
	// 				ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-10T00:00:00.000Z"); return t}()),
	// 				MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-09T00:00:00.000Z"); return t}()),
	// 				ServicePackStatus: to.Ptr("Unknown"),
	// 				SupportStatus: to.Ptr("Extended"),
	// 			},
	// 			SQLInstances: []*string{
	// 			},
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-03T16:22:11.261Z"); return t}()),
	// 			WebApplications: []*string{
	// 			},
	// 			WorkloadSummary: &armmigrationassessment.WorkloadSummary{
	// 				OracleInstances: to.Ptr[int32](0),
	// 				SpringApps: to.Ptr[int32](0),
	// 			},
	// 		},
	// 	}
}
Output:

func (*MachinesOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List Machine resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - MachinesOperationsClientListByAssessmentProjectOptions contains the optional parameters for the MachinesOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/MachinesOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewMachinesOperationsClient().NewListByAssessmentProjectPager("ayagrawrg", "app18700project", &armmigrationassessment.MachinesOperationsClientListByAssessmentProjectOptions{Filter: nil,
		PageSize:          to.Ptr[int32](1),
		ContinuationToken: nil,
		TotalRecordCount:  to.Ptr[int32](1),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.MachineListResult = armmigrationassessment.MachineListResult{
		// 	Value: []*armmigrationassessment.Machine{
		// 		{
		// 			Name: to.Ptr("55082b89-99e2-4c40-b63f-d4f4d6ba961d"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/machines"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/machines/55082b89-99e2-4c40-b63f-d4f4d6ba961d"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.MachineProperties{
		// 				Description: to.Ptr(""),
		// 				BootType: to.Ptr(armmigrationassessment.MachineBootTypeBios),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2021-08-31T14:31:19.465Z"); return t}()),
		// 				DatacenterManagementServerArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/app48697site/vcenters/idclab-vcen65-fareast-corp-micr-7071f35f-082c-4333-9ca9-3fdd5254db17"),
		// 				DatacenterManagementServerName: to.Ptr("idclab-vcen65.fareast.corp.microsoft.com"),
		// 				DiscoveryMachineArmID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourcegroups/ayagrawrg/providers/microsoft.offazure/vmwaresites/app48697site/machines/idclab-vcen65-fareast-corp-micr-7071f35f-082c-4333-9ca9-3fdd5254db17_50379cec-8534-dcd7-0c7e-b16f6572bf94"),
		// 				Disks: map[string]*armmigrationassessment.Disk{
		// 					"6000C295-4e9d-4322-6690-aff91beffb82": &armmigrationassessment.Disk{
		// 						DisplayName: to.Ptr("scsi0:2"),
		// 						GigabytesAllocated: to.Ptr[float32](50),
		// 					},
		// 					"6000C297-a876-f49f-c202-0289620d5223": &armmigrationassessment.Disk{
		// 						DisplayName: to.Ptr("scsi0:1"),
		// 						GigabytesAllocated: to.Ptr[float32](250),
		// 					},
		// 					"6000C29d-4e28-24a9-eaee-02fa5a17dadf": &armmigrationassessment.Disk{
		// 						DisplayName: to.Ptr("scsi0:0"),
		// 						GigabytesAllocated: to.Ptr[float32](150),
		// 					},
		// 				},
		// 				DisplayName: to.Ptr("a410-r1w12r2-7"),
		// 				Errors: []*armmigrationassessment.Error{
		// 				},
		// 				Groups: []*string{
		// 					to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/azure-vmwaresolution-ame-15389"),
		// 					to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/groups/rajoshtest")},
		// 					MegabytesOfMemory: to.Ptr[float32](30720),
		// 					NetworkAdapters: map[string]*armmigrationassessment.NetworkAdapter{
		// 						"4000": &armmigrationassessment.NetworkAdapter{
		// 							DisplayName: to.Ptr("VM Network"),
		// 							IPAddresses: []*string{
		// 							},
		// 							MacAddress: to.Ptr("00:50:56:b7:04:06"),
		// 						},
		// 					},
		// 					NumberOfCores: to.Ptr[int32](8),
		// 					OperatingSystemName: to.Ptr("Microsoft Windows Server 2012 (64-bit)"),
		// 					OperatingSystemType: to.Ptr("windowsGuest"),
		// 					ProductSupportStatus: &armmigrationassessment.ProductSupportStatus{
		// 						CurrentEsuYear: to.Ptr("Unknown"),
		// 						EsuStatus: to.Ptr("Unknown"),
		// 						Eta: to.Ptr[int32](0),
		// 						ExtendedSecurityUpdateYear1EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2024-10-08T00:00:00.000Z"); return t}()),
		// 						ExtendedSecurityUpdateYear2EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2025-10-14T00:00:00.000Z"); return t}()),
		// 						ExtendedSecurityUpdateYear3EndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2026-10-13T00:00:00.000Z"); return t}()),
		// 						ExtendedSupportEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-10-10T00:00:00.000Z"); return t}()),
		// 						MainstreamEndDate: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2018-10-09T00:00:00.000Z"); return t}()),
		// 						ServicePackStatus: to.Ptr("Unknown"),
		// 						SupportStatus: to.Ptr("Extended"),
		// 					},
		// 					SQLInstances: []*string{
		// 					},
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-03T16:22:11.261Z"); return t}()),
		// 					WebApplications: []*string{
		// 					},
		// 					WorkloadSummary: &armmigrationassessment.WorkloadSummary{
		// 						OracleInstances: to.Ptr[int32](0),
		// 						SpringApps: to.Ptr[int32](0),
		// 					},
		// 				},
		// 		}},
		// 	}
	}
}
Output:

type MachinesOperationsClientGetOptions

type MachinesOperationsClientGetOptions struct {
}

MachinesOperationsClientGetOptions contains the optional parameters for the MachinesOperationsClient.Get method.

type MachinesOperationsClientGetResponse

type MachinesOperationsClientGetResponse struct {
	// Machine resource.
	Machine
}

MachinesOperationsClientGetResponse contains the response from method MachinesOperationsClient.Get.

type MachinesOperationsClientListByAssessmentProjectOptions

type MachinesOperationsClientListByAssessmentProjectOptions struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

MachinesOperationsClientListByAssessmentProjectOptions contains the optional parameters for the MachinesOperationsClient.NewListByAssessmentProjectPager method.

type MachinesOperationsClientListByAssessmentProjectResponse

type MachinesOperationsClientListByAssessmentProjectResponse struct {
	// The response of a Machine list operation.
	MachineListResult
}

MachinesOperationsClientListByAssessmentProjectResponse contains the response from method MachinesOperationsClient.NewListByAssessmentProjectPager.

type ManagementCostComponent

type ManagementCostComponent struct {
	// REQUIRED; Name of Management Cost Component.
	Name *ManagementCostComponentName

	// Cost of Management Component.
	Value *float32
}

ManagementCostComponent - Management Cost Component.

func (ManagementCostComponent) MarshalJSON

func (m ManagementCostComponent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagementCostComponent.

func (*ManagementCostComponent) UnmarshalJSON

func (m *ManagementCostComponent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagementCostComponent.

type ManagementCostComponentName

type ManagementCostComponentName string

ManagementCostComponentName - Management Cost Component Names.

const (
	// ManagementCostComponentNameAzureArcMonitoringCost - Azure Arc Monitoring Cost.
	ManagementCostComponentNameAzureArcMonitoringCost ManagementCostComponentName = "AzureArcMonitoringCost"
	// ManagementCostComponentNameAzureArcPatchingCost - Azure Arc Patching Cost.
	ManagementCostComponentNameAzureArcPatchingCost ManagementCostComponentName = "AzureArcPatchingCost"
	// ManagementCostComponentNameAzureDataProtectionCost - Azure Data Protection Cost.
	ManagementCostComponentNameAzureDataProtectionCost ManagementCostComponentName = "AzureDataProtectionCost"
	// ManagementCostComponentNameAzureMonitoringCost - Azure Monitoring Cost.
	ManagementCostComponentNameAzureMonitoringCost ManagementCostComponentName = "AzureMonitoringCost"
	// ManagementCostComponentNameAzurePatchingCost - Azure Patching Cost.
	ManagementCostComponentNameAzurePatchingCost ManagementCostComponentName = "AzurePatchingCost"
	// ManagementCostComponentNameOtherDataProtectionCost - Other Data Protection Cost.
	ManagementCostComponentNameOtherDataProtectionCost ManagementCostComponentName = "OtherDataProtectionCost"
	// ManagementCostComponentNameOtherMonitoringCost - Other Monitoring Cost.
	ManagementCostComponentNameOtherMonitoringCost ManagementCostComponentName = "OtherMonitoringCost"
	// ManagementCostComponentNameOtherPatchingCost - Other Patching Cost.
	ManagementCostComponentNameOtherPatchingCost ManagementCostComponentName = "OtherPatchingCost"
	// ManagementCostComponentNameSystemCenterLicenseCost - System Center License Cost.
	ManagementCostComponentNameSystemCenterLicenseCost ManagementCostComponentName = "SystemCenterLicenseCost"
	// ManagementCostComponentNameThirdPartyManagementCost - Third Party Management Cost.
	ManagementCostComponentNameThirdPartyManagementCost ManagementCostComponentName = "ThirdPartyManagementCost"
	// ManagementCostComponentNameUnknown - Unknown Management Cost Component.
	ManagementCostComponentNameUnknown ManagementCostComponentName = "Unknown"
	// ManagementCostComponentNameVSphereManagementCost - VSphere eManagement Cost.
	ManagementCostComponentNameVSphereManagementCost ManagementCostComponentName = "VSphereManagementCost"
)

func PossibleManagementCostComponentNameValues

func PossibleManagementCostComponentNameValues() []ManagementCostComponentName

PossibleManagementCostComponentNameValues returns the possible values for the ManagementCostComponentName const type.

type ManagementCostDetails

type ManagementCostDetails struct {
	// READ-ONLY; Management Cost.
	ManagementCost *float32

	// READ-ONLY; Management Cost Components.
	ManagementCostComponents []*ManagementCostComponent
}

ManagementCostDetails - Management Cost Details.

func (ManagementCostDetails) MarshalJSON

func (m ManagementCostDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagementCostDetails.

func (*ManagementCostDetails) UnmarshalJSON

func (m *ManagementCostDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagementCostDetails.

type ManagementSettings

type ManagementSettings struct {
	// REQUIRED; HyperV Virtualization Management Settings.
	HypervVirtualizationManagementSettings *HypervVirtualizationManagementSettings

	// REQUIRED; Other Management Costs Settings.
	OtherManagementCostsSettings *OtherManagementCostsSettings

	// REQUIRED; Third Party Management Settings.
	ThirdPartyManagementSettings *ThirdPartyManagementSettings
}

ManagementSettings - Management settings.

func (ManagementSettings) MarshalJSON

func (m ManagementSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagementSettings.

func (*ManagementSettings) UnmarshalJSON

func (m *ManagementSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ManagementSettings.

type MigrationGuidelineContext

type MigrationGuidelineContext struct {
	// Gets the reasoning context key.
	ContextKey *string

	// Gets the reasoning context value.
	ContextValue *string
}

MigrationGuidelineContext - Migration Guideline Context.

func (MigrationGuidelineContext) MarshalJSON

func (m MigrationGuidelineContext) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MigrationGuidelineContext.

func (*MigrationGuidelineContext) UnmarshalJSON

func (m *MigrationGuidelineContext) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MigrationGuidelineContext.

type MigrationStrategy

type MigrationStrategy string

MigrationStrategy - Business case supported migration strategy types.

const (
	// MigrationStrategyAVSOnly - Avs only.
	MigrationStrategyAVSOnly MigrationStrategy = "AVSOnly"
	// MigrationStrategyIaaSOnly - IaaS only.
	MigrationStrategyIaaSOnly MigrationStrategy = "IaaSOnly"
	// MigrationStrategyOptimizeForCost - Optimize for cost.
	MigrationStrategyOptimizeForCost MigrationStrategy = "OptimizeForCost"
	// MigrationStrategyOptimizeForPaas - Optimize for PaaS.
	MigrationStrategyOptimizeForPaas MigrationStrategy = "OptimizeForPaas"
	// MigrationStrategyUnknown - Unknown Migration Strategy.
	MigrationStrategyUnknown MigrationStrategy = "Unknown"
)

func PossibleMigrationStrategyValues

func PossibleMigrationStrategyValues() []MigrationStrategy

PossibleMigrationStrategyValues returns the possible values for the MigrationStrategy const type.

type MoreInfo

type MoreInfo struct {
	// READ-ONLY; Gets title.
	Title *string

	// READ-ONLY; Gets url.
	URL *string
}

MoreInfo - Data model of More information about check or rule.

func (MoreInfo) MarshalJSON

func (m MoreInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MoreInfo.

func (*MoreInfo) UnmarshalJSON

func (m *MoreInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MoreInfo.

type MultiSubnetIntent

type MultiSubnetIntent string
const (
	MultiSubnetIntentDisasterRecovery MultiSubnetIntent = "DisasterRecovery"
	MultiSubnetIntentHighAvailability MultiSubnetIntent = "HighAvailability"
	MultiSubnetIntentNone             MultiSubnetIntent = "None"
)

func PossibleMultiSubnetIntentValues

func PossibleMultiSubnetIntentValues() []MultiSubnetIntent

PossibleMultiSubnetIntentValues returns the possible values for the MultiSubnetIntent const type.

type NetworkAdapter

type NetworkAdapter struct {
	// READ-ONLY; User friendly name of the network adapter.
	DisplayName *string

	// READ-ONLY; List of IP Addresses on the network adapter.
	IPAddresses []*string

	// READ-ONLY; MAC Address of the network adapter.
	MacAddress *string
}

NetworkAdapter - A network adapter discovered on a machine.

func (NetworkAdapter) MarshalJSON

func (n NetworkAdapter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkAdapter.

func (*NetworkAdapter) UnmarshalJSON

func (n *NetworkAdapter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NetworkAdapter.

type NetworkSKUType

type NetworkSKUType string

NetworkSKUType - Different network skus.

const (
	// NetworkSKUTypeExpressRouteUltra - Express Route network type with Ultra SKU.
	NetworkSKUTypeExpressRouteUltra NetworkSKUType = "ExpressRouteUltra"
	// NetworkSKUTypeNone - Indicates No network SKU.
	NetworkSKUTypeNone NetworkSKUType = "None"
	// NetworkSKUTypeUnknown - Indicates un-supported network SKU.
	NetworkSKUTypeUnknown NetworkSKUType = "Unknown"
)

func PossibleNetworkSKUTypeValues

func PossibleNetworkSKUTypeValues() []NetworkSKUType

PossibleNetworkSKUTypeValues returns the possible values for the NetworkSKUType const type.

type NetworkSettings

type NetworkSettings struct {
	// REQUIRED; Network hardware and software cost percentage.
	HardwareSoftwareCostPercentage *float32

	// REQUIRED; Network maintenance cost percentage.
	MaintenanceCostPercentage *float32
}

NetworkSettings - Network settings.

func (NetworkSettings) MarshalJSON

func (n NetworkSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NetworkSettings.

func (*NetworkSettings) UnmarshalJSON

func (n *NetworkSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NetworkSettings.

type NodePool

type NodePool struct {
	// READ-ONLY; Gets arm sku name.
	ArmSKUName *string

	// READ-ONLY; Gets cluster name.
	ClusterName *string

	// READ-ONLY; Gets id.
	ID *string

	// READ-ONLY; Gets mode.
	Mode *NodePoolMode

	// READ-ONLY; Gets monthly cost.
	MonthlyCost *float32

	// READ-ONLY; Gets name.
	Name *string

	// READ-ONLY; Gets node count.
	NodeCount *int32

	// READ-ONLY; Gets os type.
	OSType *OSType

	// READ-ONLY; Gets pod approximate monthly cost.
	PodApproxMonthlyCost *float32

	// READ-ONLY; Gets pod count.
	PodCount *int32
}

NodePool - Data model of Node Pool.

func (NodePool) MarshalJSON

func (n NodePool) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NodePool.

func (*NodePool) UnmarshalJSON

func (n *NodePool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type NodePool.

type NodePoolMode

type NodePoolMode string

NodePoolMode - Node Pool Mode.

const (
	// NodePoolModeSystem - Indicates System node pool.
	NodePoolModeSystem NodePoolMode = "System"
	// NodePoolModeUser - Indicates User node pool.
	NodePoolModeUser NodePoolMode = "User"
)

func PossibleNodePoolModeValues

func PossibleNodePoolModeValues() []NodePoolMode

PossibleNodePoolModeValues returns the possible values for the NodePoolMode const type.

type OSType

type OSType string

OSType - Operating System Type.

const (
	// OSTypeLinux - Linux OS Type.
	OSTypeLinux OSType = "Linux"
	// OSTypeWindows - Windows OS Type.
	OSTypeWindows OSType = "Windows"
)

func PossibleOSTypeValues

func PossibleOSTypeValues() []OSType

PossibleOSTypeValues returns the possible values for the OSType const type.

type OnPremiseSettings

type OnPremiseSettings struct {
	// REQUIRED; Compute settings.
	ComputeSettings *ComputeSettings

	// REQUIRED; Facility settings.
	FacilitySettings *FacilitySettings

	// REQUIRED; Labour settings.
	LaborSettings *LaborSettings

	// REQUIRED; Network settings.
	NetworkSettings *NetworkSettings

	// REQUIRED; Security settings.
	SecuritySettings *SecuritySettings

	// REQUIRED; Storage settings.
	StorageSettings *StorageSettings

	// Management settings.
	ManagementSettings *ManagementSettings
}

OnPremiseSettings - On-premise settings.

func (OnPremiseSettings) MarshalJSON

func (o OnPremiseSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OnPremiseSettings.

func (*OnPremiseSettings) UnmarshalJSON

func (o *OnPremiseSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OnPremiseSettings.

type OnPremisesIaasSummary

type OnPremisesIaasSummary struct {
	// READ-ONLY; The CPU utilization.
	CPUUtilization *float32

	// READ-ONLY; The number of cores.
	Cores *int32

	// READ-ONLY; The distribution by operating system.
	DistributionByOperatingSystem []*DistributionByOperatingSystem

	// READ-ONLY; Distribution by Operating System Version.
	DistributionByOperatingSystemVersion []*DistributionByType

	// READ-ONLY; Distribution by Sql Edition.
	DistributionBySQLEdition []*DistributionByType

	// READ-ONLY; Distribution by Sql Version.
	DistributionBySQLVersion []*DistributionByType

	// READ-ONLY; The distribution by virtualization.
	DistributionByVirtualization []*DistributionByVirtualization

	// READ-ONLY; Iaas OS Support Status Distribution.
	IaasOsSupportStatusDistribution *SupportStatusDistribution

	// READ-ONLY; Iaas Sql Support Status Distribution.
	IaasSQLSupportStatusDistribution *SupportStatusDistribution

	// READ-ONLY; Total memory in GB.
	MemoryGb *float32

	// READ-ONLY; The memory utilization.
	MemoryUtilization *float32

	// READ-ONLY; The OS licensing details.
	OSLicensingDetails []*IaasOsLicensingDetails

	// READ-ONLY; OS Service Pack Insight.
	OSServicePackInsight *ServicePackInsight

	// READ-ONLY; The on premises PaaS cost.
	OnPremisesIaasCostDetails *CostDetails

	// READ-ONLY; The on premises PaaS cost.
	OnPremisesIaasCostForDecommissioned *CostDetails

	// READ-ONLY; The SQL on premises utilization insights.
	OnPremisesUtilizationData *UtilizationData

	// READ-ONLY; Sql Service Pack Insight.
	SQLServicePackInsight *ServicePackInsight

	// READ-ONLY; The number of servers.
	Servers *int32

	// READ-ONLY; The storage utilization.
	StorageUtilization *float32
}

OnPremisesIaasSummary - The on premises IAAS summary.

func (OnPremisesIaasSummary) MarshalJSON

func (o OnPremisesIaasSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OnPremisesIaasSummary.

func (*OnPremisesIaasSummary) UnmarshalJSON

func (o *OnPremisesIaasSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OnPremisesIaasSummary.

type OnPremisesPaasLicensingCost

type OnPremisesPaasLicensingCost struct {
	// READ-ONLY; The decommissioned server cost.
	DecomissionServerCost *float32

	// READ-ONLY; The total cost.
	TotalCost *float32

	// READ-ONLY; The version.
	Version *string
}

OnPremisesPaasLicensingCost - The on premises paas licensing cost.

func (OnPremisesPaasLicensingCost) MarshalJSON

func (o OnPremisesPaasLicensingCost) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OnPremisesPaasLicensingCost.

func (*OnPremisesPaasLicensingCost) UnmarshalJSON

func (o *OnPremisesPaasLicensingCost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OnPremisesPaasLicensingCost.

type OnPremisesPaasSummary

type OnPremisesPaasSummary struct {
	// READ-ONLY; CPU utilization percentage.
	CPUUtilization *float32

	// READ-ONLY; Memory utilization percentage.
	MemoryUtilization *float32

	// READ-ONLY; OS Service Pack Insight.
	OSServicePackInsight *ServicePackInsight

	// READ-ONLY; OS Support Status Distribution.
	OSSupportStatusDistribution *SupportStatusDistribution

	// READ-ONLY; The on premises PaaS cost.
	OnPremisesPaasCostForDecommisioned *CostDetails

	// READ-ONLY; The on premises paas licensing cost.
	OnPremisesPaasLicensingCost *OnPremisesPaasLicensingCost

	// READ-ONLY; The on premises SQL summary.
	OnPremisesSQLSummary *OnPremisesSQLSummary

	// READ-ONLY; The on premises web application summary.
	OnPremisesWebAppSummary *OnPremisesWebAppSummary

	// READ-ONLY; Sql Service Pack Insight.
	SQLServicePackInsight *ServicePackInsight

	// READ-ONLY; Sql Support Status Distribution.
	SQLSupportStatusDistribution *SupportStatusDistribution

	// READ-ONLY; The on premises PaaS cost.
	TotalOnPremisesPaasCost *CostDetails

	// READ-ONLY; Total servers.
	TotalServers *int32
}

OnPremisesPaasSummary - Shows platform as a service (PaaS) summary.

func (OnPremisesPaasSummary) MarshalJSON

func (o OnPremisesPaasSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OnPremisesPaasSummary.

func (*OnPremisesPaasSummary) UnmarshalJSON

func (o *OnPremisesPaasSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OnPremisesPaasSummary.

type OnPremisesSQLSummary

type OnPremisesSQLSummary struct {
	// READ-ONLY; Distribution by Sql Edition.
	DistributionBySQLEdition []*DistributionByType

	// READ-ONLY; Distribution by SQL version.
	DistributionBySQLVersion []*SQLVersionDetails

	// READ-ONLY; The number of SQL databases.
	SQLDatabases *int32

	// READ-ONLY; The number of SQL instances.
	SQLInstances *int32

	// READ-ONLY; The SQL on premises utilization insights.
	SQLOnPremisesUtilizationData *UtilizationData
}

OnPremisesSQLSummary - The on premises SQL summary.

func (OnPremisesSQLSummary) MarshalJSON

func (o OnPremisesSQLSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OnPremisesSQLSummary.

func (*OnPremisesSQLSummary) UnmarshalJSON

func (o *OnPremisesSQLSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OnPremisesSQLSummary.

type OnPremisesWebAppSummary

type OnPremisesWebAppSummary struct {
	// READ-ONLY; The number of web applications.
	NumberOfWebApplications *int32

	// READ-ONLY; The number of web applications per web application type.
	NumberOfWebAppsPerType map[string]*int32

	// READ-ONLY; The number of web servers.
	NumberOfWebServers *int32
}

OnPremisesWebAppSummary - The on premises web application summary.

func (OnPremisesWebAppSummary) MarshalJSON

func (o OnPremisesWebAppSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OnPremisesWebAppSummary.

func (*OnPremisesWebAppSummary) UnmarshalJSON

func (o *OnPremisesWebAppSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OnPremisesWebAppSummary.

type Operation

type Operation struct {
	// Localized display information for this particular operation.
	Display *OperationDisplay

	// READ-ONLY; Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
	ActionType *ActionType

	// READ-ONLY; Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane
	// operations.
	IsDataAction *bool

	// READ-ONLY; The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write",
	// "Microsoft.Compute/virtualMachines/capture/action"
	Name *string

	// READ-ONLY; The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default
	// value is "user,system"
	Origin *Origin
}

Operation - Details of a REST API operation, returned from the Resource Provider Operations API

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Operation.

func (*Operation) UnmarshalJSON

func (o *Operation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Operation.

type OperationDisplay

type OperationDisplay struct {
	// READ-ONLY; The short, localized friendly description of the operation; suitable for tool tips and detailed views.
	Description *string

	// READ-ONLY; The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual
	// Machine", "Restart Virtual Machine".
	Operation *string

	// READ-ONLY; The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft
	// Compute".
	Provider *string

	// READ-ONLY; The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job
	// Schedule Collections".
	Resource *string
}

OperationDisplay - Localized display information for this particular operation.

func (OperationDisplay) MarshalJSON

func (o OperationDisplay) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationDisplay.

func (*OperationDisplay) UnmarshalJSON

func (o *OperationDisplay) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationDisplay.

type OperationListResult

type OperationListResult struct {
	// READ-ONLY; URL to get the next set of operation list results (if there are any).
	NextLink *string

	// READ-ONLY; List of operations supported by the resource provider
	Value []*Operation
}

OperationListResult - A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.

func (OperationListResult) MarshalJSON

func (o OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationListResult.

func (*OperationListResult) UnmarshalJSON

func (o *OperationListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OperationListResult.

type OperationsClient

type OperationsClient struct {
	// contains filtered or unexported fields
}

OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.

func NewOperationsClient

func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) (*OperationsClient, error)

NewOperationsClient creates a new instance of OperationsClient with the specified values.

  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*OperationsClient) NewListPager

NewListPager - List the operations for the provider

Generated from API version 2024-01-01-preview

  • options - OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/Operations_List_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewOperationsClient().NewListPager(nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.OperationListResult = armmigrationassessment.OperationListResult{
		// 	Value: []*armmigrationassessment.Operation{
		// 		{
		// 			Name: to.Ptr("AksAssessmentOperations_Get"),
		// 			ActionType: to.Ptr(armmigrationassessment.ActionTypeInternal),
		// 			Display: &armmigrationassessment.OperationDisplay{
		// 				Description: to.Ptr("AKSAssessment"),
		// 				Operation: to.Ptr("GET"),
		// 				Provider: to.Ptr("Microsoft.Migrate"),
		// 				Resource: to.Ptr("AKSAssessment"),
		// 			},
		// 			IsDataAction: to.Ptr(true),
		// 			Origin: to.Ptr(armmigrationassessment.OriginUser),
		// 	}},
		// }
	}
}
Output:

type OperationsClientListOptions

type OperationsClientListOptions struct {
}

OperationsClientListOptions contains the optional parameters for the OperationsClient.NewListPager method.

type OperationsClientListResponse

type OperationsClientListResponse struct {
	// A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
	OperationListResult
}

OperationsClientListResponse contains the response from method OperationsClient.NewListPager.

type OptimizationLogic

type OptimizationLogic string
const (
	OptimizationLogicMinimizeCost          OptimizationLogic = "MinimizeCost"
	OptimizationLogicModernizeToAzureSQLDb OptimizationLogic = "ModernizeToAzureSqlDb"
	OptimizationLogicModernizeToAzureSQLMi OptimizationLogic = "ModernizeToAzureSqlMi"
	OptimizationLogicModernizeToPaaS       OptimizationLogic = "ModernizeToPaaS"
)

func PossibleOptimizationLogicValues

func PossibleOptimizationLogicValues() []OptimizationLogic

PossibleOptimizationLogicValues returns the possible values for the OptimizationLogic const type.

type Origin

type Origin string

Origin - The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"

const (
	OriginSystem     Origin = "system"
	OriginUser       Origin = "user"
	OriginUserSystem Origin = "user,system"
)

func PossibleOriginValues

func PossibleOriginValues() []Origin

PossibleOriginValues returns the possible values for the Origin const type.

type OsLicense

type OsLicense string
const (
	OsLicenseNo      OsLicense = "No"
	OsLicenseUnknown OsLicense = "Unknown"
	OsLicenseYes     OsLicense = "Yes"
)

func PossibleOsLicenseValues

func PossibleOsLicenseValues() []OsLicense

PossibleOsLicenseValues returns the possible values for the OsLicense const type.

type OtherManagementCostsSettings

type OtherManagementCostsSettings struct {
	// REQUIRED; Data Protection Cost Per Server Per Year.
	DataProtectionCostPerServerPerYear *float32

	// REQUIRED; Monitoring Cost Per Server Per Year.
	MonitoringCostPerServerPerYear *float32

	// REQUIRED; Patching Cost Per Server Per Year.
	PatchingCostPerServerPerYear *float32
}

OtherManagementCostsSettings - Other Management Costs Settings.

func (OtherManagementCostsSettings) MarshalJSON

func (o OtherManagementCostsSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OtherManagementCostsSettings.

func (*OtherManagementCostsSettings) UnmarshalJSON

func (o *OtherManagementCostsSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OtherManagementCostsSettings.

type OverviewSummary

type OverviewSummary struct {
	// The resource-specific properties for this resource.
	Properties *OverviewSummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

OverviewSummary - Overview summary REST resource.

func (OverviewSummary) MarshalJSON

func (o OverviewSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OverviewSummary.

func (*OverviewSummary) UnmarshalJSON

func (o *OverviewSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OverviewSummary.

type OverviewSummaryListResult

type OverviewSummaryListResult struct {
	// REQUIRED; The OverviewSummary items on this page
	Value []*OverviewSummary

	// The link to the next page of items
	NextLink *string
}

OverviewSummaryListResult - The response of a OverviewSummary list operation.

func (OverviewSummaryListResult) MarshalJSON

func (o OverviewSummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OverviewSummaryListResult.

func (*OverviewSummaryListResult) UnmarshalJSON

func (o *OverviewSummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OverviewSummaryListResult.

type OverviewSummaryProperties

type OverviewSummaryProperties struct {
	// READ-ONLY; The total Azure arc enabled on-premises cost assuming all on-premises infra is arc enabled.
	AzureArcEnabledOnPremisesCost *float32

	// READ-ONLY; The total cost of services offered by azure arc.
	AzureArcServicesCost *float32

	// READ-ONLY; ESU Savings 4 Years.
	EsuSavingsFor4Years *float32

	// READ-ONLY; The future azure arc cost based on the final migration percentage.
	FutureAzureArcEnabledOnPremisesCost *float32

	// READ-ONLY; The total cost of services offered by azure arc based on the final migration percentage.
	FutureAzureArcServicesCost *float32

	// READ-ONLY; The Iaas component of the future azure cost based on the final migration percentage.
	FutureAzureIaasCost *float32

	// READ-ONLY; The Paas component of the future azure cost based on the final migration percentage.
	FutureAzurePaasCost *float32

	// READ-ONLY; The final cost including azure and azure arc enabled on-premises considering the remaining on-prem infra is
	// arc enabled.
	FutureCostIncludingAzureArc *float32

	// READ-ONLY; ESU Savings in 4 Years considering the remaining on-prem infra each year is arc enabled.
	FutureEsuSavingsFor4YearsIncludingAzureArc *float32

	// READ-ONLY; The management cost saving considering the remaining on-prem infra is arc enabled
	FutureManagementCostSavingsIncludingAzureArc *float32

	// READ-ONLY; The security cost saving considering the remaining on-prem infra is arc enabled.
	FutureSecurityCostSavingsIncludingAzureArc *float32

	// READ-ONLY; Shows the infrastructure as a service machine OS distribution.
	IaasOsDistribution *IaasOsDistribution

	// READ-ONLY; The linux ahub saving.
	LinuxAhubSavings *float32

	// READ-ONLY; The management cost saving.
	ManagementCostSavings *float32

	// READ-ONLY; OS Support Status Distribution.
	OSSupportStatusDistribution *SupportStatusDistribution

	// READ-ONLY; Shows the distribution of platforms.
	PaasDistribution *PaasDistribution

	// READ-ONLY; The sql ahub saving.
	SQLAhubSavings *float32

	// READ-ONLY; Sql Support Status Distribution.
	SQLSupportStatusDistribution *SupportStatusDistribution

	// READ-ONLY; The security cost saving.
	SecurityCostSavings *float32

	// READ-ONLY; Shows the discovered servers by virtualization platform.
	ServersDiscovered *ServersDiscovered

	// READ-ONLY; The total Avs cost.
	TotalAzureAvsCost *float32

	// READ-ONLY; The total Azure cost..
	TotalAzureCost *float32

	// READ-ONLY; The total Azure IaaS cost.
	TotalAzureIaasCost *float32

	// READ-ONLY; The total Azure PaaS cost.
	TotalAzurePaasCost *float32

	// READ-ONLY; The total on premises cost.
	TotalOnPremisesCost *float32

	// READ-ONLY; The SQL on premises utilization insights.
	UtilizationData *UtilizationData

	// READ-ONLY; The windows ahub saving.
	WindowsAhubSavings *float32

	// READ-ONLY; Shows the year-on-year cost overall.
	YearOnYearEstimates *YearOnYearEstimates
}

OverviewSummaryProperties - Overview summary properties class.

func (OverviewSummaryProperties) MarshalJSON

func (o OverviewSummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OverviewSummaryProperties.

func (*OverviewSummaryProperties) UnmarshalJSON

func (o *OverviewSummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type OverviewSummaryProperties.

type PaasDistribution

type PaasDistribution struct {
	// READ-ONLY; Number of IIS Web servers.
	IisWebServers *int32

	// READ-ONLY; Number of SQL Server machines.
	SQLServers *int32

	// READ-ONLY; Distribution of webapps for each target type.
	WebAppDistribution map[string]*int32
}

PaasDistribution - Shows the distribution of platforms.

func (PaasDistribution) MarshalJSON

func (p PaasDistribution) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PaasDistribution.

func (*PaasDistribution) UnmarshalJSON

func (p *PaasDistribution) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PaasDistribution.

type PaasSummary

type PaasSummary struct {
	// The resource-specific properties for this resource.
	Properties *PaasSummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

PaasSummary - Paas summary REST resource.

func (PaasSummary) MarshalJSON

func (p PaasSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PaasSummary.

func (*PaasSummary) UnmarshalJSON

func (p *PaasSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PaasSummary.

type PaasSummaryListResult

type PaasSummaryListResult struct {
	// REQUIRED; The PaasSummary items on this page
	Value []*PaasSummary

	// The link to the next page of items
	NextLink *string
}

PaasSummaryListResult - The response of a PaasSummary list operation.

func (PaasSummaryListResult) MarshalJSON

func (p PaasSummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PaasSummaryListResult.

func (*PaasSummaryListResult) UnmarshalJSON

func (p *PaasSummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PaasSummaryListResult.

type PaasSummaryProperties

type PaasSummaryProperties struct {
	// READ-ONLY; Shows the PaaS Azure summary.
	Azure *AzurePaasSummary

	// READ-ONLY; Shows platform as a service (PaaS) summary.
	OnPremises *OnPremisesPaasSummary
}

PaasSummaryProperties - Paas summary properties class.

func (PaasSummaryProperties) MarshalJSON

func (p PaasSummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PaasSummaryProperties.

func (*PaasSummaryProperties) UnmarshalJSON

func (p *PaasSummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PaasSummaryProperties.

type Percentile

type Percentile string

Percentile - Percentile for Performance Data.

const (
	// PercentilePercentile50 - Percentile 50.
	PercentilePercentile50 Percentile = "Percentile50"
	// PercentilePercentile90 - Percentile 90.
	PercentilePercentile90 Percentile = "Percentile90"
	// PercentilePercentile95 - Percentile 95.
	PercentilePercentile95 Percentile = "Percentile95"
	// PercentilePercentile99 - Percentile 99.
	PercentilePercentile99 Percentile = "Percentile99"
)

func PossiblePercentileValues

func PossiblePercentileValues() []Percentile

PossiblePercentileValues returns the possible values for the Percentile const type.

type PerfDataSettings

type PerfDataSettings struct {
	// REQUIRED; Gets percentile utilization for performance data.
	Percentile *Percentile

	// REQUIRED; Gets perf data time range.
	TimeRange *TimeRange

	// Gets or sets perf data end time.
	PerfDataEndTime *time.Time

	// Gets or sets perf data start time.
	PerfDataStartTime *time.Time
}

PerfDataSettings - Data model of Performance Data Settings.

func (PerfDataSettings) MarshalJSON

func (p PerfDataSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PerfDataSettings.

func (*PerfDataSettings) UnmarshalJSON

func (p *PerfDataSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PerfDataSettings.

type PricingTier

type PricingTier string

PricingTier - Pricing Tier for Azure.

const (
	// PricingTierFree - Free Pricing Tier.
	PricingTierFree PricingTier = "Free"
	// PricingTierStandard - Standard Pricing Tier.
	PricingTierStandard PricingTier = "Standard"
)

func PossiblePricingTierValues

func PossiblePricingTierValues() []PricingTier

PossiblePricingTierValues returns the possible values for the PricingTier const type.

type PrivateEndpoint

type PrivateEndpoint struct {
	// READ-ONLY; The ARM identifier for private endpoint.
	ID *string
}

PrivateEndpoint - The private endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (p PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpoint.

func (*PrivateEndpoint) UnmarshalJSON

func (p *PrivateEndpoint) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	// The resource-specific properties for this resource.
	Properties *PrivateEndpointConnectionProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

PrivateEndpointConnection - Private endpoint connection resource.

func (PrivateEndpointConnection) MarshalJSON

func (p PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (p *PrivateEndpointConnection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateEndpointConnection.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	// REQUIRED; The PrivateEndpointConnection items on this page
	Value []*PrivateEndpointConnection

	// The link to the next page of items
	NextLink *string
}

PrivateEndpointConnectionListResult - The response of a PrivateEndpointConnection list operation.

func (PrivateEndpointConnectionListResult) MarshalJSON

func (p PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnectionListResult.

func (*PrivateEndpointConnectionListResult) UnmarshalJSON

func (p *PrivateEndpointConnectionListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateEndpointConnectionListResult.

type PrivateEndpointConnectionOperationsClient

type PrivateEndpointConnectionOperationsClient struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionOperationsClient contains the methods for the PrivateEndpointConnectionOperations group. Don't use this type directly, use NewPrivateEndpointConnectionOperationsClient() instead.

func NewPrivateEndpointConnectionOperationsClient

func NewPrivateEndpointConnectionOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*PrivateEndpointConnectionOperationsClient, error)

NewPrivateEndpointConnectionOperationsClient creates a new instance of PrivateEndpointConnectionOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*PrivateEndpointConnectionOperationsClient) BeginUpdate

BeginUpdate - Create a PrivateEndpointConnection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • privateEndpointConnectionName - Private endpoint connection ARM name
  • resource - Resource create parameters.
  • options - PrivateEndpointConnectionOperationsClientBeginUpdateOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.BeginUpdate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/PrivateEndpointConnectionOperations_Update_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewPrivateEndpointConnectionOperationsClient().BeginUpdate(ctx, "sakanwar", "sakanwar1204project", "sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7", armmigrationassessment.PrivateEndpointConnection{
		Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
			PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{},
			PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
				ActionsRequired: to.Ptr(""),
				Status:          to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
			},
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.PrivateEndpointConnection = armmigrationassessment.PrivateEndpointConnection{
	// 	Name: to.Ptr("sakanwar1204project1634pe"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
	// 	ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Migrate/assessmentprojects/PiyushApp15328project/privateEndpointConnections/sakanwar1204project1634pe"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
	// 		PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
	// 			ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
	// 		},
	// 		PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
	// 			ActionsRequired: to.Ptr(""),
	// 			Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
	// 		},
	// 		ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
	// 	},
	// }
}
Output:

func (*PrivateEndpointConnectionOperationsClient) Delete

Delete - Delete a PrivateEndpointConnection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • privateEndpointConnectionName - Private endpoint connection ARM name
  • options - PrivateEndpointConnectionOperationsClientDeleteOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/PrivateEndpointConnectionOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewPrivateEndpointConnectionOperationsClient().Delete(ctx, "sakanwar", "sakanwar1204project", "sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*PrivateEndpointConnectionOperationsClient) Get

Get - Get a PrivateEndpointConnection If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • privateEndpointConnectionName - Private endpoint connection ARM name
  • options - PrivateEndpointConnectionOperationsClientGetOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/PrivateEndpointConnectionOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewPrivateEndpointConnectionOperationsClient().Get(ctx, "sakanwar", "sakanwar1204project", "sakanwar1204project1634pe.bf42f8a1-09f5-4ee4-aea6-a019cc60f9d7", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.PrivateEndpointConnection = armmigrationassessment.PrivateEndpointConnection{
	// 	Name: to.Ptr("sakanwar1204project1634pe"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
	// 	ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Migrate/assessmentprojects/PiyushApp15328project/privateEndpointConnections/sakanwar1204project1634pe"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
	// 		PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
	// 			ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
	// 		},
	// 		PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
	// 			ActionsRequired: to.Ptr(""),
	// 			Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
	// 		},
	// 		ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
	// 	},
	// }
}
Output:

func (*PrivateEndpointConnectionOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List PrivateEndpointConnection resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - PrivateEndpointConnectionOperationsClientListByAssessmentProjectOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/PrivateEndpointConnectionOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewPrivateEndpointConnectionOperationsClient().NewListByAssessmentProjectPager("sakanwar", "sakanwar1204project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.PrivateEndpointConnectionListResult = armmigrationassessment.PrivateEndpointConnectionListResult{
		// 	Value: []*armmigrationassessment.PrivateEndpointConnection{
		// 		{
		// 			Name: to.Ptr("sakanwar1204project1634pe"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateEndpointConnections"),
		// 			ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Migrate/assessmentprojects/PiyushApp15328project/privateEndpointConnections/sakanwar1204project1634pe"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("sakanwar"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.PrivateEndpointConnectionProperties{
		// 				PrivateEndpoint: &armmigrationassessment.PrivateEndpoint{
		// 					ID: to.Ptr("/subscriptions/31be0ff4-c932-4cb3-8efc-efa411d79280/resourceGroups/PrivLink-SelfHost/providers/Microsoft.Network/privateEndpoints/sakanwar1204project1634pe"),
		// 				},
		// 				PrivateLinkServiceConnectionState: &armmigrationassessment.PrivateLinkServiceConnectionState{
		// 					ActionsRequired: to.Ptr(""),
		// 					Status: to.Ptr(armmigrationassessment.PrivateEndpointServiceConnectionStatusApproved),
		// 				},
		// 				ProvisioningState: to.Ptr(armmigrationassessment.PrivateEndpointConnectionProvisioningStateSucceeded),
		// 			},
		// 	}},
		// }
	}
}
Output:

type PrivateEndpointConnectionOperationsClientBeginUpdateOptions

type PrivateEndpointConnectionOperationsClientBeginUpdateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

PrivateEndpointConnectionOperationsClientBeginUpdateOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.BeginUpdate method.

type PrivateEndpointConnectionOperationsClientDeleteOptions

type PrivateEndpointConnectionOperationsClientDeleteOptions struct {
}

PrivateEndpointConnectionOperationsClientDeleteOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.Delete method.

type PrivateEndpointConnectionOperationsClientDeleteResponse

type PrivateEndpointConnectionOperationsClientDeleteResponse struct {
}

PrivateEndpointConnectionOperationsClientDeleteResponse contains the response from method PrivateEndpointConnectionOperationsClient.Delete.

type PrivateEndpointConnectionOperationsClientGetOptions

type PrivateEndpointConnectionOperationsClientGetOptions struct {
}

PrivateEndpointConnectionOperationsClientGetOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.Get method.

type PrivateEndpointConnectionOperationsClientGetResponse

type PrivateEndpointConnectionOperationsClientGetResponse struct {
	// Private endpoint connection resource.
	PrivateEndpointConnection
}

PrivateEndpointConnectionOperationsClientGetResponse contains the response from method PrivateEndpointConnectionOperationsClient.Get.

type PrivateEndpointConnectionOperationsClientListByAssessmentProjectOptions

type PrivateEndpointConnectionOperationsClientListByAssessmentProjectOptions struct {
}

PrivateEndpointConnectionOperationsClientListByAssessmentProjectOptions contains the optional parameters for the PrivateEndpointConnectionOperationsClient.NewListByAssessmentProjectPager method.

type PrivateEndpointConnectionOperationsClientListByAssessmentProjectResponse

type PrivateEndpointConnectionOperationsClientListByAssessmentProjectResponse struct {
	// The response of a PrivateEndpointConnection list operation.
	PrivateEndpointConnectionListResult
}

PrivateEndpointConnectionOperationsClientListByAssessmentProjectResponse contains the response from method PrivateEndpointConnectionOperationsClient.NewListByAssessmentProjectPager.

type PrivateEndpointConnectionOperationsClientUpdateResponse

type PrivateEndpointConnectionOperationsClientUpdateResponse struct {
	// Private endpoint connection resource.
	PrivateEndpointConnection
}

PrivateEndpointConnectionOperationsClientUpdateResponse contains the response from method PrivateEndpointConnectionOperationsClient.BeginUpdate.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// REQUIRED; A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState

	// The private endpoint resource.
	PrivateEndpoint *PrivateEndpoint

	// READ-ONLY; The group ids for the private endpoint resource.
	GroupIDs []*string

	// READ-ONLY; The provisioning state of the private endpoint connection resource.
	ProvisioningState *PrivateEndpointConnectionProvisioningState
}

PrivateEndpointConnectionProperties - Properties of the private endpoint connection.

func (PrivateEndpointConnectionProperties) MarshalJSON

func (p PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnectionProperties.

func (*PrivateEndpointConnectionProperties) UnmarshalJSON

func (p *PrivateEndpointConnectionProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateEndpointConnectionProperties.

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string

PrivateEndpointConnectionProvisioningState - The current provisioning state.

const (
	PrivateEndpointConnectionProvisioningStateCreating  PrivateEndpointConnectionProvisioningState = "Creating"
	PrivateEndpointConnectionProvisioningStateDeleting  PrivateEndpointConnectionProvisioningState = "Deleting"
	PrivateEndpointConnectionProvisioningStateFailed    PrivateEndpointConnectionProvisioningState = "Failed"
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns the possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string

PrivateEndpointServiceConnectionStatus - The private endpoint connection status.

const (
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	PrivateEndpointServiceConnectionStatusPending  PrivateEndpointServiceConnectionStatus = "Pending"
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns the possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

type PrivateLinkResource struct {
	// The resource-specific properties for this resource.
	Properties *PrivateLinkResourceProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

PrivateLinkResource - Private link resource.

func (PrivateLinkResource) MarshalJSON

func (p PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (p *PrivateLinkResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkResource.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	// REQUIRED; The PrivateLinkResource items on this page
	Value []*PrivateLinkResource

	// The link to the next page of items
	NextLink *string
}

PrivateLinkResourceListResult - The response of a PrivateLinkResource list operation.

func (PrivateLinkResourceListResult) MarshalJSON

func (p PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceListResult.

func (*PrivateLinkResourceListResult) UnmarshalJSON

func (p *PrivateLinkResourceListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkResourceListResult.

type PrivateLinkResourceOperationsClient

type PrivateLinkResourceOperationsClient struct {
	// contains filtered or unexported fields
}

PrivateLinkResourceOperationsClient contains the methods for the PrivateLinkResourceOperations group. Don't use this type directly, use NewPrivateLinkResourceOperationsClient() instead.

func NewPrivateLinkResourceOperationsClient

func NewPrivateLinkResourceOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*PrivateLinkResourceOperationsClient, error)

NewPrivateLinkResourceOperationsClient creates a new instance of PrivateLinkResourceOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*PrivateLinkResourceOperationsClient) Get

Get - Get a PrivateLinkResource If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • privateLinkResourceName - Private link resource ARM name
  • options - PrivateLinkResourceOperationsClientGetOptions contains the optional parameters for the PrivateLinkResourceOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/PrivateLinkResourceOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewPrivateLinkResourceOperationsClient().Get(ctx, "sakanwar", "sakanwar1204project", "Default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.PrivateLinkResource = armmigrationassessment.PrivateLinkResource{
	// 	Name: to.Ptr("Default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateLinkResources"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateLinkResources/Default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		CreatedBy: to.Ptr("sakanwar"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("sakanwar"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.PrivateLinkResourceProperties{
	// 		GroupID: to.Ptr("Default"),
	// 		RequiredMembers: []*string{
	// 			to.Ptr("CollectorAgent")},
	// 			RequiredZoneNames: []*string{
	// 				to.Ptr("privatelink.test.migration.windowsazure.com")},
	// 			},
	// 		}
}
Output:

func (*PrivateLinkResourceOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List PrivateLinkResource resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - PrivateLinkResourceOperationsClientListByAssessmentProjectOptions contains the optional parameters for the PrivateLinkResourceOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/PrivateLinkResourceOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewPrivateLinkResourceOperationsClient().NewListByAssessmentProjectPager("sakanwar", "sakanwar1204project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.PrivateLinkResourceListResult = armmigrationassessment.PrivateLinkResourceListResult{
		// 	Value: []*armmigrationassessment.PrivateLinkResource{
		// 		{
		// 			Name: to.Ptr("Default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/privateLinkResources"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sakanwar/providers/Microsoft.Migrate/assessmentprojects/sakanwar1204project/privateLinkResources/Default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				CreatedBy: to.Ptr("sakanwar"),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:18.589Z"); return t}()),
		// 				LastModifiedBy: to.Ptr("sakanwar"),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.PrivateLinkResourceProperties{
		// 				GroupID: to.Ptr("Default"),
		// 				RequiredMembers: []*string{
		// 					to.Ptr("CollectorAgent")},
		// 					RequiredZoneNames: []*string{
		// 						to.Ptr("privatelink.test.migration.windowsazure.com")},
		// 					},
		// 			}},
		// 		}
	}
}
Output:

type PrivateLinkResourceOperationsClientGetOptions

type PrivateLinkResourceOperationsClientGetOptions struct {
}

PrivateLinkResourceOperationsClientGetOptions contains the optional parameters for the PrivateLinkResourceOperationsClient.Get method.

type PrivateLinkResourceOperationsClientGetResponse

type PrivateLinkResourceOperationsClientGetResponse struct {
	// Private link resource.
	PrivateLinkResource
}

PrivateLinkResourceOperationsClientGetResponse contains the response from method PrivateLinkResourceOperationsClient.Get.

type PrivateLinkResourceOperationsClientListByAssessmentProjectOptions

type PrivateLinkResourceOperationsClientListByAssessmentProjectOptions struct {
}

PrivateLinkResourceOperationsClientListByAssessmentProjectOptions contains the optional parameters for the PrivateLinkResourceOperationsClient.NewListByAssessmentProjectPager method.

type PrivateLinkResourceOperationsClientListByAssessmentProjectResponse

type PrivateLinkResourceOperationsClientListByAssessmentProjectResponse struct {
	// The response of a PrivateLinkResource list operation.
	PrivateLinkResourceListResult
}

PrivateLinkResourceOperationsClientListByAssessmentProjectResponse contains the response from method PrivateLinkResourceOperationsClient.NewListByAssessmentProjectPager.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// The private link resource private link DNS zone name.
	RequiredZoneNames []*string

	// READ-ONLY; The private link resource group id.
	GroupID *string

	// READ-ONLY; The private link resource required member names.
	RequiredMembers []*string
}

PrivateLinkResourceProperties - Properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (p PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceProperties.

func (*PrivateLinkResourceProperties) UnmarshalJSON

func (p *PrivateLinkResourceProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkResourceProperties.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string

	// The reason for approval/rejection of the connection.
	Description *string

	// Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
	Status *PrivateEndpointServiceConnectionStatus
}

PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.

func (PrivateLinkServiceConnectionState) MarshalJSON

func (p PrivateLinkServiceConnectionState) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkServiceConnectionState.

func (*PrivateLinkServiceConnectionState) UnmarshalJSON

func (p *PrivateLinkServiceConnectionState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PrivateLinkServiceConnectionState.

type ProcessorInfo

type ProcessorInfo struct {
	// Gets or sets the name \ model of a processor.
	Name *string

	// Gets or sets the number of cores in a socket.
	NumberOfCoresPerSocket *int32

	// Gets or sets the number of sockets.
	NumberOfSockets *int32
}

ProcessorInfo - Represents a information \ details of a processor.

func (ProcessorInfo) MarshalJSON

func (p ProcessorInfo) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProcessorInfo.

func (*ProcessorInfo) UnmarshalJSON

func (p *ProcessorInfo) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProcessorInfo.

type ProductSupportStatus

type ProductSupportStatus struct {
	// READ-ONLY; Gets or sets the current ESU support year.
	CurrentEsuYear *string

	// READ-ONLY; Gets or sets current version of ServicePack.
	CurrentVersion *string

	// READ-ONLY; Gets or sets the Extended Security Update ESU status.
	EsuStatus *string

	// READ-ONLY; Gets or sets the ETA.
	Eta *int32

	// READ-ONLY; Gets or sets the extended security update year 1 end date of the product.
	ExtendedSecurityUpdateYear1EndDate *time.Time

	// READ-ONLY; Gets or sets the extended security update year 2 end date of the product.
	ExtendedSecurityUpdateYear2EndDate *time.Time

	// READ-ONLY; Gets or sets the extended security update year 3 end date of the product.
	ExtendedSecurityUpdateYear3EndDate *time.Time

	// READ-ONLY; Gets or sets the extended support end date of the product.
	ExtendedSupportEndDate *time.Time

	// READ-ONLY; Gets or sets the main stream end date of the product.
	MainstreamEndDate *time.Time

	// READ-ONLY; Gets or sets ServicePack of the product.
	ServicePackStatus *string

	// READ-ONLY; Gets or sets the support status of the product.
	SupportStatus *string
}

ProductSupportStatus - Class to represent the Product Support Status.

func (ProductSupportStatus) MarshalJSON

func (p ProductSupportStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProductSupportStatus.

func (*ProductSupportStatus) UnmarshalJSON

func (p *ProductSupportStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProductSupportStatus.

type ProjectProperties

type ProjectProperties struct {
	// Assessment solution ARM id tracked by Microsoft.Migrate/migrateProjects.
	AssessmentSolutionID *string

	// The ARM id of the storage account used for interactions when public access is disabled.
	CustomerStorageAccountArmID *string

	// The ARM id of service map workspace created by customer.
	CustomerWorkspaceID *string

	// Location of service map workspace created by customer.
	CustomerWorkspaceLocation *string

	// Assessment project status.
	ProjectStatus *ProjectStatus

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled',
	// traffic over public interface is not allowed, and private endpoint
	// connections would be the exclusive access method.
	PublicNetworkAccess *string

	// READ-ONLY; Time when this project was created. Date-Time represented in ISO-8601 format.
	CreatedTimestamp *time.Time

	// READ-ONLY; The list of private endpoint connections to the project.
	PrivateEndpointConnections []*PrivateEndpointConnection

	// READ-ONLY; Endpoint at which the collector agent can call agent REST API.
	ServiceEndpoint *string

	// READ-ONLY; Time when this project was last updated. Date-Time represented in ISO-8601 format.
	UpdatedTimestamp *time.Time
}

ProjectProperties - Properties of a project.

func (ProjectProperties) MarshalJSON

func (p ProjectProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ProjectProperties.

func (*ProjectProperties) UnmarshalJSON

func (p *ProjectProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ProjectProperties.

type ProjectStatus

type ProjectStatus string

ProjectStatus - Project Status.

const (
	// ProjectStatusActive - Active Status.
	ProjectStatusActive ProjectStatus = "Active"
	// ProjectStatusInactive - Inactive Status.
	ProjectStatusInactive ProjectStatus = "Inactive"
)

func PossibleProjectStatusValues

func PossibleProjectStatusValues() []ProjectStatus

PossibleProjectStatusValues returns the possible values for the ProjectStatus const type.

type ProvisioningState

type ProvisioningState string

ProvisioningState - The status of the current operation.

const (
	// ProvisioningStateAccepted - Resource is being Accepted.
	ProvisioningStateAccepted ProvisioningState = "Accepted"
	// ProvisioningStateCanceled - Resource creation was canceled.
	ProvisioningStateCanceled ProvisioningState = "Canceled"
	// ProvisioningStateDeleting - Resource is being Deleted.
	ProvisioningStateDeleting ProvisioningState = "Deleting"
	// ProvisioningStateFailed - Resource creation failed.
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateProvisioning - Resource is being Provisioned.
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	// ProvisioningStateSucceeded - Resource has been created.
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	// ProvisioningStateUpdating - Resource is being Updated.
	ProvisioningStateUpdating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.

type ProvisioningState2

type ProvisioningState2 string

ProvisioningState2 - The status of the current operation.

const (
	// ProvisioningState2Accepted - Resource is being Accepted.
	ProvisioningState2Accepted ProvisioningState2 = "Accepted"
	// ProvisioningState2Canceled - Resource creation was canceled.
	ProvisioningState2Canceled ProvisioningState2 = "Canceled"
	// ProvisioningState2Deleting - Resource is being Deleted.
	ProvisioningState2Deleting ProvisioningState2 = "Deleting"
	// ProvisioningState2Failed - Resource creation failed.
	ProvisioningState2Failed ProvisioningState2 = "Failed"
	// ProvisioningState2Provisioning - Resource is being Provisioned.
	ProvisioningState2Provisioning ProvisioningState2 = "Provisioning"
	// ProvisioningState2Succeeded - Resource has been created.
	ProvisioningState2Succeeded ProvisioningState2 = "Succeeded"
	// ProvisioningState2Updating - Resource is being Updated.
	ProvisioningState2Updating ProvisioningState2 = "Updating"
)

func PossibleProvisioningState2Values

func PossibleProvisioningState2Values() []ProvisioningState2

PossibleProvisioningState2Values returns the possible values for the ProvisioningState2 const type.

type ProvisioningStatus

type ProvisioningStatus string

ProvisioningStatus - Provisioning Status.

const (
	// ProvisioningStatusCanceled - Resource creation was canceled.
	ProvisioningStatusCanceled ProvisioningStatus = "Canceled"
	// ProvisioningStatusFailed - Resource creation failed.
	ProvisioningStatusFailed ProvisioningStatus = "Failed"
	// ProvisioningStatusInProgress - Provisioning is in Progress.
	ProvisioningStatusInProgress ProvisioningStatus = "InProgress"
	// ProvisioningStatusSucceeded - Resource has been created.
	ProvisioningStatusSucceeded ProvisioningStatus = "Succeeded"
	// ProvisioningStatusUnknown - Unknown. Indicates missing data.
	ProvisioningStatusUnknown ProvisioningStatus = "Unknown"
)

func PossibleProvisioningStatusValues

func PossibleProvisioningStatusValues() []ProvisioningStatus

PossibleProvisioningStatusValues returns the possible values for the ProvisioningStatus const type.

type Readiness

type Readiness string

Readiness - Readiness for Azure.

const (
	// ReadinessNotReady - Not Ready.
	ReadinessNotReady Readiness = "NotReady"
	// ReadinessReady - Ready for migration.
	ReadinessReady Readiness = "Ready"
	// ReadinessReadyWithConditions - Ready with conditions.
	ReadinessReadyWithConditions Readiness = "ReadyWithConditions"
	// ReadinessUnknown - Unknown Readiness.
	ReadinessUnknown Readiness = "Unknown"
)

func PossibleReadinessValues

func PossibleReadinessValues() []Readiness

PossibleReadinessValues returns the possible values for the Readiness const type.

type RecommendationResult

type RecommendationResult struct {
	// READ-ONLY; Gets approximate monthly cost.
	ApproxMonthlyCost *float32

	// READ-ONLY; Gets cluster name.
	ClusterName *string

	// READ-ONLY; Gets cores and memory limit.
	Limit *ComputeResource

	// READ-ONLY; Gets node pool arm sku name.
	NodePoolArmSKUName *string

	// READ-ONLY; Gets node pool id.
	NodePoolID *string

	// READ-ONLY; Gets node pool name.
	NodePoolName *string

	// READ-ONLY; Gets os type.
	OSType *OSType

	// READ-ONLY; Gets cores and memory request.
	Request *ComputeResource
}

RecommendationResult - Data model of Recommendation Result.

func (RecommendationResult) MarshalJSON

func (r RecommendationResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendationResult.

func (*RecommendationResult) UnmarshalJSON

func (r *RecommendationResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecommendationResult.

type RecommendedAvsNodeTypeSummary

type RecommendedAvsNodeTypeSummary struct {
	// READ-ONLY; AVS node type.
	AvsNodeType *string

	// READ-ONLY; Failures to tolerate and RAID level for the Node.
	FailuresToTolerateAndRaidLevel *FttAndRaidLevel

	// READ-ONLY; Number of nodes.
	NumberOfNodes *int32
}

RecommendedAvsNodeTypeSummary - Azure Avs Node summary.

func (RecommendedAvsNodeTypeSummary) MarshalJSON

func (r RecommendedAvsNodeTypeSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendedAvsNodeTypeSummary.

func (*RecommendedAvsNodeTypeSummary) UnmarshalJSON

func (r *RecommendedAvsNodeTypeSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecommendedAvsNodeTypeSummary.

type RecommendedSuitability

type RecommendedSuitability string
const (
	RecommendedSuitabilityConditionallySuitableForSQLDB RecommendedSuitability = "ConditionallySuitableForSqlDB"
	RecommendedSuitabilityConditionallySuitableForSQLMI RecommendedSuitability = "ConditionallySuitableForSqlMI"
	RecommendedSuitabilityConditionallySuitableForSQLVM RecommendedSuitability = "ConditionallySuitableForSqlVM"
	RecommendedSuitabilityConditionallySuitableForVM    RecommendedSuitability = "ConditionallySuitableForVM"
	RecommendedSuitabilityNotSuitable                   RecommendedSuitability = "NotSuitable"
	RecommendedSuitabilityPotentiallySuitableForVM      RecommendedSuitability = "PotentiallySuitableForVM"
	RecommendedSuitabilityReadinessUnknown              RecommendedSuitability = "ReadinessUnknown"
	RecommendedSuitabilitySuitableForSQLDB              RecommendedSuitability = "SuitableForSqlDB"
	RecommendedSuitabilitySuitableForSQLMI              RecommendedSuitability = "SuitableForSqlMI"
	RecommendedSuitabilitySuitableForSQLVM              RecommendedSuitability = "SuitableForSqlVM"
	RecommendedSuitabilitySuitableForVM                 RecommendedSuitability = "SuitableForVM"
	RecommendedSuitabilityUnknown                       RecommendedSuitability = "Unknown"
)

func PossibleRecommendedSuitabilityValues

func PossibleRecommendedSuitabilityValues() []RecommendedSuitability

PossibleRecommendedSuitabilityValues returns the possible values for the RecommendedSuitability const type.

type RecommendedVMFamilySummary

type RecommendedVMFamilySummary struct {
	// READ-ONLY; The Azure VM family.
	AzureVMFamily *string

	// READ-ONLY; The number of machines.
	NumberOfMachines *int32
}

RecommendedVMFamilySummary - The recommended VM family summary.

func (RecommendedVMFamilySummary) MarshalJSON

func (r RecommendedVMFamilySummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RecommendedVMFamilySummary.

func (*RecommendedVMFamilySummary) UnmarshalJSON

func (r *RecommendedVMFamilySummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RecommendedVMFamilySummary.

type ReportDetails

type ReportDetails struct {
	// READ-ONLY; Report status.
	ReportStatus *ReportStatus

	// READ-ONLY; Report type.
	ReportType *ReportType
}

ReportDetails - Business case report details.

func (ReportDetails) MarshalJSON

func (r ReportDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ReportDetails.

func (*ReportDetails) UnmarshalJSON

func (r *ReportDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ReportDetails.

type ReportDownloadURL

type ReportDownloadURL struct {
	// READ-ONLY; Hyperlink to download report.
	BusinessCaseReportURL *string

	// READ-ONLY; Expiry date of download url.
	ExpirationTime *time.Time
}

ReportDownloadURL - Download URL for assessment report.

func (ReportDownloadURL) MarshalJSON

func (r ReportDownloadURL) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ReportDownloadURL.

func (*ReportDownloadURL) UnmarshalJSON

func (r *ReportDownloadURL) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ReportDownloadURL.

type ReportStatus

type ReportStatus string

ReportStatus - Business case supported report status types.

const (
	// ReportStatusCompleted - Completed Report Status.
	ReportStatusCompleted ReportStatus = "Completed"
	// ReportStatusFailed - Failed Report Status.
	ReportStatusFailed ReportStatus = "Failed"
	// ReportStatusInProgress - InProgress Report Status.
	ReportStatusInProgress ReportStatus = "InProgress"
	// ReportStatusNone - None Report Status.
	ReportStatusNone ReportStatus = "None"
	// ReportStatusUnknown - Unknown Report Status.
	ReportStatusUnknown ReportStatus = "Unknown"
)

func PossibleReportStatusValues

func PossibleReportStatusValues() []ReportStatus

PossibleReportStatusValues returns the possible values for the ReportStatus const type.

type ReportType

type ReportType string

ReportType - Business case supported report types.

const (
	// ReportTypeExcel - Excel Report Type.
	ReportTypeExcel ReportType = "Excel"
	// ReportTypeUnknown - Unknown Report Type.
	ReportTypeUnknown ReportType = "Unknown"
)

func PossibleReportTypeValues

func PossibleReportTypeValues() []ReportType

PossibleReportTypeValues returns the possible values for the ReportType const type.

type SKUReplicationMode

type SKUReplicationMode string
const (
	SKUReplicationModeActiveGeoReplication  SKUReplicationMode = "ActiveGeoReplication"
	SKUReplicationModeFailoverGroupInstance SKUReplicationMode = "FailoverGroupInstance"
	SKUReplicationModeNotApplicable         SKUReplicationMode = "NotApplicable"
)

func PossibleSKUReplicationModeValues

func PossibleSKUReplicationModeValues() []SKUReplicationMode

PossibleSKUReplicationModeValues returns the possible values for the SKUReplicationMode const type.

type SQLAssessedNetworkAdapter

type SQLAssessedNetworkAdapter struct {
	// Gets the display name.
	DisplayName *string

	// Gets the mac address.
	MacAddress *string

	// Gets the megabytes per second received.
	MegabytesPerSecondReceived *float32

	// Gets the megabytes per second transmitted.
	MegabytesPerSecondTransmitted *float32

	// Gets the monthly bandwidth costs.
	MonthlyBandwidthCosts *float32

	// Gets the name.
	Name *string

	// Gets the net gigabytes transmitted per month.
	NetGigabytesTransmittedPerMonth *float32

	// Gets the suitability.
	Suitability *CloudSuitability

	// Gets the suitability detail.
	SuitabilityDetail *AzureNetworkAdapterSuitabilityDetail

	// Gets the suitability explanation.
	SuitabilityExplanation *AzureNetworkAdapterSuitabilityExplanation

	// READ-ONLY; Gets the ip addresses.
	IPAddresses []*string
}

SQLAssessedNetworkAdapter - SQL Assessed Network Adapter.

func (SQLAssessedNetworkAdapter) MarshalJSON

func (s SQLAssessedNetworkAdapter) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessedNetworkAdapter.

func (*SQLAssessedNetworkAdapter) UnmarshalJSON

func (s *SQLAssessedNetworkAdapter) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessedNetworkAdapter.

type SQLAssessmentMigrationIssue

type SQLAssessmentMigrationIssue struct {
	// READ-ONLY; Gets the list of impacted objects.
	ImpactedObjects []*ImpactedAssessmentObject

	// READ-ONLY; Gets the issue category.
	IssueCategory *SQLAssessmentMigrationIssueCategory

	// READ-ONLY; Gets the issue id.
	IssueID *string
}

SQLAssessmentMigrationIssue - Class representing the SQL migration issues.

func (SQLAssessmentMigrationIssue) MarshalJSON

func (s SQLAssessmentMigrationIssue) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentMigrationIssue.

func (*SQLAssessmentMigrationIssue) UnmarshalJSON

func (s *SQLAssessmentMigrationIssue) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentMigrationIssue.

type SQLAssessmentMigrationIssueCategory

type SQLAssessmentMigrationIssueCategory string
const (
	SQLAssessmentMigrationIssueCategoryInternal SQLAssessmentMigrationIssueCategory = "Internal"
	SQLAssessmentMigrationIssueCategoryIssue    SQLAssessmentMigrationIssueCategory = "Issue"
	SQLAssessmentMigrationIssueCategoryWarning  SQLAssessmentMigrationIssueCategory = "Warning"
)

func PossibleSQLAssessmentMigrationIssueCategoryValues

func PossibleSQLAssessmentMigrationIssueCategoryValues() []SQLAssessmentMigrationIssueCategory

PossibleSQLAssessmentMigrationIssueCategoryValues returns the possible values for the SQLAssessmentMigrationIssueCategory const type.

type SQLAssessmentOptions

type SQLAssessmentOptions struct {
	// The resource-specific properties for this resource.
	Properties *SQLAssessmentOptionsProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

SQLAssessmentOptions - SQL Assessment options web model object.

func (SQLAssessmentOptions) MarshalJSON

func (s SQLAssessmentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentOptions.

func (*SQLAssessmentOptions) UnmarshalJSON

func (s *SQLAssessmentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentOptions.

type SQLAssessmentOptionsListResult

type SQLAssessmentOptionsListResult struct {
	// REQUIRED; The SqlAssessmentOptions items on this page
	Value []*SQLAssessmentOptions

	// The link to the next page of items
	NextLink *string
}

SQLAssessmentOptionsListResult - The response of a SqlAssessmentOptions list operation.

func (SQLAssessmentOptionsListResult) MarshalJSON

func (s SQLAssessmentOptionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentOptionsListResult.

func (*SQLAssessmentOptionsListResult) UnmarshalJSON

func (s *SQLAssessmentOptionsListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentOptionsListResult.

type SQLAssessmentOptionsOperationsClient

type SQLAssessmentOptionsOperationsClient struct {
	// contains filtered or unexported fields
}

SQLAssessmentOptionsOperationsClient contains the methods for the SQLAssessmentOptionsOperations group. Don't use this type directly, use NewSQLAssessmentOptionsOperationsClient() instead.

func NewSQLAssessmentOptionsOperationsClient

func NewSQLAssessmentOptionsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SQLAssessmentOptionsOperationsClient, error)

NewSQLAssessmentOptionsOperationsClient creates a new instance of SQLAssessmentOptionsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*SQLAssessmentOptionsOperationsClient) Get

Get - Get a SqlAssessmentOptions If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentOptionsName - Sql assessment options ARM name. Accepted values is 'default'
  • options - SQLAssessmentOptionsOperationsClientGetOptions contains the optional parameters for the SQLAssessmentOptionsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentOptionsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewSQLAssessmentOptionsOperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.SQLAssessmentOptions = armmigrationassessment.SQLAssessmentOptions{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/sqlAssessmentOptions"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/sqlAssessmentOptions/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T10:16:46.558Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T10:16:46.558Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.SQLAssessmentOptionsProperties{
	// 		PremiumDiskVMFamilies: []*armmigrationassessment.AzureVMFamily{
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
	// 			to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
	// 			ReservedInstanceSQLTargets: []*armmigrationassessment.TargetType{
	// 				to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 				to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance)},
	// 				ReservedInstanceSupportedCurrencies: []*armmigrationassessment.AzureCurrency{
	// 					to.Ptr(armmigrationassessment.AzureCurrencyUSD)},
	// 					ReservedInstanceSupportedLocations: []*armmigrationassessment.AzureLocation{
	// 						to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 						to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 						to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 						to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 						to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 						to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 						to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 						to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 						to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 						to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 						to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 						to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 						to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 						to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 						to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 						to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 						to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 						to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 						to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 						to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 						to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 						to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 						to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 						to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 						to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 						to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 						to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 						to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 						to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 						to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 						to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 						to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 						to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
	// 						to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
	// 						ReservedInstanceSupportedLocationsForIaas: []*armmigrationassessment.AzureLocation{
	// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 							to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 							to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 							to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 							to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 							to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 							to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 							to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 							to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 							to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 							to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 							to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 							to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 							to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 							to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 							to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 							to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 							to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 							to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 							to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 							to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 							to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 							to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 							to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 							to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 							to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 							to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 							to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
	// 							to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
	// 							ReservedInstanceSupportedOffers: []*armmigrationassessment.AzureOfferCode{
	// 								to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 								to.Ptr(armmigrationassessment.AzureOfferCodeMsazrusgov0003P)},
	// 								ReservedInstanceVMFamilies: []*armmigrationassessment.AzureVMFamily{
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDav4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDdv4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyDdv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEdv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEav4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyEdv4Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
	// 									to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
	// 									SavingsPlanSupportedLocations: []*armmigrationassessment.AzureLocation{
	// 										to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 										to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 										to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 										to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 										to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 										to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 										to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 										to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 										to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 										to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 										to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 										to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 										to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 										to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 										to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 										to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 										to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 										to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 										to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 										to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 										to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 										to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 										to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 										to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 										to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 										to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 										to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 										to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 										to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 										to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 										to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 										to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 										to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 										to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 										to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 										to.Ptr(armmigrationassessment.AzureLocationUAECentral)},
	// 										SavingsPlanSupportedLocationsForPaas: []*armmigrationassessment.AzureLocation{
	// 										},
	// 										SavingsPlanSupportedOffers: []*armmigrationassessment.AzureOfferCode{
	// 											to.Ptr(armmigrationassessment.AzureOfferCodeSavingsPlan1Year),
	// 											to.Ptr(armmigrationassessment.AzureOfferCodeSavingsPlan3Year)},
	// 											SavingsPlanVMFamilies: []*armmigrationassessment.AzureVMFamily{
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDav4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDdv4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyDdv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEdv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEav4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyEdv4Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
	// 												to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
	// 												SQLSKUs: []*armmigrationassessment.SQLPaaSTargetOptions{
	// 													{
	// 														ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 														HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 														ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierHyperScale),
	// 														TargetLocations: []*armmigrationassessment.AzureLocation{
	// 															to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 															to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 															to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 															to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 															to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 															to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 															to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 															to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 															to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 															to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 															to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 															to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 															to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 															to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 															to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 															to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 															to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 															to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 															to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 															to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 															to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 															to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 															to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 															to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 															to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 															to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 															to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 															to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 															to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 															to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 															to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 															to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 															to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 															to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 															to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 															to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 															to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 															to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 															to.Ptr(armmigrationassessment.AzureLocationChinaEast),
	// 															to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 															to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
	// 															to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 															to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 															to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
	// 															to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
	// 															TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 														},
	// 														{
	// 															ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 															HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 															ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierBusinessCritical),
	// 															TargetLocations: []*armmigrationassessment.AzureLocation{
	// 																to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 																to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 																to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 																to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 																to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 																to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 																to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 																to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 																to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 																to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 																to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 																to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 																to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 																to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 																to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 																to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 																to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 																to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 																to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 																to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 																to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 																to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 																to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 																to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 																to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 																to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 																to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 																to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 																to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 																to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 																to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 																to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 																to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 																to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 																to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 																to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 																to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 																to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 																to.Ptr(armmigrationassessment.AzureLocationChinaEast),
	// 																to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
	// 																to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 																to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 																to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
	// 																to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 																to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
	// 																TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 															},
	// 															{
	// 																ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 																HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGeneration("PremiumSeriesMemoryOptimized")),
	// 																ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierHyperScale),
	// 																TargetLocations: []*armmigrationassessment.AzureLocation{
	// 																	to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 																	to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 																	to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 																	to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 																	to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 																	to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 																	to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 																	to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 																	to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 																	to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 																	to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 																	to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 																	to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 																	to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 																	to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 																	to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 																	to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 																	to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 																	to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 																	to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 																	to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 																	to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 																	to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
	// 																	TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 																},
	// 																{
	// 																	ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 																	HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGeneration("PremiumSeries")),
	// 																	ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierHyperScale),
	// 																	TargetLocations: []*armmigrationassessment.AzureLocation{
	// 																		to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 																		to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 																		to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 																		to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 																		to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 																		to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 																		to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 																		to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 																		to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 																		to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 																		to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 																		to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 																		to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 																		to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 																		to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 																		to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 																		to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 																		to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 																		to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 																		to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 																		to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 																		to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 																		to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
	// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
	// 																		TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 																	},
	// 																	{
	// 																		ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 																		HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 																		ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
	// 																		TargetLocations: []*armmigrationassessment.AzureLocation{
	// 																			to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 																			to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 																			to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 																			to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 																			to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 																			to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 																			to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 																			to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 																			to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 																			to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 																			to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 																			to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 																			to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 																			to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 																			to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 																			to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 																			to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 																			to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 																			to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 																			to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 																			to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
	// 																			to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 																			to.Ptr(armmigrationassessment.AzureLocationChinaEast),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
	// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
	// 																			TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
	// 																		},
	// 																		{
	// 																			ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 																			HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 																			ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
	// 																			TargetLocations: []*armmigrationassessment.AzureLocation{
	// 																				to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 																				to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 																				to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 																				to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 																				to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 																				to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 																				to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 																				to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 																				to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 																				to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 																				to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 																				to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 																				to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 																				to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 																				to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 																				to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 																				to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 																				to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 																				to.Ptr(armmigrationassessment.AzureLocationChinaEast),
	// 																				to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 																				to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 																				to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
	// 																				TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
	// 																			},
	// 																			{
	// 																				ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 																				HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
	// 																				ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierBusinessCritical),
	// 																				TargetLocations: []*armmigrationassessment.AzureLocation{
	// 																					to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
	// 																					to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
	// 																					to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationEastUs2),
	// 																					to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationWestUs),
	// 																					to.Ptr(armmigrationassessment.AzureLocationJapanEast),
	// 																					to.Ptr(armmigrationassessment.AzureLocationWestEurope),
	// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUkSouth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUAENorth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
	// 																					to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUkWest),
	// 																					to.Ptr(armmigrationassessment.AzureLocationCentralUs),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
	// 																					to.Ptr(armmigrationassessment.AzureLocationWestUs2),
	// 																					to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
	// 																					to.Ptr(armmigrationassessment.AzureLocationJapanWest),
	// 																					to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
	// 																					to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
	// 																					to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
	// 																					to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
	// 																					to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUAECentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationWestIndia),
	// 																					to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationEastUs),
	// 																					to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
	// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
	// 																					to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
	// 																					to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
	// 																					to.Ptr(armmigrationassessment.AzureLocationChinaEast),
	// 																					to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
	// 																					to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
	// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
	// 																					TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
	// 																			}},
	// 																			SupportedOffers: []*armmigrationassessment.AzureOfferCode{
	// 																				to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P)},
	// 																				VMFamilies: []*armmigrationassessment.VMFamilyOptions{
	// 																					{
	// 																						Category: []*string{
	// 																							to.Ptr("GeneralPurpose"),
	// 																							to.Ptr("SupportsPremiumStorage")},
	// 																							FamilyName: to.Ptr("Dadsv5_series"),
	// 																							TargetLocations: []*string{
	// 																								to.Ptr("AustraliaCentral"),
	// 																								to.Ptr("AustraliaEast"),
	// 																								to.Ptr("AustraliaSoutheast"),
	// 																								to.Ptr("BrazilSouth"),
	// 																								to.Ptr("CanadaCentral"),
	// 																								to.Ptr("CanadaEast"),
	// 																								to.Ptr("CentralIndia"),
	// 																								to.Ptr("CentralUs"),
	// 																								to.Ptr("EastAsia"),
	// 																								to.Ptr("EastUs"),
	// 																								to.Ptr("EastUs2"),
	// 																								to.Ptr("FranceCentral"),
	// 																								to.Ptr("FranceSouth"),
	// 																								to.Ptr("GermanyNorth"),
	// 																								to.Ptr("JapanEast"),
	// 																								to.Ptr("JapanWest"),
	// 																								to.Ptr("KoreaSouth"),
	// 																								to.Ptr("NorthCentralUs"),
	// 																								to.Ptr("NorthEurope"),
	// 																								to.Ptr("NorwayEast"),
	// 																								to.Ptr("NorwayWest"),
	// 																								to.Ptr("PolandCentral"),
	// 																								to.Ptr("SouthAfricaWest"),
	// 																								to.Ptr("SouthCentralUs"),
	// 																								to.Ptr("SoutheastAsia"),
	// 																								to.Ptr("SouthIndia"),
	// 																								to.Ptr("SwedenCentral"),
	// 																								to.Ptr("SwitzerlandNorth"),
	// 																								to.Ptr("UAENorth"),
	// 																								to.Ptr("UkSouth"),
	// 																								to.Ptr("UkWest"),
	// 																								to.Ptr("WestCentralUs"),
	// 																								to.Ptr("WestEurope"),
	// 																								to.Ptr("WestUs"),
	// 																								to.Ptr("WestUs2"),
	// 																								to.Ptr("USGovArizona"),
	// 																								to.Ptr("USGovTexas"),
	// 																								to.Ptr("USGovVirginia")},
	// 																							},
	// 																							{
	// 																								Category: []*string{
	// 																									to.Ptr("GeneralPurpose"),
	// 																									to.Ptr("SupportsPremiumStorage")},
	// 																									FamilyName: to.Ptr("Dasv4_series"),
	// 																									TargetLocations: []*string{
	// 																										to.Ptr("AustraliaCentral"),
	// 																										to.Ptr("AustraliaEast"),
	// 																										to.Ptr("AustraliaSoutheast"),
	// 																										to.Ptr("BrazilSouth"),
	// 																										to.Ptr("CanadaCentral"),
	// 																										to.Ptr("CanadaEast"),
	// 																										to.Ptr("CentralIndia"),
	// 																										to.Ptr("CentralUs"),
	// 																										to.Ptr("EastAsia"),
	// 																										to.Ptr("EastUs"),
	// 																										to.Ptr("EastUs2"),
	// 																										to.Ptr("FranceCentral"),
	// 																										to.Ptr("FranceSouth"),
	// 																										to.Ptr("GermanyNorth"),
	// 																										to.Ptr("JapanEast"),
	// 																										to.Ptr("JapanWest"),
	// 																										to.Ptr("KoreaCentral"),
	// 																										to.Ptr("KoreaSouth"),
	// 																										to.Ptr("NorthCentralUs"),
	// 																										to.Ptr("NorthEurope"),
	// 																										to.Ptr("NorwayEast"),
	// 																										to.Ptr("NorwayWest"),
	// 																										to.Ptr("PolandCentral"),
	// 																										to.Ptr("SouthAfricaWest"),
	// 																										to.Ptr("SouthCentralUs"),
	// 																										to.Ptr("SoutheastAsia"),
	// 																										to.Ptr("SouthIndia"),
	// 																										to.Ptr("SwedenCentral"),
	// 																										to.Ptr("SwitzerlandNorth"),
	// 																										to.Ptr("UAENorth"),
	// 																										to.Ptr("UkSouth"),
	// 																										to.Ptr("UkWest"),
	// 																										to.Ptr("WestCentralUs"),
	// 																										to.Ptr("WestEurope"),
	// 																										to.Ptr("WestUs"),
	// 																										to.Ptr("WestUs2"),
	// 																										to.Ptr("USGovArizona"),
	// 																										to.Ptr("USGovTexas"),
	// 																										to.Ptr("USGovVirginia")},
	// 																									},
	// 																									{
	// 																										Category: []*string{
	// 																											to.Ptr("GeneralPurpose")},
	// 																											FamilyName: to.Ptr("Dav4_series"),
	// 																											TargetLocations: []*string{
	// 																												to.Ptr("AustraliaCentral"),
	// 																												to.Ptr("AustraliaEast"),
	// 																												to.Ptr("AustraliaSoutheast"),
	// 																												to.Ptr("BrazilSouth"),
	// 																												to.Ptr("CanadaCentral"),
	// 																												to.Ptr("CanadaEast"),
	// 																												to.Ptr("CentralIndia"),
	// 																												to.Ptr("CentralUs"),
	// 																												to.Ptr("EastAsia"),
	// 																												to.Ptr("EastUs"),
	// 																												to.Ptr("EastUs2"),
	// 																												to.Ptr("FranceCentral"),
	// 																												to.Ptr("FranceSouth"),
	// 																												to.Ptr("GermanyNorth"),
	// 																												to.Ptr("JapanEast"),
	// 																												to.Ptr("JapanWest"),
	// 																												to.Ptr("KoreaCentral"),
	// 																												to.Ptr("KoreaSouth"),
	// 																												to.Ptr("NorthCentralUs"),
	// 																												to.Ptr("NorthEurope"),
	// 																												to.Ptr("NorwayEast"),
	// 																												to.Ptr("NorwayWest"),
	// 																												to.Ptr("PolandCentral"),
	// 																												to.Ptr("SouthAfricaWest"),
	// 																												to.Ptr("SouthCentralUs"),
	// 																												to.Ptr("SoutheastAsia"),
	// 																												to.Ptr("SouthIndia"),
	// 																												to.Ptr("SwedenCentral"),
	// 																												to.Ptr("SwitzerlandNorth"),
	// 																												to.Ptr("UAENorth"),
	// 																												to.Ptr("UkSouth"),
	// 																												to.Ptr("UkWest"),
	// 																												to.Ptr("WestCentralUs"),
	// 																												to.Ptr("WestEurope"),
	// 																												to.Ptr("WestUs"),
	// 																												to.Ptr("WestUs2"),
	// 																												to.Ptr("USGovArizona"),
	// 																												to.Ptr("USGovTexas"),
	// 																												to.Ptr("USGovVirginia")},
	// 																											},
	// 																											{
	// 																												Category: []*string{
	// 																													to.Ptr("GeneralPurpose"),
	// 																													to.Ptr("SupportsPremiumStorage")},
	// 																													FamilyName: to.Ptr("Ddsv4_series"),
	// 																													TargetLocations: []*string{
	// 																														to.Ptr("AustraliaCentral"),
	// 																														to.Ptr("AustraliaCentral2"),
	// 																														to.Ptr("AustraliaEast"),
	// 																														to.Ptr("AustraliaSoutheast"),
	// 																														to.Ptr("BrazilSouth"),
	// 																														to.Ptr("CanadaCentral"),
	// 																														to.Ptr("CanadaEast"),
	// 																														to.Ptr("CentralIndia"),
	// 																														to.Ptr("CentralUs"),
	// 																														to.Ptr("EastAsia"),
	// 																														to.Ptr("EastUs"),
	// 																														to.Ptr("EastUs2"),
	// 																														to.Ptr("FranceCentral"),
	// 																														to.Ptr("FranceSouth"),
	// 																														to.Ptr("GermanyNorth"),
	// 																														to.Ptr("GermanyWestCentral"),
	// 																														to.Ptr("ItalyNorth"),
	// 																														to.Ptr("JapanEast"),
	// 																														to.Ptr("JapanWest"),
	// 																														to.Ptr("KoreaCentral"),
	// 																														to.Ptr("KoreaSouth"),
	// 																														to.Ptr("NorthCentralUs"),
	// 																														to.Ptr("NorthEurope"),
	// 																														to.Ptr("NorwayEast"),
	// 																														to.Ptr("NorwayWest"),
	// 																														to.Ptr("PolandCentral"),
	// 																														to.Ptr("QatarCentral"),
	// 																														to.Ptr("SouthAfricaNorth"),
	// 																														to.Ptr("SouthAfricaWest"),
	// 																														to.Ptr("SouthCentralUs"),
	// 																														to.Ptr("SoutheastAsia"),
	// 																														to.Ptr("SouthIndia"),
	// 																														to.Ptr("SwedenCentral"),
	// 																														to.Ptr("SwitzerlandNorth"),
	// 																														to.Ptr("SwitzerlandWest"),
	// 																														to.Ptr("UAECentral"),
	// 																														to.Ptr("UAENorth"),
	// 																														to.Ptr("UkSouth"),
	// 																														to.Ptr("UkWest"),
	// 																														to.Ptr("WestCentralUs"),
	// 																														to.Ptr("WestEurope"),
	// 																														to.Ptr("WestUs"),
	// 																														to.Ptr("WestUs2"),
	// 																														to.Ptr("ChinaEast2"),
	// 																														to.Ptr("ChinaNorth2"),
	// 																														to.Ptr("USGovArizona"),
	// 																														to.Ptr("USGovTexas"),
	// 																														to.Ptr("USGovVirginia")},
	// 																													},
	// 																													{
	// 																														Category: []*string{
	// 																															to.Ptr("GeneralPurpose"),
	// 																															to.Ptr("SupportsPremiumStorage")},
	// 																															FamilyName: to.Ptr("Ddsv5_series"),
	// 																															TargetLocations: []*string{
	// 																																to.Ptr("AustraliaCentral"),
	// 																																to.Ptr("AustraliaCentral2"),
	// 																																to.Ptr("AustraliaEast"),
	// 																																to.Ptr("AustraliaSoutheast"),
	// 																																to.Ptr("BrazilSouth"),
	// 																																to.Ptr("CanadaCentral"),
	// 																																to.Ptr("CanadaEast"),
	// 																																to.Ptr("CentralIndia"),
	// 																																to.Ptr("CentralUs"),
	// 																																to.Ptr("EastAsia"),
	// 																																to.Ptr("EastUs"),
	// 																																to.Ptr("EastUs2"),
	// 																																to.Ptr("FranceCentral"),
	// 																																to.Ptr("FranceSouth"),
	// 																																to.Ptr("GermanyNorth"),
	// 																																to.Ptr("GermanyWestCentral"),
	// 																																to.Ptr("JapanEast"),
	// 																																to.Ptr("JapanWest"),
	// 																																to.Ptr("KoreaCentral"),
	// 																																to.Ptr("KoreaSouth"),
	// 																																to.Ptr("NorthCentralUs"),
	// 																																to.Ptr("NorthEurope"),
	// 																																to.Ptr("NorwayEast"),
	// 																																to.Ptr("NorwayWest"),
	// 																																to.Ptr("PolandCentral"),
	// 																																to.Ptr("QatarCentral"),
	// 																																to.Ptr("SouthAfricaNorth"),
	// 																																to.Ptr("SouthAfricaWest"),
	// 																																to.Ptr("SouthCentralUs"),
	// 																																to.Ptr("SoutheastAsia"),
	// 																																to.Ptr("SouthIndia"),
	// 																																to.Ptr("SwedenCentral"),
	// 																																to.Ptr("SwitzerlandNorth"),
	// 																																to.Ptr("SwitzerlandWest"),
	// 																																to.Ptr("UAENorth"),
	// 																																to.Ptr("UkSouth"),
	// 																																to.Ptr("UkWest"),
	// 																																to.Ptr("WestCentralUs"),
	// 																																to.Ptr("WestEurope"),
	// 																																to.Ptr("WestUs"),
	// 																																to.Ptr("WestUs2"),
	// 																																to.Ptr("ChinaEast2"),
	// 																																to.Ptr("ChinaNorth2"),
	// 																																to.Ptr("USGovArizona"),
	// 																																to.Ptr("USGovTexas"),
	// 																																to.Ptr("USGovVirginia")},
	// 																															},
	// 																															{
	// 																																Category: []*string{
	// 																																	to.Ptr("GeneralPurpose")},
	// 																																	FamilyName: to.Ptr("Ddv4_series"),
	// 																																	TargetLocations: []*string{
	// 																																		to.Ptr("AustraliaCentral"),
	// 																																		to.Ptr("AustraliaCentral2"),
	// 																																		to.Ptr("AustraliaEast"),
	// 																																		to.Ptr("AustraliaSoutheast"),
	// 																																		to.Ptr("BrazilSouth"),
	// 																																		to.Ptr("CanadaCentral"),
	// 																																		to.Ptr("CanadaEast"),
	// 																																		to.Ptr("CentralIndia"),
	// 																																		to.Ptr("CentralUs"),
	// 																																		to.Ptr("EastAsia"),
	// 																																		to.Ptr("EastUs"),
	// 																																		to.Ptr("EastUs2"),
	// 																																		to.Ptr("FranceCentral"),
	// 																																		to.Ptr("FranceSouth"),
	// 																																		to.Ptr("GermanyNorth"),
	// 																																		to.Ptr("GermanyWestCentral"),
	// 																																		to.Ptr("ItalyNorth"),
	// 																																		to.Ptr("JapanEast"),
	// 																																		to.Ptr("JapanWest"),
	// 																																		to.Ptr("KoreaCentral"),
	// 																																		to.Ptr("KoreaSouth"),
	// 																																		to.Ptr("NorthCentralUs"),
	// 																																		to.Ptr("NorthEurope"),
	// 																																		to.Ptr("NorwayEast"),
	// 																																		to.Ptr("NorwayWest"),
	// 																																		to.Ptr("PolandCentral"),
	// 																																		to.Ptr("QatarCentral"),
	// 																																		to.Ptr("SouthAfricaNorth"),
	// 																																		to.Ptr("SouthAfricaWest"),
	// 																																		to.Ptr("SouthCentralUs"),
	// 																																		to.Ptr("SoutheastAsia"),
	// 																																		to.Ptr("SouthIndia"),
	// 																																		to.Ptr("SwedenCentral"),
	// 																																		to.Ptr("SwitzerlandNorth"),
	// 																																		to.Ptr("SwitzerlandWest"),
	// 																																		to.Ptr("UAECentral"),
	// 																																		to.Ptr("UAENorth"),
	// 																																		to.Ptr("UkSouth"),
	// 																																		to.Ptr("UkWest"),
	// 																																		to.Ptr("WestCentralUs"),
	// 																																		to.Ptr("WestEurope"),
	// 																																		to.Ptr("WestUs"),
	// 																																		to.Ptr("WestUs2"),
	// 																																		to.Ptr("ChinaEast2"),
	// 																																		to.Ptr("ChinaNorth2"),
	// 																																		to.Ptr("USGovArizona"),
	// 																																		to.Ptr("USGovTexas"),
	// 																																		to.Ptr("USGovVirginia")},
	// 																																	},
	// 																																	{
	// 																																		Category: []*string{
	// 																																			to.Ptr("GeneralPurpose")},
	// 																																			FamilyName: to.Ptr("Ddv5_series"),
	// 																																			TargetLocations: []*string{
	// 																																				to.Ptr("AustraliaCentral"),
	// 																																				to.Ptr("AustraliaCentral2"),
	// 																																				to.Ptr("AustraliaEast"),
	// 																																				to.Ptr("AustraliaSoutheast"),
	// 																																				to.Ptr("BrazilSouth"),
	// 																																				to.Ptr("CanadaCentral"),
	// 																																				to.Ptr("CanadaEast"),
	// 																																				to.Ptr("CentralIndia"),
	// 																																				to.Ptr("CentralUs"),
	// 																																				to.Ptr("EastAsia"),
	// 																																				to.Ptr("EastUs"),
	// 																																				to.Ptr("EastUs2"),
	// 																																				to.Ptr("FranceCentral"),
	// 																																				to.Ptr("FranceSouth"),
	// 																																				to.Ptr("GermanyNorth"),
	// 																																				to.Ptr("GermanyWestCentral"),
	// 																																				to.Ptr("JapanEast"),
	// 																																				to.Ptr("JapanWest"),
	// 																																				to.Ptr("KoreaCentral"),
	// 																																				to.Ptr("KoreaSouth"),
	// 																																				to.Ptr("NorthCentralUs"),
	// 																																				to.Ptr("NorthEurope"),
	// 																																				to.Ptr("NorwayEast"),
	// 																																				to.Ptr("NorwayWest"),
	// 																																				to.Ptr("PolandCentral"),
	// 																																				to.Ptr("QatarCentral"),
	// 																																				to.Ptr("SouthAfricaNorth"),
	// 																																				to.Ptr("SouthAfricaWest"),
	// 																																				to.Ptr("SouthCentralUs"),
	// 																																				to.Ptr("SoutheastAsia"),
	// 																																				to.Ptr("SouthIndia"),
	// 																																				to.Ptr("SwedenCentral"),
	// 																																				to.Ptr("SwitzerlandNorth"),
	// 																																				to.Ptr("SwitzerlandWest"),
	// 																																				to.Ptr("UAENorth"),
	// 																																				to.Ptr("UkSouth"),
	// 																																				to.Ptr("UkWest"),
	// 																																				to.Ptr("WestCentralUs"),
	// 																																				to.Ptr("WestEurope"),
	// 																																				to.Ptr("WestUs"),
	// 																																				to.Ptr("WestUs2"),
	// 																																				to.Ptr("ChinaEast2"),
	// 																																				to.Ptr("ChinaNorth2")},
	// 																																			},
	// 																																			{
	// 																																				Category: []*string{
	// 																																					to.Ptr("MemoryOptimized"),
	// 																																					to.Ptr("SupportsPremiumStorage")},
	// 																																					FamilyName: to.Ptr("Edsv5_series"),
	// 																																					TargetLocations: []*string{
	// 																																						to.Ptr("AustraliaCentral"),
	// 																																						to.Ptr("AustraliaCentral2"),
	// 																																						to.Ptr("AustraliaEast"),
	// 																																						to.Ptr("AustraliaSoutheast"),
	// 																																						to.Ptr("BrazilSouth"),
	// 																																						to.Ptr("CanadaCentral"),
	// 																																						to.Ptr("CanadaEast"),
	// 																																						to.Ptr("CentralIndia"),
	// 																																						to.Ptr("CentralUs"),
	// 																																						to.Ptr("EastAsia"),
	// 																																						to.Ptr("EastUs"),
	// 																																						to.Ptr("EastUs2"),
	// 																																						to.Ptr("FranceCentral"),
	// 																																						to.Ptr("FranceSouth"),
	// 																																						to.Ptr("GermanyNorth"),
	// 																																						to.Ptr("GermanyWestCentral"),
	// 																																						to.Ptr("JapanEast"),
	// 																																						to.Ptr("JapanWest"),
	// 																																						to.Ptr("KoreaCentral"),
	// 																																						to.Ptr("KoreaSouth"),
	// 																																						to.Ptr("NorthCentralUs"),
	// 																																						to.Ptr("NorthEurope"),
	// 																																						to.Ptr("NorwayEast"),
	// 																																						to.Ptr("NorwayWest"),
	// 																																						to.Ptr("PolandCentral"),
	// 																																						to.Ptr("QatarCentral"),
	// 																																						to.Ptr("SouthAfricaNorth"),
	// 																																						to.Ptr("SouthAfricaWest"),
	// 																																						to.Ptr("SouthCentralUs"),
	// 																																						to.Ptr("SoutheastAsia"),
	// 																																						to.Ptr("SouthIndia"),
	// 																																						to.Ptr("SwedenCentral"),
	// 																																						to.Ptr("SwitzerlandNorth"),
	// 																																						to.Ptr("SwitzerlandWest"),
	// 																																						to.Ptr("UAENorth"),
	// 																																						to.Ptr("UkSouth"),
	// 																																						to.Ptr("UkWest"),
	// 																																						to.Ptr("WestCentralUs"),
	// 																																						to.Ptr("WestEurope"),
	// 																																						to.Ptr("WestUs"),
	// 																																						to.Ptr("WestUs2"),
	// 																																						to.Ptr("ChinaEast2"),
	// 																																						to.Ptr("ChinaNorth2")},
	// 																																					},
	// 																																					{
	// 																																						Category: []*string{
	// 																																							to.Ptr("MemoryOptimized")},
	// 																																							FamilyName: to.Ptr("Edv5_series"),
	// 																																							TargetLocations: []*string{
	// 																																								to.Ptr("AustraliaCentral"),
	// 																																								to.Ptr("AustraliaCentral2"),
	// 																																								to.Ptr("AustraliaEast"),
	// 																																								to.Ptr("AustraliaSoutheast"),
	// 																																								to.Ptr("BrazilSouth"),
	// 																																								to.Ptr("CanadaCentral"),
	// 																																								to.Ptr("CanadaEast"),
	// 																																								to.Ptr("CentralIndia"),
	// 																																								to.Ptr("CentralUs"),
	// 																																								to.Ptr("EastAsia"),
	// 																																								to.Ptr("EastUs"),
	// 																																								to.Ptr("EastUs2"),
	// 																																								to.Ptr("FranceCentral"),
	// 																																								to.Ptr("FranceSouth"),
	// 																																								to.Ptr("GermanyNorth"),
	// 																																								to.Ptr("GermanyWestCentral"),
	// 																																								to.Ptr("JapanEast"),
	// 																																								to.Ptr("JapanWest"),
	// 																																								to.Ptr("KoreaCentral"),
	// 																																								to.Ptr("KoreaSouth"),
	// 																																								to.Ptr("NorthCentralUs"),
	// 																																								to.Ptr("NorthEurope"),
	// 																																								to.Ptr("NorwayEast"),
	// 																																								to.Ptr("NorwayWest"),
	// 																																								to.Ptr("PolandCentral"),
	// 																																								to.Ptr("QatarCentral"),
	// 																																								to.Ptr("SouthAfricaNorth"),
	// 																																								to.Ptr("SouthAfricaWest"),
	// 																																								to.Ptr("SouthCentralUs"),
	// 																																								to.Ptr("SoutheastAsia"),
	// 																																								to.Ptr("SouthIndia"),
	// 																																								to.Ptr("SwedenCentral"),
	// 																																								to.Ptr("SwitzerlandNorth"),
	// 																																								to.Ptr("SwitzerlandWest"),
	// 																																								to.Ptr("UAENorth"),
	// 																																								to.Ptr("UkSouth"),
	// 																																								to.Ptr("UkWest"),
	// 																																								to.Ptr("WestCentralUs"),
	// 																																								to.Ptr("WestEurope"),
	// 																																								to.Ptr("WestUs"),
	// 																																								to.Ptr("WestUs2"),
	// 																																								to.Ptr("ChinaEast2"),
	// 																																								to.Ptr("ChinaNorth2")},
	// 																																							},
	// 																																							{
	// 																																								Category: []*string{
	// 																																									to.Ptr("MemoryOptimized"),
	// 																																									to.Ptr("SupportsPremiumStorage")},
	// 																																									FamilyName: to.Ptr("Eadsv5_series"),
	// 																																									TargetLocations: []*string{
	// 																																										to.Ptr("AustraliaCentral"),
	// 																																										to.Ptr("AustraliaEast"),
	// 																																										to.Ptr("AustraliaSoutheast"),
	// 																																										to.Ptr("BrazilSouth"),
	// 																																										to.Ptr("CanadaCentral"),
	// 																																										to.Ptr("CanadaEast"),
	// 																																										to.Ptr("CentralIndia"),
	// 																																										to.Ptr("CentralUs"),
	// 																																										to.Ptr("EastAsia"),
	// 																																										to.Ptr("EastUs"),
	// 																																										to.Ptr("EastUs2"),
	// 																																										to.Ptr("FranceCentral"),
	// 																																										to.Ptr("FranceSouth"),
	// 																																										to.Ptr("GermanyNorth"),
	// 																																										to.Ptr("JapanEast"),
	// 																																										to.Ptr("JapanWest"),
	// 																																										to.Ptr("KoreaSouth"),
	// 																																										to.Ptr("NorthCentralUs"),
	// 																																										to.Ptr("NorthEurope"),
	// 																																										to.Ptr("NorwayEast"),
	// 																																										to.Ptr("NorwayWest"),
	// 																																										to.Ptr("PolandCentral"),
	// 																																										to.Ptr("SouthAfricaWest"),
	// 																																										to.Ptr("SouthCentralUs"),
	// 																																										to.Ptr("SoutheastAsia"),
	// 																																										to.Ptr("SwedenCentral"),
	// 																																										to.Ptr("SwitzerlandNorth"),
	// 																																										to.Ptr("UAENorth"),
	// 																																										to.Ptr("UkSouth"),
	// 																																										to.Ptr("UkWest"),
	// 																																										to.Ptr("WestCentralUs"),
	// 																																										to.Ptr("WestEurope"),
	// 																																										to.Ptr("WestUs"),
	// 																																										to.Ptr("WestUs2"),
	// 																																										to.Ptr("USGovArizona"),
	// 																																										to.Ptr("USGovTexas"),
	// 																																										to.Ptr("USGovVirginia")},
	// 																																									},
	// 																																									{
	// 																																										Category: []*string{
	// 																																											to.Ptr("MemoryOptimized"),
	// 																																											to.Ptr("SupportsPremiumStorage")},
	// 																																											FamilyName: to.Ptr("Easv4_series"),
	// 																																											TargetLocations: []*string{
	// 																																												to.Ptr("AustraliaCentral"),
	// 																																												to.Ptr("AustraliaEast"),
	// 																																												to.Ptr("AustraliaSoutheast"),
	// 																																												to.Ptr("BrazilSouth"),
	// 																																												to.Ptr("CanadaCentral"),
	// 																																												to.Ptr("CanadaEast"),
	// 																																												to.Ptr("CentralIndia"),
	// 																																												to.Ptr("CentralUs"),
	// 																																												to.Ptr("EastAsia"),
	// 																																												to.Ptr("EastUs"),
	// 																																												to.Ptr("EastUs2"),
	// 																																												to.Ptr("FranceCentral"),
	// 																																												to.Ptr("FranceSouth"),
	// 																																												to.Ptr("GermanyNorth"),
	// 																																												to.Ptr("JapanEast"),
	// 																																												to.Ptr("JapanWest"),
	// 																																												to.Ptr("KoreaCentral"),
	// 																																												to.Ptr("KoreaSouth"),
	// 																																												to.Ptr("NorthCentralUs"),
	// 																																												to.Ptr("NorthEurope"),
	// 																																												to.Ptr("NorwayEast"),
	// 																																												to.Ptr("NorwayWest"),
	// 																																												to.Ptr("PolandCentral"),
	// 																																												to.Ptr("SouthAfricaWest"),
	// 																																												to.Ptr("SouthCentralUs"),
	// 																																												to.Ptr("SoutheastAsia"),
	// 																																												to.Ptr("SouthIndia"),
	// 																																												to.Ptr("SwedenCentral"),
	// 																																												to.Ptr("SwitzerlandNorth"),
	// 																																												to.Ptr("UAENorth"),
	// 																																												to.Ptr("UkSouth"),
	// 																																												to.Ptr("UkWest"),
	// 																																												to.Ptr("WestCentralUs"),
	// 																																												to.Ptr("WestEurope"),
	// 																																												to.Ptr("WestUs"),
	// 																																												to.Ptr("WestUs2"),
	// 																																												to.Ptr("USGovArizona"),
	// 																																												to.Ptr("USGovTexas"),
	// 																																												to.Ptr("USGovVirginia")},
	// 																																											},
	// 																																											{
	// 																																												Category: []*string{
	// 																																													to.Ptr("MemoryOptimized")},
	// 																																													FamilyName: to.Ptr("Eav4_series"),
	// 																																													TargetLocations: []*string{
	// 																																														to.Ptr("AustraliaCentral"),
	// 																																														to.Ptr("AustraliaEast"),
	// 																																														to.Ptr("AustraliaSoutheast"),
	// 																																														to.Ptr("BrazilSouth"),
	// 																																														to.Ptr("CanadaCentral"),
	// 																																														to.Ptr("CanadaEast"),
	// 																																														to.Ptr("CentralIndia"),
	// 																																														to.Ptr("CentralUs"),
	// 																																														to.Ptr("EastAsia"),
	// 																																														to.Ptr("EastUs"),
	// 																																														to.Ptr("EastUs2"),
	// 																																														to.Ptr("FranceCentral"),
	// 																																														to.Ptr("FranceSouth"),
	// 																																														to.Ptr("GermanyNorth"),
	// 																																														to.Ptr("JapanEast"),
	// 																																														to.Ptr("JapanWest"),
	// 																																														to.Ptr("KoreaCentral"),
	// 																																														to.Ptr("KoreaSouth"),
	// 																																														to.Ptr("NorthCentralUs"),
	// 																																														to.Ptr("NorthEurope"),
	// 																																														to.Ptr("NorwayEast"),
	// 																																														to.Ptr("NorwayWest"),
	// 																																														to.Ptr("PolandCentral"),
	// 																																														to.Ptr("SouthAfricaWest"),
	// 																																														to.Ptr("SouthCentralUs"),
	// 																																														to.Ptr("SoutheastAsia"),
	// 																																														to.Ptr("SouthIndia"),
	// 																																														to.Ptr("SwedenCentral"),
	// 																																														to.Ptr("SwitzerlandNorth"),
	// 																																														to.Ptr("UAENorth"),
	// 																																														to.Ptr("UkSouth"),
	// 																																														to.Ptr("UkWest"),
	// 																																														to.Ptr("WestCentralUs"),
	// 																																														to.Ptr("WestEurope"),
	// 																																														to.Ptr("WestUs"),
	// 																																														to.Ptr("WestUs2"),
	// 																																														to.Ptr("USGovArizona"),
	// 																																														to.Ptr("USGovTexas"),
	// 																																														to.Ptr("USGovVirginia")},
	// 																																													},
	// 																																													{
	// 																																														Category: []*string{
	// 																																															to.Ptr("MemoryOptimized"),
	// 																																															to.Ptr("SupportsPremiumStorage")},
	// 																																															FamilyName: to.Ptr("Ebdsv5_series"),
	// 																																															TargetLocations: []*string{
	// 																																																to.Ptr("AustraliaCentral"),
	// 																																																to.Ptr("AustraliaCentral2"),
	// 																																																to.Ptr("AustraliaEast"),
	// 																																																to.Ptr("AustraliaSoutheast"),
	// 																																																to.Ptr("BrazilSouth"),
	// 																																																to.Ptr("CanadaCentral"),
	// 																																																to.Ptr("CanadaEast"),
	// 																																																to.Ptr("CentralIndia"),
	// 																																																to.Ptr("CentralUs"),
	// 																																																to.Ptr("EastAsia"),
	// 																																																to.Ptr("EastUs"),
	// 																																																to.Ptr("EastUs2"),
	// 																																																to.Ptr("FranceCentral"),
	// 																																																to.Ptr("FranceSouth"),
	// 																																																to.Ptr("GermanyNorth"),
	// 																																																to.Ptr("GermanyWestCentral"),
	// 																																																to.Ptr("ItalyNorth"),
	// 																																																to.Ptr("JapanEast"),
	// 																																																to.Ptr("JapanWest"),
	// 																																																to.Ptr("KoreaCentral"),
	// 																																																to.Ptr("KoreaSouth"),
	// 																																																to.Ptr("NorthCentralUs"),
	// 																																																to.Ptr("NorthEurope"),
	// 																																																to.Ptr("NorwayEast"),
	// 																																																to.Ptr("NorwayWest"),
	// 																																																to.Ptr("PolandCentral"),
	// 																																																to.Ptr("QatarCentral"),
	// 																																																to.Ptr("SouthAfricaNorth"),
	// 																																																to.Ptr("SouthAfricaWest"),
	// 																																																to.Ptr("SouthCentralUs"),
	// 																																																to.Ptr("SoutheastAsia"),
	// 																																																to.Ptr("SouthIndia"),
	// 																																																to.Ptr("SwedenCentral"),
	// 																																																to.Ptr("SwitzerlandNorth"),
	// 																																																to.Ptr("SwitzerlandWest"),
	// 																																																to.Ptr("UAENorth"),
	// 																																																to.Ptr("UkSouth"),
	// 																																																to.Ptr("UkWest"),
	// 																																																to.Ptr("WestCentralUs"),
	// 																																																to.Ptr("WestEurope"),
	// 																																																to.Ptr("WestUs"),
	// 																																																to.Ptr("WestUs2"),
	// 																																																to.Ptr("ChinaEast2"),
	// 																																																to.Ptr("ChinaNorth2"),
	// 																																																to.Ptr("USGovArizona"),
	// 																																																to.Ptr("USGovTexas"),
	// 																																																to.Ptr("USGovVirginia")},
	// 																																															},
	// 																																															{
	// 																																																Category: []*string{
	// 																																																	to.Ptr("MemoryOptimized"),
	// 																																																	to.Ptr("SupportsPremiumStorage")},
	// 																																																	FamilyName: to.Ptr("Ebsv5_series"),
	// 																																																	TargetLocations: []*string{
	// 																																																		to.Ptr("AustraliaCentral"),
	// 																																																		to.Ptr("AustraliaCentral2"),
	// 																																																		to.Ptr("AustraliaEast"),
	// 																																																		to.Ptr("AustraliaSoutheast"),
	// 																																																		to.Ptr("BrazilSouth"),
	// 																																																		to.Ptr("CanadaCentral"),
	// 																																																		to.Ptr("CanadaEast"),
	// 																																																		to.Ptr("CentralIndia"),
	// 																																																		to.Ptr("CentralUs"),
	// 																																																		to.Ptr("EastAsia"),
	// 																																																		to.Ptr("EastUs"),
	// 																																																		to.Ptr("EastUs2"),
	// 																																																		to.Ptr("FranceCentral"),
	// 																																																		to.Ptr("FranceSouth"),
	// 																																																		to.Ptr("GermanyNorth"),
	// 																																																		to.Ptr("GermanyWestCentral"),
	// 																																																		to.Ptr("ItalyNorth"),
	// 																																																		to.Ptr("JapanEast"),
	// 																																																		to.Ptr("JapanWest"),
	// 																																																		to.Ptr("KoreaCentral"),
	// 																																																		to.Ptr("KoreaSouth"),
	// 																																																		to.Ptr("NorthCentralUs"),
	// 																																																		to.Ptr("NorthEurope"),
	// 																																																		to.Ptr("NorwayEast"),
	// 																																																		to.Ptr("NorwayWest"),
	// 																																																		to.Ptr("PolandCentral"),
	// 																																																		to.Ptr("QatarCentral"),
	// 																																																		to.Ptr("SouthAfricaNorth"),
	// 																																																		to.Ptr("SouthAfricaWest"),
	// 																																																		to.Ptr("SouthCentralUs"),
	// 																																																		to.Ptr("SoutheastAsia"),
	// 																																																		to.Ptr("SouthIndia"),
	// 																																																		to.Ptr("SwedenCentral"),
	// 																																																		to.Ptr("SwitzerlandNorth"),
	// 																																																		to.Ptr("SwitzerlandWest"),
	// 																																																		to.Ptr("UAENorth"),
	// 																																																		to.Ptr("UkSouth"),
	// 																																																		to.Ptr("UkWest"),
	// 																																																		to.Ptr("WestCentralUs"),
	// 																																																		to.Ptr("WestEurope"),
	// 																																																		to.Ptr("WestUs"),
	// 																																																		to.Ptr("WestUs2"),
	// 																																																		to.Ptr("ChinaEast2"),
	// 																																																		to.Ptr("ChinaNorth2"),
	// 																																																		to.Ptr("USGovArizona"),
	// 																																																		to.Ptr("USGovTexas"),
	// 																																																		to.Ptr("USGovVirginia")},
	// 																																																	},
	// 																																																	{
	// 																																																		Category: []*string{
	// 																																																			to.Ptr("MemoryOptimized"),
	// 																																																			to.Ptr("SupportsPremiumStorage")},
	// 																																																			FamilyName: to.Ptr("Edsv4_series"),
	// 																																																			TargetLocations: []*string{
	// 																																																				to.Ptr("AustraliaCentral"),
	// 																																																				to.Ptr("AustraliaCentral2"),
	// 																																																				to.Ptr("AustraliaEast"),
	// 																																																				to.Ptr("AustraliaSoutheast"),
	// 																																																				to.Ptr("BrazilSouth"),
	// 																																																				to.Ptr("CanadaCentral"),
	// 																																																				to.Ptr("CanadaEast"),
	// 																																																				to.Ptr("CentralIndia"),
	// 																																																				to.Ptr("CentralUs"),
	// 																																																				to.Ptr("EastAsia"),
	// 																																																				to.Ptr("EastUs"),
	// 																																																				to.Ptr("EastUs2"),
	// 																																																				to.Ptr("FranceCentral"),
	// 																																																				to.Ptr("FranceSouth"),
	// 																																																				to.Ptr("GermanyNorth"),
	// 																																																				to.Ptr("GermanyWestCentral"),
	// 																																																				to.Ptr("ItalyNorth"),
	// 																																																				to.Ptr("JapanEast"),
	// 																																																				to.Ptr("JapanWest"),
	// 																																																				to.Ptr("KoreaCentral"),
	// 																																																				to.Ptr("KoreaSouth"),
	// 																																																				to.Ptr("NorthCentralUs"),
	// 																																																				to.Ptr("NorthEurope"),
	// 																																																				to.Ptr("NorwayEast"),
	// 																																																				to.Ptr("NorwayWest"),
	// 																																																				to.Ptr("PolandCentral"),
	// 																																																				to.Ptr("QatarCentral"),
	// 																																																				to.Ptr("SouthAfricaNorth"),
	// 																																																				to.Ptr("SouthAfricaWest"),
	// 																																																				to.Ptr("SouthCentralUs"),
	// 																																																				to.Ptr("SoutheastAsia"),
	// 																																																				to.Ptr("SouthIndia"),
	// 																																																				to.Ptr("SwedenCentral"),
	// 																																																				to.Ptr("SwitzerlandNorth"),
	// 																																																				to.Ptr("SwitzerlandWest"),
	// 																																																				to.Ptr("UAECentral"),
	// 																																																				to.Ptr("UAENorth"),
	// 																																																				to.Ptr("UkSouth"),
	// 																																																				to.Ptr("UkWest"),
	// 																																																				to.Ptr("WestCentralUs"),
	// 																																																				to.Ptr("WestEurope"),
	// 																																																				to.Ptr("WestUs"),
	// 																																																				to.Ptr("WestUs2"),
	// 																																																				to.Ptr("ChinaEast2"),
	// 																																																				to.Ptr("ChinaNorth2"),
	// 																																																				to.Ptr("USGovArizona"),
	// 																																																				to.Ptr("USGovTexas"),
	// 																																																				to.Ptr("USGovVirginia")},
	// 																																																			},
	// 																																																			{
	// 																																																				Category: []*string{
	// 																																																					to.Ptr("MemoryOptimized")},
	// 																																																					FamilyName: to.Ptr("Edv4_series"),
	// 																																																					TargetLocations: []*string{
	// 																																																						to.Ptr("AustraliaCentral"),
	// 																																																						to.Ptr("AustraliaCentral2"),
	// 																																																						to.Ptr("AustraliaEast"),
	// 																																																						to.Ptr("AustraliaSoutheast"),
	// 																																																						to.Ptr("BrazilSouth"),
	// 																																																						to.Ptr("CanadaCentral"),
	// 																																																						to.Ptr("CanadaEast"),
	// 																																																						to.Ptr("CentralIndia"),
	// 																																																						to.Ptr("CentralUs"),
	// 																																																						to.Ptr("EastAsia"),
	// 																																																						to.Ptr("EastUs"),
	// 																																																						to.Ptr("EastUs2"),
	// 																																																						to.Ptr("FranceCentral"),
	// 																																																						to.Ptr("FranceSouth"),
	// 																																																						to.Ptr("GermanyNorth"),
	// 																																																						to.Ptr("GermanyWestCentral"),
	// 																																																						to.Ptr("ItalyNorth"),
	// 																																																						to.Ptr("JapanEast"),
	// 																																																						to.Ptr("JapanWest"),
	// 																																																						to.Ptr("KoreaCentral"),
	// 																																																						to.Ptr("KoreaSouth"),
	// 																																																						to.Ptr("NorthCentralUs"),
	// 																																																						to.Ptr("NorthEurope"),
	// 																																																						to.Ptr("NorwayEast"),
	// 																																																						to.Ptr("NorwayWest"),
	// 																																																						to.Ptr("PolandCentral"),
	// 																																																						to.Ptr("QatarCentral"),
	// 																																																						to.Ptr("SouthAfricaNorth"),
	// 																																																						to.Ptr("SouthAfricaWest"),
	// 																																																						to.Ptr("SouthCentralUs"),
	// 																																																						to.Ptr("SoutheastAsia"),
	// 																																																						to.Ptr("SouthIndia"),
	// 																																																						to.Ptr("SwedenCentral"),
	// 																																																						to.Ptr("SwitzerlandNorth"),
	// 																																																						to.Ptr("SwitzerlandWest"),
	// 																																																						to.Ptr("UAECentral"),
	// 																																																						to.Ptr("UAENorth"),
	// 																																																						to.Ptr("UkSouth"),
	// 																																																						to.Ptr("UkWest"),
	// 																																																						to.Ptr("WestCentralUs"),
	// 																																																						to.Ptr("WestEurope"),
	// 																																																						to.Ptr("WestUs"),
	// 																																																						to.Ptr("WestUs2"),
	// 																																																						to.Ptr("ChinaEast2"),
	// 																																																						to.Ptr("ChinaNorth2"),
	// 																																																						to.Ptr("USGovArizona"),
	// 																																																						to.Ptr("USGovTexas"),
	// 																																																						to.Ptr("USGovVirginia")},
	// 																																																					},
	// 																																																					{
	// 																																																						Category: []*string{
	// 																																																							to.Ptr("MemoryOptimized"),
	// 																																																							to.Ptr("SupportsPremiumStorage")},
	// 																																																							FamilyName: to.Ptr("M_series"),
	// 																																																							TargetLocations: []*string{
	// 																																																								to.Ptr("AustraliaCentral"),
	// 																																																								to.Ptr("AustraliaCentral2"),
	// 																																																								to.Ptr("AustraliaEast"),
	// 																																																								to.Ptr("AustraliaSoutheast"),
	// 																																																								to.Ptr("BrazilSouth"),
	// 																																																								to.Ptr("CanadaCentral"),
	// 																																																								to.Ptr("CanadaEast"),
	// 																																																								to.Ptr("CentralIndia"),
	// 																																																								to.Ptr("CentralUs"),
	// 																																																								to.Ptr("EastAsia"),
	// 																																																								to.Ptr("EastUs"),
	// 																																																								to.Ptr("EastUs2"),
	// 																																																								to.Ptr("FranceCentral"),
	// 																																																								to.Ptr("GermanyNorth"),
	// 																																																								to.Ptr("GermanyWestCentral"),
	// 																																																								to.Ptr("JapanEast"),
	// 																																																								to.Ptr("JapanWest"),
	// 																																																								to.Ptr("KoreaCentral"),
	// 																																																								to.Ptr("KoreaSouth"),
	// 																																																								to.Ptr("NorthCentralUs"),
	// 																																																								to.Ptr("NorthEurope"),
	// 																																																								to.Ptr("NorwayEast"),
	// 																																																								to.Ptr("QatarCentral"),
	// 																																																								to.Ptr("SouthAfricaNorth"),
	// 																																																								to.Ptr("SouthAfricaWest"),
	// 																																																								to.Ptr("SouthCentralUs"),
	// 																																																								to.Ptr("SoutheastAsia"),
	// 																																																								to.Ptr("SouthIndia"),
	// 																																																								to.Ptr("SwedenCentral"),
	// 																																																								to.Ptr("SwitzerlandNorth"),
	// 																																																								to.Ptr("SwitzerlandWest"),
	// 																																																								to.Ptr("UAECentral"),
	// 																																																								to.Ptr("UAENorth"),
	// 																																																								to.Ptr("UkSouth"),
	// 																																																								to.Ptr("UkWest"),
	// 																																																								to.Ptr("WestEurope"),
	// 																																																								to.Ptr("WestUs"),
	// 																																																								to.Ptr("WestUs2"),
	// 																																																								to.Ptr("ChinaEast2"),
	// 																																																								to.Ptr("ChinaNorth2"),
	// 																																																								to.Ptr("USGovArizona"),
	// 																																																								to.Ptr("USGovVirginia")},
	// 																																																							},
	// 																																																							{
	// 																																																								Category: []*string{
	// 																																																									to.Ptr("MemoryOptimized"),
	// 																																																									to.Ptr("SupportsPremiumStorage")},
	// 																																																									FamilyName: to.Ptr("Mdsv2_series"),
	// 																																																									TargetLocations: []*string{
	// 																																																										to.Ptr("AustraliaCentral"),
	// 																																																										to.Ptr("AustraliaEast"),
	// 																																																										to.Ptr("AustraliaSoutheast"),
	// 																																																										to.Ptr("BrazilSouth"),
	// 																																																										to.Ptr("CanadaCentral"),
	// 																																																										to.Ptr("CanadaEast"),
	// 																																																										to.Ptr("CentralIndia"),
	// 																																																										to.Ptr("CentralUs"),
	// 																																																										to.Ptr("EastAsia"),
	// 																																																										to.Ptr("EastUs"),
	// 																																																										to.Ptr("EastUs2"),
	// 																																																										to.Ptr("FranceCentral"),
	// 																																																										to.Ptr("GermanyWestCentral"),
	// 																																																										to.Ptr("JapanEast"),
	// 																																																										to.Ptr("JapanWest"),
	// 																																																										to.Ptr("KoreaCentral"),
	// 																																																										to.Ptr("NorthCentralUs"),
	// 																																																										to.Ptr("NorthEurope"),
	// 																																																										to.Ptr("NorwayEast"),
	// 																																																										to.Ptr("QatarCentral"),
	// 																																																										to.Ptr("SouthAfricaNorth"),
	// 																																																										to.Ptr("SouthCentralUs"),
	// 																																																										to.Ptr("SoutheastAsia"),
	// 																																																										to.Ptr("SouthIndia"),
	// 																																																										to.Ptr("SwedenCentral"),
	// 																																																										to.Ptr("SwitzerlandNorth"),
	// 																																																										to.Ptr("UAECentral"),
	// 																																																										to.Ptr("UAENorth"),
	// 																																																										to.Ptr("UkSouth"),
	// 																																																										to.Ptr("UkWest"),
	// 																																																										to.Ptr("WestEurope"),
	// 																																																										to.Ptr("WestUs"),
	// 																																																										to.Ptr("WestUs2"),
	// 																																																										to.Ptr("ChinaNorth2"),
	// 																																																										to.Ptr("USGovVirginia")},
	// 																																																									},
	// 																																																									{
	// 																																																										Category: []*string{
	// 																																																											to.Ptr("MemoryOptimized"),
	// 																																																											to.Ptr("SupportsPremiumStorage")},
	// 																																																											FamilyName: to.Ptr("Mv2_series"),
	// 																																																											TargetLocations: []*string{
	// 																																																												to.Ptr("AustraliaCentral"),
	// 																																																												to.Ptr("AustraliaCentral2"),
	// 																																																												to.Ptr("AustraliaEast"),
	// 																																																												to.Ptr("AustraliaSoutheast"),
	// 																																																												to.Ptr("BrazilSouth"),
	// 																																																												to.Ptr("CanadaCentral"),
	// 																																																												to.Ptr("CanadaEast"),
	// 																																																												to.Ptr("CentralIndia"),
	// 																																																												to.Ptr("CentralUs"),
	// 																																																												to.Ptr("EastAsia"),
	// 																																																												to.Ptr("EastUs"),
	// 																																																												to.Ptr("EastUs2"),
	// 																																																												to.Ptr("GermanyWestCentral"),
	// 																																																												to.Ptr("JapanEast"),
	// 																																																												to.Ptr("JapanWest"),
	// 																																																												to.Ptr("KoreaCentral"),
	// 																																																												to.Ptr("KoreaSouth"),
	// 																																																												to.Ptr("NorthCentralUs"),
	// 																																																												to.Ptr("NorthEurope"),
	// 																																																												to.Ptr("SouthAfricaNorth"),
	// 																																																												to.Ptr("SouthCentralUs"),
	// 																																																												to.Ptr("SoutheastAsia"),
	// 																																																												to.Ptr("SouthIndia"),
	// 																																																												to.Ptr("SwedenCentral"),
	// 																																																												to.Ptr("SwitzerlandNorth"),
	// 																																																												to.Ptr("SwitzerlandWest"),
	// 																																																												to.Ptr("UAECentral"),
	// 																																																												to.Ptr("UAENorth"),
	// 																																																												to.Ptr("UkSouth"),
	// 																																																												to.Ptr("UkWest"),
	// 																																																												to.Ptr("WestEurope"),
	// 																																																												to.Ptr("WestUs"),
	// 																																																												to.Ptr("WestUs2"),
	// 																																																												to.Ptr("USGovArizona"),
	// 																																																												to.Ptr("USGovVirginia")},
	// 																																																										}},
	// 																																																									},
	// 																																																								}
}
Output:

func (*SQLAssessmentOptionsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List SqlAssessmentOptions resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - SQLAssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the SQLAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewSQLAssessmentOptionsOperationsClient().NewListByAssessmentProjectPager("rgmigrate", "fci-test6904project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.SQLAssessmentOptionsListResult = armmigrationassessment.SQLAssessmentOptionsListResult{
		// 	Value: []*armmigrationassessment.SQLAssessmentOptions{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/sqlAssessmentOptions"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/sqlAssessmentOptions/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T10:16:46.558Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T10:16:46.558Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.SQLAssessmentOptionsProperties{
		// 				PremiumDiskVMFamilies: []*armmigrationassessment.AzureVMFamily{
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
		// 					to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
		// 					ReservedInstanceSQLTargets: []*armmigrationassessment.TargetType{
		// 						to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 						to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance)},
		// 						ReservedInstanceSupportedCurrencies: []*armmigrationassessment.AzureCurrency{
		// 							to.Ptr(armmigrationassessment.AzureCurrencyUSD)},
		// 							ReservedInstanceSupportedLocations: []*armmigrationassessment.AzureLocation{
		// 								to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 								to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 								to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 								to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 								to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 								to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 								to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 								to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 								to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 								to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 								to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 								to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 								to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 								to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 								to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 								to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 								to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 								to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 								to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 								to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 								to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 								to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 								to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 								to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 								to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 								to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 								to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 								to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 								to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 								to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 								to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 								to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 								to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
		// 								to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
		// 								ReservedInstanceSupportedLocationsForIaas: []*armmigrationassessment.AzureLocation{
		// 									to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 									to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 									to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 									to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 									to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 									to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 									to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 									to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 									to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 									to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 									to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 									to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 									to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 									to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 									to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 									to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 									to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 									to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 									to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 									to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 									to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 									to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 									to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 									to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 									to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 									to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 									to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 									to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 									to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
		// 									to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
		// 									ReservedInstanceSupportedOffers: []*armmigrationassessment.AzureOfferCode{
		// 										to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 										to.Ptr(armmigrationassessment.AzureOfferCodeMsazrusgov0003P)},
		// 										ReservedInstanceVMFamilies: []*armmigrationassessment.AzureVMFamily{
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDav4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDdv4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyDdv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEdv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEav4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyEdv4Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
		// 											to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
		// 											SavingsPlanSupportedLocations: []*armmigrationassessment.AzureLocation{
		// 												to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 												to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 												to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 												to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 												to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 												to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 												to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 												to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 												to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 												to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 												to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 												to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 												to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 												to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 												to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 												to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 												to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 												to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 												to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 												to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 												to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 												to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 												to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 												to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 												to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 												to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 												to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 												to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 												to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 												to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 												to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 												to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 												to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 												to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 												to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 												to.Ptr(armmigrationassessment.AzureLocationUAECentral)},
		// 												SavingsPlanSupportedLocationsForPaas: []*armmigrationassessment.AzureLocation{
		// 												},
		// 												SavingsPlanSupportedOffers: []*armmigrationassessment.AzureOfferCode{
		// 													to.Ptr(armmigrationassessment.AzureOfferCodeSavingsPlan1Year),
		// 													to.Ptr(armmigrationassessment.AzureOfferCodeSavingsPlan3Year)},
		// 													SavingsPlanVMFamilies: []*armmigrationassessment.AzureVMFamily{
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDav4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDdv4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyDdv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEdv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEav4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyEdv4Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series),
		// 														to.Ptr(armmigrationassessment.AzureVMFamilyMv2Series)},
		// 														SQLSKUs: []*armmigrationassessment.SQLPaaSTargetOptions{
		// 															{
		// 																ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 																ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierHyperScale),
		// 																TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																	to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																	to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																	to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																	to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																	to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																	to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																	to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																	to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																	to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																	to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																	to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																	to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																	to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																	to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																	to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																	to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																	to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																	to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																	to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																	to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																	to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																	to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																	to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																	to.Ptr(armmigrationassessment.AzureLocationChinaEast),
		// 																	to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																	to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
		// 																	to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
		// 																	TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 																},
		// 																{
		// 																	ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																	HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 																	ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierBusinessCritical),
		// 																	TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																		to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																		to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																		to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																		to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																		to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																		to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																		to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																		to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																		to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																		to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																		to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																		to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																		to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																		to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																		to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																		to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																		to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																		to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																		to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																		to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																		to.Ptr(armmigrationassessment.AzureLocationChinaEast),
		// 																		to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
		// 																		to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																		to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
		// 																		TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 																	},
		// 																	{
		// 																		ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																		HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGeneration("PremiumSeriesMemoryOptimized")),
		// 																		ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierHyperScale),
		// 																		TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																			to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																			to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																			to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																			to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																			to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																			to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																			to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																			to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																			to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																			to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																			to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																			to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																			to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																			to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																			to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																			to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																			to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																			to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																			to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																			to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																			to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																			to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																			to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																			to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
		// 																			TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 																		},
		// 																		{
		// 																			ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																			HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGeneration("PremiumSeries")),
		// 																			ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierHyperScale),
		// 																			TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																				to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																				to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																				to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																				to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																				to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																				to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																				to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																				to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																				to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																				to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																				to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																				to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																				to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																				to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																				to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																				to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																				to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																				to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																				to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																				to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																				to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																				to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																				to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																				to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
		// 																				to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
		// 																				TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 																			},
		// 																			{
		// 																				ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																				HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 																				ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
		// 																				TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																					to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																					to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																					to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																					to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																					to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																					to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																					to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																					to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																					to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																					to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																					to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																					to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																					to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																					to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																					to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																					to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																					to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																					to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																					to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																					to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																					to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																					to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
		// 																					to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																					to.Ptr(armmigrationassessment.AzureLocationChinaEast),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
		// 																					to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
		// 																					TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLDatabase),
		// 																				},
		// 																				{
		// 																					ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																					HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 																					ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierGeneralPurpose),
		// 																					TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																						to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																						to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																						to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																						to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																						to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																						to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																						to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																						to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																						to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																						to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																						to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																						to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																						to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																						to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																						to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																						to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																						to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																						to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																						to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																						to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																						to.Ptr(armmigrationassessment.AzureLocationChinaEast),
		// 																						to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																						to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																						to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUSGovTexas),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																						to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia)},
		// 																						TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
		// 																					},
		// 																					{
		// 																						ComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 																						HardwareGeneration: to.Ptr(armmigrationassessment.HardwareGenerationGen5),
		// 																						ServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierBusinessCritical),
		// 																						TargetLocations: []*armmigrationassessment.AzureLocation{
		// 																							to.Ptr(armmigrationassessment.AzureLocationNorwayWest),
		// 																							to.Ptr(armmigrationassessment.AzureLocationNorthEurope),
		// 																							to.Ptr(armmigrationassessment.AzureLocationGermanyNorth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationKoreaSouth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationEastUs2),
		// 																							to.Ptr(armmigrationassessment.AzureLocationCentralIndia),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSoutheastAsia),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSwedenCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationWestUs),
		// 																							to.Ptr(armmigrationassessment.AzureLocationJapanEast),
		// 																							to.Ptr(armmigrationassessment.AzureLocationWestEurope),
		// 																							to.Ptr(armmigrationassessment.AzureLocationAustraliaEast),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSouthAfricaNorth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUkSouth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUAENorth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationNorthCentralUs),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSouthAfricaWest),
		// 																							to.Ptr(armmigrationassessment.AzureLocationCanadaEast),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUkWest),
		// 																							to.Ptr(armmigrationassessment.AzureLocationCentralUs),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSouthCentralUs),
		// 																							to.Ptr(armmigrationassessment.AzureLocationWestUs2),
		// 																							to.Ptr(armmigrationassessment.AzureLocationNorwayEast),
		// 																							to.Ptr(armmigrationassessment.AzureLocationJapanWest),
		// 																							to.Ptr(armmigrationassessment.AzureLocation("PolandCentral")),
		// 																							to.Ptr(armmigrationassessment.AzureLocationWestCentralUs),
		// 																							to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSouthIndia),
		// 																							to.Ptr(armmigrationassessment.AzureLocation("ItalyNorth")),
		// 																							to.Ptr(armmigrationassessment.AzureLocationQatarCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationFranceCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationCanadaCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSwitzerlandWest),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUAECentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationSwitzerlandNorth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationKoreaCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationWestIndia),
		// 																							to.Ptr(armmigrationassessment.AzureLocationBrazilSouth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationEastUs),
		// 																							to.Ptr(armmigrationassessment.AzureLocationFranceSouth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationAustraliaCentral2),
		// 																							to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast),
		// 																							to.Ptr(armmigrationassessment.AzureLocationGermanyWestCentral),
		// 																							to.Ptr(armmigrationassessment.AzureLocationChinaEast2),
		// 																							to.Ptr(armmigrationassessment.AzureLocationChinaEast),
		// 																							to.Ptr(armmigrationassessment.AzureLocationChinaNorth2),
		// 																							to.Ptr(armmigrationassessment.AzureLocationChinaNorth),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUSGovArizona),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUSGovIowa),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUSGovVirginia),
		// 																							to.Ptr(armmigrationassessment.AzureLocationUSGovTexas)},
		// 																							TargetType: to.Ptr(armmigrationassessment.TargetTypeAzureSQLManagedInstance),
		// 																					}},
		// 																					SupportedOffers: []*armmigrationassessment.AzureOfferCode{
		// 																						to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P)},
		// 																						VMFamilies: []*armmigrationassessment.VMFamilyOptions{
		// 																							{
		// 																								Category: []*string{
		// 																									to.Ptr("GeneralPurpose"),
		// 																									to.Ptr("SupportsPremiumStorage")},
		// 																									FamilyName: to.Ptr("Dadsv5_series"),
		// 																									TargetLocations: []*string{
		// 																										to.Ptr("AustraliaCentral"),
		// 																										to.Ptr("AustraliaEast"),
		// 																										to.Ptr("AustraliaSoutheast"),
		// 																										to.Ptr("BrazilSouth"),
		// 																										to.Ptr("CanadaCentral"),
		// 																										to.Ptr("CanadaEast"),
		// 																										to.Ptr("CentralIndia"),
		// 																										to.Ptr("CentralUs"),
		// 																										to.Ptr("EastAsia"),
		// 																										to.Ptr("EastUs"),
		// 																										to.Ptr("EastUs2"),
		// 																										to.Ptr("FranceCentral"),
		// 																										to.Ptr("FranceSouth"),
		// 																										to.Ptr("GermanyNorth"),
		// 																										to.Ptr("JapanEast"),
		// 																										to.Ptr("JapanWest"),
		// 																										to.Ptr("KoreaSouth"),
		// 																										to.Ptr("NorthCentralUs"),
		// 																										to.Ptr("NorthEurope"),
		// 																										to.Ptr("NorwayEast"),
		// 																										to.Ptr("NorwayWest"),
		// 																										to.Ptr("PolandCentral"),
		// 																										to.Ptr("SouthAfricaWest"),
		// 																										to.Ptr("SouthCentralUs"),
		// 																										to.Ptr("SoutheastAsia"),
		// 																										to.Ptr("SouthIndia"),
		// 																										to.Ptr("SwedenCentral"),
		// 																										to.Ptr("SwitzerlandNorth"),
		// 																										to.Ptr("UAENorth"),
		// 																										to.Ptr("UkSouth"),
		// 																										to.Ptr("UkWest"),
		// 																										to.Ptr("WestCentralUs"),
		// 																										to.Ptr("WestEurope"),
		// 																										to.Ptr("WestUs"),
		// 																										to.Ptr("WestUs2"),
		// 																										to.Ptr("USGovArizona"),
		// 																										to.Ptr("USGovTexas"),
		// 																										to.Ptr("USGovVirginia")},
		// 																									},
		// 																									{
		// 																										Category: []*string{
		// 																											to.Ptr("GeneralPurpose"),
		// 																											to.Ptr("SupportsPremiumStorage")},
		// 																											FamilyName: to.Ptr("Dasv4_series"),
		// 																											TargetLocations: []*string{
		// 																												to.Ptr("AustraliaCentral"),
		// 																												to.Ptr("AustraliaEast"),
		// 																												to.Ptr("AustraliaSoutheast"),
		// 																												to.Ptr("BrazilSouth"),
		// 																												to.Ptr("CanadaCentral"),
		// 																												to.Ptr("CanadaEast"),
		// 																												to.Ptr("CentralIndia"),
		// 																												to.Ptr("CentralUs"),
		// 																												to.Ptr("EastAsia"),
		// 																												to.Ptr("EastUs"),
		// 																												to.Ptr("EastUs2"),
		// 																												to.Ptr("FranceCentral"),
		// 																												to.Ptr("FranceSouth"),
		// 																												to.Ptr("GermanyNorth"),
		// 																												to.Ptr("JapanEast"),
		// 																												to.Ptr("JapanWest"),
		// 																												to.Ptr("KoreaCentral"),
		// 																												to.Ptr("KoreaSouth"),
		// 																												to.Ptr("NorthCentralUs"),
		// 																												to.Ptr("NorthEurope"),
		// 																												to.Ptr("NorwayEast"),
		// 																												to.Ptr("NorwayWest"),
		// 																												to.Ptr("PolandCentral"),
		// 																												to.Ptr("SouthAfricaWest"),
		// 																												to.Ptr("SouthCentralUs"),
		// 																												to.Ptr("SoutheastAsia"),
		// 																												to.Ptr("SouthIndia"),
		// 																												to.Ptr("SwedenCentral"),
		// 																												to.Ptr("SwitzerlandNorth"),
		// 																												to.Ptr("UAENorth"),
		// 																												to.Ptr("UkSouth"),
		// 																												to.Ptr("UkWest"),
		// 																												to.Ptr("WestCentralUs"),
		// 																												to.Ptr("WestEurope"),
		// 																												to.Ptr("WestUs"),
		// 																												to.Ptr("WestUs2"),
		// 																												to.Ptr("USGovArizona"),
		// 																												to.Ptr("USGovTexas"),
		// 																												to.Ptr("USGovVirginia")},
		// 																											},
		// 																											{
		// 																												Category: []*string{
		// 																													to.Ptr("GeneralPurpose")},
		// 																													FamilyName: to.Ptr("Dav4_series"),
		// 																													TargetLocations: []*string{
		// 																														to.Ptr("AustraliaCentral"),
		// 																														to.Ptr("AustraliaEast"),
		// 																														to.Ptr("AustraliaSoutheast"),
		// 																														to.Ptr("BrazilSouth"),
		// 																														to.Ptr("CanadaCentral"),
		// 																														to.Ptr("CanadaEast"),
		// 																														to.Ptr("CentralIndia"),
		// 																														to.Ptr("CentralUs"),
		// 																														to.Ptr("EastAsia"),
		// 																														to.Ptr("EastUs"),
		// 																														to.Ptr("EastUs2"),
		// 																														to.Ptr("FranceCentral"),
		// 																														to.Ptr("FranceSouth"),
		// 																														to.Ptr("GermanyNorth"),
		// 																														to.Ptr("JapanEast"),
		// 																														to.Ptr("JapanWest"),
		// 																														to.Ptr("KoreaCentral"),
		// 																														to.Ptr("KoreaSouth"),
		// 																														to.Ptr("NorthCentralUs"),
		// 																														to.Ptr("NorthEurope"),
		// 																														to.Ptr("NorwayEast"),
		// 																														to.Ptr("NorwayWest"),
		// 																														to.Ptr("PolandCentral"),
		// 																														to.Ptr("SouthAfricaWest"),
		// 																														to.Ptr("SouthCentralUs"),
		// 																														to.Ptr("SoutheastAsia"),
		// 																														to.Ptr("SouthIndia"),
		// 																														to.Ptr("SwedenCentral"),
		// 																														to.Ptr("SwitzerlandNorth"),
		// 																														to.Ptr("UAENorth"),
		// 																														to.Ptr("UkSouth"),
		// 																														to.Ptr("UkWest"),
		// 																														to.Ptr("WestCentralUs"),
		// 																														to.Ptr("WestEurope"),
		// 																														to.Ptr("WestUs"),
		// 																														to.Ptr("WestUs2"),
		// 																														to.Ptr("USGovArizona"),
		// 																														to.Ptr("USGovTexas"),
		// 																														to.Ptr("USGovVirginia")},
		// 																													},
		// 																													{
		// 																														Category: []*string{
		// 																															to.Ptr("GeneralPurpose"),
		// 																															to.Ptr("SupportsPremiumStorage")},
		// 																															FamilyName: to.Ptr("Ddsv4_series"),
		// 																															TargetLocations: []*string{
		// 																																to.Ptr("AustraliaCentral"),
		// 																																to.Ptr("AustraliaCentral2"),
		// 																																to.Ptr("AustraliaEast"),
		// 																																to.Ptr("AustraliaSoutheast"),
		// 																																to.Ptr("BrazilSouth"),
		// 																																to.Ptr("CanadaCentral"),
		// 																																to.Ptr("CanadaEast"),
		// 																																to.Ptr("CentralIndia"),
		// 																																to.Ptr("CentralUs"),
		// 																																to.Ptr("EastAsia"),
		// 																																to.Ptr("EastUs"),
		// 																																to.Ptr("EastUs2"),
		// 																																to.Ptr("FranceCentral"),
		// 																																to.Ptr("FranceSouth"),
		// 																																to.Ptr("GermanyNorth"),
		// 																																to.Ptr("GermanyWestCentral"),
		// 																																to.Ptr("ItalyNorth"),
		// 																																to.Ptr("JapanEast"),
		// 																																to.Ptr("JapanWest"),
		// 																																to.Ptr("KoreaCentral"),
		// 																																to.Ptr("KoreaSouth"),
		// 																																to.Ptr("NorthCentralUs"),
		// 																																to.Ptr("NorthEurope"),
		// 																																to.Ptr("NorwayEast"),
		// 																																to.Ptr("NorwayWest"),
		// 																																to.Ptr("PolandCentral"),
		// 																																to.Ptr("QatarCentral"),
		// 																																to.Ptr("SouthAfricaNorth"),
		// 																																to.Ptr("SouthAfricaWest"),
		// 																																to.Ptr("SouthCentralUs"),
		// 																																to.Ptr("SoutheastAsia"),
		// 																																to.Ptr("SouthIndia"),
		// 																																to.Ptr("SwedenCentral"),
		// 																																to.Ptr("SwitzerlandNorth"),
		// 																																to.Ptr("SwitzerlandWest"),
		// 																																to.Ptr("UAECentral"),
		// 																																to.Ptr("UAENorth"),
		// 																																to.Ptr("UkSouth"),
		// 																																to.Ptr("UkWest"),
		// 																																to.Ptr("WestCentralUs"),
		// 																																to.Ptr("WestEurope"),
		// 																																to.Ptr("WestUs"),
		// 																																to.Ptr("WestUs2"),
		// 																																to.Ptr("ChinaEast2"),
		// 																																to.Ptr("ChinaNorth2"),
		// 																																to.Ptr("USGovArizona"),
		// 																																to.Ptr("USGovTexas"),
		// 																																to.Ptr("USGovVirginia")},
		// 																															},
		// 																															{
		// 																																Category: []*string{
		// 																																	to.Ptr("GeneralPurpose"),
		// 																																	to.Ptr("SupportsPremiumStorage")},
		// 																																	FamilyName: to.Ptr("Ddsv5_series"),
		// 																																	TargetLocations: []*string{
		// 																																		to.Ptr("AustraliaCentral"),
		// 																																		to.Ptr("AustraliaCentral2"),
		// 																																		to.Ptr("AustraliaEast"),
		// 																																		to.Ptr("AustraliaSoutheast"),
		// 																																		to.Ptr("BrazilSouth"),
		// 																																		to.Ptr("CanadaCentral"),
		// 																																		to.Ptr("CanadaEast"),
		// 																																		to.Ptr("CentralIndia"),
		// 																																		to.Ptr("CentralUs"),
		// 																																		to.Ptr("EastAsia"),
		// 																																		to.Ptr("EastUs"),
		// 																																		to.Ptr("EastUs2"),
		// 																																		to.Ptr("FranceCentral"),
		// 																																		to.Ptr("FranceSouth"),
		// 																																		to.Ptr("GermanyNorth"),
		// 																																		to.Ptr("GermanyWestCentral"),
		// 																																		to.Ptr("JapanEast"),
		// 																																		to.Ptr("JapanWest"),
		// 																																		to.Ptr("KoreaCentral"),
		// 																																		to.Ptr("KoreaSouth"),
		// 																																		to.Ptr("NorthCentralUs"),
		// 																																		to.Ptr("NorthEurope"),
		// 																																		to.Ptr("NorwayEast"),
		// 																																		to.Ptr("NorwayWest"),
		// 																																		to.Ptr("PolandCentral"),
		// 																																		to.Ptr("QatarCentral"),
		// 																																		to.Ptr("SouthAfricaNorth"),
		// 																																		to.Ptr("SouthAfricaWest"),
		// 																																		to.Ptr("SouthCentralUs"),
		// 																																		to.Ptr("SoutheastAsia"),
		// 																																		to.Ptr("SouthIndia"),
		// 																																		to.Ptr("SwedenCentral"),
		// 																																		to.Ptr("SwitzerlandNorth"),
		// 																																		to.Ptr("SwitzerlandWest"),
		// 																																		to.Ptr("UAENorth"),
		// 																																		to.Ptr("UkSouth"),
		// 																																		to.Ptr("UkWest"),
		// 																																		to.Ptr("WestCentralUs"),
		// 																																		to.Ptr("WestEurope"),
		// 																																		to.Ptr("WestUs"),
		// 																																		to.Ptr("WestUs2"),
		// 																																		to.Ptr("ChinaEast2"),
		// 																																		to.Ptr("ChinaNorth2"),
		// 																																		to.Ptr("USGovArizona"),
		// 																																		to.Ptr("USGovTexas"),
		// 																																		to.Ptr("USGovVirginia")},
		// 																																	},
		// 																																	{
		// 																																		Category: []*string{
		// 																																			to.Ptr("GeneralPurpose")},
		// 																																			FamilyName: to.Ptr("Ddv4_series"),
		// 																																			TargetLocations: []*string{
		// 																																				to.Ptr("AustraliaCentral"),
		// 																																				to.Ptr("AustraliaCentral2"),
		// 																																				to.Ptr("AustraliaEast"),
		// 																																				to.Ptr("AustraliaSoutheast"),
		// 																																				to.Ptr("BrazilSouth"),
		// 																																				to.Ptr("CanadaCentral"),
		// 																																				to.Ptr("CanadaEast"),
		// 																																				to.Ptr("CentralIndia"),
		// 																																				to.Ptr("CentralUs"),
		// 																																				to.Ptr("EastAsia"),
		// 																																				to.Ptr("EastUs"),
		// 																																				to.Ptr("EastUs2"),
		// 																																				to.Ptr("FranceCentral"),
		// 																																				to.Ptr("FranceSouth"),
		// 																																				to.Ptr("GermanyNorth"),
		// 																																				to.Ptr("GermanyWestCentral"),
		// 																																				to.Ptr("ItalyNorth"),
		// 																																				to.Ptr("JapanEast"),
		// 																																				to.Ptr("JapanWest"),
		// 																																				to.Ptr("KoreaCentral"),
		// 																																				to.Ptr("KoreaSouth"),
		// 																																				to.Ptr("NorthCentralUs"),
		// 																																				to.Ptr("NorthEurope"),
		// 																																				to.Ptr("NorwayEast"),
		// 																																				to.Ptr("NorwayWest"),
		// 																																				to.Ptr("PolandCentral"),
		// 																																				to.Ptr("QatarCentral"),
		// 																																				to.Ptr("SouthAfricaNorth"),
		// 																																				to.Ptr("SouthAfricaWest"),
		// 																																				to.Ptr("SouthCentralUs"),
		// 																																				to.Ptr("SoutheastAsia"),
		// 																																				to.Ptr("SouthIndia"),
		// 																																				to.Ptr("SwedenCentral"),
		// 																																				to.Ptr("SwitzerlandNorth"),
		// 																																				to.Ptr("SwitzerlandWest"),
		// 																																				to.Ptr("UAECentral"),
		// 																																				to.Ptr("UAENorth"),
		// 																																				to.Ptr("UkSouth"),
		// 																																				to.Ptr("UkWest"),
		// 																																				to.Ptr("WestCentralUs"),
		// 																																				to.Ptr("WestEurope"),
		// 																																				to.Ptr("WestUs"),
		// 																																				to.Ptr("WestUs2"),
		// 																																				to.Ptr("ChinaEast2"),
		// 																																				to.Ptr("ChinaNorth2"),
		// 																																				to.Ptr("USGovArizona"),
		// 																																				to.Ptr("USGovTexas"),
		// 																																				to.Ptr("USGovVirginia")},
		// 																																			},
		// 																																			{
		// 																																				Category: []*string{
		// 																																					to.Ptr("GeneralPurpose")},
		// 																																					FamilyName: to.Ptr("Ddv5_series"),
		// 																																					TargetLocations: []*string{
		// 																																						to.Ptr("AustraliaCentral"),
		// 																																						to.Ptr("AustraliaCentral2"),
		// 																																						to.Ptr("AustraliaEast"),
		// 																																						to.Ptr("AustraliaSoutheast"),
		// 																																						to.Ptr("BrazilSouth"),
		// 																																						to.Ptr("CanadaCentral"),
		// 																																						to.Ptr("CanadaEast"),
		// 																																						to.Ptr("CentralIndia"),
		// 																																						to.Ptr("CentralUs"),
		// 																																						to.Ptr("EastAsia"),
		// 																																						to.Ptr("EastUs"),
		// 																																						to.Ptr("EastUs2"),
		// 																																						to.Ptr("FranceCentral"),
		// 																																						to.Ptr("FranceSouth"),
		// 																																						to.Ptr("GermanyNorth"),
		// 																																						to.Ptr("GermanyWestCentral"),
		// 																																						to.Ptr("JapanEast"),
		// 																																						to.Ptr("JapanWest"),
		// 																																						to.Ptr("KoreaCentral"),
		// 																																						to.Ptr("KoreaSouth"),
		// 																																						to.Ptr("NorthCentralUs"),
		// 																																						to.Ptr("NorthEurope"),
		// 																																						to.Ptr("NorwayEast"),
		// 																																						to.Ptr("NorwayWest"),
		// 																																						to.Ptr("PolandCentral"),
		// 																																						to.Ptr("QatarCentral"),
		// 																																						to.Ptr("SouthAfricaNorth"),
		// 																																						to.Ptr("SouthAfricaWest"),
		// 																																						to.Ptr("SouthCentralUs"),
		// 																																						to.Ptr("SoutheastAsia"),
		// 																																						to.Ptr("SouthIndia"),
		// 																																						to.Ptr("SwedenCentral"),
		// 																																						to.Ptr("SwitzerlandNorth"),
		// 																																						to.Ptr("SwitzerlandWest"),
		// 																																						to.Ptr("UAENorth"),
		// 																																						to.Ptr("UkSouth"),
		// 																																						to.Ptr("UkWest"),
		// 																																						to.Ptr("WestCentralUs"),
		// 																																						to.Ptr("WestEurope"),
		// 																																						to.Ptr("WestUs"),
		// 																																						to.Ptr("WestUs2"),
		// 																																						to.Ptr("ChinaEast2"),
		// 																																						to.Ptr("ChinaNorth2")},
		// 																																					},
		// 																																					{
		// 																																						Category: []*string{
		// 																																							to.Ptr("MemoryOptimized"),
		// 																																							to.Ptr("SupportsPremiumStorage")},
		// 																																							FamilyName: to.Ptr("Edsv5_series"),
		// 																																							TargetLocations: []*string{
		// 																																								to.Ptr("AustraliaCentral"),
		// 																																								to.Ptr("AustraliaCentral2"),
		// 																																								to.Ptr("AustraliaEast"),
		// 																																								to.Ptr("AustraliaSoutheast"),
		// 																																								to.Ptr("BrazilSouth"),
		// 																																								to.Ptr("CanadaCentral"),
		// 																																								to.Ptr("CanadaEast"),
		// 																																								to.Ptr("CentralIndia"),
		// 																																								to.Ptr("CentralUs"),
		// 																																								to.Ptr("EastAsia"),
		// 																																								to.Ptr("EastUs"),
		// 																																								to.Ptr("EastUs2"),
		// 																																								to.Ptr("FranceCentral"),
		// 																																								to.Ptr("FranceSouth"),
		// 																																								to.Ptr("GermanyNorth"),
		// 																																								to.Ptr("GermanyWestCentral"),
		// 																																								to.Ptr("JapanEast"),
		// 																																								to.Ptr("JapanWest"),
		// 																																								to.Ptr("KoreaCentral"),
		// 																																								to.Ptr("KoreaSouth"),
		// 																																								to.Ptr("NorthCentralUs"),
		// 																																								to.Ptr("NorthEurope"),
		// 																																								to.Ptr("NorwayEast"),
		// 																																								to.Ptr("NorwayWest"),
		// 																																								to.Ptr("PolandCentral"),
		// 																																								to.Ptr("QatarCentral"),
		// 																																								to.Ptr("SouthAfricaNorth"),
		// 																																								to.Ptr("SouthAfricaWest"),
		// 																																								to.Ptr("SouthCentralUs"),
		// 																																								to.Ptr("SoutheastAsia"),
		// 																																								to.Ptr("SouthIndia"),
		// 																																								to.Ptr("SwedenCentral"),
		// 																																								to.Ptr("SwitzerlandNorth"),
		// 																																								to.Ptr("SwitzerlandWest"),
		// 																																								to.Ptr("UAENorth"),
		// 																																								to.Ptr("UkSouth"),
		// 																																								to.Ptr("UkWest"),
		// 																																								to.Ptr("WestCentralUs"),
		// 																																								to.Ptr("WestEurope"),
		// 																																								to.Ptr("WestUs"),
		// 																																								to.Ptr("WestUs2"),
		// 																																								to.Ptr("ChinaEast2"),
		// 																																								to.Ptr("ChinaNorth2")},
		// 																																							},
		// 																																							{
		// 																																								Category: []*string{
		// 																																									to.Ptr("MemoryOptimized")},
		// 																																									FamilyName: to.Ptr("Edv5_series"),
		// 																																									TargetLocations: []*string{
		// 																																										to.Ptr("AustraliaCentral"),
		// 																																										to.Ptr("AustraliaCentral2"),
		// 																																										to.Ptr("AustraliaEast"),
		// 																																										to.Ptr("AustraliaSoutheast"),
		// 																																										to.Ptr("BrazilSouth"),
		// 																																										to.Ptr("CanadaCentral"),
		// 																																										to.Ptr("CanadaEast"),
		// 																																										to.Ptr("CentralIndia"),
		// 																																										to.Ptr("CentralUs"),
		// 																																										to.Ptr("EastAsia"),
		// 																																										to.Ptr("EastUs"),
		// 																																										to.Ptr("EastUs2"),
		// 																																										to.Ptr("FranceCentral"),
		// 																																										to.Ptr("FranceSouth"),
		// 																																										to.Ptr("GermanyNorth"),
		// 																																										to.Ptr("GermanyWestCentral"),
		// 																																										to.Ptr("JapanEast"),
		// 																																										to.Ptr("JapanWest"),
		// 																																										to.Ptr("KoreaCentral"),
		// 																																										to.Ptr("KoreaSouth"),
		// 																																										to.Ptr("NorthCentralUs"),
		// 																																										to.Ptr("NorthEurope"),
		// 																																										to.Ptr("NorwayEast"),
		// 																																										to.Ptr("NorwayWest"),
		// 																																										to.Ptr("PolandCentral"),
		// 																																										to.Ptr("QatarCentral"),
		// 																																										to.Ptr("SouthAfricaNorth"),
		// 																																										to.Ptr("SouthAfricaWest"),
		// 																																										to.Ptr("SouthCentralUs"),
		// 																																										to.Ptr("SoutheastAsia"),
		// 																																										to.Ptr("SouthIndia"),
		// 																																										to.Ptr("SwedenCentral"),
		// 																																										to.Ptr("SwitzerlandNorth"),
		// 																																										to.Ptr("SwitzerlandWest"),
		// 																																										to.Ptr("UAENorth"),
		// 																																										to.Ptr("UkSouth"),
		// 																																										to.Ptr("UkWest"),
		// 																																										to.Ptr("WestCentralUs"),
		// 																																										to.Ptr("WestEurope"),
		// 																																										to.Ptr("WestUs"),
		// 																																										to.Ptr("WestUs2"),
		// 																																										to.Ptr("ChinaEast2"),
		// 																																										to.Ptr("ChinaNorth2")},
		// 																																									},
		// 																																									{
		// 																																										Category: []*string{
		// 																																											to.Ptr("MemoryOptimized"),
		// 																																											to.Ptr("SupportsPremiumStorage")},
		// 																																											FamilyName: to.Ptr("Eadsv5_series"),
		// 																																											TargetLocations: []*string{
		// 																																												to.Ptr("AustraliaCentral"),
		// 																																												to.Ptr("AustraliaEast"),
		// 																																												to.Ptr("AustraliaSoutheast"),
		// 																																												to.Ptr("BrazilSouth"),
		// 																																												to.Ptr("CanadaCentral"),
		// 																																												to.Ptr("CanadaEast"),
		// 																																												to.Ptr("CentralIndia"),
		// 																																												to.Ptr("CentralUs"),
		// 																																												to.Ptr("EastAsia"),
		// 																																												to.Ptr("EastUs"),
		// 																																												to.Ptr("EastUs2"),
		// 																																												to.Ptr("FranceCentral"),
		// 																																												to.Ptr("FranceSouth"),
		// 																																												to.Ptr("GermanyNorth"),
		// 																																												to.Ptr("JapanEast"),
		// 																																												to.Ptr("JapanWest"),
		// 																																												to.Ptr("KoreaSouth"),
		// 																																												to.Ptr("NorthCentralUs"),
		// 																																												to.Ptr("NorthEurope"),
		// 																																												to.Ptr("NorwayEast"),
		// 																																												to.Ptr("NorwayWest"),
		// 																																												to.Ptr("PolandCentral"),
		// 																																												to.Ptr("SouthAfricaWest"),
		// 																																												to.Ptr("SouthCentralUs"),
		// 																																												to.Ptr("SoutheastAsia"),
		// 																																												to.Ptr("SwedenCentral"),
		// 																																												to.Ptr("SwitzerlandNorth"),
		// 																																												to.Ptr("UAENorth"),
		// 																																												to.Ptr("UkSouth"),
		// 																																												to.Ptr("UkWest"),
		// 																																												to.Ptr("WestCentralUs"),
		// 																																												to.Ptr("WestEurope"),
		// 																																												to.Ptr("WestUs"),
		// 																																												to.Ptr("WestUs2"),
		// 																																												to.Ptr("USGovArizona"),
		// 																																												to.Ptr("USGovTexas"),
		// 																																												to.Ptr("USGovVirginia")},
		// 																																											},
		// 																																											{
		// 																																												Category: []*string{
		// 																																													to.Ptr("MemoryOptimized"),
		// 																																													to.Ptr("SupportsPremiumStorage")},
		// 																																													FamilyName: to.Ptr("Easv4_series"),
		// 																																													TargetLocations: []*string{
		// 																																														to.Ptr("AustraliaCentral"),
		// 																																														to.Ptr("AustraliaEast"),
		// 																																														to.Ptr("AustraliaSoutheast"),
		// 																																														to.Ptr("BrazilSouth"),
		// 																																														to.Ptr("CanadaCentral"),
		// 																																														to.Ptr("CanadaEast"),
		// 																																														to.Ptr("CentralIndia"),
		// 																																														to.Ptr("CentralUs"),
		// 																																														to.Ptr("EastAsia"),
		// 																																														to.Ptr("EastUs"),
		// 																																														to.Ptr("EastUs2"),
		// 																																														to.Ptr("FranceCentral"),
		// 																																														to.Ptr("FranceSouth"),
		// 																																														to.Ptr("GermanyNorth"),
		// 																																														to.Ptr("JapanEast"),
		// 																																														to.Ptr("JapanWest"),
		// 																																														to.Ptr("KoreaCentral"),
		// 																																														to.Ptr("KoreaSouth"),
		// 																																														to.Ptr("NorthCentralUs"),
		// 																																														to.Ptr("NorthEurope"),
		// 																																														to.Ptr("NorwayEast"),
		// 																																														to.Ptr("NorwayWest"),
		// 																																														to.Ptr("PolandCentral"),
		// 																																														to.Ptr("SouthAfricaWest"),
		// 																																														to.Ptr("SouthCentralUs"),
		// 																																														to.Ptr("SoutheastAsia"),
		// 																																														to.Ptr("SouthIndia"),
		// 																																														to.Ptr("SwedenCentral"),
		// 																																														to.Ptr("SwitzerlandNorth"),
		// 																																														to.Ptr("UAENorth"),
		// 																																														to.Ptr("UkSouth"),
		// 																																														to.Ptr("UkWest"),
		// 																																														to.Ptr("WestCentralUs"),
		// 																																														to.Ptr("WestEurope"),
		// 																																														to.Ptr("WestUs"),
		// 																																														to.Ptr("WestUs2"),
		// 																																														to.Ptr("USGovArizona"),
		// 																																														to.Ptr("USGovTexas"),
		// 																																														to.Ptr("USGovVirginia")},
		// 																																													},
		// 																																													{
		// 																																														Category: []*string{
		// 																																															to.Ptr("MemoryOptimized")},
		// 																																															FamilyName: to.Ptr("Eav4_series"),
		// 																																															TargetLocations: []*string{
		// 																																																to.Ptr("AustraliaCentral"),
		// 																																																to.Ptr("AustraliaEast"),
		// 																																																to.Ptr("AustraliaSoutheast"),
		// 																																																to.Ptr("BrazilSouth"),
		// 																																																to.Ptr("CanadaCentral"),
		// 																																																to.Ptr("CanadaEast"),
		// 																																																to.Ptr("CentralIndia"),
		// 																																																to.Ptr("CentralUs"),
		// 																																																to.Ptr("EastAsia"),
		// 																																																to.Ptr("EastUs"),
		// 																																																to.Ptr("EastUs2"),
		// 																																																to.Ptr("FranceCentral"),
		// 																																																to.Ptr("FranceSouth"),
		// 																																																to.Ptr("GermanyNorth"),
		// 																																																to.Ptr("JapanEast"),
		// 																																																to.Ptr("JapanWest"),
		// 																																																to.Ptr("KoreaCentral"),
		// 																																																to.Ptr("KoreaSouth"),
		// 																																																to.Ptr("NorthCentralUs"),
		// 																																																to.Ptr("NorthEurope"),
		// 																																																to.Ptr("NorwayEast"),
		// 																																																to.Ptr("NorwayWest"),
		// 																																																to.Ptr("PolandCentral"),
		// 																																																to.Ptr("SouthAfricaWest"),
		// 																																																to.Ptr("SouthCentralUs"),
		// 																																																to.Ptr("SoutheastAsia"),
		// 																																																to.Ptr("SouthIndia"),
		// 																																																to.Ptr("SwedenCentral"),
		// 																																																to.Ptr("SwitzerlandNorth"),
		// 																																																to.Ptr("UAENorth"),
		// 																																																to.Ptr("UkSouth"),
		// 																																																to.Ptr("UkWest"),
		// 																																																to.Ptr("WestCentralUs"),
		// 																																																to.Ptr("WestEurope"),
		// 																																																to.Ptr("WestUs"),
		// 																																																to.Ptr("WestUs2"),
		// 																																																to.Ptr("USGovArizona"),
		// 																																																to.Ptr("USGovTexas"),
		// 																																																to.Ptr("USGovVirginia")},
		// 																																															},
		// 																																															{
		// 																																																Category: []*string{
		// 																																																	to.Ptr("MemoryOptimized"),
		// 																																																	to.Ptr("SupportsPremiumStorage")},
		// 																																																	FamilyName: to.Ptr("Ebdsv5_series"),
		// 																																																	TargetLocations: []*string{
		// 																																																		to.Ptr("AustraliaCentral"),
		// 																																																		to.Ptr("AustraliaCentral2"),
		// 																																																		to.Ptr("AustraliaEast"),
		// 																																																		to.Ptr("AustraliaSoutheast"),
		// 																																																		to.Ptr("BrazilSouth"),
		// 																																																		to.Ptr("CanadaCentral"),
		// 																																																		to.Ptr("CanadaEast"),
		// 																																																		to.Ptr("CentralIndia"),
		// 																																																		to.Ptr("CentralUs"),
		// 																																																		to.Ptr("EastAsia"),
		// 																																																		to.Ptr("EastUs"),
		// 																																																		to.Ptr("EastUs2"),
		// 																																																		to.Ptr("FranceCentral"),
		// 																																																		to.Ptr("FranceSouth"),
		// 																																																		to.Ptr("GermanyNorth"),
		// 																																																		to.Ptr("GermanyWestCentral"),
		// 																																																		to.Ptr("ItalyNorth"),
		// 																																																		to.Ptr("JapanEast"),
		// 																																																		to.Ptr("JapanWest"),
		// 																																																		to.Ptr("KoreaCentral"),
		// 																																																		to.Ptr("KoreaSouth"),
		// 																																																		to.Ptr("NorthCentralUs"),
		// 																																																		to.Ptr("NorthEurope"),
		// 																																																		to.Ptr("NorwayEast"),
		// 																																																		to.Ptr("NorwayWest"),
		// 																																																		to.Ptr("PolandCentral"),
		// 																																																		to.Ptr("QatarCentral"),
		// 																																																		to.Ptr("SouthAfricaNorth"),
		// 																																																		to.Ptr("SouthAfricaWest"),
		// 																																																		to.Ptr("SouthCentralUs"),
		// 																																																		to.Ptr("SoutheastAsia"),
		// 																																																		to.Ptr("SouthIndia"),
		// 																																																		to.Ptr("SwedenCentral"),
		// 																																																		to.Ptr("SwitzerlandNorth"),
		// 																																																		to.Ptr("SwitzerlandWest"),
		// 																																																		to.Ptr("UAENorth"),
		// 																																																		to.Ptr("UkSouth"),
		// 																																																		to.Ptr("UkWest"),
		// 																																																		to.Ptr("WestCentralUs"),
		// 																																																		to.Ptr("WestEurope"),
		// 																																																		to.Ptr("WestUs"),
		// 																																																		to.Ptr("WestUs2"),
		// 																																																		to.Ptr("ChinaEast2"),
		// 																																																		to.Ptr("ChinaNorth2"),
		// 																																																		to.Ptr("USGovArizona"),
		// 																																																		to.Ptr("USGovTexas"),
		// 																																																		to.Ptr("USGovVirginia")},
		// 																																																	},
		// 																																																	{
		// 																																																		Category: []*string{
		// 																																																			to.Ptr("MemoryOptimized"),
		// 																																																			to.Ptr("SupportsPremiumStorage")},
		// 																																																			FamilyName: to.Ptr("Ebsv5_series"),
		// 																																																			TargetLocations: []*string{
		// 																																																				to.Ptr("AustraliaCentral"),
		// 																																																				to.Ptr("AustraliaCentral2"),
		// 																																																				to.Ptr("AustraliaEast"),
		// 																																																				to.Ptr("AustraliaSoutheast"),
		// 																																																				to.Ptr("BrazilSouth"),
		// 																																																				to.Ptr("CanadaCentral"),
		// 																																																				to.Ptr("CanadaEast"),
		// 																																																				to.Ptr("CentralIndia"),
		// 																																																				to.Ptr("CentralUs"),
		// 																																																				to.Ptr("EastAsia"),
		// 																																																				to.Ptr("EastUs"),
		// 																																																				to.Ptr("EastUs2"),
		// 																																																				to.Ptr("FranceCentral"),
		// 																																																				to.Ptr("FranceSouth"),
		// 																																																				to.Ptr("GermanyNorth"),
		// 																																																				to.Ptr("GermanyWestCentral"),
		// 																																																				to.Ptr("ItalyNorth"),
		// 																																																				to.Ptr("JapanEast"),
		// 																																																				to.Ptr("JapanWest"),
		// 																																																				to.Ptr("KoreaCentral"),
		// 																																																				to.Ptr("KoreaSouth"),
		// 																																																				to.Ptr("NorthCentralUs"),
		// 																																																				to.Ptr("NorthEurope"),
		// 																																																				to.Ptr("NorwayEast"),
		// 																																																				to.Ptr("NorwayWest"),
		// 																																																				to.Ptr("PolandCentral"),
		// 																																																				to.Ptr("QatarCentral"),
		// 																																																				to.Ptr("SouthAfricaNorth"),
		// 																																																				to.Ptr("SouthAfricaWest"),
		// 																																																				to.Ptr("SouthCentralUs"),
		// 																																																				to.Ptr("SoutheastAsia"),
		// 																																																				to.Ptr("SouthIndia"),
		// 																																																				to.Ptr("SwedenCentral"),
		// 																																																				to.Ptr("SwitzerlandNorth"),
		// 																																																				to.Ptr("SwitzerlandWest"),
		// 																																																				to.Ptr("UAENorth"),
		// 																																																				to.Ptr("UkSouth"),
		// 																																																				to.Ptr("UkWest"),
		// 																																																				to.Ptr("WestCentralUs"),
		// 																																																				to.Ptr("WestEurope"),
		// 																																																				to.Ptr("WestUs"),
		// 																																																				to.Ptr("WestUs2"),
		// 																																																				to.Ptr("ChinaEast2"),
		// 																																																				to.Ptr("ChinaNorth2"),
		// 																																																				to.Ptr("USGovArizona"),
		// 																																																				to.Ptr("USGovTexas"),
		// 																																																				to.Ptr("USGovVirginia")},
		// 																																																			},
		// 																																																			{
		// 																																																				Category: []*string{
		// 																																																					to.Ptr("MemoryOptimized"),
		// 																																																					to.Ptr("SupportsPremiumStorage")},
		// 																																																					FamilyName: to.Ptr("Edsv4_series"),
		// 																																																					TargetLocations: []*string{
		// 																																																						to.Ptr("AustraliaCentral"),
		// 																																																						to.Ptr("AustraliaCentral2"),
		// 																																																						to.Ptr("AustraliaEast"),
		// 																																																						to.Ptr("AustraliaSoutheast"),
		// 																																																						to.Ptr("BrazilSouth"),
		// 																																																						to.Ptr("CanadaCentral"),
		// 																																																						to.Ptr("CanadaEast"),
		// 																																																						to.Ptr("CentralIndia"),
		// 																																																						to.Ptr("CentralUs"),
		// 																																																						to.Ptr("EastAsia"),
		// 																																																						to.Ptr("EastUs"),
		// 																																																						to.Ptr("EastUs2"),
		// 																																																						to.Ptr("FranceCentral"),
		// 																																																						to.Ptr("FranceSouth"),
		// 																																																						to.Ptr("GermanyNorth"),
		// 																																																						to.Ptr("GermanyWestCentral"),
		// 																																																						to.Ptr("ItalyNorth"),
		// 																																																						to.Ptr("JapanEast"),
		// 																																																						to.Ptr("JapanWest"),
		// 																																																						to.Ptr("KoreaCentral"),
		// 																																																						to.Ptr("KoreaSouth"),
		// 																																																						to.Ptr("NorthCentralUs"),
		// 																																																						to.Ptr("NorthEurope"),
		// 																																																						to.Ptr("NorwayEast"),
		// 																																																						to.Ptr("NorwayWest"),
		// 																																																						to.Ptr("PolandCentral"),
		// 																																																						to.Ptr("QatarCentral"),
		// 																																																						to.Ptr("SouthAfricaNorth"),
		// 																																																						to.Ptr("SouthAfricaWest"),
		// 																																																						to.Ptr("SouthCentralUs"),
		// 																																																						to.Ptr("SoutheastAsia"),
		// 																																																						to.Ptr("SouthIndia"),
		// 																																																						to.Ptr("SwedenCentral"),
		// 																																																						to.Ptr("SwitzerlandNorth"),
		// 																																																						to.Ptr("SwitzerlandWest"),
		// 																																																						to.Ptr("UAECentral"),
		// 																																																						to.Ptr("UAENorth"),
		// 																																																						to.Ptr("UkSouth"),
		// 																																																						to.Ptr("UkWest"),
		// 																																																						to.Ptr("WestCentralUs"),
		// 																																																						to.Ptr("WestEurope"),
		// 																																																						to.Ptr("WestUs"),
		// 																																																						to.Ptr("WestUs2"),
		// 																																																						to.Ptr("ChinaEast2"),
		// 																																																						to.Ptr("ChinaNorth2"),
		// 																																																						to.Ptr("USGovArizona"),
		// 																																																						to.Ptr("USGovTexas"),
		// 																																																						to.Ptr("USGovVirginia")},
		// 																																																					},
		// 																																																					{
		// 																																																						Category: []*string{
		// 																																																							to.Ptr("MemoryOptimized")},
		// 																																																							FamilyName: to.Ptr("Edv4_series"),
		// 																																																							TargetLocations: []*string{
		// 																																																								to.Ptr("AustraliaCentral"),
		// 																																																								to.Ptr("AustraliaCentral2"),
		// 																																																								to.Ptr("AustraliaEast"),
		// 																																																								to.Ptr("AustraliaSoutheast"),
		// 																																																								to.Ptr("BrazilSouth"),
		// 																																																								to.Ptr("CanadaCentral"),
		// 																																																								to.Ptr("CanadaEast"),
		// 																																																								to.Ptr("CentralIndia"),
		// 																																																								to.Ptr("CentralUs"),
		// 																																																								to.Ptr("EastAsia"),
		// 																																																								to.Ptr("EastUs"),
		// 																																																								to.Ptr("EastUs2"),
		// 																																																								to.Ptr("FranceCentral"),
		// 																																																								to.Ptr("FranceSouth"),
		// 																																																								to.Ptr("GermanyNorth"),
		// 																																																								to.Ptr("GermanyWestCentral"),
		// 																																																								to.Ptr("ItalyNorth"),
		// 																																																								to.Ptr("JapanEast"),
		// 																																																								to.Ptr("JapanWest"),
		// 																																																								to.Ptr("KoreaCentral"),
		// 																																																								to.Ptr("KoreaSouth"),
		// 																																																								to.Ptr("NorthCentralUs"),
		// 																																																								to.Ptr("NorthEurope"),
		// 																																																								to.Ptr("NorwayEast"),
		// 																																																								to.Ptr("NorwayWest"),
		// 																																																								to.Ptr("PolandCentral"),
		// 																																																								to.Ptr("QatarCentral"),
		// 																																																								to.Ptr("SouthAfricaNorth"),
		// 																																																								to.Ptr("SouthAfricaWest"),
		// 																																																								to.Ptr("SouthCentralUs"),
		// 																																																								to.Ptr("SoutheastAsia"),
		// 																																																								to.Ptr("SouthIndia"),
		// 																																																								to.Ptr("SwedenCentral"),
		// 																																																								to.Ptr("SwitzerlandNorth"),
		// 																																																								to.Ptr("SwitzerlandWest"),
		// 																																																								to.Ptr("UAECentral"),
		// 																																																								to.Ptr("UAENorth"),
		// 																																																								to.Ptr("UkSouth"),
		// 																																																								to.Ptr("UkWest"),
		// 																																																								to.Ptr("WestCentralUs"),
		// 																																																								to.Ptr("WestEurope"),
		// 																																																								to.Ptr("WestUs"),
		// 																																																								to.Ptr("WestUs2"),
		// 																																																								to.Ptr("ChinaEast2"),
		// 																																																								to.Ptr("ChinaNorth2"),
		// 																																																								to.Ptr("USGovArizona"),
		// 																																																								to.Ptr("USGovTexas"),
		// 																																																								to.Ptr("USGovVirginia")},
		// 																																																							},
		// 																																																							{
		// 																																																								Category: []*string{
		// 																																																									to.Ptr("MemoryOptimized"),
		// 																																																									to.Ptr("SupportsPremiumStorage")},
		// 																																																									FamilyName: to.Ptr("M_series"),
		// 																																																									TargetLocations: []*string{
		// 																																																										to.Ptr("AustraliaCentral"),
		// 																																																										to.Ptr("AustraliaCentral2"),
		// 																																																										to.Ptr("AustraliaEast"),
		// 																																																										to.Ptr("AustraliaSoutheast"),
		// 																																																										to.Ptr("BrazilSouth"),
		// 																																																										to.Ptr("CanadaCentral"),
		// 																																																										to.Ptr("CanadaEast"),
		// 																																																										to.Ptr("CentralIndia"),
		// 																																																										to.Ptr("CentralUs"),
		// 																																																										to.Ptr("EastAsia"),
		// 																																																										to.Ptr("EastUs"),
		// 																																																										to.Ptr("EastUs2"),
		// 																																																										to.Ptr("FranceCentral"),
		// 																																																										to.Ptr("GermanyNorth"),
		// 																																																										to.Ptr("GermanyWestCentral"),
		// 																																																										to.Ptr("JapanEast"),
		// 																																																										to.Ptr("JapanWest"),
		// 																																																										to.Ptr("KoreaCentral"),
		// 																																																										to.Ptr("KoreaSouth"),
		// 																																																										to.Ptr("NorthCentralUs"),
		// 																																																										to.Ptr("NorthEurope"),
		// 																																																										to.Ptr("NorwayEast"),
		// 																																																										to.Ptr("QatarCentral"),
		// 																																																										to.Ptr("SouthAfricaNorth"),
		// 																																																										to.Ptr("SouthAfricaWest"),
		// 																																																										to.Ptr("SouthCentralUs"),
		// 																																																										to.Ptr("SoutheastAsia"),
		// 																																																										to.Ptr("SouthIndia"),
		// 																																																										to.Ptr("SwedenCentral"),
		// 																																																										to.Ptr("SwitzerlandNorth"),
		// 																																																										to.Ptr("SwitzerlandWest"),
		// 																																																										to.Ptr("UAECentral"),
		// 																																																										to.Ptr("UAENorth"),
		// 																																																										to.Ptr("UkSouth"),
		// 																																																										to.Ptr("UkWest"),
		// 																																																										to.Ptr("WestEurope"),
		// 																																																										to.Ptr("WestUs"),
		// 																																																										to.Ptr("WestUs2"),
		// 																																																										to.Ptr("ChinaEast2"),
		// 																																																										to.Ptr("ChinaNorth2"),
		// 																																																										to.Ptr("USGovArizona"),
		// 																																																										to.Ptr("USGovVirginia")},
		// 																																																									},
		// 																																																									{
		// 																																																										Category: []*string{
		// 																																																											to.Ptr("MemoryOptimized"),
		// 																																																											to.Ptr("SupportsPremiumStorage")},
		// 																																																											FamilyName: to.Ptr("Mdsv2_series"),
		// 																																																											TargetLocations: []*string{
		// 																																																												to.Ptr("AustraliaCentral"),
		// 																																																												to.Ptr("AustraliaEast"),
		// 																																																												to.Ptr("AustraliaSoutheast"),
		// 																																																												to.Ptr("BrazilSouth"),
		// 																																																												to.Ptr("CanadaCentral"),
		// 																																																												to.Ptr("CanadaEast"),
		// 																																																												to.Ptr("CentralIndia"),
		// 																																																												to.Ptr("CentralUs"),
		// 																																																												to.Ptr("EastAsia"),
		// 																																																												to.Ptr("EastUs"),
		// 																																																												to.Ptr("EastUs2"),
		// 																																																												to.Ptr("FranceCentral"),
		// 																																																												to.Ptr("GermanyWestCentral"),
		// 																																																												to.Ptr("JapanEast"),
		// 																																																												to.Ptr("JapanWest"),
		// 																																																												to.Ptr("KoreaCentral"),
		// 																																																												to.Ptr("NorthCentralUs"),
		// 																																																												to.Ptr("NorthEurope"),
		// 																																																												to.Ptr("NorwayEast"),
		// 																																																												to.Ptr("QatarCentral"),
		// 																																																												to.Ptr("SouthAfricaNorth"),
		// 																																																												to.Ptr("SouthCentralUs"),
		// 																																																												to.Ptr("SoutheastAsia"),
		// 																																																												to.Ptr("SouthIndia"),
		// 																																																												to.Ptr("SwedenCentral"),
		// 																																																												to.Ptr("SwitzerlandNorth"),
		// 																																																												to.Ptr("UAECentral"),
		// 																																																												to.Ptr("UAENorth"),
		// 																																																												to.Ptr("UkSouth"),
		// 																																																												to.Ptr("UkWest"),
		// 																																																												to.Ptr("WestEurope"),
		// 																																																												to.Ptr("WestUs"),
		// 																																																												to.Ptr("WestUs2"),
		// 																																																												to.Ptr("ChinaNorth2"),
		// 																																																												to.Ptr("USGovVirginia")},
		// 																																																											},
		// 																																																											{
		// 																																																												Category: []*string{
		// 																																																													to.Ptr("MemoryOptimized"),
		// 																																																													to.Ptr("SupportsPremiumStorage")},
		// 																																																													FamilyName: to.Ptr("Mv2_series"),
		// 																																																													TargetLocations: []*string{
		// 																																																														to.Ptr("AustraliaCentral"),
		// 																																																														to.Ptr("AustraliaCentral2"),
		// 																																																														to.Ptr("AustraliaEast"),
		// 																																																														to.Ptr("AustraliaSoutheast"),
		// 																																																														to.Ptr("BrazilSouth"),
		// 																																																														to.Ptr("CanadaCentral"),
		// 																																																														to.Ptr("CanadaEast"),
		// 																																																														to.Ptr("CentralIndia"),
		// 																																																														to.Ptr("CentralUs"),
		// 																																																														to.Ptr("EastAsia"),
		// 																																																														to.Ptr("EastUs"),
		// 																																																														to.Ptr("EastUs2"),
		// 																																																														to.Ptr("GermanyWestCentral"),
		// 																																																														to.Ptr("JapanEast"),
		// 																																																														to.Ptr("JapanWest"),
		// 																																																														to.Ptr("KoreaCentral"),
		// 																																																														to.Ptr("KoreaSouth"),
		// 																																																														to.Ptr("NorthCentralUs"),
		// 																																																														to.Ptr("NorthEurope"),
		// 																																																														to.Ptr("SouthAfricaNorth"),
		// 																																																														to.Ptr("SouthCentralUs"),
		// 																																																														to.Ptr("SoutheastAsia"),
		// 																																																														to.Ptr("SouthIndia"),
		// 																																																														to.Ptr("SwedenCentral"),
		// 																																																														to.Ptr("SwitzerlandNorth"),
		// 																																																														to.Ptr("SwitzerlandWest"),
		// 																																																														to.Ptr("UAECentral"),
		// 																																																														to.Ptr("UAENorth"),
		// 																																																														to.Ptr("UkSouth"),
		// 																																																														to.Ptr("UkWest"),
		// 																																																														to.Ptr("WestEurope"),
		// 																																																														to.Ptr("WestUs"),
		// 																																																														to.Ptr("WestUs2"),
		// 																																																														to.Ptr("USGovArizona"),
		// 																																																														to.Ptr("USGovVirginia")},
		// 																																																												}},
		// 																																																											},
		// 																																																									}},
		// 																																																								}
	}
}
Output:

type SQLAssessmentOptionsOperationsClientGetOptions

type SQLAssessmentOptionsOperationsClientGetOptions struct {
}

SQLAssessmentOptionsOperationsClientGetOptions contains the optional parameters for the SQLAssessmentOptionsOperationsClient.Get method.

type SQLAssessmentOptionsOperationsClientGetResponse

type SQLAssessmentOptionsOperationsClientGetResponse struct {
	// SQL Assessment options web model object.
	SQLAssessmentOptions
}

SQLAssessmentOptionsOperationsClientGetResponse contains the response from method SQLAssessmentOptionsOperationsClient.Get.

type SQLAssessmentOptionsOperationsClientListByAssessmentProjectOptions

type SQLAssessmentOptionsOperationsClientListByAssessmentProjectOptions struct {
}

SQLAssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the SQLAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.

type SQLAssessmentOptionsOperationsClientListByAssessmentProjectResponse

type SQLAssessmentOptionsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a SqlAssessmentOptions list operation.
	SQLAssessmentOptionsListResult
}

SQLAssessmentOptionsOperationsClientListByAssessmentProjectResponse contains the response from method SQLAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager.

type SQLAssessmentOptionsProperties

type SQLAssessmentOptionsProperties struct {
	// Gets or sets the Reserved Instance SQL target types.
	ReservedInstanceSQLTargets []*TargetType

	// Gets or sets the list of currencies supported for Reserved Instances.
	ReservedInstanceSupportedCurrencies []*AzureCurrency

	// Gets or sets the list of Azure locations supporting Reserved Instances.
	ReservedInstanceSupportedLocations []*AzureLocation

	// Gets or sets the list of Azure locations supporting Reserved Instances for IAAS.
	ReservedInstanceSupportedLocationsForIaas []*AzureLocation

	// Gets or sets the list of offers supported for Reserved Instances.
	ReservedInstanceSupportedOffers []*AzureOfferCode

	// Gets or sets the list of SQL target SKU properties for dropdowns.
	SQLSKUs []*SQLPaaSTargetOptions

	// Gets or sets the list of Azure locations supporting Saving Plans for IAAS.
	SavingsPlanSupportedLocations []*AzureLocation

	// Gets or sets the list of Azure locations supporting Saving Plans for PAAS.
	SavingsPlanSupportedLocationsForPaas []*AzureLocation

	// Gets or sets the list of Azure Offers supporting Saving Plans.
	SavingsPlanSupportedOffers []*AzureOfferCode

	// Gets or sets the Premium disk VM Families list.
	SavingsPlanVMFamilies []*AzureVMFamily

	// Gets or sets the list of offers supported for SQL assessments.
	SupportedOffers []*AzureOfferCode

	// READ-ONLY; Gets the Premium disk VM Families list.
	PremiumDiskVMFamilies []*AzureVMFamily

	// READ-ONLY; Gets the Reserved Instance VM Families list.
	ReservedInstanceVMFamilies []*AzureVMFamily

	// READ-ONLY; Gets the list of VM families.
	VMFamilies []*VMFamilyOptions
}

SQLAssessmentOptionsProperties - SQL Assessment options properties Web model object.

func (SQLAssessmentOptionsProperties) MarshalJSON

func (s SQLAssessmentOptionsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentOptionsProperties.

func (*SQLAssessmentOptionsProperties) UnmarshalJSON

func (s *SQLAssessmentOptionsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentOptionsProperties.

type SQLAssessmentV2

type SQLAssessmentV2 struct {
	// The resource-specific properties for this resource.
	Properties *SQLAssessmentV2Properties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

SQLAssessmentV2 - SQL Assessment REST resource.

func (SQLAssessmentV2) MarshalJSON

func (s SQLAssessmentV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2.

func (*SQLAssessmentV2) UnmarshalJSON

func (s *SQLAssessmentV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2.

type SQLAssessmentV2IaasSuitabilityData

type SQLAssessmentV2IaasSuitabilityData struct {
	// Gets the collection of cost components.
	CostComponents []*CostComponent

	// READ-ONLY; Gets the azure SQL IAAS SKU.
	AzureSQLSKU *AzureSQLIaasSKUDTO

	// READ-ONLY; Gets the list of migration guidelines applicable to this target.
	MigrationGuidelines []*SQLMigrationGuideline

	// READ-ONLY; Gets the list of migrations issues.
	MigrationIssues []*SQLAssessmentMigrationIssue

	// READ-ONLY; Gets the migration target platform.
	MigrationTargetPlatform *TargetType

	// READ-ONLY; Gets the monthly compute cost.
	MonthlyComputeCost *float32

	// READ-ONLY; Gets the monthly storage cost.
	MonthlyStorageCost *float32

	// READ-ONLY; Gets the list of SQL recommendation Reasoning.
	RecommendationReasonings []*SQLRecommendationReasoning

	// READ-ONLY; Gets the replica azure SQL IAAS SKU.
	ReplicaAzureSQLSKU []*AzureSQLIaasSKUDTO

	// READ-ONLY; Gets the replication mode.
	SKUReplicationMode *SKUReplicationMode

	// READ-ONLY; Gets the suitability for Microsoft cloud defender.
	SecuritySuitability *CloudSuitability

	// READ-ONLY; Gets the shared resources.
	SharedResources *SharedResourcesDTO

	// READ-ONLY; Gets a value indicating whether replicas should be provisioned.
	ShouldProvisionReplicas *bool

	// READ-ONLY; Gets the azure suitability.
	Suitability *CloudSuitability
}

SQLAssessmentV2IaasSuitabilityData - Class representing Azure SQL IAAS suitability details.

func (SQLAssessmentV2IaasSuitabilityData) MarshalJSON

func (s SQLAssessmentV2IaasSuitabilityData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2IaasSuitabilityData.

func (*SQLAssessmentV2IaasSuitabilityData) UnmarshalJSON

func (s *SQLAssessmentV2IaasSuitabilityData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2IaasSuitabilityData.

type SQLAssessmentV2ListResult

type SQLAssessmentV2ListResult struct {
	// REQUIRED; The SqlAssessmentV2 items on this page
	Value []*SQLAssessmentV2

	// The link to the next page of items
	NextLink *string
}

SQLAssessmentV2ListResult - The response of a SqlAssessmentV2 list operation.

func (SQLAssessmentV2ListResult) MarshalJSON

func (s SQLAssessmentV2ListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2ListResult.

func (*SQLAssessmentV2ListResult) UnmarshalJSON

func (s *SQLAssessmentV2ListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2ListResult.

type SQLAssessmentV2OperationsClient

type SQLAssessmentV2OperationsClient struct {
	// contains filtered or unexported fields
}

SQLAssessmentV2OperationsClient contains the methods for the SQLAssessmentV2Operations group. Don't use this type directly, use NewSQLAssessmentV2OperationsClient() instead.

func NewSQLAssessmentV2OperationsClient

func NewSQLAssessmentV2OperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SQLAssessmentV2OperationsClient, error)

NewSQLAssessmentV2OperationsClient creates a new instance of SQLAssessmentV2OperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*SQLAssessmentV2OperationsClient) BeginCreate

BeginCreate - Create a SqlAssessmentV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • resource - Resource create parameters.
  • options - SQLAssessmentV2OperationsClientBeginCreateOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2Operations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewSQLAssessmentV2OperationsClient().BeginCreate(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", armmigrationassessment.SQLAssessmentV2{
		Properties: &armmigrationassessment.SQLAssessmentV2Properties{
			AsyncCommitModeIntent: to.Ptr(armmigrationassessment.AsyncCommitModeIntentDisasterRecovery),
			AzureLocation:         to.Ptr("SoutheastAsia"),
			AzureOfferCode:        to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
			AzureOfferCodeForVM:   to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
			AzureSQLDatabaseSettings: &armmigrationassessment.SQLDbSettings{
				AzureSQLComputeTier:   to.Ptr(armmigrationassessment.ComputeTierAutomatic),
				AzureSQLDataBaseType:  to.Ptr(armmigrationassessment.AzureSQLDataBaseTypeSingleDatabase),
				AzureSQLPurchaseModel: to.Ptr(armmigrationassessment.AzureSQLPurchaseModelVCore),
				AzureSQLServiceTier:   to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
			},
			AzureSQLManagedInstanceSettings: &armmigrationassessment.SQLMiSettings{
				AzureSQLInstanceType: to.Ptr(armmigrationassessment.AzureSQLInstanceTypeSingleInstance),
				AzureSQLServiceTier:  to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
			},
			AzureSQLVMSettings: &armmigrationassessment.SQLVMSettings{
				InstanceSeries: []*armmigrationassessment.AzureVMFamily{
					to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series)},
			},
			Currency:                 to.Ptr(armmigrationassessment.AzureCurrencyUSD),
			DisasterRecoveryLocation: to.Ptr(armmigrationassessment.AzureLocationEastAsia),
			DiscountPercentage:       to.Ptr[float32](0),
			EnableHadrAssessment:     to.Ptr(true),
			EntityUptime: &armmigrationassessment.EntityUptime{
				DaysPerMonth: to.Ptr[int32](30),
				HoursPerDay:  to.Ptr[int32](24),
			},
			EnvironmentType:       to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
			MultiSubnetIntent:     to.Ptr(armmigrationassessment.MultiSubnetIntentDisasterRecovery),
			OptimizationLogic:     to.Ptr(armmigrationassessment.OptimizationLogicMinimizeCost),
			OSLicense:             to.Ptr(armmigrationassessment.OsLicenseUnknown),
			Percentile:            to.Ptr(armmigrationassessment.PercentilePercentile95),
			ReservedInstance:      to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
			ReservedInstanceForVM: to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
			ScalingFactor:         to.Ptr[float32](1),
			SizingCriterion:       to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
			SQLServerLicense:      to.Ptr(armmigrationassessment.SQLServerLicenseUnknown),
			TimeRange:             to.Ptr(armmigrationassessment.TimeRangeDay),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.SQLAssessmentV2 = armmigrationassessment.SQLAssessmentV2{
	// 	Name: to.Ptr("test_swagger_1"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.SQLAssessmentV2Properties{
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeSQLAssessment),
	// 		AsyncCommitModeIntent: to.Ptr(armmigrationassessment.AsyncCommitModeIntentHighAvailability),
	// 		AzureLocation: to.Ptr("SoutheastAsia"),
	// 		AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		AzureOfferCodeForVM: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
	// 		AzureSQLDatabaseSettings: &armmigrationassessment.SQLDbSettings{
	// 			AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 			AzureSQLDataBaseType: to.Ptr(armmigrationassessment.AzureSQLDataBaseTypeSingleDatabase),
	// 			AzureSQLPurchaseModel: to.Ptr(armmigrationassessment.AzureSQLPurchaseModelVCore),
	// 			AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
	// 		},
	// 		AzureSQLManagedInstanceSettings: &armmigrationassessment.SQLMiSettings{
	// 			AzureSQLInstanceType: to.Ptr(armmigrationassessment.AzureSQLInstanceTypeSingleInstance),
	// 			AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
	// 		},
	// 		AzureSQLVMSettings: &armmigrationassessment.SQLVMSettings{
	// 			InstanceSeries: []*armmigrationassessment.AzureVMFamily{
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series)},
	// 			},
	// 			ConfidenceRatingInPercentage: to.Ptr[float32](0),
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:21:45.980Z"); return t}()),
	// 			Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 			DisasterRecoveryLocation: to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 			DiscountPercentage: to.Ptr[float32](0),
	// 			EnableHadrAssessment: to.Ptr(true),
	// 			EntityUptime: &armmigrationassessment.EntityUptime{
	// 				DaysPerMonth: to.Ptr[int32](31),
	// 				HoursPerDay: to.Ptr[int32](24),
	// 			},
	// 			EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
	// 			GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 			IsInternetAccessAvailable: to.Ptr(false),
	// 			MultiSubnetIntent: to.Ptr(armmigrationassessment.MultiSubnetIntentHighAvailability),
	// 			OptimizationLogic: to.Ptr(armmigrationassessment.OptimizationLogicMinimizeCost),
	// 			OSLicense: to.Ptr(armmigrationassessment.OsLicenseYes),
	// 			Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
	// 			PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:21:45.964Z"); return t}()),
	// 			PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-07T05:21:45.964Z"); return t}()),
	// 			PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
	// 			ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 			ReservedInstanceForVM: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 			ScalingFactor: to.Ptr[float32](1),
	// 			SchemaVersion: to.Ptr("2.0"),
	// 			SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 			SQLServerLicense: to.Ptr(armmigrationassessment.SQLServerLicenseYes),
	// 			Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 			Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
	// 			TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:23:45.268Z"); return t}()),
	// 		},
	// 	}
}
Output:

func (*SQLAssessmentV2OperationsClient) BeginDownloadURL

func (client *SQLAssessmentV2OperationsClient) BeginDownloadURL(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, body any, options *SQLAssessmentV2OperationsClientBeginDownloadURLOptions) (*runtime.Poller[SQLAssessmentV2OperationsClientDownloadURLResponse], error)

BeginDownloadURL - Get the URL for downloading the assessment in a report format. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • body - The content of the action request
  • options - SQLAssessmentV2OperationsClientBeginDownloadURLOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.BeginDownloadURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2Operations_DownloadUrl_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewSQLAssessmentV2OperationsClient().BeginDownloadURL(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.DownloadURL = armmigrationassessment.DownloadURL{
	// 	AssessmentReportURL: to.Ptr("fagqmlysjfwtt"),
	// 	ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-15T07:22:40.818Z"); return t}()),
	// }
}
Output:

func (*SQLAssessmentV2OperationsClient) Delete

func (client *SQLAssessmentV2OperationsClient) Delete(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, options *SQLAssessmentV2OperationsClientDeleteOptions) (SQLAssessmentV2OperationsClientDeleteResponse, error)

Delete - Delete a SqlAssessmentV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - SQLAssessmentV2OperationsClientDeleteOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2Operations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewSQLAssessmentV2OperationsClient().Delete(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*SQLAssessmentV2OperationsClient) Get

func (client *SQLAssessmentV2OperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, options *SQLAssessmentV2OperationsClientGetOptions) (SQLAssessmentV2OperationsClientGetResponse, error)

Get - Get a SqlAssessmentV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - SQLAssessmentV2OperationsClientGetOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2Operations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewSQLAssessmentV2OperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.SQLAssessmentV2 = armmigrationassessment.SQLAssessmentV2{
	// 	Name: to.Ptr("test_swagger_1"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.SQLAssessmentV2Properties{
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeSQLAssessment),
	// 		AsyncCommitModeIntent: to.Ptr(armmigrationassessment.AsyncCommitModeIntentHighAvailability),
	// 		AzureLocation: to.Ptr("SoutheastAsia"),
	// 		AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		AzureOfferCodeForVM: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
	// 		AzureSQLDatabaseSettings: &armmigrationassessment.SQLDbSettings{
	// 			AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
	// 			AzureSQLDataBaseType: to.Ptr(armmigrationassessment.AzureSQLDataBaseTypeSingleDatabase),
	// 			AzureSQLPurchaseModel: to.Ptr(armmigrationassessment.AzureSQLPurchaseModelVCore),
	// 			AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
	// 		},
	// 		AzureSQLManagedInstanceSettings: &armmigrationassessment.SQLMiSettings{
	// 			AzureSQLInstanceType: to.Ptr(armmigrationassessment.AzureSQLInstanceTypeSingleInstance),
	// 			AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
	// 		},
	// 		AzureSQLVMSettings: &armmigrationassessment.SQLVMSettings{
	// 			InstanceSeries: []*armmigrationassessment.AzureVMFamily{
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
	// 				to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series)},
	// 			},
	// 			ConfidenceRatingInPercentage: to.Ptr[float32](0),
	// 			CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:21:45.980Z"); return t}()),
	// 			Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 			DisasterRecoveryLocation: to.Ptr(armmigrationassessment.AzureLocationEastAsia),
	// 			DiscountPercentage: to.Ptr[float32](0),
	// 			EnableHadrAssessment: to.Ptr(true),
	// 			EntityUptime: &armmigrationassessment.EntityUptime{
	// 				DaysPerMonth: to.Ptr[int32](31),
	// 				HoursPerDay: to.Ptr[int32](24),
	// 			},
	// 			EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
	// 			GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 			IsInternetAccessAvailable: to.Ptr(false),
	// 			MultiSubnetIntent: to.Ptr(armmigrationassessment.MultiSubnetIntentHighAvailability),
	// 			OptimizationLogic: to.Ptr(armmigrationassessment.OptimizationLogicMinimizeCost),
	// 			OSLicense: to.Ptr(armmigrationassessment.OsLicenseYes),
	// 			Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
	// 			PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:21:45.964Z"); return t}()),
	// 			PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-07T05:21:45.964Z"); return t}()),
	// 			PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
	// 			ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 			ReservedInstanceForVM: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
	// 			ScalingFactor: to.Ptr[float32](1),
	// 			SchemaVersion: to.Ptr("2.0"),
	// 			SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 			SQLServerLicense: to.Ptr(armmigrationassessment.SQLServerLicenseYes),
	// 			Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 			Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
	// 			TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 			UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:23:45.268Z"); return t}()),
	// 		},
	// 	}
}
Output:

func (*SQLAssessmentV2OperationsClient) NewListByGroupPager

NewListByGroupPager - List SqlAssessmentV2 resources by Group

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • options - SQLAssessmentV2OperationsClientListByGroupOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.NewListByGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2Operations_ListByGroup_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewSQLAssessmentV2OperationsClient().NewListByGroupPager("rgmigrate", "fci-test6904project", "test_fci_hadr", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.SQLAssessmentV2ListResult = armmigrationassessment.SQLAssessmentV2ListResult{
		// 	Value: []*armmigrationassessment.SQLAssessmentV2{
		// 		{
		// 			Name: to.Ptr("test_assmt_hadr_1"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_assmt_hadr_1"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.SQLAssessmentV2Properties{
		// 				AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeSQLAssessment),
		// 				AsyncCommitModeIntent: to.Ptr(armmigrationassessment.AsyncCommitModeIntentHighAvailability),
		// 				AzureLocation: to.Ptr("SoutheastAsia"),
		// 				AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 				AzureOfferCodeForVM: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 				AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
		// 				AzureSQLDatabaseSettings: &armmigrationassessment.SQLDbSettings{
		// 					AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 					AzureSQLDataBaseType: to.Ptr(armmigrationassessment.AzureSQLDataBaseTypeSingleDatabase),
		// 					AzureSQLPurchaseModel: to.Ptr(armmigrationassessment.AzureSQLPurchaseModelVCore),
		// 					AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
		// 				},
		// 				AzureSQLManagedInstanceSettings: &armmigrationassessment.SQLMiSettings{
		// 					AzureSQLInstanceType: to.Ptr(armmigrationassessment.AzureSQLInstanceTypeSingleInstance),
		// 					AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
		// 				},
		// 				AzureSQLVMSettings: &armmigrationassessment.SQLVMSettings{
		// 					InstanceSeries: []*armmigrationassessment.AzureVMFamily{
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 						to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series)},
		// 					},
		// 					ConfidenceRatingInPercentage: to.Ptr[float32](0),
		// 					CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-01-04T14:17:43.174Z"); return t}()),
		// 					Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 					DisasterRecoveryLocation: to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 					DiscountPercentage: to.Ptr[float32](0),
		// 					EnableHadrAssessment: to.Ptr(true),
		// 					EntityUptime: &armmigrationassessment.EntityUptime{
		// 						DaysPerMonth: to.Ptr[int32](31),
		// 						HoursPerDay: to.Ptr[int32](24),
		// 					},
		// 					EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
		// 					GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 					IsInternetAccessAvailable: to.Ptr(false),
		// 					MultiSubnetIntent: to.Ptr(armmigrationassessment.MultiSubnetIntentHighAvailability),
		// 					OptimizationLogic: to.Ptr(armmigrationassessment.OptimizationLogicMinimizeCost),
		// 					OSLicense: to.Ptr(armmigrationassessment.OsLicenseYes),
		// 					Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
		// 					PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-17T16:14:03.477Z"); return t}()),
		// 					PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T16:14:03.477Z"); return t}()),
		// 					PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-12-20T00:00:00.000Z"); return t}()),
		// 					ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 					ReservedInstanceForVM: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 					ScalingFactor: to.Ptr[float32](1),
		// 					SchemaVersion: to.Ptr("2.0"),
		// 					SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 					SQLServerLicense: to.Ptr(armmigrationassessment.SQLServerLicenseYes),
		// 					Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
		// 					Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
		// 					TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 					UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-17T16:16:25.152Z"); return t}()),
		// 				},
		// 			},
		// 			{
		// 				Name: to.Ptr("test_assmt_hadr_2"),
		// 				Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments"),
		// 				ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_assmt_hadr_2"),
		// 				SystemData: &armmigrationassessment.SystemData{
		// 					CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				},
		// 				Properties: &armmigrationassessment.SQLAssessmentV2Properties{
		// 					AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeSQLAssessment),
		// 					AsyncCommitModeIntent: to.Ptr(armmigrationassessment.AsyncCommitModeIntentHighAvailability),
		// 					AzureLocation: to.Ptr("SoutheastAsia"),
		// 					AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 					AzureOfferCodeForVM: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 					AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
		// 					AzureSQLDatabaseSettings: &armmigrationassessment.SQLDbSettings{
		// 						AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 						AzureSQLDataBaseType: to.Ptr(armmigrationassessment.AzureSQLDataBaseTypeSingleDatabase),
		// 						AzureSQLPurchaseModel: to.Ptr(armmigrationassessment.AzureSQLPurchaseModelVCore),
		// 						AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
		// 					},
		// 					AzureSQLManagedInstanceSettings: &armmigrationassessment.SQLMiSettings{
		// 						AzureSQLInstanceType: to.Ptr(armmigrationassessment.AzureSQLInstanceTypeSingleInstance),
		// 						AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
		// 					},
		// 					AzureSQLVMSettings: &armmigrationassessment.SQLVMSettings{
		// 						InstanceSeries: []*armmigrationassessment.AzureVMFamily{
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 							to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series)},
		// 						},
		// 						ConfidenceRatingInPercentage: to.Ptr[float32](0),
		// 						CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-07T07:47:29.692Z"); return t}()),
		// 						Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 						DisasterRecoveryLocation: to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 						DiscountPercentage: to.Ptr[float32](0),
		// 						EnableHadrAssessment: to.Ptr(true),
		// 						EntityUptime: &armmigrationassessment.EntityUptime{
		// 							DaysPerMonth: to.Ptr[int32](31),
		// 							HoursPerDay: to.Ptr[int32](24),
		// 						},
		// 						EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
		// 						GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 						IsInternetAccessAvailable: to.Ptr(false),
		// 						MultiSubnetIntent: to.Ptr(armmigrationassessment.MultiSubnetIntentHighAvailability),
		// 						OptimizationLogic: to.Ptr(armmigrationassessment.OptimizationLogicMinimizeCost),
		// 						OSLicense: to.Ptr(armmigrationassessment.OsLicenseYes),
		// 						Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
		// 						PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-07T07:47:29.676Z"); return t}()),
		// 						PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-06T07:47:29.676Z"); return t}()),
		// 						PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
		// 						ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 						ReservedInstanceForVM: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 						ScalingFactor: to.Ptr[float32](1),
		// 						SchemaVersion: to.Ptr("2.0"),
		// 						SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 						SQLServerLicense: to.Ptr(armmigrationassessment.SQLServerLicenseYes),
		// 						Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
		// 						Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
		// 						TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 						UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-07T07:49:26.573Z"); return t}()),
		// 					},
		// 				},
		// 				{
		// 					Name: to.Ptr("test_swagger_1"),
		// 					Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments"),
		// 					ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1"),
		// 					SystemData: &armmigrationassessment.SystemData{
		// 						CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 						LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 					},
		// 					Properties: &armmigrationassessment.SQLAssessmentV2Properties{
		// 						AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeSQLAssessment),
		// 						AsyncCommitModeIntent: to.Ptr(armmigrationassessment.AsyncCommitModeIntentHighAvailability),
		// 						AzureLocation: to.Ptr("SoutheastAsia"),
		// 						AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 						AzureOfferCodeForVM: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 						AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
		// 						AzureSQLDatabaseSettings: &armmigrationassessment.SQLDbSettings{
		// 							AzureSQLComputeTier: to.Ptr(armmigrationassessment.ComputeTierProvisioned),
		// 							AzureSQLDataBaseType: to.Ptr(armmigrationassessment.AzureSQLDataBaseTypeSingleDatabase),
		// 							AzureSQLPurchaseModel: to.Ptr(armmigrationassessment.AzureSQLPurchaseModelVCore),
		// 							AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
		// 						},
		// 						AzureSQLManagedInstanceSettings: &armmigrationassessment.SQLMiSettings{
		// 							AzureSQLInstanceType: to.Ptr(armmigrationassessment.AzureSQLInstanceTypeSingleInstance),
		// 							AzureSQLServiceTier: to.Ptr(armmigrationassessment.AzureSQLServiceTierAutomatic),
		// 						},
		// 						AzureSQLVMSettings: &armmigrationassessment.SQLVMSettings{
		// 							InstanceSeries: []*armmigrationassessment.AzureVMFamily{
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyDadsv5Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyDasv4Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyDdsv4Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyDdsv5Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyEadsv5Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyEasv4Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyEbdsv5Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyEbsv5Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyEdsv4Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyEdsv5Series),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyMSeries),
		// 								to.Ptr(armmigrationassessment.AzureVMFamilyMdsv2Series)},
		// 							},
		// 							ConfidenceRatingInPercentage: to.Ptr[float32](0),
		// 							CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:21:45.980Z"); return t}()),
		// 							Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 							DisasterRecoveryLocation: to.Ptr(armmigrationassessment.AzureLocationEastAsia),
		// 							DiscountPercentage: to.Ptr[float32](0),
		// 							EnableHadrAssessment: to.Ptr(true),
		// 							EntityUptime: &armmigrationassessment.EntityUptime{
		// 								DaysPerMonth: to.Ptr[int32](31),
		// 								HoursPerDay: to.Ptr[int32](24),
		// 							},
		// 							EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
		// 							GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 							IsInternetAccessAvailable: to.Ptr(false),
		// 							MultiSubnetIntent: to.Ptr(armmigrationassessment.MultiSubnetIntentHighAvailability),
		// 							OptimizationLogic: to.Ptr(armmigrationassessment.OptimizationLogicMinimizeCost),
		// 							OSLicense: to.Ptr(armmigrationassessment.OsLicenseYes),
		// 							Percentile: to.Ptr(armmigrationassessment.PercentilePercentile95),
		// 							PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:21:45.964Z"); return t}()),
		// 							PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-07T05:21:45.964Z"); return t}()),
		// 							PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-08-15T16:00:00.000Z"); return t}()),
		// 							ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 							ReservedInstanceForVM: to.Ptr(armmigrationassessment.AzureReservedInstanceRI3Year),
		// 							ScalingFactor: to.Ptr[float32](1),
		// 							SchemaVersion: to.Ptr("2.0"),
		// 							SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 							SQLServerLicense: to.Ptr(armmigrationassessment.SQLServerLicenseYes),
		// 							Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
		// 							Status: to.Ptr(armmigrationassessment.AssessmentStatusCompleted),
		// 							TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 							UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-08T05:23:45.268Z"); return t}()),
		// 						},
		// 				}},
		// 			}
	}
}
Output:

type SQLAssessmentV2OperationsClientBeginCreateOptions

type SQLAssessmentV2OperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

SQLAssessmentV2OperationsClientBeginCreateOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.BeginCreate method.

type SQLAssessmentV2OperationsClientBeginDownloadURLOptions

type SQLAssessmentV2OperationsClientBeginDownloadURLOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

SQLAssessmentV2OperationsClientBeginDownloadURLOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.BeginDownloadURL method.

type SQLAssessmentV2OperationsClientCreateResponse

type SQLAssessmentV2OperationsClientCreateResponse struct {
	// SQL Assessment REST resource.
	SQLAssessmentV2
}

SQLAssessmentV2OperationsClientCreateResponse contains the response from method SQLAssessmentV2OperationsClient.BeginCreate.

type SQLAssessmentV2OperationsClientDeleteOptions

type SQLAssessmentV2OperationsClientDeleteOptions struct {
}

SQLAssessmentV2OperationsClientDeleteOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.Delete method.

type SQLAssessmentV2OperationsClientDeleteResponse

type SQLAssessmentV2OperationsClientDeleteResponse struct {
}

SQLAssessmentV2OperationsClientDeleteResponse contains the response from method SQLAssessmentV2OperationsClient.Delete.

type SQLAssessmentV2OperationsClientDownloadURLResponse

type SQLAssessmentV2OperationsClientDownloadURLResponse struct {
	// Data model of Download URL for assessment report.
	DownloadURL
}

SQLAssessmentV2OperationsClientDownloadURLResponse contains the response from method SQLAssessmentV2OperationsClient.BeginDownloadURL.

type SQLAssessmentV2OperationsClientGetOptions

type SQLAssessmentV2OperationsClientGetOptions struct {
}

SQLAssessmentV2OperationsClientGetOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.Get method.

type SQLAssessmentV2OperationsClientGetResponse

type SQLAssessmentV2OperationsClientGetResponse struct {
	// SQL Assessment REST resource.
	SQLAssessmentV2
}

SQLAssessmentV2OperationsClientGetResponse contains the response from method SQLAssessmentV2OperationsClient.Get.

type SQLAssessmentV2OperationsClientListByGroupOptions

type SQLAssessmentV2OperationsClientListByGroupOptions struct {
}

SQLAssessmentV2OperationsClientListByGroupOptions contains the optional parameters for the SQLAssessmentV2OperationsClient.NewListByGroupPager method.

type SQLAssessmentV2OperationsClientListByGroupResponse

type SQLAssessmentV2OperationsClientListByGroupResponse struct {
	// The response of a SqlAssessmentV2 list operation.
	SQLAssessmentV2ListResult
}

SQLAssessmentV2OperationsClientListByGroupResponse contains the response from method SQLAssessmentV2OperationsClient.NewListByGroupPager.

type SQLAssessmentV2PaasSuitabilityData

type SQLAssessmentV2PaasSuitabilityData struct {
	// Gets the collection of cost components.
	CostComponents []*CostComponent

	// READ-ONLY; Gets the azure SQL PAAS SKU.
	AzureSQLSKU *AzureSQLPaasSKUDTO

	// READ-ONLY; Gets the list of migration guidelines applicable to this target.
	MigrationGuidelines []*SQLMigrationGuideline

	// READ-ONLY; Gets the list of migrations issues.
	MigrationIssues []*SQLAssessmentMigrationIssue

	// READ-ONLY; Gets the migration target platform.
	MigrationTargetPlatform *TargetType

	// READ-ONLY; Gets the monthly compute cost.
	MonthlyComputeCost *float32

	// READ-ONLY; Gets the monthly storage cost.
	MonthlyStorageCost *float32

	// READ-ONLY; Gets the list of SQL recommendation Reasoning.
	RecommendationReasonings []*SQLRecommendationReasoning

	// READ-ONLY; Gets the replica azure SQL PAAS SKU.
	ReplicaAzureSQLSKU []*AzureSQLPaasSKUDTO

	// READ-ONLY; Gets the replication mode.
	SKUReplicationMode *SKUReplicationMode

	// READ-ONLY; Gets the suitability for Microsoft cloud defender.
	SecuritySuitability *CloudSuitability

	// READ-ONLY; Gets the shared resources.
	SharedResources *SharedResourcesDTO

	// READ-ONLY; Gets a value indicating whether replicas should be provisioned.
	ShouldProvisionReplicas *bool

	// READ-ONLY; Gets the azure suitability.
	Suitability *CloudSuitability
}

SQLAssessmentV2PaasSuitabilityData - Class representing Azure SQL PAAS suitability details.

func (SQLAssessmentV2PaasSuitabilityData) MarshalJSON

func (s SQLAssessmentV2PaasSuitabilityData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2PaasSuitabilityData.

func (*SQLAssessmentV2PaasSuitabilityData) UnmarshalJSON

func (s *SQLAssessmentV2PaasSuitabilityData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2PaasSuitabilityData.

type SQLAssessmentV2Properties

type SQLAssessmentV2Properties struct {
	// Assessment type of the assessment.
	AssessmentType *AssessmentType

	// Gets or sets user preference indicating intent of async commit mode.
	AsyncCommitModeIntent *AsyncCommitModeIntent

	// Azure Location or Azure region where to which the machines will be migrated.
	AzureLocation *string

	// Azure Offer Code.
	AzureOfferCode *AzureOfferCode

	// Gets or sets Azure Offer Code for VM.
	AzureOfferCodeForVM *AzureOfferCode

	// Gets or sets user configurable SQL database settings.
	AzureSQLDatabaseSettings *SQLDbSettings

	// Gets or sets user configurable SQL managed instance settings.
	AzureSQLManagedInstanceSettings *SQLMiSettings

	// Gets or sets user configurable SQL VM settings.
	AzureSQLVMSettings *SQLVMSettings

	// Gets or sets a value indicating azure security offering type.
	AzureSecurityOfferingType *AzureSecurityOfferingType

	// Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// Currency in which prices should be reported.
	Currency *AzureCurrency

	// Gets or sets the Azure Location or Azure region where to which the machines will be migrated.
	DisasterRecoveryLocation *AzureLocation

	// Custom discount percentage.
	DiscountPercentage *float32

	// Gets or sets the Enterprise agreement subscription id.
	EaSubscriptionID *string

	// Gets or sets a value indicating whether HADR assessments needs to be created.
	EnableHadrAssessment *bool

	// Gets or sets the duration for which the entity (SQL, VMs) are up in the on-premises environment.
	EntityUptime *EntityUptime

	// Gets or sets user configurable setting to display the environment type.
	EnvironmentType *EnvironmentType

	// Gets the group type for the assessment.
	GroupType *GroupType

	// Gets or sets a value indicating whether internet access is available.
	IsInternetAccessAvailable *bool

	// Gets or sets user preference indicating intent of multi-subnet configuration.
	MultiSubnetIntent *MultiSubnetIntent

	// Gets or sets user configurable setting to display the azure hybrid use benefit.
	OSLicense *OsLicense

	// Gets or sets SQL optimization logic.
	OptimizationLogic *OptimizationLogic

	// Percentile of the utilization data values to be considered while assessing machines.
	Percentile *Percentile

	// Gets or sets the end time to consider performance data for assessment.
	PerfDataEndTime *time.Time

	// Gets or sets the start time to consider performance data for assessment.
	PerfDataStartTime *time.Time

	// The status of the last operation.
	ProvisioningState *ProvisioningState

	// Reserved instance.
	ReservedInstance *AzureReservedInstance

	// Gets or sets azure reserved instance for VM.
	ReservedInstanceForVM *AzureReservedInstance

	// SQL server license.
	SQLServerLicense *SQLServerLicense

	// Percentage of buffer that user wants on performance metrics when recommending Azure sizes.
	ScalingFactor *float32

	// Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// Time Range for which the historic utilization data should be considered for assessment.
	TimeRange *TimeRange

	// READ-ONLY; Date and Time when assessment was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Last time when rates were queried.
	PricesTimestamp *time.Time

	// READ-ONLY; Schema version.
	SchemaVersion *string

	// READ-ONLY; User configurable setting to display the Stage of Assessment.
	Stage *AssessmentStage

	// READ-ONLY; Whether assessment is in valid state and all machines have been assessed.
	Status *AssessmentStatus

	// READ-ONLY; Date and Time when assessment was last updated.
	UpdatedTimestamp *time.Time
}

SQLAssessmentV2Properties - SQL assessment properties class.

func (SQLAssessmentV2Properties) MarshalJSON

func (s SQLAssessmentV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2Properties.

func (*SQLAssessmentV2Properties) UnmarshalJSON

func (s *SQLAssessmentV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2Properties.

type SQLAssessmentV2Summary

type SQLAssessmentV2Summary struct {
	// The resource-specific properties for this resource.
	Properties *SQLAssessmentV2SummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

SQLAssessmentV2Summary - SQL Assessment REST resource.

func (SQLAssessmentV2Summary) MarshalJSON

func (s SQLAssessmentV2Summary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2Summary.

func (*SQLAssessmentV2Summary) UnmarshalJSON

func (s *SQLAssessmentV2Summary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2Summary.

type SQLAssessmentV2SummaryData

type SQLAssessmentV2SummaryData struct {
	// READ-ONLY; Confidence Rating
	ConfidenceScore *float32

	// READ-ONLY; Monthly compute cost
	MonthlyComputeCost *float32

	// READ-ONLY; Monthly license cost
	MonthlyLicenseCost *float32

	// READ-ONLY; Monthly security cost
	MonthlySecurityCost *float32

	// READ-ONLY; Monthly storage cost
	MonthlyStorageCost *float32

	// READ-ONLY; Sql assessment summary data
	SuitabilitySummary map[string]*int32
}

SQLAssessmentV2SummaryData - SQL Assessment V2 summary data.

func (SQLAssessmentV2SummaryData) MarshalJSON

func (s SQLAssessmentV2SummaryData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2SummaryData.

func (*SQLAssessmentV2SummaryData) UnmarshalJSON

func (s *SQLAssessmentV2SummaryData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2SummaryData.

type SQLAssessmentV2SummaryListResult

type SQLAssessmentV2SummaryListResult struct {
	// REQUIRED; The SqlAssessmentV2Summary items on this page
	Value []*SQLAssessmentV2Summary

	// The link to the next page of items
	NextLink *string
}

SQLAssessmentV2SummaryListResult - The response of a SqlAssessmentV2Summary list operation.

func (SQLAssessmentV2SummaryListResult) MarshalJSON

func (s SQLAssessmentV2SummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2SummaryListResult.

func (*SQLAssessmentV2SummaryListResult) UnmarshalJSON

func (s *SQLAssessmentV2SummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2SummaryListResult.

type SQLAssessmentV2SummaryOperationsClient

type SQLAssessmentV2SummaryOperationsClient struct {
	// contains filtered or unexported fields
}

SQLAssessmentV2SummaryOperationsClient contains the methods for the SQLAssessmentV2SummaryOperations group. Don't use this type directly, use NewSQLAssessmentV2SummaryOperationsClient() instead.

func NewSQLAssessmentV2SummaryOperationsClient

func NewSQLAssessmentV2SummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SQLAssessmentV2SummaryOperationsClient, error)

NewSQLAssessmentV2SummaryOperationsClient creates a new instance of SQLAssessmentV2SummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*SQLAssessmentV2SummaryOperationsClient) Get

Get - Get a SqlAssessmentV2Summary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • summaryName - Gets the Name of the SQL Summary.
  • options - SQLAssessmentV2SummaryOperationsClientGetOptions contains the optional parameters for the SQLAssessmentV2SummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2SummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewSQLAssessmentV2SummaryOperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.SQLAssessmentV2Summary = armmigrationassessment.SQLAssessmentV2Summary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/summaries"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/summaries/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.SQLAssessmentV2SummaryProperties{
	// 		AssessmentSummary: map[string]*armmigrationassessment.SQLAssessmentV2SummaryData{
	// 			"azureSqlDatabase": &armmigrationassessment.SQLAssessmentV2SummaryData{
	// 				ConfidenceScore: to.Ptr[float32](0),
	// 				MonthlyComputeCost: to.Ptr[float32](175079.0739839982),
	// 				MonthlyLicenseCost: to.Ptr[float32](214401.07883999476),
	// 				MonthlySecurityCost: to.Ptr[float32](0),
	// 				MonthlyStorageCost: to.Ptr[float32](1054.8825000000395),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"readinessUnknown": to.Ptr[int32](1468),
	// 					"suitableForSqlDB": to.Ptr[int32](16),
	// 				},
	// 			},
	// 			"azureSqlManagedInstance": &armmigrationassessment.SQLAssessmentV2SummaryData{
	// 				ConfidenceScore: to.Ptr[float32](0),
	// 				MonthlyComputeCost: to.Ptr[float32](4581.992448),
	// 				MonthlyLicenseCost: to.Ptr[float32](6568.510799999999),
	// 				MonthlySecurityCost: to.Ptr[float32](0),
	// 				MonthlyStorageCost: to.Ptr[float32](0),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"notSuitable": to.Ptr[int32](7),
	// 					"readinessUnknown": to.Ptr[int32](15),
	// 					"suitableForSqlMI": to.Ptr[int32](1),
	// 				},
	// 			},
	// 			"azureSqlVirtualMachine": &armmigrationassessment.SQLAssessmentV2SummaryData{
	// 				ConfidenceScore: to.Ptr[float32](0),
	// 				MonthlyComputeCost: to.Ptr[float32](889.4966399999996),
	// 				MonthlyLicenseCost: to.Ptr[float32](25281.36),
	// 				MonthlySecurityCost: to.Ptr[float32](0),
	// 				MonthlyStorageCost: to.Ptr[float32](73.94399999999999),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"readinessUnknown": to.Ptr[int32](2),
	// 					"suitableForSqlVM": to.Ptr[int32](21),
	// 				},
	// 			},
	// 			"azureVirtualMachine": &armmigrationassessment.SQLAssessmentV2SummaryData{
	// 				ConfidenceScore: to.Ptr[float32](0),
	// 				MonthlyComputeCost: to.Ptr[float32](625.9420799999998),
	// 				MonthlyLicenseCost: to.Ptr[float32](1300.5120000000002),
	// 				MonthlySecurityCost: to.Ptr[float32](0),
	// 				MonthlyStorageCost: to.Ptr[float32](374.48999999999995),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"suitableForVM": to.Ptr[int32](19),
	// 				},
	// 			},
	// 			"recommended": &armmigrationassessment.SQLAssessmentV2SummaryData{
	// 				ConfidenceScore: to.Ptr[float32](0),
	// 				MonthlyComputeCost: to.Ptr[float32](823.6079999999997),
	// 				MonthlyLicenseCost: to.Ptr[float32](22912.896),
	// 				MonthlySecurityCost: to.Ptr[float32](0),
	// 				MonthlyStorageCost: to.Ptr[float32](100.88400000000001),
	// 				SuitabilitySummary: map[string]*int32{
	// 					"suitableForSqlVM": to.Ptr[int32](19),
	// 					"suitableForVM": to.Ptr[int32](4),
	// 				},
	// 			},
	// 		},
	// 		DatabaseDistributionBySizingCriterion: map[string]*int32{
	// 			"asOnPremises": to.Ptr[int32](0),
	// 			"perfBasedFallbackToAsOnPremises": to.Ptr[int32](1484),
	// 			"performanceBased": to.Ptr[int32](0),
	// 		},
	// 		DistributionByServicePackInsight: map[string]*int32{
	// 			"unknown": to.Ptr[int32](23),
	// 		},
	// 		DistributionBySQLEdition: map[string]*int32{
	// 			"enterprise Edition (64-bit)": to.Ptr[int32](1),
	// 			"enterprise Edition: Core-based Licensing": to.Ptr[int32](1),
	// 			"enterprise Edition: Core-based Licensing (64-bit)": to.Ptr[int32](15),
	// 			"enterprise Evaluation Edition (64-bit)": to.Ptr[int32](1),
	// 			"express Edition (64-bit)": to.Ptr[int32](2),
	// 			"standard Edition (64-bit)": to.Ptr[int32](2),
	// 			"web Edition": to.Ptr[int32](1),
	// 		},
	// 		DistributionBySQLVersion: map[string]*int32{
	// 			"sql Server 2012": to.Ptr[int32](9),
	// 			"sql Server 2014": to.Ptr[int32](4),
	// 			"sql Server 2016": to.Ptr[int32](5),
	// 			"sql Server 2017": to.Ptr[int32](2),
	// 			"sql Server 2019": to.Ptr[int32](3),
	// 		},
	// 		DistributionBySupportStatus: map[string]*int32{
	// 			"extended": to.Ptr[int32](11),
	// 			"mainstream": to.Ptr[int32](3),
	// 			"outOfSupport": to.Ptr[int32](9),
	// 		},
	// 		InstanceDistributionBySizingCriterion: map[string]*int32{
	// 			"asOnPremises": to.Ptr[int32](0),
	// 			"perfBasedFallbackToAsOnPremises": to.Ptr[int32](23),
	// 			"performanceBased": to.Ptr[int32](0),
	// 		},
	// 		NumberOfFciInstances: to.Ptr[int32](4),
	// 		NumberOfMachines: to.Ptr[int32](19),
	// 		NumberOfSQLAvailabilityGroups: to.Ptr[int32](5),
	// 		NumberOfSQLDatabases: to.Ptr[int32](1484),
	// 		NumberOfSQLInstances: to.Ptr[int32](23),
	// 	},
	// }
}
Output:

func (*SQLAssessmentV2SummaryOperationsClient) NewListBySQLAssessmentV2Pager

NewListBySQLAssessmentV2Pager - List SqlAssessmentV2Summary resources by SqlAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - SQL Assessment arm name.
  • options - SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Options contains the optional parameters for the SQLAssessmentV2SummaryOperationsClient.NewListBySQLAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlAssessmentV2SummaryOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewSQLAssessmentV2SummaryOperationsClient().NewListBySQLAssessmentV2Pager("rgmigrate", "fci-test6904project", "test_fci_hadr", "test_swagger_1", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.SQLAssessmentV2SummaryListResult = armmigrationassessment.SQLAssessmentV2SummaryListResult{
		// 	Value: []*armmigrationassessment.SQLAssessmentV2Summary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/sqlAssessments/summaries"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/groups/test_fci_hadr/sqlAssessments/test_swagger_1/summaries/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.SQLAssessmentV2SummaryProperties{
		// 				AssessmentSummary: map[string]*armmigrationassessment.SQLAssessmentV2SummaryData{
		// 					"azureSqlDatabase": &armmigrationassessment.SQLAssessmentV2SummaryData{
		// 						ConfidenceScore: to.Ptr[float32](0),
		// 						MonthlyComputeCost: to.Ptr[float32](175079.0739839982),
		// 						MonthlyLicenseCost: to.Ptr[float32](214401.07883999476),
		// 						MonthlySecurityCost: to.Ptr[float32](0),
		// 						MonthlyStorageCost: to.Ptr[float32](1054.8825000000395),
		// 						SuitabilitySummary: map[string]*int32{
		// 							"readinessUnknown": to.Ptr[int32](1468),
		// 							"suitableForSqlDB": to.Ptr[int32](16),
		// 						},
		// 					},
		// 					"azureSqlManagedInstance": &armmigrationassessment.SQLAssessmentV2SummaryData{
		// 						ConfidenceScore: to.Ptr[float32](0),
		// 						MonthlyComputeCost: to.Ptr[float32](4581.992448),
		// 						MonthlyLicenseCost: to.Ptr[float32](6568.510799999999),
		// 						MonthlySecurityCost: to.Ptr[float32](0),
		// 						MonthlyStorageCost: to.Ptr[float32](0),
		// 						SuitabilitySummary: map[string]*int32{
		// 							"notSuitable": to.Ptr[int32](7),
		// 							"readinessUnknown": to.Ptr[int32](15),
		// 							"suitableForSqlMI": to.Ptr[int32](1),
		// 						},
		// 					},
		// 					"azureSqlVirtualMachine": &armmigrationassessment.SQLAssessmentV2SummaryData{
		// 						ConfidenceScore: to.Ptr[float32](0),
		// 						MonthlyComputeCost: to.Ptr[float32](889.4966399999996),
		// 						MonthlyLicenseCost: to.Ptr[float32](25281.36),
		// 						MonthlySecurityCost: to.Ptr[float32](0),
		// 						MonthlyStorageCost: to.Ptr[float32](73.94399999999999),
		// 						SuitabilitySummary: map[string]*int32{
		// 							"readinessUnknown": to.Ptr[int32](2),
		// 							"suitableForSqlVM": to.Ptr[int32](21),
		// 						},
		// 					},
		// 					"azureVirtualMachine": &armmigrationassessment.SQLAssessmentV2SummaryData{
		// 						ConfidenceScore: to.Ptr[float32](0),
		// 						MonthlyComputeCost: to.Ptr[float32](625.9420799999998),
		// 						MonthlyLicenseCost: to.Ptr[float32](1300.5120000000002),
		// 						MonthlySecurityCost: to.Ptr[float32](0),
		// 						MonthlyStorageCost: to.Ptr[float32](374.48999999999995),
		// 						SuitabilitySummary: map[string]*int32{
		// 							"suitableForVM": to.Ptr[int32](19),
		// 						},
		// 					},
		// 					"recommended": &armmigrationassessment.SQLAssessmentV2SummaryData{
		// 						ConfidenceScore: to.Ptr[float32](0),
		// 						MonthlyComputeCost: to.Ptr[float32](823.6079999999997),
		// 						MonthlyLicenseCost: to.Ptr[float32](22912.896),
		// 						MonthlySecurityCost: to.Ptr[float32](0),
		// 						MonthlyStorageCost: to.Ptr[float32](100.88400000000001),
		// 						SuitabilitySummary: map[string]*int32{
		// 							"suitableForSqlVM": to.Ptr[int32](19),
		// 							"suitableForVM": to.Ptr[int32](4),
		// 						},
		// 					},
		// 				},
		// 				DatabaseDistributionBySizingCriterion: map[string]*int32{
		// 					"asOnPremises": to.Ptr[int32](0),
		// 					"perfBasedFallbackToAsOnPremises": to.Ptr[int32](1484),
		// 					"performanceBased": to.Ptr[int32](0),
		// 				},
		// 				DistributionByServicePackInsight: map[string]*int32{
		// 					"unknown": to.Ptr[int32](23),
		// 				},
		// 				DistributionBySQLEdition: map[string]*int32{
		// 					"enterprise Edition (64-bit)": to.Ptr[int32](1),
		// 					"enterprise Edition: Core-based Licensing": to.Ptr[int32](1),
		// 					"enterprise Edition: Core-based Licensing (64-bit)": to.Ptr[int32](15),
		// 					"enterprise Evaluation Edition (64-bit)": to.Ptr[int32](1),
		// 					"express Edition (64-bit)": to.Ptr[int32](2),
		// 					"standard Edition (64-bit)": to.Ptr[int32](2),
		// 					"web Edition": to.Ptr[int32](1),
		// 				},
		// 				DistributionBySQLVersion: map[string]*int32{
		// 					"sql Server 2012": to.Ptr[int32](9),
		// 					"sql Server 2014": to.Ptr[int32](4),
		// 					"sql Server 2016": to.Ptr[int32](5),
		// 					"sql Server 2017": to.Ptr[int32](2),
		// 					"sql Server 2019": to.Ptr[int32](3),
		// 				},
		// 				DistributionBySupportStatus: map[string]*int32{
		// 					"extended": to.Ptr[int32](11),
		// 					"mainstream": to.Ptr[int32](3),
		// 					"outOfSupport": to.Ptr[int32](9),
		// 				},
		// 				InstanceDistributionBySizingCriterion: map[string]*int32{
		// 					"asOnPremises": to.Ptr[int32](0),
		// 					"perfBasedFallbackToAsOnPremises": to.Ptr[int32](23),
		// 					"performanceBased": to.Ptr[int32](0),
		// 				},
		// 				NumberOfFciInstances: to.Ptr[int32](4),
		// 				NumberOfMachines: to.Ptr[int32](19),
		// 				NumberOfSQLAvailabilityGroups: to.Ptr[int32](5),
		// 				NumberOfSQLDatabases: to.Ptr[int32](1484),
		// 				NumberOfSQLInstances: to.Ptr[int32](23),
		// 			},
		// 	}},
		// }
	}
}
Output:

type SQLAssessmentV2SummaryOperationsClientGetOptions

type SQLAssessmentV2SummaryOperationsClientGetOptions struct {
}

SQLAssessmentV2SummaryOperationsClientGetOptions contains the optional parameters for the SQLAssessmentV2SummaryOperationsClient.Get method.

type SQLAssessmentV2SummaryOperationsClientGetResponse

type SQLAssessmentV2SummaryOperationsClientGetResponse struct {
	// SQL Assessment REST resource.
	SQLAssessmentV2Summary
}

SQLAssessmentV2SummaryOperationsClientGetResponse contains the response from method SQLAssessmentV2SummaryOperationsClient.Get.

type SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Options

type SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Options struct {
}

SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Options contains the optional parameters for the SQLAssessmentV2SummaryOperationsClient.NewListBySQLAssessmentV2Pager method.

type SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Response

type SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Response struct {
	// The response of a SqlAssessmentV2Summary list operation.
	SQLAssessmentV2SummaryListResult
}

SQLAssessmentV2SummaryOperationsClientListBySQLAssessmentV2Response contains the response from method SQLAssessmentV2SummaryOperationsClient.NewListBySQLAssessmentV2Pager.

type SQLAssessmentV2SummaryProperties

type SQLAssessmentV2SummaryProperties struct {
	// READ-ONLY; Gets or sets the Assessment summary.
	AssessmentSummary map[string]*SQLAssessmentV2SummaryData

	// READ-ONLY; Gets the database distribution by sizing criterion.
	DatabaseDistributionBySizingCriterion map[string]*int32

	// READ-ONLY; Gets the distribution of sqlInstances by sql edition.
	DistributionBySQLEdition map[string]*int32

	// READ-ONLY; Gets the distribution of sqlInstances by sql version.
	DistributionBySQLVersion map[string]*int32

	// READ-ONLY; Gets the distribution distribution of sqlInstances by service pack insight.
	DistributionByServicePackInsight map[string]*int32

	// READ-ONLY; Gets the distribution of sqlInstances by support status.
	DistributionBySupportStatus map[string]*int32

	// READ-ONLY; Gets the instance distribution by sizing criterion.
	InstanceDistributionBySizingCriterion map[string]*int32

	// READ-ONLY; Number of sql failover cluster instances part of the assessment.
	NumberOfFciInstances *int32

	// READ-ONLY; Number of machines part of the assessment.
	NumberOfMachines *int32

	// READ-ONLY; Number of sql availability groups part of the assessment.
	NumberOfSQLAvailabilityGroups *int32

	// READ-ONLY; Number of sql databases part of the assessment.
	NumberOfSQLDatabases *int32

	// READ-ONLY; Number of sql instances part of the assessment.
	NumberOfSQLInstances *int32

	// READ-ONLY; Number of successfully discovered sql instances part of the assessment.
	NumberOfSuccessfullyDiscoveredSQLInstances *int32
}

SQLAssessmentV2SummaryProperties - SQL Assessment V2 summary properties.

func (SQLAssessmentV2SummaryProperties) MarshalJSON

func (s SQLAssessmentV2SummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAssessmentV2SummaryProperties.

func (*SQLAssessmentV2SummaryProperties) UnmarshalJSON

func (s *SQLAssessmentV2SummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAssessmentV2SummaryProperties.

type SQLAvailabilityGroupDataOverview

type SQLAvailabilityGroupDataOverview struct {
	// Gets the availability group id.
	AvailabilityGroupID *string

	// Gets the availability group name.
	AvailabilityGroupName *string

	// Gets the availability group entity id.
	SQLAvailabilityGroupEntityID *string

	// Gets the availability group arm id.
	SQLAvailabilityGroupSdsArmID *string

	// Gets the availability replica id.
	SQLAvailabilityReplicaID *string
}

SQLAvailabilityGroupDataOverview - Assessed Sql Availability Group Data Overview.

func (SQLAvailabilityGroupDataOverview) MarshalJSON

func (s SQLAvailabilityGroupDataOverview) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAvailabilityGroupDataOverview.

func (*SQLAvailabilityGroupDataOverview) UnmarshalJSON

func (s *SQLAvailabilityGroupDataOverview) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAvailabilityGroupDataOverview.

type SQLAvailabilityReplicaSummary

type SQLAvailabilityReplicaSummary struct {
	// Gets the number Of asynchronous non read replicas.
	NumberOfAsynchronousNonReadReplicas *int32

	// Gets the number Of asynchronous read replicas.
	NumberOfAsynchronousReadReplicas *int32

	// Gets the number Of primary replicas.
	NumberOfPrimaryReplicas *int32

	// Gets the number Of synchronous non read replicas.
	NumberOfSynchronousNonReadReplicas *int32

	// Gets the number Of synchronous read replicas.
	NumberOfSynchronousReadReplicas *int32
}

SQLAvailabilityReplicaSummary - Assessed Sql Availability Replica Summary.

func (SQLAvailabilityReplicaSummary) MarshalJSON

func (s SQLAvailabilityReplicaSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLAvailabilityReplicaSummary.

func (*SQLAvailabilityReplicaSummary) UnmarshalJSON

func (s *SQLAvailabilityReplicaSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLAvailabilityReplicaSummary.

type SQLCollector

type SQLCollector struct {
	// The resource-specific properties for this resource.
	Properties *CollectorPropertiesBaseWithAgent

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

SQLCollector - The SQL collector REST object.

func (SQLCollector) MarshalJSON

func (s SQLCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLCollector.

func (*SQLCollector) UnmarshalJSON

func (s *SQLCollector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLCollector.

type SQLCollectorListResult

type SQLCollectorListResult struct {
	// REQUIRED; The SqlCollector items on this page
	Value []*SQLCollector

	// The link to the next page of items
	NextLink *string
}

SQLCollectorListResult - The response of a SqlCollector list operation.

func (SQLCollectorListResult) MarshalJSON

func (s SQLCollectorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLCollectorListResult.

func (*SQLCollectorListResult) UnmarshalJSON

func (s *SQLCollectorListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLCollectorListResult.

type SQLCollectorOperationsClient

type SQLCollectorOperationsClient struct {
	// contains filtered or unexported fields
}

SQLCollectorOperationsClient contains the methods for the SQLCollectorOperations group. Don't use this type directly, use NewSQLCollectorOperationsClient() instead.

func NewSQLCollectorOperationsClient

func NewSQLCollectorOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*SQLCollectorOperationsClient, error)

NewSQLCollectorOperationsClient creates a new instance of SQLCollectorOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*SQLCollectorOperationsClient) BeginCreate

BeginCreate - Create a SqlCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • collectorName - Sql collector ARM name.
  • resource - Resource create parameters.
  • options - SQLCollectorOperationsClientBeginCreateOptions contains the optional parameters for the SQLCollectorOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlCollectorOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewSQLCollectorOperationsClient().BeginCreate(ctx, "rgmigrate", "fci-test6904project", "fci-test0c1esqlsitecollector", armmigrationassessment.SQLCollector{
		Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
			AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
				ID: to.Ptr("630da710-4d44-41f7-a189-72fe3db5502b-agent"),
				SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
					ApplicationID: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
					Audience:      to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
					Authority:     to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
					ObjectID:      to.Ptr("e50236ad-ad07-47d4-af71-ed7b52d200d5"),
					TenantID:      to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
				},
			},
			DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/MasterSites/fci-ankit-test6065mastersite/SqlSites/fci-ankit-test6065sqlsites"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.SQLCollector = armmigrationassessment.SQLCollector{
	// 	Name: to.Ptr("fci-test0c1esqlsitecollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/sqlcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-test6904project/sqlcollectors/fci-test0c1esqlsitecollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("630da710-4d44-41f7-a189-72fe3db5502b-agent"),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
	// 				Audience: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("e50236ad-ad07-47d4-af71-ed7b52d200d5"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-22T09:50:37.106Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/MasterSites/fci-ankit-test6065mastersite/SqlSites/fci-ankit-test6065sqlsites"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:17:52.918Z"); return t}()),
	// 	},
	// }
}
Output:

func (*SQLCollectorOperationsClient) Delete

Delete - Delete a SqlCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • collectorName - Sql collector ARM name.
  • options - SQLCollectorOperationsClientDeleteOptions contains the optional parameters for the SQLCollectorOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlCollectorOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewSQLCollectorOperationsClient().Delete(ctx, "rgmigrate", "fci-test6904project", "fci-test0c1esqlsitecollector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*SQLCollectorOperationsClient) Get

Get - Get a SqlCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • collectorName - Sql collector ARM name.
  • options - SQLCollectorOperationsClientGetOptions contains the optional parameters for the SQLCollectorOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlCollectorOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewSQLCollectorOperationsClient().Get(ctx, "rgmigrate", "fci-test6904project", "fci-test0c1esqlsitecollector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.SQLCollector = armmigrationassessment.SQLCollector{
	// 	Name: to.Ptr("fci-test0c1esqlsitecollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/sqlcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-test6904project/sqlcollectors/fci-test0c1esqlsitecollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("630da710-4d44-41f7-a189-72fe3db5502b-agent"),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
	// 				Audience: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("e50236ad-ad07-47d4-af71-ed7b52d200d5"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-22T09:50:37.106Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/MasterSites/fci-ankit-test6065mastersite/SqlSites/fci-ankit-test6065sqlsites"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:17:52.918Z"); return t}()),
	// 	},
	// }
}
Output:

func (*SQLCollectorOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List SqlCollector resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - SQLCollectorOperationsClientListByAssessmentProjectOptions contains the optional parameters for the SQLCollectorOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/SqlCollectorOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewSQLCollectorOperationsClient().NewListByAssessmentProjectPager("rgmigrate", "fci-test6904project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.SQLCollectorListResult = armmigrationassessment.SQLCollectorListResult{
		// 	Value: []*armmigrationassessment.SQLCollector{
		// 		{
		// 			Name: to.Ptr("fci-ankit-test0c1esqlsitecollector"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/sqlcollectors"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.Migrate/assessmentprojects/fci-ankit-test6904project/sqlcollectors/fci-ankit-test0c1esqlsitecollector"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
		// 				AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
		// 					ID: to.Ptr("630da710-4d44-41f7-a189-72fe3db5502b-agent"),
		// 					SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
		// 						ApplicationID: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
		// 						Audience: to.Ptr("db9c4c3d-477c-4d5a-817b-318276713565"),
		// 						Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 						ObjectID: to.Ptr("e50236ad-ad07-47d4-af71-ed7b52d200d5"),
		// 						TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 					},
		// 				},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-11-22T09:50:37.106Z"); return t}()),
		// 				DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/bansalankit-rg/providers/Microsoft.OffAzure/MasterSites/fci-ankit-test6065mastersite/SqlSites/fci-ankit-test6065sqlsites"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:17:52.918Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type SQLCollectorOperationsClientBeginCreateOptions

type SQLCollectorOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

SQLCollectorOperationsClientBeginCreateOptions contains the optional parameters for the SQLCollectorOperationsClient.BeginCreate method.

type SQLCollectorOperationsClientCreateResponse

type SQLCollectorOperationsClientCreateResponse struct {
	// The SQL collector REST object.
	SQLCollector
}

SQLCollectorOperationsClientCreateResponse contains the response from method SQLCollectorOperationsClient.BeginCreate.

type SQLCollectorOperationsClientDeleteOptions

type SQLCollectorOperationsClientDeleteOptions struct {
}

SQLCollectorOperationsClientDeleteOptions contains the optional parameters for the SQLCollectorOperationsClient.Delete method.

type SQLCollectorOperationsClientDeleteResponse

type SQLCollectorOperationsClientDeleteResponse struct {
}

SQLCollectorOperationsClientDeleteResponse contains the response from method SQLCollectorOperationsClient.Delete.

type SQLCollectorOperationsClientGetOptions

type SQLCollectorOperationsClientGetOptions struct {
}

SQLCollectorOperationsClientGetOptions contains the optional parameters for the SQLCollectorOperationsClient.Get method.

type SQLCollectorOperationsClientGetResponse

type SQLCollectorOperationsClientGetResponse struct {
	// The SQL collector REST object.
	SQLCollector
}

SQLCollectorOperationsClientGetResponse contains the response from method SQLCollectorOperationsClient.Get.

type SQLCollectorOperationsClientListByAssessmentProjectOptions

type SQLCollectorOperationsClientListByAssessmentProjectOptions struct {
}

SQLCollectorOperationsClientListByAssessmentProjectOptions contains the optional parameters for the SQLCollectorOperationsClient.NewListByAssessmentProjectPager method.

type SQLCollectorOperationsClientListByAssessmentProjectResponse

type SQLCollectorOperationsClientListByAssessmentProjectResponse struct {
	// The response of a SqlCollector list operation.
	SQLCollectorListResult
}

SQLCollectorOperationsClientListByAssessmentProjectResponse contains the response from method SQLCollectorOperationsClient.NewListByAssessmentProjectPager.

type SQLDbSettings

type SQLDbSettings struct {
	// Gets or sets the azure SQL compute tier.
	AzureSQLComputeTier *ComputeTier

	// Gets or sets the azure PAAS SQL instance type.
	AzureSQLDataBaseType *AzureSQLDataBaseType

	// Gets or sets the azure SQL purchase model.
	AzureSQLPurchaseModel *AzureSQLPurchaseModel

	// Gets or sets the azure SQL service tier.
	AzureSQLServiceTier *AzureSQLServiceTier
}

SQLDbSettings - SQL database assessment settings.

func (SQLDbSettings) MarshalJSON

func (s SQLDbSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLDbSettings.

func (*SQLDbSettings) UnmarshalJSON

func (s *SQLDbSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLDbSettings.

type SQLFCIMetadata

type SQLFCIMetadata struct {
	// Gets the fci shared disk count.
	FciSharedDiskCount *int32

	// Gets whether fci is multi subnet.
	IsMultiSubnet *bool

	// Gets the Sql fci meta data state.
	State *SQLFCIMetadataState
}

SQLFCIMetadata - Sql fci meta data.

func (SQLFCIMetadata) MarshalJSON

func (s SQLFCIMetadata) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLFCIMetadata.

func (*SQLFCIMetadata) UnmarshalJSON

func (s *SQLFCIMetadata) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLFCIMetadata.

type SQLFCIMetadataState

type SQLFCIMetadataState string
const (
	SQLFCIMetadataStateFailed         SQLFCIMetadataState = "Failed"
	SQLFCIMetadataStateInherited      SQLFCIMetadataState = "Inherited"
	SQLFCIMetadataStateInitializing   SQLFCIMetadataState = "Initializing"
	SQLFCIMetadataStateOffline        SQLFCIMetadataState = "Offline"
	SQLFCIMetadataStateOfflinePending SQLFCIMetadataState = "OfflinePending"
	SQLFCIMetadataStateOnline         SQLFCIMetadataState = "Online"
	SQLFCIMetadataStateOnlinePending  SQLFCIMetadataState = "OnlinePending"
	SQLFCIMetadataStatePending        SQLFCIMetadataState = "Pending"
	SQLFCIMetadataStateUnknown        SQLFCIMetadataState = "Unknown"
)

func PossibleSQLFCIMetadataStateValues

func PossibleSQLFCIMetadataStateValues() []SQLFCIMetadataState

PossibleSQLFCIMetadataStateValues returns the possible values for the SQLFCIMetadataState const type.

type SQLFCIState

type SQLFCIState string
const (
	SQLFCIStateActive        SQLFCIState = "Active"
	SQLFCIStateNotApplicable SQLFCIState = "NotApplicable"
	SQLFCIStatePassive       SQLFCIState = "Passive"
	SQLFCIStateUnknown       SQLFCIState = "Unknown"
)

func PossibleSQLFCIStateValues

func PossibleSQLFCIStateValues() []SQLFCIState

PossibleSQLFCIStateValues returns the possible values for the SQLFCIState const type.

type SQLMiSettings

type SQLMiSettings struct {
	// Gets or sets the azure PAAS SQL instance type.
	AzureSQLInstanceType *AzureSQLInstanceType

	// Gets or sets the azure SQL service tier.
	AzureSQLServiceTier *AzureSQLServiceTier
}

SQLMiSettings - SQL managed instance assessment settings.

func (SQLMiSettings) MarshalJSON

func (s SQLMiSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLMiSettings.

func (*SQLMiSettings) UnmarshalJSON

func (s *SQLMiSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLMiSettings.

type SQLMigrationGuideline

type SQLMigrationGuideline struct {
	// Gets the guideline id.
	GuidelineID *string

	// Gets the migration guideline category.
	MigrationGuidelineCategory *SQLMigrationGuidelineCategory

	// READ-ONLY; Gets the migration guideline context.
	MigrationGuidelineContext []*MigrationGuidelineContext
}

SQLMigrationGuideline - Sql Migration Guideline.

func (SQLMigrationGuideline) MarshalJSON

func (s SQLMigrationGuideline) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLMigrationGuideline.

func (*SQLMigrationGuideline) UnmarshalJSON

func (s *SQLMigrationGuideline) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLMigrationGuideline.

type SQLMigrationGuidelineCategory

type SQLMigrationGuidelineCategory string
const (
	SQLMigrationGuidelineCategoryAvailabilityGroupGuideline      SQLMigrationGuidelineCategory = "AvailabilityGroupGuideline"
	SQLMigrationGuidelineCategoryFailoverCluterInstanceGuideLine SQLMigrationGuidelineCategory = "FailoverCluterInstanceGuideLine"
	SQLMigrationGuidelineCategoryGeneral                         SQLMigrationGuidelineCategory = "General"
	SQLMigrationGuidelineCategoryUnknown                         SQLMigrationGuidelineCategory = "Unknown"
)

func PossibleSQLMigrationGuidelineCategoryValues

func PossibleSQLMigrationGuidelineCategoryValues() []SQLMigrationGuidelineCategory

PossibleSQLMigrationGuidelineCategoryValues returns the possible values for the SQLMigrationGuidelineCategory const type.

type SQLPaaSTargetOptions

type SQLPaaSTargetOptions struct {
	// Gets or sets the Azure SQL compute tier.
	ComputeTier *ComputeTier

	// Gets or sets the Azure SQL hardware generation.
	HardwareGeneration *HardwareGeneration

	// Gets or sets the Azure SQL service tier.
	ServiceTier *AzureSQLServiceTier

	// Gets or sets the target location.
	TargetLocations []*AzureLocation

	// Gets or sets the Azure SQL target type.
	TargetType *TargetType
}

SQLPaaSTargetOptions - SQL target options.

func (SQLPaaSTargetOptions) MarshalJSON

func (s SQLPaaSTargetOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLPaaSTargetOptions.

func (*SQLPaaSTargetOptions) UnmarshalJSON

func (s *SQLPaaSTargetOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLPaaSTargetOptions.

type SQLRecommendationReasoning

type SQLRecommendationReasoning struct {
	// Gets the reasoning category.
	ReasoningCategory *string

	// Gets the reasoning id.
	ReasoningID *string

	// Gets the reasoning status.
	ReasoningString *string

	// READ-ONLY; Gets the Sql recommended reasoning parameters.
	ContextParameters []*SQLRecommendationReasoningContext
}

SQLRecommendationReasoning - Class representing Azure SQL Recommendation Reasoning.

func (SQLRecommendationReasoning) MarshalJSON

func (s SQLRecommendationReasoning) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRecommendationReasoning.

func (*SQLRecommendationReasoning) UnmarshalJSON

func (s *SQLRecommendationReasoning) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLRecommendationReasoning.

type SQLRecommendationReasoningContext

type SQLRecommendationReasoningContext struct {
	// Gets the reasoning context key.
	ContextKey *string

	// Gets the reasoning context value.
	ContextValue *string
}

SQLRecommendationReasoningContext - Class representing Azure SQL Recommendation Reasoning Context.

func (SQLRecommendationReasoningContext) MarshalJSON

func (s SQLRecommendationReasoningContext) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRecommendationReasoningContext.

func (*SQLRecommendationReasoningContext) UnmarshalJSON

func (s *SQLRecommendationReasoningContext) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLRecommendationReasoningContext.

type SQLServerLicense

type SQLServerLicense string
const (
	SQLServerLicenseNo      SQLServerLicense = "No"
	SQLServerLicenseUnknown SQLServerLicense = "Unknown"
	SQLServerLicenseYes     SQLServerLicense = "Yes"
)

func PossibleSQLServerLicenseValues

func PossibleSQLServerLicenseValues() []SQLServerLicense

PossibleSQLServerLicenseValues returns the possible values for the SQLServerLicense const type.

type SQLServerLicenseType

type SQLServerLicenseType string

SQLServerLicenseType - Business case supported SQL Server License types.

const (
	// SQLServerLicenseTypeEnterprise - Enterprise Sql Server License.
	SQLServerLicenseTypeEnterprise SQLServerLicenseType = "Enterprise"
	// SQLServerLicenseTypeStandard - Standard Sql Server License.
	SQLServerLicenseTypeStandard SQLServerLicenseType = "Standard"
	// SQLServerLicenseTypeUnknown - Unknown Sql Server License.
	SQLServerLicenseTypeUnknown SQLServerLicenseType = "Unknown"
)

func PossibleSQLServerLicenseTypeValues

func PossibleSQLServerLicenseTypeValues() []SQLServerLicenseType

PossibleSQLServerLicenseTypeValues returns the possible values for the SQLServerLicenseType const type.

type SQLServerLicensingSettings

type SQLServerLicensingSettings struct {
	// REQUIRED; Licence cost.
	LicenseCost *float32

	// REQUIRED; Software assurance (SA) cost.
	SoftwareAssuranceCost *float32

	// REQUIRED; SQL Server version.
	Version *SQLServerLicenseType
}

SQLServerLicensingSettings - SQL Server licensing settings.

func (SQLServerLicensingSettings) MarshalJSON

func (s SQLServerLicensingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLServerLicensingSettings.

func (*SQLServerLicensingSettings) UnmarshalJSON

func (s *SQLServerLicensingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLServerLicensingSettings.

type SQLServiceTier

type SQLServiceTier struct {
	// READ-ONLY; The service tier name.
	ServiceTierName *string

	// READ-ONLY; The number of sql entities with this tier.
	ServiceTierNumber *float32
}

SQLServiceTier - The SQL service tier.

func (SQLServiceTier) MarshalJSON

func (s SQLServiceTier) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLServiceTier.

func (*SQLServiceTier) UnmarshalJSON

func (s *SQLServiceTier) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLServiceTier.

type SQLVMSettings

type SQLVMSettings struct {
	// Gets or sets the Azure VM families (calling instance series to keep it consistent with other targets).
	InstanceSeries []*AzureVMFamily
}

SQLVMSettings - SQL VM assessment settings.

func (SQLVMSettings) MarshalJSON

func (s SQLVMSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLVMSettings.

func (*SQLVMSettings) UnmarshalJSON

func (s *SQLVMSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLVMSettings.

type SQLVersionDetails

type SQLVersionDetails struct {
	// READ-ONLY; Number of instances with the above SQL version.
	NumberOfInstances *int32

	// READ-ONLY; The SQL version.
	SQLVersion *string
}

SQLVersionDetails - The SQL version details.

func (SQLVersionDetails) MarshalJSON

func (s SQLVersionDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLVersionDetails.

func (*SQLVersionDetails) UnmarshalJSON

func (s *SQLVersionDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SQLVersionDetails.

type SavingsOption

type SavingsOption string

SavingsOption - Business case supported Savings Option types.

const (
	// SavingsOptionRI3Year - Reserved Instance 3 Year.
	SavingsOptionRI3Year SavingsOption = "RI3Year"
	// SavingsOptionSavingsPlan3Year - Azure Savings Plan 3 Year.
	SavingsOptionSavingsPlan3Year SavingsOption = "SavingsPlan3Year"
	// SavingsOptionUnknown - Unknown Savings Option.
	SavingsOptionUnknown SavingsOption = "Unknown"
)

func PossibleSavingsOptionValues

func PossibleSavingsOptionValues() []SavingsOption

PossibleSavingsOptionValues returns the possible values for the SavingsOption const type.

type SavingsOptions

type SavingsOptions string

SavingsOptions - Savings Options for Azure.

const (
	// SavingsOptionsNone - Savings Options is not applicable.
	SavingsOptionsNone SavingsOptions = "None"
	// SavingsOptionsOneYearReserved - One Year Reserved Instances.
	SavingsOptionsOneYearReserved SavingsOptions = "OneYearReserved"
	// SavingsOptionsOneYearSavings - One Year Savings Plan.
	SavingsOptionsOneYearSavings SavingsOptions = "OneYearSavings"
	// SavingsOptionsThreeYearsReserved - Three Years Reserved Instances.
	SavingsOptionsThreeYearsReserved SavingsOptions = "ThreeYearsReserved"
	// SavingsOptionsThreeYearsSavings - Three Years Savings Plan.
	SavingsOptionsThreeYearsSavings SavingsOptions = "ThreeYearsSavings"
)

func PossibleSavingsOptionsValues

func PossibleSavingsOptionsValues() []SavingsOptions

PossibleSavingsOptionsValues returns the possible values for the SavingsOptions const type.

type SecuritySettings

type SecuritySettings struct {
	// REQUIRED; Virtual machines per administrator.
	SQLServerSecurityCostPerServerPerYear *float32

	// REQUIRED; Physical servers per administrator.
	ServerSecurityCostPerServerPerYear *float32
}

SecuritySettings - Security settings.

func (SecuritySettings) MarshalJSON

func (s SecuritySettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SecuritySettings.

func (*SecuritySettings) UnmarshalJSON

func (s *SecuritySettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SecuritySettings.

type ServerCollector

type ServerCollector struct {
	// The resource-specific properties for this resource.
	Properties *CollectorPropertiesBaseWithAgent

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

ServerCollector - Physical server collector resource.

func (ServerCollector) MarshalJSON

func (s ServerCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServerCollector.

func (*ServerCollector) UnmarshalJSON

func (s *ServerCollector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ServerCollector.

type ServerCollectorListResult

type ServerCollectorListResult struct {
	// REQUIRED; The ServerCollector items on this page
	Value []*ServerCollector

	// The link to the next page of items
	NextLink *string
}

ServerCollectorListResult - The response of a ServerCollector list operation.

func (ServerCollectorListResult) MarshalJSON

func (s ServerCollectorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServerCollectorListResult.

func (*ServerCollectorListResult) UnmarshalJSON

func (s *ServerCollectorListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ServerCollectorListResult.

type ServerCollectorsOperationsClient

type ServerCollectorsOperationsClient struct {
	// contains filtered or unexported fields
}

ServerCollectorsOperationsClient contains the methods for the ServerCollectorsOperations group. Don't use this type directly, use NewServerCollectorsOperationsClient() instead.

func NewServerCollectorsOperationsClient

func NewServerCollectorsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*ServerCollectorsOperationsClient, error)

NewServerCollectorsOperationsClient creates a new instance of ServerCollectorsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*ServerCollectorsOperationsClient) BeginCreate

BeginCreate - Create a ServerCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • serverCollectorName - Physical server collector ARM name
  • resource - Resource create parameters.
  • options - ServerCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the ServerCollectorsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ServerCollectorsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewServerCollectorsOperationsClient().BeginCreate(ctx, "ayagrawRG", "app18700project", "walter389fcollector", armmigrationassessment.ServerCollector{
		Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
			ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
				ID: to.Ptr("498e4965-bbb1-47c2-8613-345baff9c509"),
				SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
					ApplicationID: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
					Audience:      to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
					Authority:     to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
					ObjectID:      to.Ptr("ddde6f96-87c8-420b-9d4d-f16a5090519e"),
					TenantID:      to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
				},
			},
			DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/ServerSites/walter7155site"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.ServerCollector = armmigrationassessment.ServerCollector{
	// 	Name: to.Ptr("walter389fcollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/servercollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/servercollectors/walter389fcollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("498e4965-bbb1-47c2-8613-345baff9c509"),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
	// 				Audience: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("ddde6f96-87c8-420b-9d4d-f16a5090519e"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-05-29T13:35:13.362Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/ServerSites/walter7155site"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T07:28:34.807Z"); return t}()),
	// 	},
	// }
}
Output:

func (*ServerCollectorsOperationsClient) Delete

Delete - Delete a ServerCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • serverCollectorName - Physical server collector ARM name
  • options - ServerCollectorsOperationsClientDeleteOptions contains the optional parameters for the ServerCollectorsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ServerCollectorsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewServerCollectorsOperationsClient().Delete(ctx, "ayagrawRG", "app18700project", "walter389fcollector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*ServerCollectorsOperationsClient) Get

Get - Get a ServerCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • serverCollectorName - Physical server collector ARM name
  • options - ServerCollectorsOperationsClientGetOptions contains the optional parameters for the ServerCollectorsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ServerCollectorsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewServerCollectorsOperationsClient().Get(ctx, "ayagrawRG", "app18700project", "walter389fcollector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.ServerCollector = armmigrationassessment.ServerCollector{
	// 	Name: to.Ptr("walter389fcollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/servercollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/servercollectors/walter389fcollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("498e4965-bbb1-47c2-8613-345baff9c509"),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
	// 				Audience: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("ddde6f96-87c8-420b-9d4d-f16a5090519e"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-05-29T13:35:13.362Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/ServerSites/walter7155site"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T07:28:34.807Z"); return t}()),
	// 	},
	// }
}
Output:

func (*ServerCollectorsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List ServerCollector resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - ServerCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the ServerCollectorsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/ServerCollectorsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewServerCollectorsOperationsClient().NewListByAssessmentProjectPager("ayagrawRG", "app18700project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.ServerCollectorListResult = armmigrationassessment.ServerCollectorListResult{
		// 	Value: []*armmigrationassessment.ServerCollector{
		// 		{
		// 			Name: to.Ptr("walter389fcollector"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/servercollectors"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/servercollectors/walter389fcollector"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
		// 				AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
		// 					ID: to.Ptr("498e4965-bbb1-47c2-8613-345baff9c509"),
		// 					SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
		// 						ApplicationID: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
		// 						Audience: to.Ptr("65153d2f-9afb-44e8-b3ca-1369150b7354"),
		// 						Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 						ObjectID: to.Ptr("ddde6f96-87c8-420b-9d4d-f16a5090519e"),
		// 						TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 					},
		// 				},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-05-29T13:35:13.362Z"); return t}()),
		// 				DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/ServerSites/walter7155site"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-09-25T07:28:34.807Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type ServerCollectorsOperationsClientBeginCreateOptions

type ServerCollectorsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

ServerCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the ServerCollectorsOperationsClient.BeginCreate method.

type ServerCollectorsOperationsClientCreateResponse

type ServerCollectorsOperationsClientCreateResponse struct {
	// Physical server collector resource.
	ServerCollector
}

ServerCollectorsOperationsClientCreateResponse contains the response from method ServerCollectorsOperationsClient.BeginCreate.

type ServerCollectorsOperationsClientDeleteOptions

type ServerCollectorsOperationsClientDeleteOptions struct {
}

ServerCollectorsOperationsClientDeleteOptions contains the optional parameters for the ServerCollectorsOperationsClient.Delete method.

type ServerCollectorsOperationsClientDeleteResponse

type ServerCollectorsOperationsClientDeleteResponse struct {
}

ServerCollectorsOperationsClientDeleteResponse contains the response from method ServerCollectorsOperationsClient.Delete.

type ServerCollectorsOperationsClientGetOptions

type ServerCollectorsOperationsClientGetOptions struct {
}

ServerCollectorsOperationsClientGetOptions contains the optional parameters for the ServerCollectorsOperationsClient.Get method.

type ServerCollectorsOperationsClientGetResponse

type ServerCollectorsOperationsClientGetResponse struct {
	// Physical server collector resource.
	ServerCollector
}

ServerCollectorsOperationsClientGetResponse contains the response from method ServerCollectorsOperationsClient.Get.

type ServerCollectorsOperationsClientListByAssessmentProjectOptions

type ServerCollectorsOperationsClientListByAssessmentProjectOptions struct {
}

ServerCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the ServerCollectorsOperationsClient.NewListByAssessmentProjectPager method.

type ServerCollectorsOperationsClientListByAssessmentProjectResponse

type ServerCollectorsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a ServerCollector list operation.
	ServerCollectorListResult
}

ServerCollectorsOperationsClientListByAssessmentProjectResponse contains the response from method ServerCollectorsOperationsClient.NewListByAssessmentProjectPager.

type ServersDiscovered

type ServersDiscovered struct {
	// READ-ONLY; Number of servers on HyperV.
	HyperV *int32

	// READ-ONLY; Number of servers whose virtualization is unknown.
	NotApplicable *int32

	// READ-ONLY; Number of physical servers.
	Physical *int32

	// READ-ONLY; Number of servers on VMWare.
	VMWare *int32
}

ServersDiscovered - Shows the discovered servers by virtualization platform.

func (ServersDiscovered) MarshalJSON

func (s ServersDiscovered) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServersDiscovered.

func (*ServersDiscovered) UnmarshalJSON

func (s *ServersDiscovered) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ServersDiscovered.

type ServicePackInsight

type ServicePackInsight struct {
	// READ-ONLY; Patched Service Pack Insight.
	Patched *int32

	// READ-ONLY; Unknown support.
	UnknownServicePack *int32

	// READ-ONLY; Unpatched Service Pack Insight.
	Unpatched *int32
}

ServicePackInsight - Service Pack Insight.

func (ServicePackInsight) MarshalJSON

func (s ServicePackInsight) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ServicePackInsight.

func (*ServicePackInsight) UnmarshalJSON

func (s *ServicePackInsight) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ServicePackInsight.

type Settings

type Settings struct {
	// REQUIRED; Azure settings for a business case.
	AzureSettings *AzureSettings

	// Azure arc settings.
	AzureArcSettings *AzureArcSettings

	// On-premise settings.
	OnPremiseSettings *OnPremiseSettings
}

Settings - Business case settings.

func (Settings) MarshalJSON

func (s Settings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Settings.

func (*Settings) UnmarshalJSON

func (s *Settings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Settings.

type SharedResourcesDTO

type SharedResourcesDTO struct {
	// READ-ONLY; Gets number of mounts of shared disks.
	NumberOfMounts *int32

	// READ-ONLY; Gets quorum witness.
	QuorumWitness *AzureQuorumWitnessDTO

	// READ-ONLY; Gets the list of shared data disks.
	SharedDataDisks []*AzureManagedDiskSKUDTO

	// READ-ONLY; Gets the list of shared log disks.
	SharedLogDisks []*AzureManagedDiskSKUDTO

	// READ-ONLY; Gets the list of shared Temporary database disks.
	SharedTempDbDisks []*AzureManagedDiskSKUDTO
}

SharedResourcesDTO - Shared Resources.

func (SharedResourcesDTO) MarshalJSON

func (s SharedResourcesDTO) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SharedResourcesDTO.

func (*SharedResourcesDTO) UnmarshalJSON

func (s *SharedResourcesDTO) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SharedResourcesDTO.

type StorageSettings

type StorageSettings struct {
	// REQUIRED; Cost per gigabyte per month.
	CostPerGbPerMonth *float32

	// REQUIRED; Maintenance cost percentage.
	MaintainanceCostPercentageToAcquisitionCost *float32
}

StorageSettings - Storage settings.

func (StorageSettings) MarshalJSON

func (s StorageSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type StorageSettings.

func (*StorageSettings) UnmarshalJSON

func (s *StorageSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type StorageSettings.

type SuggestedMigrationTool

type SuggestedMigrationTool string

SuggestedMigrationTool - Suggested Migration Tool for Azure.

const (
	// SuggestedMigrationToolNone - No Migration Tool is suggested.
	SuggestedMigrationToolNone SuggestedMigrationTool = "None"
	// SuggestedMigrationToolServerMigration - Server Migration.
	SuggestedMigrationToolServerMigration SuggestedMigrationTool = "ServerMigration"
	// SuggestedMigrationToolWebAppMigration - Web App Migration.
	SuggestedMigrationToolWebAppMigration SuggestedMigrationTool = "WebAppMigration"
)

func PossibleSuggestedMigrationToolValues

func PossibleSuggestedMigrationToolValues() []SuggestedMigrationTool

PossibleSuggestedMigrationToolValues returns the possible values for the SuggestedMigrationTool const type.

type Suitability

type Suitability string

Suitability - Suitability for Azure.

const (
	// SuitabilityNotSuitable - Not Suitable for Azure.
	SuitabilityNotSuitable Suitability = "NotSuitable"
	// SuitabilitySuitable - Suitable for Azure.
	SuitabilitySuitable Suitability = "Suitable"
)

func PossibleSuitabilityValues

func PossibleSuitabilityValues() []Suitability

PossibleSuitabilityValues returns the possible values for the Suitability const type.

type SuitabilityResult

type SuitabilityResult struct {
	// READ-ONLY; Gets list of failed Checks.
	FailedChecks []*Check

	// READ-ONLY; Gets readiness.
	Readiness *Readiness

	// READ-ONLY; Gets suggested migration tool.
	SuggestedMigrationTool *SuggestedMigrationTool

	// READ-ONLY; Gets suitability.
	Suitability *Suitability
}

SuitabilityResult - Data model of Suitability Result.

func (SuitabilityResult) MarshalJSON

func (s SuitabilityResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SuitabilityResult.

func (*SuitabilityResult) UnmarshalJSON

func (s *SuitabilityResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SuitabilityResult.

type SummaryDetails

type SummaryDetails struct {
	// READ-ONLY; Gets count.
	Count *int32

	// READ-ONLY; Gets monthly cost.
	MonthlyCost *float32
}

SummaryDetails - Data model of Summary Details.

func (SummaryDetails) MarshalJSON

func (s SummaryDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SummaryDetails.

func (*SummaryDetails) UnmarshalJSON

func (s *SummaryDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SummaryDetails.

type SupportStatusDistribution

type SupportStatusDistribution struct {
	// READ-ONLY; Extended support.
	Extended *int32

	// READ-ONLY; Mainstream support.
	MainStream *int32

	// READ-ONLY; Out of support.
	OutOfSupport *int32

	// READ-ONLY; Unknown support.
	UnknownSupport *int32
}

SupportStatusDistribution - Support Status Distribution.

func (SupportStatusDistribution) MarshalJSON

func (s SupportStatusDistribution) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SupportStatusDistribution.

func (*SupportStatusDistribution) UnmarshalJSON

func (s *SupportStatusDistribution) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SupportStatusDistribution.

type SupportabilityStatus

type SupportabilityStatus string

SupportabilityStatus - Supportability Status.

const (
	// SupportabilityStatusExtended - Extended Supportability Status.
	SupportabilityStatusExtended SupportabilityStatus = "Extended"
	// SupportabilityStatusMainstream - Mainstream Supportability Status.
	SupportabilityStatusMainstream SupportabilityStatus = "Mainstream"
	// SupportabilityStatusOutOfSupport - OutOfSupport Supportability Status.
	SupportabilityStatusOutOfSupport SupportabilityStatus = "OutOfSupport"
	// SupportabilityStatusUnknown - Unknown Supportability Status.
	SupportabilityStatusUnknown SupportabilityStatus = "Unknown"
)

func PossibleSupportabilityStatusValues

func PossibleSupportabilityStatusValues() []SupportabilityStatus

PossibleSupportabilityStatusValues returns the possible values for the SupportabilityStatus const type.

type SystemData

type SystemData struct {
	// The timestamp of resource creation (UTC).
	CreatedAt *time.Time

	// The identity that created the resource.
	CreatedBy *string

	// The type of identity that created the resource.
	CreatedByType *CreatedByType

	// The timestamp of resource last modification (UTC)
	LastModifiedAt *time.Time

	// The identity that last modified the resource.
	LastModifiedBy *string

	// The type of identity that last modified the resource.
	LastModifiedByType *CreatedByType
}

SystemData - Metadata pertaining to creation and last modification of the resource.

func (SystemData) MarshalJSON

func (s SystemData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SystemData.

func (*SystemData) UnmarshalJSON

func (s *SystemData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.

type TargetSpecificResult

type TargetSpecificResult struct {
	// REQUIRED; Gets or sets the assessment result.
	AssessmentResult *AssessmentResult

	// REQUIRED; Gets or sets the web app migration issues.
	MigrationIssues []*WebAppMigrationIssues
}

TargetSpecificResult - Target specific result.

func (TargetSpecificResult) MarshalJSON

func (t TargetSpecificResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TargetSpecificResult.

func (*TargetSpecificResult) UnmarshalJSON

func (t *TargetSpecificResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TargetSpecificResult.

type TargetSpecificSummary

type TargetSpecificSummary struct {
	// READ-ONLY; Web app readiness summary data
	ReadinessSummary map[string]*int32

	// READ-ONLY; Web app recommendation sku details data
	RecommendationResultSKUDetails map[string]*WebAppSKUDetails
}

TargetSpecificSummary - Web app target specific summary data.

func (TargetSpecificSummary) MarshalJSON

func (t TargetSpecificSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TargetSpecificSummary.

func (*TargetSpecificSummary) UnmarshalJSON

func (t *TargetSpecificSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type TargetSpecificSummary.

type TargetType

type TargetType string
const (
	TargetTypeAzureSQLDatabase        TargetType = "AzureSqlDatabase"
	TargetTypeAzureSQLManagedInstance TargetType = "AzureSqlManagedInstance"
	TargetTypeAzureSQLVirtualMachine  TargetType = "AzureSqlVirtualMachine"
	TargetTypeAzureVirtualMachine     TargetType = "AzureVirtualMachine"
	TargetTypeRecommended             TargetType = "Recommended"
	TargetTypeUnknown                 TargetType = "Unknown"
)

func PossibleTargetTypeValues

func PossibleTargetTypeValues() []TargetType

PossibleTargetTypeValues returns the possible values for the TargetType const type.

type ThirdPartyManagementSettings

type ThirdPartyManagementSettings struct {
	// REQUIRED; License Cost.
	LicenseCost *float32

	// REQUIRED; Support Cost.
	SupportCost *float32
}

ThirdPartyManagementSettings - Third Party Management settings.

func (ThirdPartyManagementSettings) MarshalJSON

func (t ThirdPartyManagementSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ThirdPartyManagementSettings.

func (*ThirdPartyManagementSettings) UnmarshalJSON

func (t *ThirdPartyManagementSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type ThirdPartyManagementSettings.

type TimeRange

type TimeRange string

TimeRange - Time Range for Performance Data.

const (
	// TimeRangeCustom - Custom Time Range.
	TimeRangeCustom TimeRange = "Custom"
	// TimeRangeDay - Daily.
	TimeRangeDay TimeRange = "Day"
	// TimeRangeMonth - Monthly.
	TimeRangeMonth TimeRange = "Month"
	// TimeRangeWeek - Weekly.
	TimeRangeWeek TimeRange = "Week"
)

func PossibleTimeRangeValues

func PossibleTimeRangeValues() []TimeRange

PossibleTimeRangeValues returns the possible values for the TimeRange const type.

type UltraDiskAssessmentOptions

type UltraDiskAssessmentOptions struct {
	// Family name.
	FamilyName *string

	// List of locations where ultra disk is supported for this VMfamily.
	TargetLocations []*string
}

UltraDiskAssessmentOptions - Assessment options for Ultra disk type.

func (UltraDiskAssessmentOptions) MarshalJSON

func (u UltraDiskAssessmentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UltraDiskAssessmentOptions.

func (*UltraDiskAssessmentOptions) UnmarshalJSON

func (u *UltraDiskAssessmentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UltraDiskAssessmentOptions.

type UpdateGroupBody

type UpdateGroupBody struct {
	// For optimistic concurrency control.
	ETag *string

	// Properties of the group.
	Properties *GroupBodyProperties
}

UpdateGroupBody - Properties of group update.

func (UpdateGroupBody) MarshalJSON

func (u UpdateGroupBody) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UpdateGroupBody.

func (*UpdateGroupBody) UnmarshalJSON

func (u *UpdateGroupBody) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UpdateGroupBody.

type UtilizationData

type UtilizationData struct {
	// READ-ONLY; The number of active entities.
	NumberOfActiveEntities *int32

	// READ-ONLY; The number of decommission entities.
	NumberOfDecommisionEntities *int32

	// READ-ONLY; The number of inactive entities.
	NumberOfInactiveEntities *int32

	// READ-ONLY; The number of unknown entities.
	NumberOfUnknownEntities *int32
}

UtilizationData - The SQL on premises utilization insights.

func (UtilizationData) MarshalJSON

func (u UtilizationData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UtilizationData.

func (*UtilizationData) UnmarshalJSON

func (u *UtilizationData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type UtilizationData.

type VMFamilyOptions

type VMFamilyOptions struct {
	// READ-ONLY; Category of the VM family.
	Category []*string

	// READ-ONLY; Name of the VM family.
	FamilyName *string

	// READ-ONLY; List of Azure regions.
	TargetLocations []*string
}

VMFamilyOptions - VM family name, the list of targeted azure locations and the category of the family.

func (VMFamilyOptions) MarshalJSON

func (v VMFamilyOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VMFamilyOptions.

func (*VMFamilyOptions) UnmarshalJSON

func (v *VMFamilyOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VMFamilyOptions.

type VMUptime

type VMUptime struct {
	// Number of days in a month for VM uptime.
	DaysPerMonth *int32

	// Number of hours per day for VM uptime.
	HoursPerDay *int32
}

VMUptime - Details on the total up-time for the VM.

func (VMUptime) MarshalJSON

func (v VMUptime) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VMUptime.

func (*VMUptime) UnmarshalJSON

func (v *VMUptime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VMUptime.

type VirtualizationSoftwareSettings

type VirtualizationSoftwareSettings struct {
	// REQUIRED; VMware cloud foundation license cost.
	VMwareCloudFoundationLicenseCost *float32
}

VirtualizationSoftwareSettings - Virtualization software settings.

func (VirtualizationSoftwareSettings) MarshalJSON

func (v VirtualizationSoftwareSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VirtualizationSoftwareSettings.

func (*VirtualizationSoftwareSettings) UnmarshalJSON

func (v *VirtualizationSoftwareSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VirtualizationSoftwareSettings.

type VmwareCollector

type VmwareCollector struct {
	// The resource-specific properties for this resource.
	Properties *CollectorPropertiesBaseWithAgent

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

VmwareCollector - VMware collector resource.

func (VmwareCollector) MarshalJSON

func (v VmwareCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VmwareCollector.

func (*VmwareCollector) UnmarshalJSON

func (v *VmwareCollector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VmwareCollector.

type VmwareCollectorListResult

type VmwareCollectorListResult struct {
	// REQUIRED; The VmwareCollector items on this page
	Value []*VmwareCollector

	// The link to the next page of items
	NextLink *string
}

VmwareCollectorListResult - The response of a VmwareCollector list operation.

func (VmwareCollectorListResult) MarshalJSON

func (v VmwareCollectorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type VmwareCollectorListResult.

func (*VmwareCollectorListResult) UnmarshalJSON

func (v *VmwareCollectorListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type VmwareCollectorListResult.

type VmwareCollectorsOperationsClient

type VmwareCollectorsOperationsClient struct {
	// contains filtered or unexported fields
}

VmwareCollectorsOperationsClient contains the methods for the VmwareCollectorsOperations group. Don't use this type directly, use NewVmwareCollectorsOperationsClient() instead.

func NewVmwareCollectorsOperationsClient

func NewVmwareCollectorsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*VmwareCollectorsOperationsClient, error)

NewVmwareCollectorsOperationsClient creates a new instance of VmwareCollectorsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*VmwareCollectorsOperationsClient) BeginCreate

BeginCreate - Create a VmwareCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • vmWareCollectorName - VMware collector ARM name
  • resource - Resource create parameters.
  • options - VmwareCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the VmwareCollectorsOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/VmwareCollectorsOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewVmwareCollectorsOperationsClient().BeginCreate(ctx, "ayagrawRG", "app18700project", "Vmware2258collector", armmigrationassessment.VmwareCollector{
		Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
			ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningStateSucceeded),
			AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
				ID:               to.Ptr("fe243486-3318-41fa-aaba-c48b5df75308"),
				LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-29T12:10:08.916Z"); return t }()),
				SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
					ApplicationID: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
					Audience:      to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
					Authority:     to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
					ObjectID:      to.Ptr("3fc89111-1405-4938-9214-37aa4739401d"),
					TenantID:      to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
				},
				Version: to.Ptr("1.0.8.383"),
			},
			DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.VmwareCollector = armmigrationassessment.VmwareCollector{
	// 	Name: to.Ptr("Vmware2258collector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/vmwarecollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/vmwarecollectors/Vmware2258collector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("fe243486-3318-41fa-aaba-c48b5df75308"),
	// 			LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-29T12:10:08.916Z"); return t}()),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
	// 				Audience: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("3fc89111-1405-4938-9214-37aa4739401d"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 			Version: to.Ptr("1.0.8.383"),
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-28T13:41:17.556Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:45.969Z"); return t}()),
	// 	},
	// }
}
Output:

func (*VmwareCollectorsOperationsClient) Delete

Delete - Delete a VmwareCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • vmWareCollectorName - VMware collector ARM name
  • options - VmwareCollectorsOperationsClientDeleteOptions contains the optional parameters for the VmwareCollectorsOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/VmwareCollectorsOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewVmwareCollectorsOperationsClient().Delete(ctx, "ayagrawRG", "app18700project", "Vmware2258collector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*VmwareCollectorsOperationsClient) Get

Get - Get a VmwareCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • vmWareCollectorName - VMware collector ARM name
  • options - VmwareCollectorsOperationsClientGetOptions contains the optional parameters for the VmwareCollectorsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/VmwareCollectorsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewVmwareCollectorsOperationsClient().Get(ctx, "ayagrawRG", "app18700project", "Vmware2258collector", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.VmwareCollector = armmigrationassessment.VmwareCollector{
	// 	Name: to.Ptr("Vmware2258collector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/vmwarecollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/vmwarecollectors/Vmware2258collector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
	// 	},
	// 	Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("fe243486-3318-41fa-aaba-c48b5df75308"),
	// 			LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-29T12:10:08.916Z"); return t}()),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
	// 				Audience: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
	// 				Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("3fc89111-1405-4938-9214-37aa4739401d"),
	// 				TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 			},
	// 			Version: to.Ptr("1.0.8.383"),
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-28T13:41:17.556Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:45.969Z"); return t}()),
	// 	},
	// }
}
Output:

func (*VmwareCollectorsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List VmwareCollector resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - VmwareCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the VmwareCollectorsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/VmwareCollectorsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewVmwareCollectorsOperationsClient().NewListByAssessmentProjectPager("ayagrawRG", "app18700project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.VmwareCollectorListResult = armmigrationassessment.VmwareCollectorListResult{
		// 	Value: []*armmigrationassessment.VmwareCollector{
		// 		{
		// 			Name: to.Ptr("Vmware2258collector"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/vmwarecollectors"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawrg/providers/Microsoft.Migrate/assessmentprojects/app18700project/vmwarecollectors/Vmware2258collector"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "0-12-31T15:54:17.000Z"); return t}()),
		// 			},
		// 			Properties: &armmigrationassessment.CollectorPropertiesBaseWithAgent{
		// 				AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
		// 					ID: to.Ptr("fe243486-3318-41fa-aaba-c48b5df75308"),
		// 					LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-29T12:10:08.916Z"); return t}()),
		// 					SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
		// 						ApplicationID: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
		// 						Audience: to.Ptr("82b3e452-c0e8-4662-8347-58282925ae84"),
		// 						Authority: to.Ptr("https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 						ObjectID: to.Ptr("3fc89111-1405-4938-9214-37aa4739401d"),
		// 						TenantID: to.Ptr("72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 					},
		// 					Version: to.Ptr("1.0.8.383"),
		// 				},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2022-03-28T13:41:17.556Z"); return t}()),
		// 				DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/ayagrawRG/providers/Microsoft.OffAzure/VMwareSites/Vmware2744site"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-02-16T12:23:45.969Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type VmwareCollectorsOperationsClientBeginCreateOptions

type VmwareCollectorsOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

VmwareCollectorsOperationsClientBeginCreateOptions contains the optional parameters for the VmwareCollectorsOperationsClient.BeginCreate method.

type VmwareCollectorsOperationsClientCreateResponse

type VmwareCollectorsOperationsClientCreateResponse struct {
	// VMware collector resource.
	VmwareCollector
}

VmwareCollectorsOperationsClientCreateResponse contains the response from method VmwareCollectorsOperationsClient.BeginCreate.

type VmwareCollectorsOperationsClientDeleteOptions

type VmwareCollectorsOperationsClientDeleteOptions struct {
}

VmwareCollectorsOperationsClientDeleteOptions contains the optional parameters for the VmwareCollectorsOperationsClient.Delete method.

type VmwareCollectorsOperationsClientDeleteResponse

type VmwareCollectorsOperationsClientDeleteResponse struct {
}

VmwareCollectorsOperationsClientDeleteResponse contains the response from method VmwareCollectorsOperationsClient.Delete.

type VmwareCollectorsOperationsClientGetOptions

type VmwareCollectorsOperationsClientGetOptions struct {
}

VmwareCollectorsOperationsClientGetOptions contains the optional parameters for the VmwareCollectorsOperationsClient.Get method.

type VmwareCollectorsOperationsClientGetResponse

type VmwareCollectorsOperationsClientGetResponse struct {
	// VMware collector resource.
	VmwareCollector
}

VmwareCollectorsOperationsClientGetResponse contains the response from method VmwareCollectorsOperationsClient.Get.

type VmwareCollectorsOperationsClientListByAssessmentProjectOptions

type VmwareCollectorsOperationsClientListByAssessmentProjectOptions struct {
}

VmwareCollectorsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the VmwareCollectorsOperationsClient.NewListByAssessmentProjectPager method.

type VmwareCollectorsOperationsClientListByAssessmentProjectResponse

type VmwareCollectorsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a VmwareCollector list operation.
	VmwareCollectorListResult
}

VmwareCollectorsOperationsClientListByAssessmentProjectResponse contains the response from method VmwareCollectorsOperationsClient.NewListByAssessmentProjectPager.

type WebAppAssessmentOptions

type WebAppAssessmentOptions struct {
	// The resource-specific properties for this resource.
	Properties *WebAppAssessmentOptionsProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

WebAppAssessmentOptions - Web app Assessment options web model object.

func (WebAppAssessmentOptions) MarshalJSON

func (w WebAppAssessmentOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentOptions.

func (*WebAppAssessmentOptions) UnmarshalJSON

func (w *WebAppAssessmentOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentOptions.

type WebAppAssessmentOptionsListResult

type WebAppAssessmentOptionsListResult struct {
	// REQUIRED; The WebAppAssessmentOptions items on this page
	Value []*WebAppAssessmentOptions

	// The link to the next page of items
	NextLink *string
}

WebAppAssessmentOptionsListResult - The response of a WebAppAssessmentOptions list operation.

func (WebAppAssessmentOptionsListResult) MarshalJSON

func (w WebAppAssessmentOptionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentOptionsListResult.

func (*WebAppAssessmentOptionsListResult) UnmarshalJSON

func (w *WebAppAssessmentOptionsListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentOptionsListResult.

type WebAppAssessmentOptionsOperationsClient

type WebAppAssessmentOptionsOperationsClient struct {
	// contains filtered or unexported fields
}

WebAppAssessmentOptionsOperationsClient contains the methods for the WebAppAssessmentOptionsOperations group. Don't use this type directly, use NewWebAppAssessmentOptionsOperationsClient() instead.

func NewWebAppAssessmentOptionsOperationsClient

func NewWebAppAssessmentOptionsOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebAppAssessmentOptionsOperationsClient, error)

NewWebAppAssessmentOptionsOperationsClient creates a new instance of WebAppAssessmentOptionsOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WebAppAssessmentOptionsOperationsClient) Get

Get - Get a WebAppAssessmentOptions If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • assessmentOptionsName - Web app assessment options ARM name. Accepted values is 'default'
  • options - WebAppAssessmentOptionsOperationsClientGetOptions contains the optional parameters for the WebAppAssessmentOptionsOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentOptionsOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWebAppAssessmentOptionsOperationsClient().Get(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppAssessmentOptions = armmigrationassessment.WebAppAssessmentOptions{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/webAppAssessmentOptions"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/webAppAssessmentOptions/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppAssessmentOptionsProperties{
	// 		ReservedInstanceSupportedCurrencies: []*armmigrationassessment.AzureCurrency{
	// 			to.Ptr(armmigrationassessment.AzureCurrencyUSD)},
	// 			ReservedInstanceSupportedLocations: []*armmigrationassessment.AzureLocation{
	// 				to.Ptr(armmigrationassessment.AzureLocationWestEurope)},
	// 				ReservedInstanceSupportedOffers: []*armmigrationassessment.AzureOfferCode{
	// 					to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P)},
	// 					ReservedInstanceSupportedWebAppTiers: []*armmigrationassessment.AzureWebAppTier{
	// 						to.Ptr(armmigrationassessment.AzureWebAppTierPremiumV3)},
	// 						SavingsPlanSupportedLocations: []*armmigrationassessment.AzureLocation{
	// 							to.Ptr(armmigrationassessment.AzureLocationWestEurope)},
	// 							SavingsPlanSupportedWebAppTiers: []*armmigrationassessment.AzureWebAppTier{
	// 								to.Ptr(armmigrationassessment.AzureWebAppTierPremiumV3)},
	// 								WebAppSKUs: []*armmigrationassessment.WebAppTargetOptions{
	// 									{
	// 										TargetLocations: []*armmigrationassessment.AzureLocation{
	// 											to.Ptr(armmigrationassessment.AzureLocationWestEurope)},
	// 											WebAppTier: to.Ptr(armmigrationassessment.AzureWebAppTierPremiumV3),
	// 									}},
	// 								},
	// 							}
}
Output:

func (*WebAppAssessmentOptionsOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List WebAppAssessmentOptions resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - WebAppAssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the WebAppAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWebAppAssessmentOptionsOperationsClient().NewListByAssessmentProjectPager("rgopenapi", "sumukk-ccy-bcs", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WebAppAssessmentOptionsListResult = armmigrationassessment.WebAppAssessmentOptionsListResult{
		// 	Value: []*armmigrationassessment.WebAppAssessmentOptions{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/webAppAssessmentOptions"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/webAppAssessmentOptions/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-06T05:40:17.507Z"); return t}()),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-06T05:40:17.507Z"); return t}()),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.WebAppAssessmentOptionsProperties{
		// 				ReservedInstanceSupportedCurrencies: []*armmigrationassessment.AzureCurrency{
		// 					to.Ptr(armmigrationassessment.AzureCurrencyUSD)},
		// 					ReservedInstanceSupportedLocations: []*armmigrationassessment.AzureLocation{
		// 						to.Ptr(armmigrationassessment.AzureLocationAustraliaSoutheast)},
		// 						ReservedInstanceSupportedOffers: []*armmigrationassessment.AzureOfferCode{
		// 							to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P)},
		// 							ReservedInstanceSupportedWebAppTiers: []*armmigrationassessment.AzureWebAppTier{
		// 								to.Ptr(armmigrationassessment.AzureWebAppTierPremiumV3)},
		// 								SavingsPlanSupportedLocations: []*armmigrationassessment.AzureLocation{
		// 									to.Ptr(armmigrationassessment.AzureLocationUnknown)},
		// 									SavingsPlanSupportedWebAppTiers: []*armmigrationassessment.AzureWebAppTier{
		// 										to.Ptr(armmigrationassessment.AzureWebAppTierPremiumV3)},
		// 										WebAppSKUs: []*armmigrationassessment.WebAppTargetOptions{
		// 											{
		// 												TargetLocations: []*armmigrationassessment.AzureLocation{
		// 													to.Ptr(armmigrationassessment.AzureLocation("PolandCentral"))},
		// 													WebAppTier: to.Ptr(armmigrationassessment.AzureWebAppTierPremiumV3),
		// 											}},
		// 										},
		// 								}},
		// 							}
	}
}
Output:

type WebAppAssessmentOptionsOperationsClientGetOptions

type WebAppAssessmentOptionsOperationsClientGetOptions struct {
}

WebAppAssessmentOptionsOperationsClientGetOptions contains the optional parameters for the WebAppAssessmentOptionsOperationsClient.Get method.

type WebAppAssessmentOptionsOperationsClientGetResponse

type WebAppAssessmentOptionsOperationsClientGetResponse struct {
	// Web app Assessment options web model object.
	WebAppAssessmentOptions
}

WebAppAssessmentOptionsOperationsClientGetResponse contains the response from method WebAppAssessmentOptionsOperationsClient.Get.

type WebAppAssessmentOptionsOperationsClientListByAssessmentProjectOptions

type WebAppAssessmentOptionsOperationsClientListByAssessmentProjectOptions struct {
}

WebAppAssessmentOptionsOperationsClientListByAssessmentProjectOptions contains the optional parameters for the WebAppAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager method.

type WebAppAssessmentOptionsOperationsClientListByAssessmentProjectResponse

type WebAppAssessmentOptionsOperationsClientListByAssessmentProjectResponse struct {
	// The response of a WebAppAssessmentOptions list operation.
	WebAppAssessmentOptionsListResult
}

WebAppAssessmentOptionsOperationsClientListByAssessmentProjectResponse contains the response from method WebAppAssessmentOptionsOperationsClient.NewListByAssessmentProjectPager.

type WebAppAssessmentOptionsProperties

type WebAppAssessmentOptionsProperties struct {
	// Gets or sets the list of currencies supported for Reserved Instances.
	ReservedInstanceSupportedCurrencies []*AzureCurrency

	// Gets or sets the list of Azure locations supporting Reserved Instances.
	ReservedInstanceSupportedLocations []*AzureLocation

	// Gets or sets the list of offers supported for Reserved Instances.
	ReservedInstanceSupportedOffers []*AzureOfferCode

	// Gets or sets the list of currencies supported for Reserved Instances.
	ReservedInstanceSupportedWebAppTiers []*AzureWebAppTier

	// Gets or sets the list of Azure locations supporting Saving Plans for IAAS.
	SavingsPlanSupportedLocations []*AzureLocation

	// Gets or sets the list of Azure Offers supporting Saving Plans.
	SavingsPlanSupportedWebAppTiers []*AzureWebAppTier

	// READ-ONLY; Gets the list of web app target options.
	WebAppSKUs []*WebAppTargetOptions
}

WebAppAssessmentOptionsProperties - Web app Assessment options properties Web model object.

func (WebAppAssessmentOptionsProperties) MarshalJSON

func (w WebAppAssessmentOptionsProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentOptionsProperties.

func (*WebAppAssessmentOptionsProperties) UnmarshalJSON

func (w *WebAppAssessmentOptionsProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentOptionsProperties.

type WebAppAssessmentV2

type WebAppAssessmentV2 struct {
	// The resource-specific properties for this resource.
	Properties *WebAppAssessmentV2Properties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

WebAppAssessmentV2 - Web app Assessment REST resource.

func (WebAppAssessmentV2) MarshalJSON

func (w WebAppAssessmentV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentV2.

func (*WebAppAssessmentV2) UnmarshalJSON

func (w *WebAppAssessmentV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentV2.

type WebAppAssessmentV2ListResult

type WebAppAssessmentV2ListResult struct {
	// REQUIRED; The WebAppAssessmentV2 items on this page
	Value []*WebAppAssessmentV2

	// The link to the next page of items
	NextLink *string
}

WebAppAssessmentV2ListResult - The response of a WebAppAssessmentV2 list operation.

func (WebAppAssessmentV2ListResult) MarshalJSON

func (w WebAppAssessmentV2ListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentV2ListResult.

func (*WebAppAssessmentV2ListResult) UnmarshalJSON

func (w *WebAppAssessmentV2ListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentV2ListResult.

type WebAppAssessmentV2OperationsClient

type WebAppAssessmentV2OperationsClient struct {
	// contains filtered or unexported fields
}

WebAppAssessmentV2OperationsClient contains the methods for the WebAppAssessmentV2Operations group. Don't use this type directly, use NewWebAppAssessmentV2OperationsClient() instead.

func NewWebAppAssessmentV2OperationsClient

func NewWebAppAssessmentV2OperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebAppAssessmentV2OperationsClient, error)

NewWebAppAssessmentV2OperationsClient creates a new instance of WebAppAssessmentV2OperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WebAppAssessmentV2OperationsClient) BeginCreate

BeginCreate - Create a WebAppAssessmentV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • resource - Resource create parameters.
  • options - WebAppAssessmentV2OperationsClientBeginCreateOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2Operations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewWebAppAssessmentV2OperationsClient().BeginCreate(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", armmigrationassessment.WebAppAssessmentV2{
		Properties: &armmigrationassessment.WebAppAssessmentV2Properties{
			AppSvcContainerSettings: &armmigrationassessment.AppSvcContainerSettings{
				IsolationRequired: to.Ptr(true),
			},
			AppSvcNativeSettings: &armmigrationassessment.AppSvcNativeSettings{
				IsolationRequired: to.Ptr(true),
			},
			AssessmentType:               to.Ptr(armmigrationassessment.AssessmentTypeWebAppAssessment),
			AzureLocation:                to.Ptr("UkWest"),
			AzureOfferCode:               to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
			AzureSecurityOfferingType:    to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
			ConfidenceRatingInPercentage: to.Ptr[float32](13),
			Currency:                     to.Ptr(armmigrationassessment.AzureCurrencyUSD),
			DiscountPercentage:           to.Ptr[float32](13),
			DiscoveredEntityLightSummary: &armmigrationassessment.DiscoveredEntityLightSummary{
				NumberOfMachines: to.Ptr[int32](27),
				NumberOfServers:  to.Ptr[int32](5),
				NumberOfWebApps:  to.Ptr[int32](23),
			},
			EaSubscriptionID: to.Ptr(""),
			EntityUptime: &armmigrationassessment.EntityUptime{
				DaysPerMonth: to.Ptr[int32](18),
				HoursPerDay:  to.Ptr[int32](13),
			},
			EnvironmentType:   to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
			GroupType:         to.Ptr(armmigrationassessment.GroupTypeDefault),
			Percentile:        to.Ptr(armmigrationassessment.PercentilePercentile50),
			PerfDataEndTime:   to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t }()),
			PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t }()),
			ReservedInstance:  to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
			ScalingFactor:     to.Ptr[float32](17),
			SizingCriterion:   to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
			Stage:             to.Ptr(armmigrationassessment.AssessmentStageInProgress),
			Status:            to.Ptr(armmigrationassessment.AssessmentStatusCreated),
			TimeRange:         to.Ptr(armmigrationassessment.TimeRangeDay),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppAssessmentV2 = armmigrationassessment.WebAppAssessmentV2{
	// 	Name: to.Ptr("anraghun-v2-test"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/groups/webAppAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentProjects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-v2-test"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedBy: to.Ptr("eatnpvdxza"),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedBy: to.Ptr("rnfkzoaidy"),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppAssessmentV2Properties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
	// 		AppSvcContainerSettings: &armmigrationassessment.AppSvcContainerSettings{
	// 			IsolationRequired: to.Ptr(true),
	// 		},
	// 		AppSvcNativeSettings: &armmigrationassessment.AppSvcNativeSettings{
	// 			IsolationRequired: to.Ptr(true),
	// 		},
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeWebAppAssessment),
	// 		AzureLocation: to.Ptr("UkWest"),
	// 		AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
	// 		AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](13),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
	// 		DiscountPercentage: to.Ptr[float32](13),
	// 		DiscoveredEntityLightSummary: &armmigrationassessment.DiscoveredEntityLightSummary{
	// 			NumberOfMachines: to.Ptr[int32](27),
	// 			NumberOfServers: to.Ptr[int32](5),
	// 			NumberOfWebApps: to.Ptr[int32](23),
	// 		},
	// 		EaSubscriptionID: to.Ptr(""),
	// 		EntityUptime: &armmigrationassessment.EntityUptime{
	// 			DaysPerMonth: to.Ptr[int32](18),
	// 			HoursPerDay: to.Ptr[int32](13),
	// 		},
	// 		EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
	// 		GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 		Percentile: to.Ptr(armmigrationassessment.PercentilePercentile50),
	// 		PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
	// 		ScalingFactor: to.Ptr[float32](17),
	// 		SchemaVersion: to.Ptr("2.0"),
	// 		SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 		Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 		Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
	// 		TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 	},
	// }
}
Output:

func (*WebAppAssessmentV2OperationsClient) BeginDownloadURL

BeginDownloadURL - Get the URL for downloading the assessment in a report format. If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • body - The content of the action request
  • options - WebAppAssessmentV2OperationsClientBeginDownloadURLOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.BeginDownloadURL method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2Operations_DownloadUrl_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewWebAppAssessmentV2OperationsClient().BeginDownloadURL(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", map[string]any{}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.DownloadURL = armmigrationassessment.DownloadURL{
	// 	AssessmentReportURL: to.Ptr("https://assessmentsrvcanccysa2.blob.core.windows.net/cc1325ff-d42f-4c45-bfb6-12069e45becb/anraghun-selfhost-v2anraghun-v2-testWebAppAssessment.xlsx?sv=2018-03-28&sr=b&sig=NYBG6gJmofvIQsk1K1tewWfX51BpFZWsvIy7gBXNYUE%3D&st=2023-11-03T05%3A51%3A39Z&se=2023-11-03T06%3A26%3A39Z&sp=r"),
	// 	ExpirationTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:09.465Z"); return t}()),
	// }
}
Output:

func (*WebAppAssessmentV2OperationsClient) Delete

Delete - Delete a WebAppAssessmentV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • options - WebAppAssessmentV2OperationsClientDeleteOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2Operations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWebAppAssessmentV2OperationsClient().Delete(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WebAppAssessmentV2OperationsClient) Get

Get - Get a WebAppAssessmentV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • options - WebAppAssessmentV2OperationsClientGetOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2Operations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWebAppAssessmentV2OperationsClient().Get(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-v2-test", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppAssessmentV2 = armmigrationassessment.WebAppAssessmentV2{
	// 	Name: to.Ptr("anraghun-selfhost-v2"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/groups/webAppAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentProjects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppAssessmentV2Properties{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
	// 		AppSvcContainerSettings: &armmigrationassessment.AppSvcContainerSettings{
	// 			IsolationRequired: to.Ptr(true),
	// 		},
	// 		AppSvcNativeSettings: &armmigrationassessment.AppSvcNativeSettings{
	// 			IsolationRequired: to.Ptr(true),
	// 		},
	// 		AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeWebAppAssessment),
	// 		AzureLocation: to.Ptr("UkWest"),
	// 		AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeUnknown),
	// 		AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
	// 		ConfidenceRatingInPercentage: to.Ptr[float32](13),
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		Currency: to.Ptr(armmigrationassessment.AzureCurrency("MSAZR0003P")),
	// 		DiscountPercentage: to.Ptr[float32](13),
	// 		DiscoveredEntityLightSummary: &armmigrationassessment.DiscoveredEntityLightSummary{
	// 			NumberOfMachines: to.Ptr[int32](27),
	// 			NumberOfServers: to.Ptr[int32](5),
	// 			NumberOfWebApps: to.Ptr[int32](23),
	// 		},
	// 		EaSubscriptionID: to.Ptr(""),
	// 		EntityUptime: &armmigrationassessment.EntityUptime{
	// 			DaysPerMonth: to.Ptr[int32](18),
	// 			HoursPerDay: to.Ptr[int32](13),
	// 		},
	// 		EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
	// 		GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
	// 		Percentile: to.Ptr(armmigrationassessment.PercentilePercentile50),
	// 		PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 		ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
	// 		ScalingFactor: to.Ptr[float32](17),
	// 		SchemaVersion: to.Ptr("2.0"),
	// 		SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
	// 		Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
	// 		Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
	// 		TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
	// 	},
	// }
}
Output:

func (*WebAppAssessmentV2OperationsClient) NewListByGroupPager

NewListByGroupPager - List WebAppAssessmentV2 resources by Group

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • options - WebAppAssessmentV2OperationsClientListByGroupOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.NewListByGroupPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2Operations_ListByGroup_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWebAppAssessmentV2OperationsClient().NewListByGroupPager("rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WebAppAssessmentV2ListResult = armmigrationassessment.WebAppAssessmentV2ListResult{
		// 	Value: []*armmigrationassessment.WebAppAssessmentV2{
		// 		{
		// 			Name: to.Ptr("anraghun-selfhost-v2"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/groups/webAppAssessments"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentProjects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.WebAppAssessmentV2Properties{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
		// 				AppSvcContainerSettings: &armmigrationassessment.AppSvcContainerSettings{
		// 					IsolationRequired: to.Ptr(true),
		// 				},
		// 				AppSvcNativeSettings: &armmigrationassessment.AppSvcNativeSettings{
		// 					IsolationRequired: to.Ptr(true),
		// 				},
		// 				AssessmentType: to.Ptr(armmigrationassessment.AssessmentTypeWebAppAssessment),
		// 				AzureLocation: to.Ptr("UkWest"),
		// 				AzureOfferCode: to.Ptr(armmigrationassessment.AzureOfferCodeMsazr0003P),
		// 				AzureSecurityOfferingType: to.Ptr(armmigrationassessment.AzureSecurityOfferingTypeNO),
		// 				ConfidenceRatingInPercentage: to.Ptr[float32](13),
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
		// 				Currency: to.Ptr(armmigrationassessment.AzureCurrencyUSD),
		// 				DiscountPercentage: to.Ptr[float32](13),
		// 				DiscoveredEntityLightSummary: &armmigrationassessment.DiscoveredEntityLightSummary{
		// 					NumberOfMachines: to.Ptr[int32](27),
		// 					NumberOfServers: to.Ptr[int32](5),
		// 					NumberOfWebApps: to.Ptr[int32](23),
		// 				},
		// 				EaSubscriptionID: to.Ptr(""),
		// 				EntityUptime: &armmigrationassessment.EntityUptime{
		// 					DaysPerMonth: to.Ptr[int32](18),
		// 					HoursPerDay: to.Ptr[int32](13),
		// 				},
		// 				EnvironmentType: to.Ptr(armmigrationassessment.EnvironmentTypeProduction),
		// 				GroupType: to.Ptr(armmigrationassessment.GroupTypeDefault),
		// 				Percentile: to.Ptr(armmigrationassessment.PercentilePercentile50),
		// 				PerfDataEndTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
		// 				PerfDataStartTime: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
		// 				PricesTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
		// 				ReservedInstance: to.Ptr(armmigrationassessment.AzureReservedInstanceNone),
		// 				ScalingFactor: to.Ptr[float32](17),
		// 				SchemaVersion: to.Ptr("2.0"),
		// 				SizingCriterion: to.Ptr(armmigrationassessment.AssessmentSizingCriterionPerformanceBased),
		// 				Stage: to.Ptr(armmigrationassessment.AssessmentStageInProgress),
		// 				Status: to.Ptr(armmigrationassessment.AssessmentStatusCreated),
		// 				TimeRange: to.Ptr(armmigrationassessment.TimeRangeDay),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:45.496Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type WebAppAssessmentV2OperationsClientBeginCreateOptions

type WebAppAssessmentV2OperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

WebAppAssessmentV2OperationsClientBeginCreateOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.BeginCreate method.

type WebAppAssessmentV2OperationsClientBeginDownloadURLOptions

type WebAppAssessmentV2OperationsClientBeginDownloadURLOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

WebAppAssessmentV2OperationsClientBeginDownloadURLOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.BeginDownloadURL method.

type WebAppAssessmentV2OperationsClientCreateResponse

type WebAppAssessmentV2OperationsClientCreateResponse struct {
	// Web app Assessment REST resource.
	WebAppAssessmentV2
}

WebAppAssessmentV2OperationsClientCreateResponse contains the response from method WebAppAssessmentV2OperationsClient.BeginCreate.

type WebAppAssessmentV2OperationsClientDeleteOptions

type WebAppAssessmentV2OperationsClientDeleteOptions struct {
}

WebAppAssessmentV2OperationsClientDeleteOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.Delete method.

type WebAppAssessmentV2OperationsClientDeleteResponse

type WebAppAssessmentV2OperationsClientDeleteResponse struct {
}

WebAppAssessmentV2OperationsClientDeleteResponse contains the response from method WebAppAssessmentV2OperationsClient.Delete.

type WebAppAssessmentV2OperationsClientDownloadURLResponse

type WebAppAssessmentV2OperationsClientDownloadURLResponse struct {
	// Data model of Download URL for assessment report.
	DownloadURL
}

WebAppAssessmentV2OperationsClientDownloadURLResponse contains the response from method WebAppAssessmentV2OperationsClient.BeginDownloadURL.

type WebAppAssessmentV2OperationsClientGetOptions

type WebAppAssessmentV2OperationsClientGetOptions struct {
}

WebAppAssessmentV2OperationsClientGetOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.Get method.

type WebAppAssessmentV2OperationsClientGetResponse

type WebAppAssessmentV2OperationsClientGetResponse struct {
	// Web app Assessment REST resource.
	WebAppAssessmentV2
}

WebAppAssessmentV2OperationsClientGetResponse contains the response from method WebAppAssessmentV2OperationsClient.Get.

type WebAppAssessmentV2OperationsClientListByGroupOptions

type WebAppAssessmentV2OperationsClientListByGroupOptions struct {
}

WebAppAssessmentV2OperationsClientListByGroupOptions contains the optional parameters for the WebAppAssessmentV2OperationsClient.NewListByGroupPager method.

type WebAppAssessmentV2OperationsClientListByGroupResponse

type WebAppAssessmentV2OperationsClientListByGroupResponse struct {
	// The response of a WebAppAssessmentV2 list operation.
	WebAppAssessmentV2ListResult
}

WebAppAssessmentV2OperationsClientListByGroupResponse contains the response from method WebAppAssessmentV2OperationsClient.NewListByGroupPager.

type WebAppAssessmentV2Properties

type WebAppAssessmentV2Properties struct {
	// Gets or sets user configurable app service container database settings.
	AppSvcContainerSettings *AppSvcContainerSettings

	// Gets or sets user configurable app service native settings.
	AppSvcNativeSettings *AppSvcNativeSettings

	// Assessment type of the assessment.
	AssessmentType *AssessmentType

	// Azure Location or Azure region where to which the machines will be migrated.
	AzureLocation *string

	// Azure Offer Code.
	AzureOfferCode *AzureOfferCode

	// Gets or sets a value indicating azure security offering type.
	AzureSecurityOfferingType *AzureSecurityOfferingType

	// Confidence Rating in Percentage.
	ConfidenceRatingInPercentage *float32

	// Currency in which prices should be reported.
	Currency *AzureCurrency

	// Custom discount percentage.
	DiscountPercentage *float32

	// Gets or sets user configurable discovered entity settings.
	DiscoveredEntityLightSummary *DiscoveredEntityLightSummary

	// Gets or sets the Enterprise agreement subscription id.
	EaSubscriptionID *string

	// Gets or sets the duration for which the entity (Web app, VMs) are up in the on-premises environment.
	EntityUptime *EntityUptime

	// Gets or sets user configurable setting to display the environment type.
	EnvironmentType *EnvironmentType

	// Gets the group type for the assessment.
	GroupType *GroupType

	// Percentile of the utilization data values to be considered while assessing machines.
	Percentile *Percentile

	// Gets or sets the end time to consider performance data for assessment.
	PerfDataEndTime *time.Time

	// Gets or sets the start time to consider performance data for assessment.
	PerfDataStartTime *time.Time

	// Reserved instance.
	ReservedInstance *AzureReservedInstance

	// Percentage of buffer that user wants on performance metrics when recommending Azure sizes.
	ScalingFactor *float32

	// Assessment sizing criterion.
	SizingCriterion *AssessmentSizingCriterion

	// Time Range for which the historic utilization data should be considered for assessment.
	TimeRange *TimeRange

	// READ-ONLY; Date and Time when assessment was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Last time when rates were queried.
	PricesTimestamp *time.Time

	// READ-ONLY; The status of the last operation.
	ProvisioningState *ProvisioningState2

	// READ-ONLY; Schema version.
	SchemaVersion *string

	// READ-ONLY; User configurable setting to display the Stage of Assessment.
	Stage *AssessmentStage

	// READ-ONLY; Whether assessment is in valid state and all machines have been assessed.
	Status *AssessmentStatus

	// READ-ONLY; Date and Time when assessment was last updated.
	UpdatedTimestamp *time.Time
}

WebAppAssessmentV2Properties - Web app assessment properties class.

func (WebAppAssessmentV2Properties) MarshalJSON

func (w WebAppAssessmentV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentV2Properties.

func (*WebAppAssessmentV2Properties) UnmarshalJSON

func (w *WebAppAssessmentV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentV2Properties.

type WebAppAssessmentV2Summary

type WebAppAssessmentV2Summary struct {
	// The resource-specific properties for this resource.
	Properties *WebAppAssessmentV2SummaryProperties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

WebAppAssessmentV2Summary - Web app Assessment REST resource.

func (WebAppAssessmentV2Summary) MarshalJSON

func (w WebAppAssessmentV2Summary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentV2Summary.

func (*WebAppAssessmentV2Summary) UnmarshalJSON

func (w *WebAppAssessmentV2Summary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentV2Summary.

type WebAppAssessmentV2SummaryListResult

type WebAppAssessmentV2SummaryListResult struct {
	// REQUIRED; The WebAppAssessmentV2Summary items on this page
	Value []*WebAppAssessmentV2Summary

	// The link to the next page of items
	NextLink *string
}

WebAppAssessmentV2SummaryListResult - The response of a WebAppAssessmentV2Summary list operation.

func (WebAppAssessmentV2SummaryListResult) MarshalJSON

func (w WebAppAssessmentV2SummaryListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentV2SummaryListResult.

func (*WebAppAssessmentV2SummaryListResult) UnmarshalJSON

func (w *WebAppAssessmentV2SummaryListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentV2SummaryListResult.

type WebAppAssessmentV2SummaryOperationsClient

type WebAppAssessmentV2SummaryOperationsClient struct {
	// contains filtered or unexported fields
}

WebAppAssessmentV2SummaryOperationsClient contains the methods for the WebAppAssessmentV2SummaryOperations group. Don't use this type directly, use NewWebAppAssessmentV2SummaryOperationsClient() instead.

func NewWebAppAssessmentV2SummaryOperationsClient

func NewWebAppAssessmentV2SummaryOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebAppAssessmentV2SummaryOperationsClient, error)

NewWebAppAssessmentV2SummaryOperationsClient creates a new instance of WebAppAssessmentV2SummaryOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WebAppAssessmentV2SummaryOperationsClient) Get

Get - Get a WebAppAssessmentV2Summary If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • summaryName - Gets the Name of the Web app Summary.
  • options - WebAppAssessmentV2SummaryOperationsClientGetOptions contains the optional parameters for the WebAppAssessmentV2SummaryOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2SummaryOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWebAppAssessmentV2SummaryOperationsClient().Get(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", "default", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppAssessmentV2Summary = armmigrationassessment.WebAppAssessmentV2Summary{
	// 	Name: to.Ptr("default"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentProjects/groups/webAppAssessments"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentProjects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2/summaries/default"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppAssessmentV2SummaryProperties{
	// 		AssessmentSummary: map[string]*armmigrationassessment.DiscoveredEntitiesSummary{
	// 			"discoveredEntitiesSummary": &armmigrationassessment.DiscoveredEntitiesSummary{
	// 				NumberOfMachines: to.Ptr[int32](24),
	// 				NumberOfServers: to.Ptr[int32](15),
	// 				NumberOfWebApps: to.Ptr[int32](6),
	// 				WebAppSummary: map[string]*int32{
	// 					"iis": to.Ptr[int32](30),
	// 				},
	// 				WebServerSummary: map[string]*int32{
	// 					"iis": to.Ptr[int32](13),
	// 				},
	// 			},
	// 		},
	// 		TargetSpecificSummary: map[string]*armmigrationassessment.TargetSpecificSummary{
	// 			"azureAppService": &armmigrationassessment.TargetSpecificSummary{
	// 				ReadinessSummary: map[string]*int32{
	// 					"suitable": to.Ptr[int32](13),
	// 				},
	// 				RecommendationResultSKUDetails: map[string]*armmigrationassessment.WebAppSKUDetails{
	// 					"isolated": &armmigrationassessment.WebAppSKUDetails{
	// 						AppServicePlanCount: to.Ptr[int32](4),
	// 						MonthlySecurityCost: to.Ptr[float32](3),
	// 						SKUName: to.Ptr("Isolated"),
	// 						SKUSize: to.Ptr("I1"),
	// 						TotalMonthlyCost: to.Ptr[float32](21),
	// 					},
	// 				},
	// 			},
	// 		},
	// 	},
	// }
}
Output:

func (*WebAppAssessmentV2SummaryOperationsClient) NewListByWebAppAssessmentV2Pager

NewListByWebAppAssessmentV2Pager - List WebAppAssessmentV2Summary resources by WebAppAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • options - WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Options contains the optional parameters for the WebAppAssessmentV2SummaryOperationsClient.NewListByWebAppAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppAssessmentV2SummaryOperations_ListByWebAppAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWebAppAssessmentV2SummaryOperationsClient().NewListByWebAppAssessmentV2Pager("rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WebAppAssessmentV2SummaryListResult = armmigrationassessment.WebAppAssessmentV2SummaryListResult{
		// 	Value: []*armmigrationassessment.WebAppAssessmentV2Summary{
		// 		{
		// 			Name: to.Ptr("default"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentProjects/groups/webAppAssessments"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentProjects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2/summaries/default"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.WebAppAssessmentV2SummaryProperties{
		// 				AssessmentSummary: map[string]*armmigrationassessment.DiscoveredEntitiesSummary{
		// 					"discoveredEntitiesSummary": &armmigrationassessment.DiscoveredEntitiesSummary{
		// 						NumberOfMachines: to.Ptr[int32](24),
		// 						NumberOfServers: to.Ptr[int32](15),
		// 						NumberOfWebApps: to.Ptr[int32](6),
		// 						WebAppSummary: map[string]*int32{
		// 							"iis": to.Ptr[int32](30),
		// 						},
		// 						WebServerSummary: map[string]*int32{
		// 							"iis": to.Ptr[int32](13),
		// 						},
		// 					},
		// 				},
		// 				TargetSpecificSummary: map[string]*armmigrationassessment.TargetSpecificSummary{
		// 					"azureAppService": &armmigrationassessment.TargetSpecificSummary{
		// 						ReadinessSummary: map[string]*int32{
		// 							"conditionallySuitable": to.Ptr[int32](13),
		// 						},
		// 						RecommendationResultSKUDetails: map[string]*armmigrationassessment.WebAppSKUDetails{
		// 							"isolated": &armmigrationassessment.WebAppSKUDetails{
		// 								AppServicePlanCount: to.Ptr[int32](2),
		// 								MonthlySecurityCost: to.Ptr[float32](0),
		// 								SKUName: to.Ptr("Isolated"),
		// 								SKUSize: to.Ptr("I1"),
		// 								TotalMonthlyCost: to.Ptr[float32](584),
		// 							},
		// 						},
		// 					},
		// 				},
		// 			},
		// 	}},
		// }
	}
}
Output:

type WebAppAssessmentV2SummaryOperationsClientGetOptions

type WebAppAssessmentV2SummaryOperationsClientGetOptions struct {
}

WebAppAssessmentV2SummaryOperationsClientGetOptions contains the optional parameters for the WebAppAssessmentV2SummaryOperationsClient.Get method.

type WebAppAssessmentV2SummaryOperationsClientGetResponse

type WebAppAssessmentV2SummaryOperationsClientGetResponse struct {
	// Web app Assessment REST resource.
	WebAppAssessmentV2Summary
}

WebAppAssessmentV2SummaryOperationsClientGetResponse contains the response from method WebAppAssessmentV2SummaryOperationsClient.Get.

type WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Options

type WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Options struct {
}

WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Options contains the optional parameters for the WebAppAssessmentV2SummaryOperationsClient.NewListByWebAppAssessmentV2Pager method.

type WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Response

type WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Response struct {
	// The response of a WebAppAssessmentV2Summary list operation.
	WebAppAssessmentV2SummaryListResult
}

WebAppAssessmentV2SummaryOperationsClientListByWebAppAssessmentV2Response contains the response from method WebAppAssessmentV2SummaryOperationsClient.NewListByWebAppAssessmentV2Pager.

type WebAppAssessmentV2SummaryProperties

type WebAppAssessmentV2SummaryProperties struct {
	// READ-ONLY; Gets or sets the discovered entities summary.
	AssessmentSummary map[string]*DiscoveredEntitiesSummary

	// READ-ONLY; Gets the target specific summary.
	TargetSpecificSummary map[string]*TargetSpecificSummary
}

WebAppAssessmentV2SummaryProperties - Web app Assessment V2 summary properties.

func (WebAppAssessmentV2SummaryProperties) MarshalJSON

func (w WebAppAssessmentV2SummaryProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppAssessmentV2SummaryProperties.

func (*WebAppAssessmentV2SummaryProperties) UnmarshalJSON

func (w *WebAppAssessmentV2SummaryProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppAssessmentV2SummaryProperties.

type WebAppCollector

type WebAppCollector struct {
	// The resource-specific properties for this resource.
	Properties *WebAppCollectorPropertiesBaseWithAgent

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

WebAppCollector - The web app collector REST object.

func (WebAppCollector) MarshalJSON

func (w WebAppCollector) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppCollector.

func (*WebAppCollector) UnmarshalJSON

func (w *WebAppCollector) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppCollector.

type WebAppCollectorListResult

type WebAppCollectorListResult struct {
	// REQUIRED; The WebAppCollector items on this page
	Value []*WebAppCollector

	// The link to the next page of items
	NextLink *string
}

WebAppCollectorListResult - The response of a WebAppCollector list operation.

func (WebAppCollectorListResult) MarshalJSON

func (w WebAppCollectorListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppCollectorListResult.

func (*WebAppCollectorListResult) UnmarshalJSON

func (w *WebAppCollectorListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppCollectorListResult.

type WebAppCollectorOperationsClient

type WebAppCollectorOperationsClient struct {
	// contains filtered or unexported fields
}

WebAppCollectorOperationsClient contains the methods for the WebAppCollectorOperations group. Don't use this type directly, use NewWebAppCollectorOperationsClient() instead.

func NewWebAppCollectorOperationsClient

func NewWebAppCollectorOperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebAppCollectorOperationsClient, error)

NewWebAppCollectorOperationsClient creates a new instance of WebAppCollectorOperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WebAppCollectorOperationsClient) BeginCreate

BeginCreate - Create a WebAppCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • collectorName - Web app collector ARM name.
  • resource - Resource create parameters.
  • options - WebAppCollectorOperationsClientBeginCreateOptions contains the optional parameters for the WebAppCollectorOperationsClient.BeginCreate method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppCollectorOperations_Create_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"time"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	poller, err := clientFactory.NewWebAppCollectorOperationsClient().BeginCreate(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "collector1", armmigrationassessment.WebAppCollector{
		Properties: &armmigrationassessment.WebAppCollectorPropertiesBaseWithAgent{
			AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
				ID:               to.Ptr("fed93df5-b787-4e3f-a764-e3d2b9101a59-agent"),
				LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t }()),
				SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
					ApplicationID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
					Audience:      to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
					Authority:     to.Ptr("https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"),
					ObjectID:      to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
					TenantID:      to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
				},
			},
			DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.OffAzure/MasterSites/sumukk-ccy-bcs9880mastersite/WebAppSites/sumukk-ccy-bcs9880webappsites"),
		},
	}, nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	res, err := poller.PollUntilDone(ctx, nil)
	if err != nil {
		log.Fatalf("failed to pull the result: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppCollector = armmigrationassessment.WebAppCollector{
	// 	Name: to.Ptr("sumukk-ccy-bcs4a93webappsitecollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/webappcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/webappcollectors/sumukk-ccy-bcs4a93webappsitecollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppCollectorPropertiesBaseWithAgent{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("fed93df5-b787-4e3f-a764-e3d2b9101a59-agent"),
	// 			LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 				Audience: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 				Authority: to.Ptr("https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 				TenantID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 			},
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.OffAzure/MasterSites/sumukk-ccy-bcs9880mastersite/WebAppSites/sumukk-ccy-bcs9880webappsites"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
	// 	},
	// }
}
Output:

func (*WebAppCollectorOperationsClient) Delete

Delete - Delete a WebAppCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • collectorName - Web app collector ARM name.
  • options - WebAppCollectorOperationsClientDeleteOptions contains the optional parameters for the WebAppCollectorOperationsClient.Delete method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppCollectorOperations_Delete_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	_, err = clientFactory.NewWebAppCollectorOperationsClient().Delete(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "collector1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
}
Output:

func (*WebAppCollectorOperationsClient) Get

Get - Get a WebAppCollector If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • collectorName - Web app collector ARM name.
  • options - WebAppCollectorOperationsClientGetOptions contains the optional parameters for the WebAppCollectorOperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppCollectorOperations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWebAppCollectorOperationsClient().Get(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "collector1", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppCollector = armmigrationassessment.WebAppCollector{
	// 	Name: to.Ptr("sumukk-ccy-bcs4a93webappsitecollector"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/webappcollectors"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/webappcollectors/sumukk-ccy-bcs4a93webappsitecollector"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppCollectorPropertiesBaseWithAgent{
	// 		ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
	// 		AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
	// 			ID: to.Ptr("fed93df5-b787-4e3f-a764-e3d2b9101a59-agent"),
	// 			SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
	// 				ApplicationID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 				Audience: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 				Authority: to.Ptr("https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"),
	// 				ObjectID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 				TenantID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
	// 			},
	// 		},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
	// 		DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.OffAzure/MasterSites/sumukk-ccy-bcs9880mastersite/WebAppSites/sumukk-ccy-bcs9880webappsites"),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
	// 	},
	// }
}
Output:

func (*WebAppCollectorOperationsClient) NewListByAssessmentProjectPager

NewListByAssessmentProjectPager - List WebAppCollector resources by AssessmentProject

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • options - WebAppCollectorOperationsClientListByAssessmentProjectOptions contains the optional parameters for the WebAppCollectorOperationsClient.NewListByAssessmentProjectPager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppCollectorOperations_ListByAssessmentProject_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWebAppCollectorOperationsClient().NewListByAssessmentProjectPager("rgopenapi", "sumukk-ccy-bcs4557project", nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WebAppCollectorListResult = armmigrationassessment.WebAppCollectorListResult{
		// 	Value: []*armmigrationassessment.WebAppCollector{
		// 		{
		// 			Name: to.Ptr("sumukk-ccy-bcs4a93webappsitecollector"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/webappcollectors"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/webappcollectors/sumukk-ccy-bcs4a93webappsitecollector"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.WebAppCollectorPropertiesBaseWithAgent{
		// 				ProvisioningState: to.Ptr(armmigrationassessment.ProvisioningState2Succeeded),
		// 				AgentProperties: &armmigrationassessment.CollectorAgentPropertiesBase{
		// 					ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/webappcollectors/sumukk-ccy-bcs4a93webappsitecollector"),
		// 					LastHeartbeatUTC: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
		// 					SpnDetails: &armmigrationassessment.CollectorAgentSpnPropertiesBase{
		// 						ApplicationID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
		// 						Audience: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
		// 						Authority: to.Ptr("https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47"),
		// 						ObjectID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
		// 						TenantID: to.Ptr("2f70d5e8-7adc-4c64-910a-7031079efc6e"),
		// 					},
		// 				},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
		// 				DiscoverySiteID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.OffAzure/MasterSites/sumukk-ccy-bcs9880mastersite/WebAppSites/sumukk-ccy-bcs9880webappsites"),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:43:02.078Z"); return t}()),
		// 			},
		// 	}},
		// }
	}
}
Output:

type WebAppCollectorOperationsClientBeginCreateOptions

type WebAppCollectorOperationsClientBeginCreateOptions struct {
	// Resumes the long-running operation from the provided token.
	ResumeToken string
}

WebAppCollectorOperationsClientBeginCreateOptions contains the optional parameters for the WebAppCollectorOperationsClient.BeginCreate method.

type WebAppCollectorOperationsClientCreateResponse

type WebAppCollectorOperationsClientCreateResponse struct {
	// The web app collector REST object.
	WebAppCollector
}

WebAppCollectorOperationsClientCreateResponse contains the response from method WebAppCollectorOperationsClient.BeginCreate.

type WebAppCollectorOperationsClientDeleteOptions

type WebAppCollectorOperationsClientDeleteOptions struct {
}

WebAppCollectorOperationsClientDeleteOptions contains the optional parameters for the WebAppCollectorOperationsClient.Delete method.

type WebAppCollectorOperationsClientDeleteResponse

type WebAppCollectorOperationsClientDeleteResponse struct {
}

WebAppCollectorOperationsClientDeleteResponse contains the response from method WebAppCollectorOperationsClient.Delete.

type WebAppCollectorOperationsClientGetOptions

type WebAppCollectorOperationsClientGetOptions struct {
}

WebAppCollectorOperationsClientGetOptions contains the optional parameters for the WebAppCollectorOperationsClient.Get method.

type WebAppCollectorOperationsClientGetResponse

type WebAppCollectorOperationsClientGetResponse struct {
	// The web app collector REST object.
	WebAppCollector
}

WebAppCollectorOperationsClientGetResponse contains the response from method WebAppCollectorOperationsClient.Get.

type WebAppCollectorOperationsClientListByAssessmentProjectOptions

type WebAppCollectorOperationsClientListByAssessmentProjectOptions struct {
}

WebAppCollectorOperationsClientListByAssessmentProjectOptions contains the optional parameters for the WebAppCollectorOperationsClient.NewListByAssessmentProjectPager method.

type WebAppCollectorOperationsClientListByAssessmentProjectResponse

type WebAppCollectorOperationsClientListByAssessmentProjectResponse struct {
	// The response of a WebAppCollector list operation.
	WebAppCollectorListResult
}

WebAppCollectorOperationsClientListByAssessmentProjectResponse contains the response from method WebAppCollectorOperationsClient.NewListByAssessmentProjectPager.

type WebAppCollectorPropertiesBaseWithAgent

type WebAppCollectorPropertiesBaseWithAgent struct {
	// Gets or sets the collector agent properties.
	AgentProperties *CollectorAgentPropertiesBase

	// Gets the discovery site id.
	DiscoverySiteID *string

	// READ-ONLY; Gets the Timestamp when collector was created.
	CreatedTimestamp *time.Time

	// READ-ONLY; The status of the last operation.
	ProvisioningState *ProvisioningState2

	// READ-ONLY; Timestamp when collector was last updated.
	UpdatedTimestamp *time.Time
}

WebAppCollectorPropertiesBaseWithAgent - Collector properties class.

func (WebAppCollectorPropertiesBaseWithAgent) MarshalJSON

func (w WebAppCollectorPropertiesBaseWithAgent) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppCollectorPropertiesBaseWithAgent.

func (*WebAppCollectorPropertiesBaseWithAgent) UnmarshalJSON

func (w *WebAppCollectorPropertiesBaseWithAgent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppCollectorPropertiesBaseWithAgent.

type WebAppDistribution

type WebAppDistribution struct {
	// READ-ONLY; The cost details.
	NumberOfWebApps *float32

	// READ-ONLY; WebApp type.
	WebAppType *WebAppTypes
}

WebAppDistribution - The app type distribution.

func (WebAppDistribution) MarshalJSON

func (w WebAppDistribution) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppDistribution.

func (*WebAppDistribution) UnmarshalJSON

func (w *WebAppDistribution) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppDistribution.

type WebAppMigrationIssues

type WebAppMigrationIssues struct {
	// REQUIRED; Gets or sets the issue category.
	IssueCategory *AzureWebAppSuitabilityIssueCategory

	// REQUIRED; Gets or sets the issue description list.
	IssueDescriptionList []*string

	// REQUIRED; Gets or sets the issue Id.
	IssueID *string
}

WebAppMigrationIssues - Web app migration issues.

func (WebAppMigrationIssues) MarshalJSON

func (w WebAppMigrationIssues) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppMigrationIssues.

func (*WebAppMigrationIssues) UnmarshalJSON

func (w *WebAppMigrationIssues) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppMigrationIssues.

type WebAppSKUDetails

type WebAppSKUDetails struct {
	// READ-ONLY; App service plan count
	AppServicePlanCount *int32

	// READ-ONLY; Sku name
	SKUName *string

	// READ-ONLY; Sku size
	SKUSize *string

	// READ-ONLY; Monthly security data
	MonthlySecurityCost *float32

	// READ-ONLY; Total monthly cost
	TotalMonthlyCost *float32
}

WebAppSKUDetails - Web app sku details.

func (WebAppSKUDetails) MarshalJSON

func (w WebAppSKUDetails) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppSKUDetails.

func (*WebAppSKUDetails) UnmarshalJSON

func (w *WebAppSKUDetails) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppSKUDetails.

type WebAppServicePlanV2

type WebAppServicePlanV2 struct {
	// The resource-specific properties for this resource.
	Properties *WebAppServicePlanV2Properties

	// READ-ONLY; Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
	ID *string

	// READ-ONLY; The name of the resource
	Name *string

	// READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string
}

WebAppServicePlanV2 - Assessed Web app web model class.

func (WebAppServicePlanV2) MarshalJSON

func (w WebAppServicePlanV2) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanV2.

func (*WebAppServicePlanV2) UnmarshalJSON

func (w *WebAppServicePlanV2) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanV2.

type WebAppServicePlanV2ListResult

type WebAppServicePlanV2ListResult struct {
	// REQUIRED; The WebAppServicePlanV2 items on this page
	Value []*WebAppServicePlanV2

	// The link to the next page of items
	NextLink *string
}

WebAppServicePlanV2ListResult - The response of a WebAppServicePlanV2 list operation.

func (WebAppServicePlanV2ListResult) MarshalJSON

func (w WebAppServicePlanV2ListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanV2ListResult.

func (*WebAppServicePlanV2ListResult) UnmarshalJSON

func (w *WebAppServicePlanV2ListResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanV2ListResult.

type WebAppServicePlanV2OperationsClient

type WebAppServicePlanV2OperationsClient struct {
	// contains filtered or unexported fields
}

WebAppServicePlanV2OperationsClient contains the methods for the WebAppServicePlanV2Operations group. Don't use this type directly, use NewWebAppServicePlanV2OperationsClient() instead.

func NewWebAppServicePlanV2OperationsClient

func NewWebAppServicePlanV2OperationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (*WebAppServicePlanV2OperationsClient, error)

NewWebAppServicePlanV2OperationsClient creates a new instance of WebAppServicePlanV2OperationsClient with the specified values.

  • subscriptionID - The ID of the target subscription. The value must be an UUID.
  • credential - used to authorize requests. Usually a credential from azidentity.
  • options - pass nil to accept the default values.

func (*WebAppServicePlanV2OperationsClient) Get

func (client *WebAppServicePlanV2OperationsClient) Get(ctx context.Context, resourceGroupName string, projectName string, groupName string, assessmentName string, webAppServicePlanName string, options *WebAppServicePlanV2OperationsClientGetOptions) (WebAppServicePlanV2OperationsClientGetResponse, error)

Get - Get a WebAppServicePlanV2 If the operation fails it returns an *azcore.ResponseError type.

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • webAppServicePlanName - Web app service plan ARM name.
  • options - WebAppServicePlanV2OperationsClientGetOptions contains the optional parameters for the WebAppServicePlanV2OperationsClient.Get method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppServicePlanV2Operations_Get_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	res, err := clientFactory.NewWebAppServicePlanV2OperationsClient().Get(ctx, "rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", "plan-001", nil)
	if err != nil {
		log.Fatalf("failed to finish the request: %v", err)
	}
	// You could use response here. We use blank identifier for just demo purposes.
	_ = res
	// If the HTTP response code is 200 as defined in example definition, your response structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
	// res.WebAppServicePlanV2 = armmigrationassessment.WebAppServicePlanV2{
	// 	Name: to.Ptr("plan-002-azureappservice"),
	// 	Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/webAppAssessments/webAppServicePlans"),
	// 	ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2/webAppServicePlans/plan-002-azureappservice"),
	// 	SystemData: &armmigrationassessment.SystemData{
	// 		CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 		LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
	// 		LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
	// 	},
	// 	Properties: &armmigrationassessment.WebAppServicePlanV2Properties{
	// 		Cores: to.Ptr[int32](17),
	// 		CostComponents: []*armmigrationassessment.CostComponent{
	// 			{
	// 				Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
	// 				Value: to.Ptr[float32](16),
	// 		}},
	// 		CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:59.387Z"); return t}()),
	// 		MonthlyCost: to.Ptr[float32](20),
	// 		NumberOfWebApps: to.Ptr[int32](2),
	// 		RAM: to.Ptr[float64](18),
	// 		ScaleOutInstances: to.Ptr[int32](8),
	// 		Storage: to.Ptr[float64](25),
	// 		UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:59.387Z"); return t}()),
	// 		WebAppServicePlanName: to.Ptr("Plan-001"),
	// 		WebAppSKUName: to.Ptr("Isolated"),
	// 		WebAppSKUSize: to.Ptr("I1"),
	// 		WebAppTargetType: to.Ptr(armmigrationassessment.AzureWebAppTargetTypeAzureAppService),
	// 		WebAppType: to.Ptr(armmigrationassessment.WebAppTypeIIS),
	// 	},
	// }
}
Output:

func (*WebAppServicePlanV2OperationsClient) NewListByWebAppAssessmentV2Pager

NewListByWebAppAssessmentV2Pager - List WebAppServicePlanV2 resources by WebAppAssessmentV2

Generated from API version 2024-01-01-preview

  • resourceGroupName - The name of the resource group. The name is case insensitive.
  • projectName - Assessment Project Name
  • groupName - Group ARM name
  • assessmentName - Web app Assessment arm name.
  • options - WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Options contains the optional parameters for the WebAppServicePlanV2OperationsClient.NewListByWebAppAssessmentV2Pager method.
Example

Generated from example definition: https://github.com/Azure/azure-rest-api-specs/blob/dd668996bc8ba729784c02c7a99b6b0042612bb3/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2024-01-01-preview/examples/WebAppServicePlanV2Operations_ListByWebAppAssessmentV2_MaximumSet_Gen.json

package main

import (
	"context"
	"log"

	"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrationassessment/armmigrationassessment"
)

func main() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armmigrationassessment.NewClientFactory("<subscription-id>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewWebAppServicePlanV2OperationsClient().NewListByWebAppAssessmentV2Pager("rgopenapi", "sumukk-ccy-bcs4557project", "anraghun-selfhost-v2", "anraghun-selfhost-v2", &armmigrationassessment.WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Options{Filter: to.Ptr("okepiszphg"),
		PageSize:          to.Ptr[int32](18),
		ContinuationToken: nil,
		TotalRecordCount:  to.Ptr[int32](14),
	})
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page.WebAppServicePlanV2ListResult = armmigrationassessment.WebAppServicePlanV2ListResult{
		// 	Value: []*armmigrationassessment.WebAppServicePlanV2{
		// 		{
		// 			Name: to.Ptr("plan-002-azureappservice"),
		// 			Type: to.Ptr("Microsoft.Migrate/assessmentprojects/groups/webAppAssessments/webAppServicePlans"),
		// 			ID: to.Ptr("/subscriptions/4bd2aa0f-2bd2-4d67-91a8-5a4533d58600/resourceGroups/sumukk-ccy-bcs/providers/Microsoft.Migrate/assessmentprojects/sumukk-ccy-bcs4557project/groups/anraghun-selfhost-v2/webAppAssessments/anraghun-selfhost-v2/webAppServicePlans/plan-002-azureappservice"),
		// 			SystemData: &armmigrationassessment.SystemData{
		// 				CreatedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				CreatedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 				LastModifiedAt: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:41:40.597Z"); return t}()),
		// 				LastModifiedByType: to.Ptr(armmigrationassessment.CreatedByTypeUser),
		// 			},
		// 			Properties: &armmigrationassessment.WebAppServicePlanV2Properties{
		// 				Cores: to.Ptr[int32](17),
		// 				CostComponents: []*armmigrationassessment.CostComponent{
		// 					{
		// 						Name: to.Ptr(armmigrationassessment.CostComponentNameMonthlySecurityCost),
		// 						Value: to.Ptr[float32](16),
		// 				}},
		// 				CreatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:59.387Z"); return t}()),
		// 				MonthlyCost: to.Ptr[float32](20),
		// 				NumberOfWebApps: to.Ptr[int32](2),
		// 				RAM: to.Ptr[float64](18),
		// 				ScaleOutInstances: to.Ptr[int32](8),
		// 				Storage: to.Ptr[float64](25),
		// 				UpdatedTimestamp: to.Ptr(func() time.Time { t, _ := time.Parse(time.RFC3339Nano, "2023-11-03T05:42:59.387Z"); return t}()),
		// 				WebAppServicePlanName: to.Ptr("Plan-001"),
		// 				WebAppSKUName: to.Ptr("Isolated"),
		// 				WebAppSKUSize: to.Ptr("I1"),
		// 				WebAppTargetType: to.Ptr(armmigrationassessment.AzureWebAppTargetTypeAzureAppService),
		// 				WebAppType: to.Ptr(armmigrationassessment.WebAppTypeIIS),
		// 			},
		// 	}},
		// }
	}
}
Output:

type WebAppServicePlanV2OperationsClientGetOptions

type WebAppServicePlanV2OperationsClientGetOptions struct {
}

WebAppServicePlanV2OperationsClientGetOptions contains the optional parameters for the WebAppServicePlanV2OperationsClient.Get method.

type WebAppServicePlanV2OperationsClientGetResponse

type WebAppServicePlanV2OperationsClientGetResponse struct {
	// Assessed Web app web model class.
	WebAppServicePlanV2
}

WebAppServicePlanV2OperationsClientGetResponse contains the response from method WebAppServicePlanV2OperationsClient.Get.

type WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Options

type WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Options struct {
	// Optional parameter for continuation token.
	ContinuationToken *string

	// Filter query.
	Filter *string

	// Optional parameter for page size.
	PageSize *int32

	// Total record count.
	TotalRecordCount *int32
}

WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Options contains the optional parameters for the WebAppServicePlanV2OperationsClient.NewListByWebAppAssessmentV2Pager method.

type WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Response

type WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Response struct {
	// The response of a WebAppServicePlanV2 list operation.
	WebAppServicePlanV2ListResult
}

WebAppServicePlanV2OperationsClientListByWebAppAssessmentV2Response contains the response from method WebAppServicePlanV2OperationsClient.NewListByWebAppAssessmentV2Pager.

type WebAppServicePlanV2Properties

type WebAppServicePlanV2Properties struct {
	// READ-ONLY; Gets the machine name.
	NumberOfWebApps *int32

	// READ-ONLY; Gets or sets the app service plan name.
	WebAppServicePlanName *string

	// READ-ONLY; Gets the discovered web app ID.
	Cores *int32

	// READ-ONLY; Cost components.
	CostComponents []*CostComponent

	// READ-ONLY; When was assessed SQL database first created.
	CreatedTimestamp *time.Time

	// READ-ONLY; Gets or sets the server ARM Id.
	MonthlyCost *float32

	// READ-ONLY; Machine arm id.
	RAM *float64

	// READ-ONLY; Gets or sets web app name.
	ScaleOutInstances *int32

	// READ-ONLY; Gets or sets the web server name.
	Storage *float64

	// READ-ONLY; When was assessed Web app database last updated.
	UpdatedTimestamp *time.Time

	// READ-ONLY; Web app sku name.
	WebAppSKUName *string

	// READ-ONLY; Web app sku size.
	WebAppSKUSize *string

	// READ-ONLY; Gets or sets the target specific result.
	WebAppTargetType *AzureWebAppTargetType

	// READ-ONLY; Gets or sets the web app type.
	WebAppType *WebAppType
}

WebAppServicePlanV2Properties - Assessed Web app database properties web model.

func (WebAppServicePlanV2Properties) MarshalJSON

func (w WebAppServicePlanV2Properties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppServicePlanV2Properties.

func (*WebAppServicePlanV2Properties) UnmarshalJSON

func (w *WebAppServicePlanV2Properties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppServicePlanV2Properties.

type WebAppTargetOptions

type WebAppTargetOptions struct {
	// Gets or sets the target location.
	TargetLocations []*AzureLocation

	// Gets or sets the Azure web app tier.
	WebAppTier *AzureWebAppTier
}

WebAppTargetOptions - Web app target options.

func (WebAppTargetOptions) MarshalJSON

func (w WebAppTargetOptions) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppTargetOptions.

func (*WebAppTargetOptions) UnmarshalJSON

func (w *WebAppTargetOptions) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppTargetOptions.

type WebAppTargetSKU

type WebAppTargetSKU struct {
	// READ-ONLY; The cost details.
	Cost *float32

	// READ-ONLY; The number of service plans or node pools recommended.
	Count *int32

	// READ-ONLY; The SKU name.
	SKUName *string
}

WebAppTargetSKU - The Webapp target SKU with corresponding cost.

func (WebAppTargetSKU) MarshalJSON

func (w WebAppTargetSKU) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WebAppTargetSKU.

func (*WebAppTargetSKU) UnmarshalJSON

func (w *WebAppTargetSKU) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WebAppTargetSKU.

type WebAppType

type WebAppType string

WebAppType - Web App Type.

const (
	// WebAppTypeIIS - ASP.NET Web App.
	WebAppTypeIIS WebAppType = "IIS"
	// WebAppTypeTomcat - Java Web App.
	WebAppTypeTomcat WebAppType = "Tomcat"
	// WebAppTypeUnknown - Unknown. Indicates Missing Data.
	WebAppTypeUnknown WebAppType = "Unknown"
)

func PossibleWebAppTypeValues

func PossibleWebAppTypeValues() []WebAppType

PossibleWebAppTypeValues returns the possible values for the WebAppType const type.

type WebAppTypes

type WebAppTypes string

WebAppTypes - Business case supported WebApp types.

const (
	// WebAppTypesASPNET - ASPNET Type.
	WebAppTypesASPNET WebAppTypes = "ASPNET"
	// WebAppTypesJava - Java Tomcat Type.
	WebAppTypesJava WebAppTypes = "Java"
	// WebAppTypesUnknown - Unknown WebApp Type.
	WebAppTypesUnknown WebAppTypes = "Unknown"
)

func PossibleWebAppTypesValues

func PossibleWebAppTypesValues() []WebAppTypes

PossibleWebAppTypesValues returns the possible values for the WebAppTypes const type.

type WindowsServerLicensingSettings

type WindowsServerLicensingSettings struct {
	// REQUIRED; Licence Cost.
	LicenseCost *float32

	// REQUIRED; Licenses per core.
	LicensesPerCore *int32

	// REQUIRED; Software assurance (SA) cost.
	SoftwareAssuranceCost *float32
}

WindowsServerLicensingSettings - Windows Server licensing settings.

func (WindowsServerLicensingSettings) MarshalJSON

func (w WindowsServerLicensingSettings) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WindowsServerLicensingSettings.

func (*WindowsServerLicensingSettings) UnmarshalJSON

func (w *WindowsServerLicensingSettings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WindowsServerLicensingSettings.

type WorkloadSummary

type WorkloadSummary struct {
	// Gets or sets oracle databases.
	OracleInstances *int32

	// Gets or sets oracle databases.
	SpringApps *int32
}

WorkloadSummary - Workload summary.

func (WorkloadSummary) MarshalJSON

func (w WorkloadSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type WorkloadSummary.

func (*WorkloadSummary) UnmarshalJSON

func (w *WorkloadSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type WorkloadSummary.

type Year

type Year string

Year - Year values.

const (
	// YearYear0 - Year 0.
	YearYear0 Year = "Year0"
	// YearYear1 - Year 1.
	YearYear1 Year = "Year1"
	// YearYear2 - Year 2.
	YearYear2 Year = "Year2"
	// YearYear3 - Year 3.
	YearYear3 Year = "Year3"
)

func PossibleYearValues

func PossibleYearValues() []Year

PossibleYearValues returns the possible values for the Year const type.

type YearOnYearCost

type YearOnYearCost struct {
	// REQUIRED; Year value.
	Year *Year

	// Cost for the specified year.
	Cost *float32
}

YearOnYearCost - Year on Year cost.

func (YearOnYearCost) MarshalJSON

func (y YearOnYearCost) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type YearOnYearCost.

func (*YearOnYearCost) UnmarshalJSON

func (y *YearOnYearCost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type YearOnYearCost.

type YearOnYearEstimates

type YearOnYearEstimates struct {
	// READ-ONLY; Year-on-Year azure arc enabled on-premises cost.
	AzureArcEnabledOnPremisesCost []*YearOnYearCost

	// READ-ONLY; Year-on-Year azure capex cost.
	AzureCapexCost map[string]*float32

	// READ-ONLY; Year-on-Year Azure cost.
	AzureCost map[string]*float32

	// READ-ONLY; Year-on-Year azure opex cost.
	AzureOpexCost map[string]*float32

	// READ-ONLY; Year-on-Year azure arc enabled on-premises esu cost of the remaining infra on-premises.
	FutureAzureArcEnabledOnPremisesEsuCost []*YearOnYearCost

	// READ-ONLY; Year-on-Year azure with arc enabled on-premises cost.
	FutureCost []*YearOnYearCost

	// READ-ONLY; Year-on-Year on-premises esu cost of the remaining infra on-premises.
	FutureOnPremisesEsuCost []*YearOnYearCost

	// READ-ONLY; Year-on-Year on-premises capex cost.
	OnPremisesCapexCost map[string]*float32

	// READ-ONLY; Year-on-Year on-premises cost.
	OnPremisesCost map[string]*float32

	// READ-ONLY; Year-on-Year on-premises opex cost.
	OnPremisesOpexCost map[string]*float32

	// READ-ONLY; Payback period.
	PaybackPeriod *int32

	// READ-ONLY; Year-on-Year savings.
	Savings map[string]*float32
}

YearOnYearEstimates - Shows the year-on-year cost overall.

func (YearOnYearEstimates) MarshalJSON

func (y YearOnYearEstimates) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type YearOnYearEstimates.

func (*YearOnYearEstimates) UnmarshalJSON

func (y *YearOnYearEstimates) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type YearOnYearEstimates.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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