Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jplewa/cea43edd61c3284b29c037cd094e0e77 to your computer and use it in GitHub Desktop.
Save jplewa/cea43edd61c3284b29c037cd094e0e77 to your computer and use it in GitHub Desktop.
{
"name": "azure-native",
"displayName": "Azure Native",
"config": {
"variables": {
"auxiliaryTenantIds": {
"type": "array",
"items": {
"type": "string"
}
},
"clientCertificatePassword": {
"type": "string",
"description": "The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate",
"secret": true
},
"clientCertificatePath": {
"type": "string",
"description": "The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate."
},
"clientId": {
"type": "string",
"description": "The Client ID which should be used.",
"secret": true
},
"clientSecret": {
"type": "string",
"description": "The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.",
"secret": true
},
"disablePulumiPartnerId": {
"type": "boolean",
"description": "This will disable the Pulumi Partner ID which is used if a custom `partnerId` isn't specified."
},
"environment": {
"type": "string",
"description": "The Cloud Environment which should be used. Possible values are public, usgovernment, german, and china. Defaults to public."
},
"msiEndpoint": {
"type": "string",
"description": "The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. "
},
"partnerId": {
"type": "string",
"description": "A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution."
},
"subscriptionId": {
"type": "string",
"description": "The Subscription ID which should be used."
},
"tenantId": {
"type": "string",
"description": "The Tenant ID which should be used."
},
"useMsi": {
"type": "boolean",
"description": "Allowed Managed Service Identity be used for Authentication.",
"default": false
}
}
},
"language": {
"csharp": {
"namespaces": {
"aad": "Aad",
"aadiam": "AadIam",
"addons": "Addons",
"adhybridhealthservice": "ADHybridHealthService",
"advisor": "Advisor",
"agfoodplatform": "AgFoodPlatform",
"alertsmanagement": "AlertsManagement",
"analysisservices": "AnalysisServices",
"apimanagement": "ApiManagement",
"app": "App",
"appcomplianceautomation": "AppComplianceAutomation",
"appconfiguration": "AppConfiguration",
"appplatform": "AppPlatform",
"attestation": "Attestation",
"authorization": "Authorization",
"automanage": "Automanage",
"automation": "Automation",
"autonomousdevelopmentplatform": "AutonomousDevelopmentPlatform",
"avs": "AVS",
"azure-native": "AzureNative",
"azureactivedirectory": "AzureActiveDirectory",
"azurearcdata": "AzureArcData",
"azuredata": "AzureData",
"azuresphere": "AzureSphere",
"azurestack": "AzureStack",
"azurestackhci": "AzureStackHCI",
"baremetalinfrastructure": "BareMetalInfrastructure",
"batch": "Batch",
"billing": "Billing",
"billingbenefits": "BillingBenefits",
"blockchain": "Blockchain",
"blueprint": "Blueprint",
"botservice": "BotService",
"cache": "Cache",
"capacity": "Capacity",
"cdn": "Cdn",
"certificateregistration": "CertificateRegistration",
"changeanalysis": "ChangeAnalysis",
"chaos": "Chaos",
"cognitiveservices": "CognitiveServices",
"commerce": "Commerce",
"communication": "Communication",
"compute": "Compute",
"confidentialledger": "ConfidentialLedger",
"confluent": "Confluent",
"connectedvmwarevsphere": "ConnectedVMwarevSphere",
"consumption": "Consumption",
"containerinstance": "ContainerInstance",
"containerregistry": "ContainerRegistry",
"containerservice": "ContainerService",
"containerstorage": "ContainerStorage",
"costmanagement": "CostManagement",
"customerinsights": "CustomerInsights",
"customerlockbox": "CustomerLockbox",
"customproviders": "CustomProviders",
"dashboard": "Dashboard",
"databox": "DataBox",
"databoxedge": "DataBoxEdge",
"databricks": "Databricks",
"datacatalog": "DataCatalog",
"datadog": "Datadog",
"datafactory": "DataFactory",
"datalakeanalytics": "DataLakeAnalytics",
"datalakestore": "DataLakeStore",
"datamigration": "DataMigration",
"dataprotection": "DataProtection",
"datashare": "DataShare",
"dbformariadb": "DBforMariaDB",
"dbformysql": "DBforMySQL",
"dbforpostgresql": "DBforPostgreSQL",
"delegatednetwork": "DelegatedNetwork",
"deploymentmanager": "DeploymentManager",
"desktopvirtualization": "DesktopVirtualization",
"devcenter": "DevCenter",
"devhub": "DevHub",
"devices": "Devices",
"deviceupdate": "DeviceUpdate",
"devops": "DevOps",
"devspaces": "DevSpaces",
"devtestlab": "DevTestLab",
"digitaltwins": "DigitalTwins",
"documentdb": "DocumentDB",
"domainregistration": "DomainRegistration",
"dynamics365fraudprotection": "Dynamics365Fraudprotection",
"dynamicstelemetry": "DynamicsTelemetry",
"easm": "Easm",
"edgeorder": "EdgeOrder",
"edgeorderpartner": "EdgeOrderPartner",
"education": "Education",
"elastic": "Elastic",
"elasticsan": "ElasticSan",
"engagementfabric": "EngagementFabric",
"enterpriseknowledgegraph": "EnterpriseKnowledgeGraph",
"eventgrid": "EventGrid",
"eventhub": "EventHub",
"extendedlocation": "ExtendedLocation",
"features": "Features",
"fluidrelay": "FluidRelay",
"graphservices": "GraphServices",
"guestconfiguration": "GuestConfiguration",
"hanaonazure": "HanaOnAzure",
"hardwaresecuritymodules": "HardwareSecurityModules",
"hdinsight": "HDInsight",
"healthbot": "HealthBot",
"healthcareapis": "HealthcareApis",
"help": "Help",
"hybridcloud": "HybridCloud",
"hybridcompute": "HybridCompute",
"hybridconnectivity": "HybridConnectivity",
"hybridcontainerservice": "HybridContainerService",
"hybriddata": "HybridData",
"hybridnetwork": "HybridNetwork",
"importexport": "ImportExport",
"insights": "Insights",
"intune": "Intune",
"iotcentral": "IoTCentral",
"iotsecurity": "IoTSecurity",
"keyvault": "KeyVault",
"kubernetes": "Kubernetes",
"kubernetesconfiguration": "KubernetesConfiguration",
"kusto": "Kusto",
"labservices": "LabServices",
"loadtestservice": "LoadTestService",
"logic": "Logic",
"logz": "Logz",
"m365securityandcompliance": "M365SecurityAndCompliance",
"machinelearning": "MachineLearning",
"machinelearningcompute": "MachineLearningCompute",
"machinelearningexperimentation": "MachineLearningExperimentation",
"machinelearningservices": "MachineLearningServices",
"maintenance": "Maintenance",
"managedidentity": "ManagedIdentity",
"managednetwork": "ManagedNetwork",
"managednetworkfabric": "ManagedNetworkFabric",
"managedservices": "ManagedServices",
"management": "Management",
"managementpartner": "ManagementPartner",
"maps": "Maps",
"marketplace": "Marketplace",
"marketplacenotifications": "MarketplaceNotifications",
"marketplaceordering": "MarketplaceOrdering",
"media": "Media",
"migrate": "Migrate",
"mixedreality": "MixedReality",
"mobilenetwork": "MobileNetwork",
"monitor": "Monitor",
"netapp": "NetApp",
"network": "Network",
"networkcloud": "NetworkCloud",
"networkfunction": "NetworkFunction",
"notificationhubs": "NotificationHubs",
"offazure": "OffAzure",
"openenergyplatform": "OpenEnergyPlatform",
"operationalinsights": "OperationalInsights",
"operationsmanagement": "OperationsManagement",
"orbital": "Orbital",
"peering": "Peering",
"policyinsights": "PolicyInsights",
"portal": "Portal",
"portalservices": "PortalServices",
"powerbi": "PowerBI",
"powerbidedicated": "PowerBIDedicated",
"powerplatform": "PowerPlatform",
"professionalservice": "ProfessionalService",
"providerhub": "ProviderHub",
"purview": "Purview",
"quantum": "Quantum",
"quota": "Quota",
"recommendationsservice": "RecommendationsService",
"recoveryservices": "RecoveryServices",
"redhatopenshift": "RedHatOpenShift",
"relay": "Relay",
"resourceconnector": "ResourceConnector",
"resourcegraph": "ResourceGraph",
"resourcehealth": "ResourceHealth",
"resources": "Resources",
"saas": "SaaS",
"scheduler": "Scheduler",
"scvmm": "ScVmm",
"search": "Search",
"security": "Security",
"securityandcompliance": "SecurityAndCompliance",
"securitydevops": "SecurityDevOps",
"securityinsights": "SecurityInsights",
"serialconsole": "SerialConsole",
"servicebus": "ServiceBus",
"servicefabric": "ServiceFabric",
"servicefabricmesh": "ServiceFabricMesh",
"servicelinker": "ServiceLinker",
"servicenetworking": "ServiceNetworking",
"signalrservice": "SignalRService",
"softwareplan": "SoftwarePlan",
"solutions": "Solutions",
"sql": "Sql",
"sqlvirtualmachine": "SqlVirtualMachine",
"storage": "Storage",
"storagecache": "StorageCache",
"storagemover": "StorageMover",
"storagepool": "StoragePool",
"storagesync": "StorageSync",
"storsimple": "StorSimple",
"streamanalytics": "StreamAnalytics",
"subscription": "Subscription",
"support": "Support",
"synapse": "Synapse",
"syntex": "Syntex",
"testbase": "TestBase",
"timeseriesinsights": "TimeSeriesInsights",
"videoanalyzer": "VideoAnalyzer",
"videoindexer": "VideoIndexer",
"virtualmachineimages": "VirtualMachineImages",
"visualstudio": "VisualStudio",
"vmwarecloudsimple": "VMwareCloudSimple",
"voiceservices": "VoiceServices",
"web": "Web",
"webpubsub": "WebPubSub",
"windowsesu": "WindowsESU",
"windowsiot": "WindowsIoT",
"workloadmonitor": "WorkloadMonitor",
"workloads": "Workloads"
},
"packageReferences": {
"Pulumi": "3.*",
"System.Collections.Immutable": "5.0.0"
}
},
"go": {
"disableInputTypeRegistrations": true,
"generateResourceContainerTypes": false,
"importBasePath": "github.com/pulumi/pulumi-azure-native-sdk",
"packageImportAliases": {
"github.com/pulumi/pulumi-azure-native-sdk/aad": "aad",
"github.com/pulumi/pulumi-azure-native-sdk/aadiam": "aadiam",
"github.com/pulumi/pulumi-azure-native-sdk/addons": "addons",
"github.com/pulumi/pulumi-azure-native-sdk/adhybridhealthservice": "adhybridhealthservice",
"github.com/pulumi/pulumi-azure-native-sdk/advisor": "advisor",
"github.com/pulumi/pulumi-azure-native-sdk/agfoodplatform": "agfoodplatform",
"github.com/pulumi/pulumi-azure-native-sdk/alertsmanagement": "alertsmanagement",
"github.com/pulumi/pulumi-azure-native-sdk/analysisservices": "analysisservices",
"github.com/pulumi/pulumi-azure-native-sdk/apimanagement": "apimanagement",
"github.com/pulumi/pulumi-azure-native-sdk/app": "app",
"github.com/pulumi/pulumi-azure-native-sdk/appcomplianceautomation": "appcomplianceautomation",
"github.com/pulumi/pulumi-azure-native-sdk/appconfiguration": "appconfiguration",
"github.com/pulumi/pulumi-azure-native-sdk/appplatform": "appplatform",
"github.com/pulumi/pulumi-azure-native-sdk/attestation": "attestation",
"github.com/pulumi/pulumi-azure-native-sdk/authorization": "authorization",
"github.com/pulumi/pulumi-azure-native-sdk/automanage": "automanage",
"github.com/pulumi/pulumi-azure-native-sdk/automation": "automation",
"github.com/pulumi/pulumi-azure-native-sdk/autonomousdevelopmentplatform": "autonomousdevelopmentplatform",
"github.com/pulumi/pulumi-azure-native-sdk/avs": "avs",
"github.com/pulumi/pulumi-azure-native-sdk/azureactivedirectory": "azureactivedirectory",
"github.com/pulumi/pulumi-azure-native-sdk/azurearcdata": "azurearcdata",
"github.com/pulumi/pulumi-azure-native-sdk/azuredata": "azuredata",
"github.com/pulumi/pulumi-azure-native-sdk/azuresphere": "azuresphere",
"github.com/pulumi/pulumi-azure-native-sdk/azurestack": "azurestack",
"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci": "azurestackhci",
"github.com/pulumi/pulumi-azure-native-sdk/baremetalinfrastructure": "baremetalinfrastructure",
"github.com/pulumi/pulumi-azure-native-sdk/batch": "batch",
"github.com/pulumi/pulumi-azure-native-sdk/billing": "billing",
"github.com/pulumi/pulumi-azure-native-sdk/billingbenefits": "billingbenefits",
"github.com/pulumi/pulumi-azure-native-sdk/blockchain": "blockchain",
"github.com/pulumi/pulumi-azure-native-sdk/blueprint": "blueprint",
"github.com/pulumi/pulumi-azure-native-sdk/botservice": "botservice",
"github.com/pulumi/pulumi-azure-native-sdk/cache": "cache",
"github.com/pulumi/pulumi-azure-native-sdk/capacity": "capacity",
"github.com/pulumi/pulumi-azure-native-sdk/cdn": "cdn",
"github.com/pulumi/pulumi-azure-native-sdk/certificateregistration": "certificateregistration",
"github.com/pulumi/pulumi-azure-native-sdk/changeanalysis": "changeanalysis",
"github.com/pulumi/pulumi-azure-native-sdk/chaos": "chaos",
"github.com/pulumi/pulumi-azure-native-sdk/cognitiveservices": "cognitiveservices",
"github.com/pulumi/pulumi-azure-native-sdk/commerce": "commerce",
"github.com/pulumi/pulumi-azure-native-sdk/communication": "communication",
"github.com/pulumi/pulumi-azure-native-sdk/compute": "compute",
"github.com/pulumi/pulumi-azure-native-sdk/confidentialledger": "confidentialledger",
"github.com/pulumi/pulumi-azure-native-sdk/confluent": "confluent",
"github.com/pulumi/pulumi-azure-native-sdk/connectedvmwarevsphere": "connectedvmwarevsphere",
"github.com/pulumi/pulumi-azure-native-sdk/consumption": "consumption",
"github.com/pulumi/pulumi-azure-native-sdk/containerinstance": "containerinstance",
"github.com/pulumi/pulumi-azure-native-sdk/containerregistry": "containerregistry",
"github.com/pulumi/pulumi-azure-native-sdk/containerservice": "containerservice",
"github.com/pulumi/pulumi-azure-native-sdk/containerstorage": "containerstorage",
"github.com/pulumi/pulumi-azure-native-sdk/costmanagement": "costmanagement",
"github.com/pulumi/pulumi-azure-native-sdk/customerinsights": "customerinsights",
"github.com/pulumi/pulumi-azure-native-sdk/customerlockbox": "customerlockbox",
"github.com/pulumi/pulumi-azure-native-sdk/customproviders": "customproviders",
"github.com/pulumi/pulumi-azure-native-sdk/dashboard": "dashboard",
"github.com/pulumi/pulumi-azure-native-sdk/databox": "databox",
"github.com/pulumi/pulumi-azure-native-sdk/databoxedge": "databoxedge",
"github.com/pulumi/pulumi-azure-native-sdk/databricks": "databricks",
"github.com/pulumi/pulumi-azure-native-sdk/datacatalog": "datacatalog",
"github.com/pulumi/pulumi-azure-native-sdk/datadog": "datadog",
"github.com/pulumi/pulumi-azure-native-sdk/datafactory": "datafactory",
"github.com/pulumi/pulumi-azure-native-sdk/datalakeanalytics": "datalakeanalytics",
"github.com/pulumi/pulumi-azure-native-sdk/datalakestore": "datalakestore",
"github.com/pulumi/pulumi-azure-native-sdk/datamigration": "datamigration",
"github.com/pulumi/pulumi-azure-native-sdk/dataprotection": "dataprotection",
"github.com/pulumi/pulumi-azure-native-sdk/datashare": "datashare",
"github.com/pulumi/pulumi-azure-native-sdk/dbformariadb": "dbformariadb",
"github.com/pulumi/pulumi-azure-native-sdk/dbformysql": "dbformysql",
"github.com/pulumi/pulumi-azure-native-sdk/dbforpostgresql": "dbforpostgresql",
"github.com/pulumi/pulumi-azure-native-sdk/delegatednetwork": "delegatednetwork",
"github.com/pulumi/pulumi-azure-native-sdk/deploymentmanager": "deploymentmanager",
"github.com/pulumi/pulumi-azure-native-sdk/desktopvirtualization": "desktopvirtualization",
"github.com/pulumi/pulumi-azure-native-sdk/devcenter": "devcenter",
"github.com/pulumi/pulumi-azure-native-sdk/devhub": "devhub",
"github.com/pulumi/pulumi-azure-native-sdk/devices": "devices",
"github.com/pulumi/pulumi-azure-native-sdk/deviceupdate": "deviceupdate",
"github.com/pulumi/pulumi-azure-native-sdk/devops": "devops",
"github.com/pulumi/pulumi-azure-native-sdk/devspaces": "devspaces",
"github.com/pulumi/pulumi-azure-native-sdk/devtestlab": "devtestlab",
"github.com/pulumi/pulumi-azure-native-sdk/digitaltwins": "digitaltwins",
"github.com/pulumi/pulumi-azure-native-sdk/documentdb": "documentdb",
"github.com/pulumi/pulumi-azure-native-sdk/domainregistration": "domainregistration",
"github.com/pulumi/pulumi-azure-native-sdk/dynamics365fraudprotection": "dynamics365fraudprotection",
"github.com/pulumi/pulumi-azure-native-sdk/dynamicstelemetry": "dynamicstelemetry",
"github.com/pulumi/pulumi-azure-native-sdk/easm": "easm",
"github.com/pulumi/pulumi-azure-native-sdk/edgeorder": "edgeorder",
"github.com/pulumi/pulumi-azure-native-sdk/edgeorderpartner": "edgeorderpartner",
"github.com/pulumi/pulumi-azure-native-sdk/education": "education",
"github.com/pulumi/pulumi-azure-native-sdk/elastic": "elastic",
"github.com/pulumi/pulumi-azure-native-sdk/elasticsan": "elasticsan",
"github.com/pulumi/pulumi-azure-native-sdk/engagementfabric": "engagementfabric",
"github.com/pulumi/pulumi-azure-native-sdk/enterpriseknowledgegraph": "enterpriseknowledgegraph",
"github.com/pulumi/pulumi-azure-native-sdk/eventgrid": "eventgrid",
"github.com/pulumi/pulumi-azure-native-sdk/eventhub": "eventhub",
"github.com/pulumi/pulumi-azure-native-sdk/extendedlocation": "extendedlocation",
"github.com/pulumi/pulumi-azure-native-sdk/features": "features",
"github.com/pulumi/pulumi-azure-native-sdk/fluidrelay": "fluidrelay",
"github.com/pulumi/pulumi-azure-native-sdk/graphservices": "graphservices",
"github.com/pulumi/pulumi-azure-native-sdk/guestconfiguration": "guestconfiguration",
"github.com/pulumi/pulumi-azure-native-sdk/hanaonazure": "hanaonazure",
"github.com/pulumi/pulumi-azure-native-sdk/hardwaresecuritymodules": "hardwaresecuritymodules",
"github.com/pulumi/pulumi-azure-native-sdk/hdinsight": "hdinsight",
"github.com/pulumi/pulumi-azure-native-sdk/healthbot": "healthbot",
"github.com/pulumi/pulumi-azure-native-sdk/healthcareapis": "healthcareapis",
"github.com/pulumi/pulumi-azure-native-sdk/help": "help",
"github.com/pulumi/pulumi-azure-native-sdk/hybridcloud": "hybridcloud",
"github.com/pulumi/pulumi-azure-native-sdk/hybridcompute": "hybridcompute",
"github.com/pulumi/pulumi-azure-native-sdk/hybridconnectivity": "hybridconnectivity",
"github.com/pulumi/pulumi-azure-native-sdk/hybridcontainerservice": "hybridcontainerservice",
"github.com/pulumi/pulumi-azure-native-sdk/hybriddata": "hybriddata",
"github.com/pulumi/pulumi-azure-native-sdk/hybridnetwork": "hybridnetwork",
"github.com/pulumi/pulumi-azure-native-sdk/importexport": "importexport",
"github.com/pulumi/pulumi-azure-native-sdk/insights": "insights",
"github.com/pulumi/pulumi-azure-native-sdk/intune": "intune",
"github.com/pulumi/pulumi-azure-native-sdk/iotcentral": "iotcentral",
"github.com/pulumi/pulumi-azure-native-sdk/iotsecurity": "iotsecurity",
"github.com/pulumi/pulumi-azure-native-sdk/keyvault": "keyvault",
"github.com/pulumi/pulumi-azure-native-sdk/kubernetes": "kubernetes",
"github.com/pulumi/pulumi-azure-native-sdk/kubernetesconfiguration": "kubernetesconfiguration",
"github.com/pulumi/pulumi-azure-native-sdk/kusto": "kusto",
"github.com/pulumi/pulumi-azure-native-sdk/labservices": "labservices",
"github.com/pulumi/pulumi-azure-native-sdk/loadtestservice": "loadtestservice",
"github.com/pulumi/pulumi-azure-native-sdk/logic": "logic",
"github.com/pulumi/pulumi-azure-native-sdk/logz": "logz",
"github.com/pulumi/pulumi-azure-native-sdk/m365securityandcompliance": "m365securityandcompliance",
"github.com/pulumi/pulumi-azure-native-sdk/machinelearning": "machinelearning",
"github.com/pulumi/pulumi-azure-native-sdk/machinelearningcompute": "machinelearningcompute",
"github.com/pulumi/pulumi-azure-native-sdk/machinelearningexperimentation": "machinelearningexperimentation",
"github.com/pulumi/pulumi-azure-native-sdk/machinelearningservices": "machinelearningservices",
"github.com/pulumi/pulumi-azure-native-sdk/maintenance": "maintenance",
"github.com/pulumi/pulumi-azure-native-sdk/managedidentity": "managedidentity",
"github.com/pulumi/pulumi-azure-native-sdk/managednetwork": "managednetwork",
"github.com/pulumi/pulumi-azure-native-sdk/managednetworkfabric": "managednetworkfabric",
"github.com/pulumi/pulumi-azure-native-sdk/managedservices": "managedservices",
"github.com/pulumi/pulumi-azure-native-sdk/management": "management",
"github.com/pulumi/pulumi-azure-native-sdk/managementpartner": "managementpartner",
"github.com/pulumi/pulumi-azure-native-sdk/maps": "maps",
"github.com/pulumi/pulumi-azure-native-sdk/marketplace": "marketplace",
"github.com/pulumi/pulumi-azure-native-sdk/marketplacenotifications": "marketplacenotifications",
"github.com/pulumi/pulumi-azure-native-sdk/marketplaceordering": "marketplaceordering",
"github.com/pulumi/pulumi-azure-native-sdk/media": "media",
"github.com/pulumi/pulumi-azure-native-sdk/migrate": "migrate",
"github.com/pulumi/pulumi-azure-native-sdk/mixedreality": "mixedreality",
"github.com/pulumi/pulumi-azure-native-sdk/mobilenetwork": "mobilenetwork",
"github.com/pulumi/pulumi-azure-native-sdk/monitor": "monitor",
"github.com/pulumi/pulumi-azure-native-sdk/netapp": "netapp",
"github.com/pulumi/pulumi-azure-native-sdk/network": "network",
"github.com/pulumi/pulumi-azure-native-sdk/networkcloud": "networkcloud",
"github.com/pulumi/pulumi-azure-native-sdk/networkfunction": "networkfunction",
"github.com/pulumi/pulumi-azure-native-sdk/notificationhubs": "notificationhubs",
"github.com/pulumi/pulumi-azure-native-sdk/offazure": "offazure",
"github.com/pulumi/pulumi-azure-native-sdk/openenergyplatform": "openenergyplatform",
"github.com/pulumi/pulumi-azure-native-sdk/operationalinsights": "operationalinsights",
"github.com/pulumi/pulumi-azure-native-sdk/operationsmanagement": "operationsmanagement",
"github.com/pulumi/pulumi-azure-native-sdk/orbital": "orbital",
"github.com/pulumi/pulumi-azure-native-sdk/peering": "peering",
"github.com/pulumi/pulumi-azure-native-sdk/policyinsights": "policyinsights",
"github.com/pulumi/pulumi-azure-native-sdk/portal": "portal",
"github.com/pulumi/pulumi-azure-native-sdk/portalservices": "portalservices",
"github.com/pulumi/pulumi-azure-native-sdk/powerbi": "powerbi",
"github.com/pulumi/pulumi-azure-native-sdk/powerbidedicated": "powerbidedicated",
"github.com/pulumi/pulumi-azure-native-sdk/powerplatform": "powerplatform",
"github.com/pulumi/pulumi-azure-native-sdk/professionalservice": "professionalservice",
"github.com/pulumi/pulumi-azure-native-sdk/providerhub": "providerhub",
"github.com/pulumi/pulumi-azure-native-sdk/purview": "purview",
"github.com/pulumi/pulumi-azure-native-sdk/quantum": "quantum",
"github.com/pulumi/pulumi-azure-native-sdk/quota": "quota",
"github.com/pulumi/pulumi-azure-native-sdk/recommendationsservice": "recommendationsservice",
"github.com/pulumi/pulumi-azure-native-sdk/recoveryservices": "recoveryservices",
"github.com/pulumi/pulumi-azure-native-sdk/redhatopenshift": "redhatopenshift",
"github.com/pulumi/pulumi-azure-native-sdk/relay": "relay",
"github.com/pulumi/pulumi-azure-native-sdk/resourceconnector": "resourceconnector",
"github.com/pulumi/pulumi-azure-native-sdk/resourcegraph": "resourcegraph",
"github.com/pulumi/pulumi-azure-native-sdk/resourcehealth": "resourcehealth",
"github.com/pulumi/pulumi-azure-native-sdk/resources": "resources",
"github.com/pulumi/pulumi-azure-native-sdk/saas": "saas",
"github.com/pulumi/pulumi-azure-native-sdk/scheduler": "scheduler",
"github.com/pulumi/pulumi-azure-native-sdk/scvmm": "scvmm",
"github.com/pulumi/pulumi-azure-native-sdk/search": "search",
"github.com/pulumi/pulumi-azure-native-sdk/security": "security",
"github.com/pulumi/pulumi-azure-native-sdk/securityandcompliance": "securityandcompliance",
"github.com/pulumi/pulumi-azure-native-sdk/securitydevops": "securitydevops",
"github.com/pulumi/pulumi-azure-native-sdk/securityinsights": "securityinsights",
"github.com/pulumi/pulumi-azure-native-sdk/serialconsole": "serialconsole",
"github.com/pulumi/pulumi-azure-native-sdk/servicebus": "servicebus",
"github.com/pulumi/pulumi-azure-native-sdk/servicefabric": "servicefabric",
"github.com/pulumi/pulumi-azure-native-sdk/servicefabricmesh": "servicefabricmesh",
"github.com/pulumi/pulumi-azure-native-sdk/servicelinker": "servicelinker",
"github.com/pulumi/pulumi-azure-native-sdk/servicenetworking": "servicenetworking",
"github.com/pulumi/pulumi-azure-native-sdk/signalrservice": "signalrservice",
"github.com/pulumi/pulumi-azure-native-sdk/softwareplan": "softwareplan",
"github.com/pulumi/pulumi-azure-native-sdk/solutions": "solutions",
"github.com/pulumi/pulumi-azure-native-sdk/sql": "sql",
"github.com/pulumi/pulumi-azure-native-sdk/sqlvirtualmachine": "sqlvirtualmachine",
"github.com/pulumi/pulumi-azure-native-sdk/storage": "storage",
"github.com/pulumi/pulumi-azure-native-sdk/storagecache": "storagecache",
"github.com/pulumi/pulumi-azure-native-sdk/storagemover": "storagemover",
"github.com/pulumi/pulumi-azure-native-sdk/storagepool": "storagepool",
"github.com/pulumi/pulumi-azure-native-sdk/storagesync": "storagesync",
"github.com/pulumi/pulumi-azure-native-sdk/storsimple": "storsimple",
"github.com/pulumi/pulumi-azure-native-sdk/streamanalytics": "streamanalytics",
"github.com/pulumi/pulumi-azure-native-sdk/subscription": "subscription",
"github.com/pulumi/pulumi-azure-native-sdk/support": "support",
"github.com/pulumi/pulumi-azure-native-sdk/synapse": "synapse",
"github.com/pulumi/pulumi-azure-native-sdk/syntex": "syntex",
"github.com/pulumi/pulumi-azure-native-sdk/testbase": "testbase",
"github.com/pulumi/pulumi-azure-native-sdk/timeseriesinsights": "timeseriesinsights",
"github.com/pulumi/pulumi-azure-native-sdk/videoanalyzer": "videoanalyzer",
"github.com/pulumi/pulumi-azure-native-sdk/videoindexer": "videoindexer",
"github.com/pulumi/pulumi-azure-native-sdk/virtualmachineimages": "virtualmachineimages",
"github.com/pulumi/pulumi-azure-native-sdk/visualstudio": "visualstudio",
"github.com/pulumi/pulumi-azure-native-sdk/vmwarecloudsimple": "vmwarecloudsimple",
"github.com/pulumi/pulumi-azure-native-sdk/voiceservices": "voiceservices",
"github.com/pulumi/pulumi-azure-native-sdk/web": "web",
"github.com/pulumi/pulumi-azure-native-sdk/webpubsub": "webpubsub",
"github.com/pulumi/pulumi-azure-native-sdk/windowsesu": "windowsesu",
"github.com/pulumi/pulumi-azure-native-sdk/windowsiot": "windowsiot",
"github.com/pulumi/pulumi-azure-native-sdk/workloadmonitor": "workloadmonitor",
"github.com/pulumi/pulumi-azure-native-sdk/workloads": "workloads"
}
},
"java": {
"packages": {
"aad": "aad",
"aadiam": "aadiam",
"addons": "addons",
"adhybridhealthservice": "adhybridhealthservice",
"advisor": "advisor",
"agfoodplatform": "agfoodplatform",
"alertsmanagement": "alertsmanagement",
"analysisservices": "analysisservices",
"apimanagement": "apimanagement",
"app": "app",
"appcomplianceautomation": "appcomplianceautomation",
"appconfiguration": "appconfiguration",
"appplatform": "appplatform",
"attestation": "attestation",
"authorization": "authorization",
"automanage": "automanage",
"automation": "automation",
"autonomousdevelopmentplatform": "autonomousdevelopmentplatform",
"avs": "avs",
"azure-native": "azurenative",
"azureactivedirectory": "azureactivedirectory",
"azurearcdata": "azurearcdata",
"azuredata": "azuredata",
"azuresphere": "azuresphere",
"azurestack": "azurestack",
"azurestackhci": "azurestackhci",
"baremetalinfrastructure": "baremetalinfrastructure",
"batch": "batch",
"billing": "billing",
"billingbenefits": "billingbenefits",
"blockchain": "blockchain",
"blueprint": "blueprint",
"botservice": "botservice",
"cache": "cache",
"capacity": "capacity",
"cdn": "cdn",
"certificateregistration": "certificateregistration",
"changeanalysis": "changeanalysis",
"chaos": "chaos",
"cognitiveservices": "cognitiveservices",
"commerce": "commerce",
"communication": "communication",
"compute": "compute",
"confidentialledger": "confidentialledger",
"confluent": "confluent",
"connectedvmwarevsphere": "connectedvmwarevsphere",
"consumption": "consumption",
"containerinstance": "containerinstance",
"containerregistry": "containerregistry",
"containerservice": "containerservice",
"containerstorage": "containerstorage",
"costmanagement": "costmanagement",
"customerinsights": "customerinsights",
"customerlockbox": "customerlockbox",
"customproviders": "customproviders",
"dashboard": "dashboard",
"databox": "databox",
"databoxedge": "databoxedge",
"databricks": "databricks",
"datacatalog": "datacatalog",
"datadog": "datadog",
"datafactory": "datafactory",
"datalakeanalytics": "datalakeanalytics",
"datalakestore": "datalakestore",
"datamigration": "datamigration",
"dataprotection": "dataprotection",
"datashare": "datashare",
"dbformariadb": "dbformariadb",
"dbformysql": "dbformysql",
"dbforpostgresql": "dbforpostgresql",
"delegatednetwork": "delegatednetwork",
"deploymentmanager": "deploymentmanager",
"desktopvirtualization": "desktopvirtualization",
"devcenter": "devcenter",
"devhub": "devhub",
"devices": "devices",
"deviceupdate": "deviceupdate",
"devops": "devops",
"devspaces": "devspaces",
"devtestlab": "devtestlab",
"digitaltwins": "digitaltwins",
"documentdb": "documentdb",
"domainregistration": "domainregistration",
"dynamics365fraudprotection": "dynamics365fraudprotection",
"dynamicstelemetry": "dynamicstelemetry",
"easm": "easm",
"edgeorder": "edgeorder",
"edgeorderpartner": "edgeorderpartner",
"education": "education",
"elastic": "elastic",
"elasticsan": "elasticsan",
"engagementfabric": "engagementfabric",
"enterpriseknowledgegraph": "enterpriseknowledgegraph",
"eventgrid": "eventgrid",
"eventhub": "eventhub",
"extendedlocation": "extendedlocation",
"features": "features",
"fluidrelay": "fluidrelay",
"graphservices": "graphservices",
"guestconfiguration": "guestconfiguration",
"hanaonazure": "hanaonazure",
"hardwaresecuritymodules": "hardwaresecuritymodules",
"hdinsight": "hdinsight",
"healthbot": "healthbot",
"healthcareapis": "healthcareapis",
"help": "help",
"hybridcloud": "hybridcloud",
"hybridcompute": "hybridcompute",
"hybridconnectivity": "hybridconnectivity",
"hybridcontainerservice": "hybridcontainerservice",
"hybriddata": "hybriddata",
"hybridnetwork": "hybridnetwork",
"importexport": "importexport",
"insights": "insights",
"intune": "intune",
"iotcentral": "iotcentral",
"iotsecurity": "iotsecurity",
"keyvault": "keyvault",
"kubernetes": "kubernetes",
"kubernetesconfiguration": "kubernetesconfiguration",
"kusto": "kusto",
"labservices": "labservices",
"loadtestservice": "loadtestservice",
"logic": "logic",
"logz": "logz",
"m365securityandcompliance": "m365securityandcompliance",
"machinelearning": "machinelearning",
"machinelearningcompute": "machinelearningcompute",
"machinelearningexperimentation": "machinelearningexperimentation",
"machinelearningservices": "machinelearningservices",
"maintenance": "maintenance",
"managedidentity": "managedidentity",
"managednetwork": "managednetwork",
"managednetworkfabric": "managednetworkfabric",
"managedservices": "managedservices",
"management": "management",
"managementpartner": "managementpartner",
"maps": "maps",
"marketplace": "marketplace",
"marketplacenotifications": "marketplacenotifications",
"marketplaceordering": "marketplaceordering",
"media": "media",
"migrate": "migrate",
"mixedreality": "mixedreality",
"mobilenetwork": "mobilenetwork",
"monitor": "monitor",
"netapp": "netapp",
"network": "network",
"networkcloud": "networkcloud",
"networkfunction": "networkfunction",
"notificationhubs": "notificationhubs",
"offazure": "offazure",
"openenergyplatform": "openenergyplatform",
"operationalinsights": "operationalinsights",
"operationsmanagement": "operationsmanagement",
"orbital": "orbital",
"peering": "peering",
"policyinsights": "policyinsights",
"portal": "portal",
"portalservices": "portalservices",
"powerbi": "powerbi",
"powerbidedicated": "powerbidedicated",
"powerplatform": "powerplatform",
"professionalservice": "professionalservice",
"providerhub": "providerhub",
"purview": "purview",
"quantum": "quantum",
"quota": "quota",
"recommendationsservice": "recommendationsservice",
"recoveryservices": "recoveryservices",
"redhatopenshift": "redhatopenshift",
"relay": "relay",
"resourceconnector": "resourceconnector",
"resourcegraph": "resourcegraph",
"resourcehealth": "resourcehealth",
"resources": "resources",
"saas": "saas",
"scheduler": "scheduler",
"scvmm": "scvmm",
"search": "search",
"security": "security",
"securityandcompliance": "securityandcompliance",
"securitydevops": "securitydevops",
"securityinsights": "securityinsights",
"serialconsole": "serialconsole",
"servicebus": "servicebus",
"servicefabric": "servicefabric",
"servicefabricmesh": "servicefabricmesh",
"servicelinker": "servicelinker",
"servicenetworking": "servicenetworking",
"signalrservice": "signalrservice",
"softwareplan": "softwareplan",
"solutions": "solutions",
"sql": "sql",
"sqlvirtualmachine": "sqlvirtualmachine",
"storage": "storage",
"storagecache": "storagecache",
"storagemover": "storagemover",
"storagepool": "storagepool",
"storagesync": "storagesync",
"storsimple": "storsimple",
"streamanalytics": "streamanalytics",
"subscription": "subscription",
"support": "support",
"synapse": "synapse",
"syntex": "syntex",
"testbase": "testbase",
"timeseriesinsights": "timeseriesinsights",
"videoanalyzer": "videoanalyzer",
"videoindexer": "videoindexer",
"virtualmachineimages": "virtualmachineimages",
"visualstudio": "visualstudio",
"vmwarecloudsimple": "vmwarecloudsimple",
"voiceservices": "voiceservices",
"web": "web",
"webpubsub": "webpubsub",
"windowsesu": "windowsesu",
"windowsiot": "windowsiot",
"workloadmonitor": "workloadmonitor",
"workloads": "workloads"
}
},
"nodejs": {
"dependencies": {
"@pulumi/pulumi": "^3.0.0"
},
"readme": "The native Azure provider package offers support for all Azure Resource Manager (ARM)\nresources and their properties. Resources are exposed as types from modules based on Azure Resource\nProviders such as 'compute', 'network', 'storage', and 'web', among many others. Using this package\nallows you to programmatically declare instances of any Azure resource and any supported resource\nversion using infrastructure as code, which Pulumi then uses to drive the ARM API."
},
"python": {
"moduleNameOverrides": {
"aad": "aad",
"aadiam": "aadiam",
"addons": "addons",
"adhybridhealthservice": "adhybridhealthservice",
"advisor": "advisor",
"agfoodplatform": "agfoodplatform",
"alertsmanagement": "alertsmanagement",
"analysisservices": "analysisservices",
"apimanagement": "apimanagement",
"app": "app",
"appcomplianceautomation": "appcomplianceautomation",
"appconfiguration": "appconfiguration",
"appplatform": "appplatform",
"attestation": "attestation",
"authorization": "authorization",
"automanage": "automanage",
"automation": "automation",
"autonomousdevelopmentplatform": "autonomousdevelopmentplatform",
"avs": "avs",
"azureactivedirectory": "azureactivedirectory",
"azurearcdata": "azurearcdata",
"azuredata": "azuredata",
"azuresphere": "azuresphere",
"azurestack": "azurestack",
"azurestackhci": "azurestackhci",
"baremetalinfrastructure": "baremetalinfrastructure",
"batch": "batch",
"billing": "billing",
"billingbenefits": "billingbenefits",
"blockchain": "blockchain",
"blueprint": "blueprint",
"botservice": "botservice",
"cache": "cache",
"capacity": "capacity",
"cdn": "cdn",
"certificateregistration": "certificateregistration",
"changeanalysis": "changeanalysis",
"chaos": "chaos",
"cognitiveservices": "cognitiveservices",
"commerce": "commerce",
"communication": "communication",
"compute": "compute",
"confidentialledger": "confidentialledger",
"confluent": "confluent",
"connectedvmwarevsphere": "connectedvmwarevsphere",
"consumption": "consumption",
"containerinstance": "containerinstance",
"containerregistry": "containerregistry",
"containerservice": "containerservice",
"containerstorage": "containerstorage",
"costmanagement": "costmanagement",
"customerinsights": "customerinsights",
"customerlockbox": "customerlockbox",
"customproviders": "customproviders",
"dashboard": "dashboard",
"databox": "databox",
"databoxedge": "databoxedge",
"databricks": "databricks",
"datacatalog": "datacatalog",
"datadog": "datadog",
"datafactory": "datafactory",
"datalakeanalytics": "datalakeanalytics",
"datalakestore": "datalakestore",
"datamigration": "datamigration",
"dataprotection": "dataprotection",
"datashare": "datashare",
"dbformariadb": "dbformariadb",
"dbformysql": "dbformysql",
"dbforpostgresql": "dbforpostgresql",
"delegatednetwork": "delegatednetwork",
"deploymentmanager": "deploymentmanager",
"desktopvirtualization": "desktopvirtualization",
"devcenter": "devcenter",
"devhub": "devhub",
"devices": "devices",
"deviceupdate": "deviceupdate",
"devops": "devops",
"devspaces": "devspaces",
"devtestlab": "devtestlab",
"digitaltwins": "digitaltwins",
"documentdb": "documentdb",
"domainregistration": "domainregistration",
"dynamics365fraudprotection": "dynamics365fraudprotection",
"dynamicstelemetry": "dynamicstelemetry",
"easm": "easm",
"edgeorder": "edgeorder",
"edgeorderpartner": "edgeorderpartner",
"education": "education",
"elastic": "elastic",
"elasticsan": "elasticsan",
"engagementfabric": "engagementfabric",
"enterpriseknowledgegraph": "enterpriseknowledgegraph",
"eventgrid": "eventgrid",
"eventhub": "eventhub",
"extendedlocation": "extendedlocation",
"features": "features",
"fluidrelay": "fluidrelay",
"graphservices": "graphservices",
"guestconfiguration": "guestconfiguration",
"hanaonazure": "hanaonazure",
"hardwaresecuritymodules": "hardwaresecuritymodules",
"hdinsight": "hdinsight",
"healthbot": "healthbot",
"healthcareapis": "healthcareapis",
"help": "help",
"hybridcloud": "hybridcloud",
"hybridcompute": "hybridcompute",
"hybridconnectivity": "hybridconnectivity",
"hybridcontainerservice": "hybridcontainerservice",
"hybriddata": "hybriddata",
"hybridnetwork": "hybridnetwork",
"importexport": "importexport",
"insights": "insights",
"intune": "intune",
"iotcentral": "iotcentral",
"iotsecurity": "iotsecurity",
"keyvault": "keyvault",
"kubernetes": "kubernetes",
"kubernetesconfiguration": "kubernetesconfiguration",
"kusto": "kusto",
"labservices": "labservices",
"loadtestservice": "loadtestservice",
"logic": "logic",
"logz": "logz",
"m365securityandcompliance": "m365securityandcompliance",
"machinelearning": "machinelearning",
"machinelearningcompute": "machinelearningcompute",
"machinelearningexperimentation": "machinelearningexperimentation",
"machinelearningservices": "machinelearningservices",
"maintenance": "maintenance",
"managedidentity": "managedidentity",
"managednetwork": "managednetwork",
"managednetworkfabric": "managednetworkfabric",
"managedservices": "managedservices",
"management": "management",
"managementpartner": "managementpartner",
"maps": "maps",
"marketplace": "marketplace",
"marketplacenotifications": "marketplacenotifications",
"marketplaceordering": "marketplaceordering",
"media": "media",
"migrate": "migrate",
"mixedreality": "mixedreality",
"mobilenetwork": "mobilenetwork",
"monitor": "monitor",
"netapp": "netapp",
"network": "network",
"networkcloud": "networkcloud",
"networkfunction": "networkfunction",
"notificationhubs": "notificationhubs",
"offazure": "offazure",
"openenergyplatform": "openenergyplatform",
"operationalinsights": "operationalinsights",
"operationsmanagement": "operationsmanagement",
"orbital": "orbital",
"peering": "peering",
"policyinsights": "policyinsights",
"portal": "portal",
"portalservices": "portalservices",
"powerbi": "powerbi",
"powerbidedicated": "powerbidedicated",
"powerplatform": "powerplatform",
"professionalservice": "professionalservice",
"providerhub": "providerhub",
"purview": "purview",
"quantum": "quantum",
"quota": "quota",
"recommendationsservice": "recommendationsservice",
"recoveryservices": "recoveryservices",
"redhatopenshift": "redhatopenshift",
"relay": "relay",
"resourceconnector": "resourceconnector",
"resourcegraph": "resourcegraph",
"resourcehealth": "resourcehealth",
"resources": "resources",
"saas": "saas",
"scheduler": "scheduler",
"scvmm": "scvmm",
"search": "search",
"security": "security",
"securityandcompliance": "securityandcompliance",
"securitydevops": "securitydevops",
"securityinsights": "securityinsights",
"serialconsole": "serialconsole",
"servicebus": "servicebus",
"servicefabric": "servicefabric",
"servicefabricmesh": "servicefabricmesh",
"servicelinker": "servicelinker",
"servicenetworking": "servicenetworking",
"signalrservice": "signalrservice",
"softwareplan": "softwareplan",
"solutions": "solutions",
"sql": "sql",
"sqlvirtualmachine": "sqlvirtualmachine",
"storage": "storage",
"storagecache": "storagecache",
"storagemover": "storagemover",
"storagepool": "storagepool",
"storagesync": "storagesync",
"storsimple": "storsimple",
"streamanalytics": "streamanalytics",
"subscription": "subscription",
"support": "support",
"synapse": "synapse",
"syntex": "syntex",
"testbase": "testbase",
"timeseriesinsights": "timeseriesinsights",
"videoanalyzer": "videoanalyzer",
"videoindexer": "videoindexer",
"virtualmachineimages": "virtualmachineimages",
"visualstudio": "visualstudio",
"vmwarecloudsimple": "vmwarecloudsimple",
"voiceservices": "voiceservices",
"web": "web",
"webpubsub": "webpubsub",
"windowsesu": "windowsesu",
"windowsiot": "windowsiot",
"workloadmonitor": "workloadmonitor",
"workloads": "workloads"
},
"readme": "The native Azure provider package offers support for all Azure Resource Manager (ARM)\nresources and their properties. Resources are exposed as types from modules based on Azure Resource\nProviders such as 'compute', 'network', 'storage', and 'web', among many others. Using this package\nallows you to programmatically declare instances of any Azure resource and any supported resource\nversion using infrastructure as code, which Pulumi then uses to drive the ARM API.",
"requires": {
"pulumi": ">=3.35.0,<4.0.0"
},
"usesIOClasses": true
}
},
"provider": {
"description": "The provider type for the native Azure package.",
"type": "object",
"inputProperties": {
"auxiliaryTenantIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Any additional Tenant IDs which should be used for authentication."
},
"clientCertificatePassword": {
"type": "string",
"description": "The password associated with the Client Certificate. For use when authenticating as a Service Principal using a Client Certificate",
"secret": true
},
"clientCertificatePath": {
"type": "string",
"description": "The path to the Client Certificate associated with the Service Principal for use when authenticating as a Service Principal using a Client Certificate."
},
"clientId": {
"type": "string",
"description": "The Client ID which should be used.",
"secret": true
},
"clientSecret": {
"type": "string",
"description": "The Client Secret which should be used. For use When authenticating as a Service Principal using a Client Secret.",
"secret": true
},
"disablePulumiPartnerId": {
"type": "boolean",
"description": "This will disable the Pulumi Partner ID which is used if a custom `partnerId` isn't specified."
},
"environment": {
"type": "string",
"description": "The Cloud Environment which should be used. Possible values are public, usgovernment, german, and china. Defaults to public.",
"default": "public"
},
"msiEndpoint": {
"type": "string",
"description": "The path to a custom endpoint for Managed Service Identity - in most circumstances this should be detected automatically. "
},
"partnerId": {
"type": "string",
"description": "A GUID/UUID that is registered with Microsoft to facilitate partner resource usage attribution."
},
"subscriptionId": {
"type": "string",
"description": "The Subscription ID which should be used."
},
"tenantId": {
"type": "string",
"description": "The Tenant ID which should be used."
},
"useMsi": {
"type": "boolean",
"description": "Allowed Managed Service Identity be used for Authentication.",
"default": false
}
}
},
"types": {
"azure-native:compute:AdditionalCapabilities": {
"description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
"properties": {
"ultraSSDEnabled": {
"type": "boolean",
"description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled."
}
},
"type": "object"
},
"azure-native:compute:AdditionalCapabilitiesResponse": {
"description": "Enables or disables a capability on the virtual machine or virtual machine scale set.",
"properties": {
"ultraSSDEnabled": {
"type": "boolean",
"description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled."
}
},
"type": "object"
},
"azure-native:compute:AdditionalUnattendContent": {
"description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
"properties": {
"componentName": {
"$ref": "#/types/azure-native:compute:ComponentNames",
"description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup."
},
"content": {
"type": "string",
"description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted."
},
"passName": {
"$ref": "#/types/azure-native:compute:PassNames",
"description": "The pass name. Currently, the only allowable value is OobeSystem."
},
"settingName": {
"$ref": "#/types/azure-native:compute:SettingNames",
"description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon."
}
},
"type": "object"
},
"azure-native:compute:AdditionalUnattendContentResponse": {
"description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.",
"properties": {
"componentName": {
"type": "string",
"description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup."
},
"content": {
"type": "string",
"description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted."
},
"passName": {
"type": "string",
"description": "The pass name. Currently, the only allowable value is OobeSystem."
},
"settingName": {
"type": "string",
"description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon."
}
},
"type": "object"
},
"azure-native:compute:ApiErrorBaseResponse": {
"description": "Api error base.",
"properties": {
"code": {
"type": "string",
"description": "The error code."
},
"message": {
"type": "string",
"description": "The error message."
},
"target": {
"type": "string",
"description": "The target of the particular error."
}
},
"type": "object"
},
"azure-native:compute:ApiErrorResponse": {
"description": "Api error.",
"properties": {
"code": {
"type": "string",
"description": "The error code."
},
"details": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:ApiErrorBaseResponse"
},
"description": "The Api error details"
},
"innererror": {
"type": "object",
"$ref": "#/types/azure-native:compute:InnerErrorResponse",
"description": "The Api inner error"
},
"message": {
"type": "string",
"description": "The error message."
},
"target": {
"type": "string",
"description": "The target of the particular error."
}
},
"type": "object"
},
"azure-native:compute:AvailablePatchSummaryResponse": {
"description": "Describes the properties of an virtual machine instance view for available patch summary.",
"properties": {
"assessmentActivityId": {
"type": "string",
"description": "The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs."
},
"criticalAndSecurityPatchCount": {
"type": "integer",
"description": "The number of critical or security patches that have been detected as available and not yet installed."
},
"error": {
"type": "object",
"$ref": "#/types/azure-native:compute:ApiErrorResponse",
"description": "The errors that were encountered during execution of the operation. The details array contains the list of them."
},
"lastModifiedTime": {
"type": "string",
"description": "The UTC timestamp when the operation began."
},
"otherPatchCount": {
"type": "integer",
"description": "The number of all available patches excluding critical and security."
},
"rebootPending": {
"type": "boolean",
"description": "The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred."
},
"startTime": {
"type": "string",
"description": "The UTC timestamp when the operation began."
},
"status": {
"type": "string",
"description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\""
}
},
"type": "object",
"required": [
"assessmentActivityId",
"criticalAndSecurityPatchCount",
"error",
"lastModifiedTime",
"otherPatchCount",
"rebootPending",
"startTime",
"status"
]
},
"azure-native:compute:BillingProfile": {
"description": "Specifies the billing related details of a Azure Spot VM or VMSS. <br><br>Minimum api-version: 2019-03-01.",
"properties": {
"maxPrice": {
"type": "number",
"description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. <br><br> The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. <br><br>Minimum api-version: 2019-03-01."
}
},
"type": "object"
},
"azure-native:compute:BillingProfileResponse": {
"description": "Specifies the billing related details of a Azure Spot VM or VMSS. <br><br>Minimum api-version: 2019-03-01.",
"properties": {
"maxPrice": {
"type": "number",
"description": "Specifies the maximum price you are willing to pay for a Azure Spot VM/VMSS. This price is in US Dollars. <br><br> This price will be compared with the current Azure Spot price for the VM size. Also, the prices are compared at the time of create/update of Azure Spot VM/VMSS and the operation will only succeed if the maxPrice is greater than the current Azure Spot price. <br><br> The maxPrice will also be used for evicting a Azure Spot VM/VMSS if the current Azure Spot price goes beyond the maxPrice after creation of VM/VMSS. <br><br> Possible values are: <br><br> - Any decimal value greater than zero. Example: 0.01538 <br><br> -1 – indicates default price to be up-to on-demand. <br><br> You can set the maxPrice to -1 to indicate that the Azure Spot VM/VMSS should not be evicted for price reasons. Also, the default max price is -1 if it is not provided by you. <br><br>Minimum api-version: 2019-03-01."
}
},
"type": "object"
},
"azure-native:compute:BootDiagnostics": {
"description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether boot diagnostics should be enabled on the Virtual Machine."
},
"storageUri": {
"type": "string",
"description": "Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used."
}
},
"type": "object"
},
"azure-native:compute:BootDiagnosticsInstanceViewResponse": {
"description": "The instance view of a virtual machine boot diagnostics.",
"properties": {
"consoleScreenshotBlobUri": {
"type": "string",
"description": "The console screenshot blob URI. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage."
},
"serialConsoleLogBlobUri": {
"type": "string",
"description": "The serial console log blob Uri. <br><br>NOTE: This will **not** be set if boot diagnostics is currently enabled with managed storage."
},
"status": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse",
"description": "The boot diagnostics status information for the VM. <br><br> NOTE: It will be set only if there are errors encountered in enabling boot diagnostics."
}
},
"type": "object",
"required": [
"consoleScreenshotBlobUri",
"serialConsoleLogBlobUri",
"status"
]
},
"azure-native:compute:BootDiagnosticsResponse": {
"description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Whether boot diagnostics should be enabled on the Virtual Machine."
},
"storageUri": {
"type": "string",
"description": "Uri of the storage account to use for placing the console output and screenshot. <br><br>If storageUri is not specified while enabling boot diagnostics, managed storage will be used."
}
},
"type": "object"
},
"azure-native:compute:CachingTypes": {
"description": "Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None** for Standard storage. **ReadOnly** for Premium storage.",
"type": "string",
"enum": [
{
"value": "None"
},
{
"value": "ReadOnly"
},
{
"value": "ReadWrite"
}
]
},
"azure-native:compute:ComponentNames": {
"description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.",
"type": "string",
"enum": [
{
"value": "Microsoft-Windows-Shell-Setup"
}
]
},
"azure-native:compute:DataDisk": {
"description": "Describes a data disk.",
"properties": {
"caching": {
"$ref": "#/types/azure-native:compute:CachingTypes",
"description": "Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**"
},
"createOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiskCreateOptionTypes"
}
],
"description": "Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
},
"deleteOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiskDeleteOptionTypes"
}
],
"description": "Specifies whether data disk should be deleted or detached upon VM deletion.<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VM is deleted.<br><br> The default value is set to **detach**"
},
"detachOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiskDetachOptionTypes"
}
],
"description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. <br><br> detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
},
"diskSizeGB": {
"type": "integer",
"description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB"
},
"image": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDisk",
"description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
},
"lun": {
"type": "integer",
"description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
},
"managedDisk": {
"type": "object",
"$ref": "#/types/azure-native:compute:ManagedDiskParameters",
"description": "The managed disk parameters."
},
"name": {
"type": "string",
"description": "The disk name."
},
"toBeDetached": {
"type": "boolean",
"description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
},
"vhd": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDisk",
"description": "The virtual hard disk."
},
"writeAcceleratorEnabled": {
"type": "boolean",
"description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
}
},
"type": "object",
"required": [
"createOption",
"lun"
]
},
"azure-native:compute:DataDiskResponse": {
"description": "Describes a data disk.",
"properties": {
"caching": {
"type": "string",
"description": "Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None for Standard storage. ReadOnly for Premium storage**"
},
"createOption": {
"type": "string",
"description": "Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
},
"deleteOption": {
"type": "string",
"description": "Specifies whether data disk should be deleted or detached upon VM deletion.<br><br> Possible values: <br><br> **Delete** If this value is used, the data disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the data disk is retained after VM is deleted.<br><br> The default value is set to **detach**"
},
"detachOption": {
"type": "string",
"description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. <br><br> detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'."
},
"diskIOPSReadWrite": {
"type": "number",
"description": "Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
},
"diskMBpsReadWrite": {
"type": "number",
"description": "Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set."
},
"diskSizeGB": {
"type": "integer",
"description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB"
},
"image": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDiskResponse",
"description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
},
"lun": {
"type": "integer",
"description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM."
},
"managedDisk": {
"type": "object",
"$ref": "#/types/azure-native:compute:ManagedDiskParametersResponse",
"description": "The managed disk parameters."
},
"name": {
"type": "string",
"description": "The disk name."
},
"toBeDetached": {
"type": "boolean",
"description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset"
},
"vhd": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDiskResponse",
"description": "The virtual hard disk."
},
"writeAcceleratorEnabled": {
"type": "boolean",
"description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
}
},
"type": "object",
"required": [
"createOption",
"diskIOPSReadWrite",
"diskMBpsReadWrite",
"lun"
]
},
"azure-native:compute:DeleteOptions": {
"description": "Specify what happens to the public IP when the VM is deleted",
"type": "string",
"enum": [
{
"value": "Delete"
},
{
"value": "Detach"
}
]
},
"azure-native:compute:DiagnosticsProfile": {
"description": "Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.",
"properties": {
"bootDiagnostics": {
"type": "object",
"$ref": "#/types/azure-native:compute:BootDiagnostics",
"description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor."
}
},
"type": "object"
},
"azure-native:compute:DiagnosticsProfileResponse": {
"description": "Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15.",
"properties": {
"bootDiagnostics": {
"type": "object",
"$ref": "#/types/azure-native:compute:BootDiagnosticsResponse",
"description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor."
}
},
"type": "object"
},
"azure-native:compute:DiffDiskOptions": {
"description": "Specifies the ephemeral disk settings for operating system disk.",
"type": "string",
"enum": [
{
"value": "Local"
}
]
},
"azure-native:compute:DiffDiskPlacement": {
"description": "Specifies the ephemeral disk placement for operating system disk.<br><br> Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk** <br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.<br><br> Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk.",
"type": "string",
"enum": [
{
"value": "CacheDisk"
},
{
"value": "ResourceDisk"
}
]
},
"azure-native:compute:DiffDiskSettings": {
"description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. <br><br> NOTE: The ephemeral disk settings can only be specified for managed disk.",
"properties": {
"option": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiffDiskOptions"
}
],
"description": "Specifies the ephemeral disk settings for operating system disk."
},
"placement": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiffDiskPlacement"
}
],
"description": "Specifies the ephemeral disk placement for operating system disk.<br><br> Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk** <br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.<br><br> Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk."
}
},
"type": "object"
},
"azure-native:compute:DiffDiskSettingsResponse": {
"description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. <br><br> NOTE: The ephemeral disk settings can only be specified for managed disk.",
"properties": {
"option": {
"type": "string",
"description": "Specifies the ephemeral disk settings for operating system disk."
},
"placement": {
"type": "string",
"description": "Specifies the ephemeral disk placement for operating system disk.<br><br> Possible values are: <br><br> **CacheDisk** <br><br> **ResourceDisk** <br><br> Default: **CacheDisk** if one is configured for the VM size otherwise **ResourceDisk** is used.<br><br> Refer to VM size documentation for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/sizes and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/sizes to check which VM sizes exposes a cache disk."
}
},
"type": "object"
},
"azure-native:compute:DiskCreateOptionTypes": {
"description": "Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described.",
"type": "string",
"enum": [
{
"value": "FromImage"
},
{
"value": "Empty"
},
{
"value": "Attach"
}
]
},
"azure-native:compute:DiskDeleteOptionTypes": {
"description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. <br><br> Possible values: <br><br> **Delete** If this value is used, the OS disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the os disk is retained after VM is deleted. <br><br> The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk.",
"type": "string",
"enum": [
{
"value": "Delete"
},
{
"value": "Detach"
}
]
},
"azure-native:compute:DiskDetachOptionTypes": {
"description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: **ForceDetach**. <br><br> detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. <br><br> This feature is still in preview mode and is not supported for VirtualMachineScaleSet. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.",
"type": "string",
"enum": [
{
"value": "ForceDetach"
}
]
},
"azure-native:compute:DiskEncryptionSetParameters": {
"description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. <br><br> NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
}
},
"type": "object"
},
"azure-native:compute:DiskEncryptionSetParametersResponse": {
"description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. <br><br> NOTE: The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
}
},
"type": "object"
},
"azure-native:compute:DiskEncryptionSettings": {
"description": "Describes a Encryption Settings for a Disk",
"properties": {
"diskEncryptionKey": {
"type": "object",
"$ref": "#/types/azure-native:compute:KeyVaultSecretReference",
"description": "Specifies the location of the disk encryption key, which is a Key Vault Secret."
},
"enabled": {
"type": "boolean",
"description": "Specifies whether disk encryption should be enabled on the virtual machine."
},
"keyEncryptionKey": {
"type": "object",
"$ref": "#/types/azure-native:compute:KeyVaultKeyReference",
"description": "Specifies the location of the key encryption key in Key Vault."
}
},
"type": "object"
},
"azure-native:compute:DiskEncryptionSettingsResponse": {
"description": "Describes a Encryption Settings for a Disk",
"properties": {
"diskEncryptionKey": {
"type": "object",
"$ref": "#/types/azure-native:compute:KeyVaultSecretReferenceResponse",
"description": "Specifies the location of the disk encryption key, which is a Key Vault Secret."
},
"enabled": {
"type": "boolean",
"description": "Specifies whether disk encryption should be enabled on the virtual machine."
},
"keyEncryptionKey": {
"type": "object",
"$ref": "#/types/azure-native:compute:KeyVaultKeyReferenceResponse",
"description": "Specifies the location of the key encryption key in Key Vault."
}
},
"type": "object"
},
"azure-native:compute:DiskInstanceViewResponse": {
"description": "The instance view of the disk.",
"properties": {
"encryptionSettings": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiskEncryptionSettingsResponse"
},
"description": "Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15"
},
"name": {
"type": "string",
"description": "The disk name."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse"
},
"description": "The resource status information."
}
},
"type": "object"
},
"azure-native:compute:ExtendedLocation": {
"description": "The complex type of the extended location.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:ExtendedLocationTypes"
}
],
"description": "The type of the extended location."
}
},
"type": "object"
},
"azure-native:compute:ExtendedLocationResponse": {
"description": "The complex type of the extended location.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"type": "string",
"description": "The type of the extended location."
}
},
"type": "object"
},
"azure-native:compute:ExtendedLocationTypes": {
"description": "The type of the extended location.",
"type": "string",
"enum": [
{
"value": "EdgeZone"
}
]
},
"azure-native:compute:HardwareProfile": {
"description": "Specifies the hardware settings for the virtual machine.",
"properties": {
"vmSize": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:VirtualMachineSizeTypes"
}
],
"description": "Specifies the size of the virtual machine. <br><br> The enum data type is currently deprecated and will be removed by December 23rd 2023. <br><br> Recommended way to get the list of available sizes is using these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set."
}
},
"type": "object"
},
"azure-native:compute:HardwareProfileResponse": {
"description": "Specifies the hardware settings for the virtual machine.",
"properties": {
"vmSize": {
"type": "string",
"description": "Specifies the size of the virtual machine. <br><br> The enum data type is currently deprecated and will be removed by December 23rd 2023. <br><br> Recommended way to get the list of available sizes is using these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set."
}
},
"type": "object"
},
"azure-native:compute:IPVersions": {
"description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.",
"type": "string",
"enum": [
{
"value": "IPv4"
},
{
"value": "IPv6"
}
]
},
"azure-native:compute:ImageReference": {
"description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
},
"offer": {
"type": "string",
"description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine."
},
"publisher": {
"type": "string",
"description": "The image publisher."
},
"sku": {
"type": "string",
"description": "The image SKU."
},
"version": {
"type": "string",
"description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
}
},
"type": "object"
},
"azure-native:compute:ImageReferenceResponse": {
"description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.",
"properties": {
"exactVersion": {
"type": "string",
"description": "Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'."
},
"id": {
"type": "string",
"description": "Resource Id"
},
"offer": {
"type": "string",
"description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine."
},
"publisher": {
"type": "string",
"description": "The image publisher."
},
"sku": {
"type": "string",
"description": "The image SKU."
},
"version": {
"type": "string",
"description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available."
}
},
"type": "object",
"required": [
"exactVersion"
]
},
"azure-native:compute:InnerErrorResponse": {
"description": "Inner error details.",
"properties": {
"errordetail": {
"type": "string",
"description": "The internal error message or exception dump."
},
"exceptiontype": {
"type": "string",
"description": "The exception type."
}
},
"type": "object"
},
"azure-native:compute:InstanceViewStatusResponse": {
"description": "Instance view status.",
"properties": {
"code": {
"type": "string",
"description": "The status code."
},
"displayStatus": {
"type": "string",
"description": "The short localizable label for the status."
},
"level": {
"type": "string",
"description": "The level code."
},
"message": {
"type": "string",
"description": "The detailed status message, including for alerts and error messages."
},
"time": {
"type": "string",
"description": "The time of the status."
}
},
"type": "object"
},
"azure-native:compute:KeyVaultKeyReference": {
"description": "Describes a reference to Key Vault Key",
"properties": {
"keyUrl": {
"type": "string",
"description": "The URL referencing a key encryption key in Key Vault."
},
"sourceVault": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "The relative URL of the Key Vault containing the key."
}
},
"type": "object",
"required": [
"keyUrl",
"sourceVault"
]
},
"azure-native:compute:KeyVaultKeyReferenceResponse": {
"description": "Describes a reference to Key Vault Key",
"properties": {
"keyUrl": {
"type": "string",
"description": "The URL referencing a key encryption key in Key Vault."
},
"sourceVault": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "The relative URL of the Key Vault containing the key."
}
},
"type": "object",
"required": [
"keyUrl",
"sourceVault"
]
},
"azure-native:compute:KeyVaultSecretReference": {
"description": "Describes a reference to Key Vault Secret",
"properties": {
"secretUrl": {
"type": "string",
"description": "The URL referencing a secret in a Key Vault."
},
"sourceVault": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "The relative URL of the Key Vault containing the secret."
}
},
"type": "object",
"required": [
"secretUrl",
"sourceVault"
]
},
"azure-native:compute:KeyVaultSecretReferenceResponse": {
"description": "Describes a reference to Key Vault Secret",
"properties": {
"secretUrl": {
"type": "string",
"description": "The URL referencing a secret in a Key Vault."
},
"sourceVault": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "The relative URL of the Key Vault containing the secret."
}
},
"type": "object",
"required": [
"secretUrl",
"sourceVault"
]
},
"azure-native:compute:LastPatchInstallationSummaryResponse": {
"description": "Describes the properties of the last installed patch summary.",
"properties": {
"error": {
"type": "object",
"$ref": "#/types/azure-native:compute:ApiErrorResponse",
"description": "The errors that were encountered during execution of the operation. The details array contains the list of them."
},
"excludedPatchCount": {
"type": "integer",
"description": "The number of all available patches but excluded explicitly by a customer-specified exclusion list match."
},
"failedPatchCount": {
"type": "integer",
"description": "The count of patches that failed installation."
},
"installationActivityId": {
"type": "string",
"description": "The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs."
},
"installedPatchCount": {
"type": "integer",
"description": "The count of patches that successfully installed."
},
"lastModifiedTime": {
"type": "string",
"description": "The UTC timestamp when the operation began."
},
"maintenanceWindowExceeded": {
"type": "boolean",
"description": "Describes whether the operation ran out of time before it completed all its intended actions"
},
"notSelectedPatchCount": {
"type": "integer",
"description": "The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry."
},
"pendingPatchCount": {
"type": "integer",
"description": "The number of all available patches expected to be installed over the course of the patch installation operation."
},
"startTime": {
"type": "string",
"description": "The UTC timestamp when the operation began."
},
"status": {
"type": "string",
"description": "The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\""
}
},
"type": "object",
"required": [
"error",
"excludedPatchCount",
"failedPatchCount",
"installationActivityId",
"installedPatchCount",
"lastModifiedTime",
"maintenanceWindowExceeded",
"notSelectedPatchCount",
"pendingPatchCount",
"startTime",
"status"
]
},
"azure-native:compute:LinuxConfiguration": {
"description": "Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
"properties": {
"disablePasswordAuthentication": {
"type": "boolean",
"description": "Specifies whether password authentication should be disabled."
},
"patchSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:LinuxPatchSettings",
"description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux."
},
"provisionVMAgent": {
"type": "boolean",
"description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
},
"ssh": {
"type": "object",
"$ref": "#/types/azure-native:compute:SshConfiguration",
"description": "Specifies the ssh key configuration for a Linux OS."
}
},
"type": "object"
},
"azure-native:compute:LinuxConfigurationResponse": {
"description": "Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).",
"properties": {
"disablePasswordAuthentication": {
"type": "boolean",
"description": "Specifies whether password authentication should be disabled."
},
"patchSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:LinuxPatchSettingsResponse",
"description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux."
},
"provisionVMAgent": {
"type": "boolean",
"description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
},
"ssh": {
"type": "object",
"$ref": "#/types/azure-native:compute:SshConfigurationResponse",
"description": "Specifies the ssh key configuration for a Linux OS."
}
},
"type": "object"
},
"azure-native:compute:LinuxPatchAssessmentMode": {
"description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.",
"type": "string",
"enum": [
{
"value": "ImageDefault"
},
{
"value": "AutomaticByPlatform"
}
]
},
"azure-native:compute:LinuxPatchSettings": {
"description": "Specifies settings related to VM Guest Patching on Linux.",
"properties": {
"assessmentMode": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:LinuxPatchAssessmentMode"
}
],
"description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
},
"patchMode": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:LinuxVMGuestPatchMode"
}
],
"description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true"
}
},
"type": "object"
},
"azure-native:compute:LinuxPatchSettingsResponse": {
"description": "Specifies settings related to VM Guest Patching on Linux.",
"properties": {
"assessmentMode": {
"type": "string",
"description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true."
},
"patchMode": {
"type": "string",
"description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true"
}
},
"type": "object"
},
"azure-native:compute:LinuxVMGuestPatchMode": {
"description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true",
"type": "string",
"enum": [
{
"value": "ImageDefault"
},
{
"value": "AutomaticByPlatform"
}
]
},
"azure-native:compute:MaintenanceRedeployStatusResponse": {
"description": "Maintenance Operation Status.",
"properties": {
"isCustomerInitiatedMaintenanceAllowed": {
"type": "boolean",
"description": "True, if customer is allowed to perform Maintenance."
},
"lastOperationMessage": {
"type": "string",
"description": "Message returned for the last Maintenance Operation."
},
"lastOperationResultCode": {
"type": "string",
"description": "The Last Maintenance Operation Result Code."
},
"maintenanceWindowEndTime": {
"type": "string",
"description": "End Time for the Maintenance Window."
},
"maintenanceWindowStartTime": {
"type": "string",
"description": "Start Time for the Maintenance Window."
},
"preMaintenanceWindowEndTime": {
"type": "string",
"description": "End Time for the Pre Maintenance Window."
},
"preMaintenanceWindowStartTime": {
"type": "string",
"description": "Start Time for the Pre Maintenance Window."
}
},
"type": "object"
},
"azure-native:compute:ManagedDiskParameters": {
"description": "The parameters of a managed disk.",
"properties": {
"diskEncryptionSet": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiskEncryptionSetParameters",
"description": "Specifies the customer managed disk encryption set resource id for the managed disk."
},
"id": {
"type": "string",
"description": "Resource Id"
},
"storageAccountType": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:StorageAccountTypes"
}
],
"description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
}
},
"type": "object"
},
"azure-native:compute:ManagedDiskParametersResponse": {
"description": "The parameters of a managed disk.",
"properties": {
"diskEncryptionSet": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiskEncryptionSetParametersResponse",
"description": "Specifies the customer managed disk encryption set resource id for the managed disk."
},
"id": {
"type": "string",
"description": "Resource Id"
},
"storageAccountType": {
"type": "string",
"description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk."
}
},
"type": "object"
},
"azure-native:compute:NetworkApiVersion": {
"description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations",
"type": "string",
"enum": [
{
"value": "2020-11-01"
}
]
},
"azure-native:compute:NetworkInterfaceReference": {
"description": "Describes a network interface reference.",
"properties": {
"deleteOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DeleteOptions"
}
],
"description": "Specify what happens to the network interface when the VM is deleted"
},
"id": {
"type": "string",
"description": "Resource Id"
},
"primary": {
"type": "boolean",
"description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
}
},
"type": "object"
},
"azure-native:compute:NetworkInterfaceReferenceResponse": {
"description": "Describes a network interface reference.",
"properties": {
"deleteOption": {
"type": "string",
"description": "Specify what happens to the network interface when the VM is deleted"
},
"id": {
"type": "string",
"description": "Resource Id"
},
"primary": {
"type": "boolean",
"description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
}
},
"type": "object"
},
"azure-native:compute:NetworkProfile": {
"description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
"properties": {
"networkApiVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:NetworkApiVersion"
}
],
"description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations"
},
"networkInterfaceConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineNetworkInterfaceConfiguration"
},
"description": "Specifies the networking configurations that will be used to create the virtual machine networking resources."
},
"networkInterfaces": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:NetworkInterfaceReference"
},
"description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
}
},
"type": "object"
},
"azure-native:compute:NetworkProfileResponse": {
"description": "Specifies the network interfaces or the networking configuration of the virtual machine.",
"properties": {
"networkApiVersion": {
"type": "string",
"description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations"
},
"networkInterfaceConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineNetworkInterfaceConfigurationResponse"
},
"description": "Specifies the networking configurations that will be used to create the virtual machine networking resources."
},
"networkInterfaces": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:NetworkInterfaceReferenceResponse"
},
"description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine."
}
},
"type": "object"
},
"azure-native:compute:OSDisk": {
"description": "Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
"properties": {
"caching": {
"$ref": "#/types/azure-native:compute:CachingTypes",
"description": "Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None** for Standard storage. **ReadOnly** for Premium storage."
},
"createOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiskCreateOptionTypes"
}
],
"description": "Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
},
"deleteOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DiskDeleteOptionTypes"
}
],
"description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. <br><br> Possible values: <br><br> **Delete** If this value is used, the OS disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the os disk is retained after VM is deleted. <br><br> The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk."
},
"diffDiskSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiffDiskSettings",
"description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
},
"diskSizeGB": {
"type": "integer",
"description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB"
},
"encryptionSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiskEncryptionSettings",
"description": "Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15"
},
"image": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDisk",
"description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
},
"managedDisk": {
"type": "object",
"$ref": "#/types/azure-native:compute:ManagedDiskParameters",
"description": "The managed disk parameters."
},
"name": {
"type": "string",
"description": "The disk name."
},
"osType": {
"$ref": "#/types/azure-native:compute:OperatingSystemTypes",
"description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**"
},
"vhd": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDisk",
"description": "The virtual hard disk."
},
"writeAcceleratorEnabled": {
"type": "boolean",
"description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
}
},
"type": "object",
"required": [
"createOption"
]
},
"azure-native:compute:OSDiskResponse": {
"description": "Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).",
"properties": {
"caching": {
"type": "string",
"description": "Specifies the caching requirements. <br><br> Possible values are: <br><br> **None** <br><br> **ReadOnly** <br><br> **ReadWrite** <br><br> Default: **None** for Standard storage. **ReadOnly** for Premium storage."
},
"createOption": {
"type": "string",
"description": "Specifies how the virtual machine should be created.<br><br> Possible values are:<br><br> **Attach** \\u2013 This value is used when you are using a specialized disk to create the virtual machine.<br><br> **FromImage** \\u2013 This value is used when you are using an image to create the virtual machine. If you are using a platform image, you also use the imageReference element described above. If you are using a marketplace image, you also use the plan element previously described."
},
"deleteOption": {
"type": "string",
"description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. <br><br> Possible values: <br><br> **Delete** If this value is used, the OS disk is deleted when VM is deleted.<br><br> **Detach** If this value is used, the os disk is retained after VM is deleted. <br><br> The default value is set to **detach**. For an ephemeral OS Disk, the default value is set to **Delete**. User cannot change the delete option for ephemeral OS Disk."
},
"diffDiskSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiffDiskSettingsResponse",
"description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
},
"diskSizeGB": {
"type": "integer",
"description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB"
},
"encryptionSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiskEncryptionSettingsResponse",
"description": "Specifies the encryption settings for the OS Disk. <br><br> Minimum api-version: 2015-06-15"
},
"image": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDiskResponse",
"description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist."
},
"managedDisk": {
"type": "object",
"$ref": "#/types/azure-native:compute:ManagedDiskParametersResponse",
"description": "The managed disk parameters."
},
"name": {
"type": "string",
"description": "The disk name."
},
"osType": {
"type": "string",
"description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**"
},
"vhd": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualHardDiskResponse",
"description": "The virtual hard disk."
},
"writeAcceleratorEnabled": {
"type": "boolean",
"description": "Specifies whether writeAccelerator should be enabled or disabled on the disk."
}
},
"type": "object",
"required": [
"createOption"
]
},
"azure-native:compute:OSProfile": {
"description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
"properties": {
"adminPassword": {
"type": "string",
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
},
"adminUsername": {
"type": "string",
"description": "Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters."
},
"allowExtensionOperations": {
"type": "boolean",
"description": "Specifies whether extension operations should be allowed on the virtual machine. <br><br>This may only be set to False when no extensions are present on the virtual machine."
},
"computerName": {
"type": "string",
"description": "Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules)."
},
"customData": {
"type": "string",
"description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)"
},
"linuxConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:LinuxConfiguration",
"description": "Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
},
"requireGuestProvisionSignal": {
"type": "boolean",
"description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**"
},
"secrets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VaultSecretGroup"
},
"description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
},
"windowsConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:WindowsConfiguration",
"description": "Specifies Windows operating system settings on the virtual machine."
}
},
"type": "object"
},
"azure-native:compute:OSProfileResponse": {
"description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.",
"properties": {
"adminPassword": {
"type": "string",
"description": "Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)"
},
"adminUsername": {
"type": "string",
"description": "Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters."
},
"allowExtensionOperations": {
"type": "boolean",
"description": "Specifies whether extension operations should be allowed on the virtual machine. <br><br>This may only be set to False when no extensions are present on the virtual machine."
},
"computerName": {
"type": "string",
"description": "Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules)."
},
"customData": {
"type": "string",
"description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)"
},
"linuxConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:LinuxConfigurationResponse",
"description": "Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)."
},
"requireGuestProvisionSignal": {
"type": "boolean",
"description": "Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.**"
},
"secrets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VaultSecretGroupResponse"
},
"description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
},
"windowsConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:WindowsConfigurationResponse",
"description": "Specifies Windows operating system settings on the virtual machine."
}
},
"type": "object"
},
"azure-native:compute:OperatingSystemTypes": {
"description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**",
"type": "string",
"enum": [
{
"value": "Windows"
},
{
"value": "Linux"
}
]
},
"azure-native:compute:PassNames": {
"description": "The pass name. Currently, the only allowable value is OobeSystem.",
"type": "string",
"enum": [
{
"value": "OobeSystem"
}
]
},
"azure-native:compute:PatchSettings": {
"description": "Specifies settings related to VM Guest Patching on Windows.",
"properties": {
"assessmentMode": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:WindowsPatchAssessmentMode"
}
],
"description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. "
},
"enableHotpatching": {
"type": "boolean",
"description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'."
},
"patchMode": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:WindowsVMGuestPatchMode"
}
],
"description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true "
}
},
"type": "object"
},
"azure-native:compute:PatchSettingsResponse": {
"description": "Specifies settings related to VM Guest Patching on Windows.",
"properties": {
"assessmentMode": {
"type": "string",
"description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. "
},
"enableHotpatching": {
"type": "boolean",
"description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'."
},
"patchMode": {
"type": "string",
"description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true "
}
},
"type": "object"
},
"azure-native:compute:Plan": {
"description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
"properties": {
"name": {
"type": "string",
"description": "The plan ID."
},
"product": {
"type": "string",
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
},
"promotionCode": {
"type": "string",
"description": "The promotion code."
},
"publisher": {
"type": "string",
"description": "The publisher ID."
}
},
"type": "object"
},
"azure-native:compute:PlanResponse": {
"description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**.",
"properties": {
"name": {
"type": "string",
"description": "The plan ID."
},
"product": {
"type": "string",
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
},
"promotionCode": {
"type": "string",
"description": "The promotion code."
},
"publisher": {
"type": "string",
"description": "The publisher ID."
}
},
"type": "object"
},
"azure-native:compute:ProtocolTypes": {
"description": "Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**",
"type": "string",
"enum": [
{
"value": "Http"
},
{
"value": "Https"
}
]
},
"azure-native:compute:PublicIPAddressSku": {
"description": "Describes the public IP Sku",
"properties": {
"name": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:PublicIPAddressSkuName"
}
],
"description": "Specify public IP sku name"
},
"tier": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:PublicIPAddressSkuTier"
}
],
"description": "Specify public IP sku tier"
}
},
"type": "object"
},
"azure-native:compute:PublicIPAddressSkuName": {
"description": "Specify public IP sku name",
"type": "string",
"enum": [
{
"value": "Basic"
},
{
"value": "Standard"
}
]
},
"azure-native:compute:PublicIPAddressSkuResponse": {
"description": "Describes the public IP Sku",
"properties": {
"name": {
"type": "string",
"description": "Specify public IP sku name"
},
"tier": {
"type": "string",
"description": "Specify public IP sku tier"
}
},
"type": "object"
},
"azure-native:compute:PublicIPAddressSkuTier": {
"description": "Specify public IP sku tier",
"type": "string",
"enum": [
{
"value": "Regional"
},
{
"value": "Global"
}
]
},
"azure-native:compute:PublicIPAllocationMethod": {
"description": "Specify the public IP allocation type",
"type": "string",
"enum": [
{
"value": "Dynamic"
},
{
"value": "Static"
}
]
},
"azure-native:compute:ResourceIdentityType": {
"description": "The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set.",
"type": "string",
"enum": [
{
"value": "SystemAssigned"
},
{
"value": "UserAssigned"
},
{
"value": "SystemAssigned, UserAssigned"
},
{
"value": "None"
}
]
},
"azure-native:compute:ScheduledEventsProfile": {
"properties": {
"terminateNotificationProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:TerminateNotificationProfile",
"description": "Specifies Terminate Scheduled Event related configurations."
}
},
"type": "object"
},
"azure-native:compute:ScheduledEventsProfileResponse": {
"properties": {
"terminateNotificationProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:TerminateNotificationProfileResponse",
"description": "Specifies Terminate Scheduled Event related configurations."
}
},
"type": "object"
},
"azure-native:compute:SecurityProfile": {
"description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
"properties": {
"encryptionAtHost": {
"type": "boolean",
"description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource."
},
"securityType": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:SecurityTypes"
}
],
"description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch."
},
"uefiSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:UefiSettings",
"description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01"
}
},
"type": "object"
},
"azure-native:compute:SecurityProfileResponse": {
"description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.",
"properties": {
"encryptionAtHost": {
"type": "boolean",
"description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource."
},
"securityType": {
"type": "string",
"description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch."
},
"uefiSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:UefiSettingsResponse",
"description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01"
}
},
"type": "object"
},
"azure-native:compute:SecurityTypes": {
"description": "Specifies the SecurityType of the virtual machine. It is set as TrustedLaunch to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set as TrustedLaunch.",
"type": "string",
"enum": [
{
"value": "TrustedLaunch"
}
]
},
"azure-native:compute:SettingNames": {
"description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.",
"type": "string",
"enum": [
{
"value": "AutoLogon"
},
{
"value": "FirstLogonCommands"
}
]
},
"azure-native:compute:SshConfiguration": {
"description": "SSH configuration for Linux based VMs running on Azure",
"properties": {
"publicKeys": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SshPublicKey"
},
"description": "The list of SSH public keys used to authenticate with linux based VMs."
}
},
"type": "object"
},
"azure-native:compute:SshConfigurationResponse": {
"description": "SSH configuration for Linux based VMs running on Azure",
"properties": {
"publicKeys": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SshPublicKeyResponse"
},
"description": "The list of SSH public keys used to authenticate with linux based VMs."
}
},
"type": "object"
},
"azure-native:compute:SshPublicKey": {
"description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
"properties": {
"keyData": {
"type": "string",
"description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
},
"path": {
"type": "string",
"description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys"
}
},
"type": "object"
},
"azure-native:compute:SshPublicKeyResponse": {
"description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.",
"properties": {
"keyData": {
"type": "string",
"description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)."
},
"path": {
"type": "string",
"description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys"
}
},
"type": "object"
},
"azure-native:compute:StorageAccountTypes": {
"description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.",
"type": "string",
"enum": [
{
"value": "Standard_LRS"
},
{
"value": "Premium_LRS"
},
{
"value": "StandardSSD_LRS"
},
{
"value": "UltraSSD_LRS"
},
{
"value": "Premium_ZRS"
},
{
"value": "StandardSSD_ZRS"
}
]
},
"azure-native:compute:StorageProfile": {
"description": "Specifies the storage settings for the virtual machine disks.",
"properties": {
"dataDisks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:DataDisk"
},
"description": "Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
},
"imageReference": {
"type": "object",
"$ref": "#/types/azure-native:compute:ImageReference",
"description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations."
},
"osDisk": {
"type": "object",
"$ref": "#/types/azure-native:compute:OSDisk",
"description": "Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
}
},
"type": "object"
},
"azure-native:compute:StorageProfileResponse": {
"description": "Specifies the storage settings for the virtual machine disks.",
"properties": {
"dataDisks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:DataDiskResponse"
},
"description": "Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
},
"imageReference": {
"type": "object",
"$ref": "#/types/azure-native:compute:ImageReferenceResponse",
"description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations."
},
"osDisk": {
"type": "object",
"$ref": "#/types/azure-native:compute:OSDiskResponse",
"description": "Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)."
}
},
"type": "object"
},
"azure-native:compute:SubResource": {
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
}
},
"type": "object"
},
"azure-native:compute:SubResourceResponse": {
"properties": {
"id": {
"type": "string",
"description": "Resource Id"
}
},
"type": "object"
},
"azure-native:compute:TerminateNotificationProfile": {
"properties": {
"enable": {
"type": "boolean",
"description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
},
"notBeforeTimeout": {
"type": "string",
"description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
}
},
"type": "object"
},
"azure-native:compute:TerminateNotificationProfileResponse": {
"properties": {
"enable": {
"type": "boolean",
"description": "Specifies whether the Terminate Scheduled event is enabled or disabled."
},
"notBeforeTimeout": {
"type": "string",
"description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)"
}
},
"type": "object"
},
"azure-native:compute:UefiSettings": {
"description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01",
"properties": {
"secureBootEnabled": {
"type": "boolean",
"description": "Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01"
},
"vTpmEnabled": {
"type": "boolean",
"description": "Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01"
}
},
"type": "object"
},
"azure-native:compute:UefiSettingsResponse": {
"description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01",
"properties": {
"secureBootEnabled": {
"type": "boolean",
"description": "Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01"
},
"vTpmEnabled": {
"type": "boolean",
"description": "Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01"
}
},
"type": "object"
},
"azure-native:compute:VaultCertificate": {
"description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
"properties": {
"certificateStore": {
"type": "string",
"description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted."
},
"certificateUrl": {
"type": "string",
"description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
}
},
"type": "object"
},
"azure-native:compute:VaultCertificateResponse": {
"description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.",
"properties": {
"certificateStore": {
"type": "string",
"description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted."
},
"certificateUrl": {
"type": "string",
"description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
}
},
"type": "object"
},
"azure-native:compute:VaultSecretGroup": {
"description": "Describes a set of certificates which are all in the same Key Vault.",
"properties": {
"sourceVault": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates."
},
"vaultCertificates": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VaultCertificate"
},
"description": "The list of key vault references in SourceVault which contain certificates."
}
},
"type": "object"
},
"azure-native:compute:VaultSecretGroupResponse": {
"description": "Describes a set of certificates which are all in the same Key Vault.",
"properties": {
"sourceVault": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates."
},
"vaultCertificates": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VaultCertificateResponse"
},
"description": "The list of key vault references in SourceVault which contain certificates."
}
},
"type": "object"
},
"azure-native:compute:VirtualHardDisk": {
"description": "Describes the uri of a disk.",
"properties": {
"uri": {
"type": "string",
"description": "Specifies the virtual hard disk's uri."
}
},
"type": "object"
},
"azure-native:compute:VirtualHardDiskResponse": {
"description": "Describes the uri of a disk.",
"properties": {
"uri": {
"type": "string",
"description": "Specifies the virtual hard disk's uri."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineAgentInstanceViewResponse": {
"description": "The instance view of the VM Agent running on the virtual machine.",
"properties": {
"extensionHandlers": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineExtensionHandlerInstanceViewResponse"
},
"description": "The virtual machine extension handler instance view."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse"
},
"description": "The resource status information."
},
"vmAgentVersion": {
"type": "string",
"description": "The VM Agent full version."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineEvictionPolicyTypes": {
"description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview.",
"type": "string",
"enum": [
{
"value": "Deallocate"
},
{
"value": "Delete"
}
]
},
"azure-native:compute:VirtualMachineExtensionHandlerInstanceViewResponse": {
"description": "The instance view of a virtual machine extension handler.",
"properties": {
"status": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse",
"description": "The extension handler status."
},
"type": {
"type": "string",
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
},
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineExtensionInstanceViewResponse": {
"description": "The instance view of a virtual machine extension.",
"properties": {
"name": {
"type": "string",
"description": "The virtual machine extension name."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse"
},
"description": "The resource status information."
},
"substatuses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse"
},
"description": "The resource status information."
},
"type": {
"type": "string",
"description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"."
},
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineExtensionResponse": {
"description": "Describes a Virtual Machine Extension.",
"properties": {
"autoUpgradeMinorVersion": {
"type": "boolean",
"description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true."
},
"enableAutomaticUpgrade": {
"type": "boolean",
"description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available."
},
"forceUpdateTag": {
"type": "string",
"description": "How the extension handler should be forced to update even if the extension configuration has not changed."
},
"id": {
"type": "string",
"description": "Resource Id"
},
"instanceView": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineExtensionInstanceViewResponse",
"description": "The virtual machine extension instance view."
},
"location": {
"type": "string",
"description": "Resource location"
},
"name": {
"type": "string",
"description": "Resource name"
},
"protectedSettings": {
"$ref": "pulumi.json#/Any",
"description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state, which only appears in the response."
},
"publisher": {
"type": "string",
"description": "The name of the extension handler publisher."
},
"settings": {
"$ref": "pulumi.json#/Any",
"description": "Json formatted public settings for the extension."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
},
"type": {
"type": "string",
"description": "Resource type"
},
"typeHandlerVersion": {
"type": "string",
"description": "Specifies the version of the script handler."
}
},
"type": "object",
"required": [
"id",
"location",
"name",
"provisioningState",
"type"
]
},
"azure-native:compute:VirtualMachineHealthStatusResponse": {
"description": "The health status of the VM.",
"properties": {
"status": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse",
"description": "The health status information for the VM."
}
},
"type": "object",
"required": [
"status"
]
},
"azure-native:compute:VirtualMachineIdentity": {
"description": "Identity for the virtual machine.",
"properties": {
"type": {
"$ref": "#/types/azure-native:compute:ResourceIdentityType",
"description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."
},
"userAssignedIdentities": {
"type": "object",
"additionalProperties": {
"$ref": "pulumi.json#/Any"
},
"description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineIdentityResponse": {
"description": "Identity for the virtual machine.",
"properties": {
"principalId": {
"type": "string",
"description": "The principal id of virtual machine identity. This property will only be provided for a system assigned identity."
},
"tenantId": {
"type": "string",
"description": "The tenant id associated with the virtual machine. This property will only be provided for a system assigned identity."
},
"type": {
"type": "string",
"description": "The type of identity used for the virtual machine. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine."
},
"userAssignedIdentities": {
"type": "object",
"additionalProperties": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineIdentityResponseUserAssignedIdentities"
},
"description": "The list of user identities associated with the Virtual Machine. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'."
}
},
"type": "object",
"required": [
"principalId",
"tenantId"
]
},
"azure-native:compute:VirtualMachineIdentityResponseUserAssignedIdentities": {
"properties": {
"clientId": {
"type": "string",
"description": "The client id of user assigned identity."
},
"principalId": {
"type": "string",
"description": "The principal id of user assigned identity."
}
},
"type": "object",
"required": [
"clientId",
"principalId"
]
},
"azure-native:compute:VirtualMachineInstanceViewResponse": {
"description": "The instance view of a virtual machine.",
"properties": {
"assignedHost": {
"type": "string",
"description": "Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01."
},
"bootDiagnostics": {
"type": "object",
"$ref": "#/types/azure-native:compute:BootDiagnosticsInstanceViewResponse",
"description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. <br><br> You can easily view the output of your console log. <br><br> Azure also enables you to see a screenshot of the VM from the hypervisor."
},
"computerName": {
"type": "string",
"description": "The computer name assigned to the virtual machine."
},
"disks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiskInstanceViewResponse"
},
"description": "The virtual machine disk information."
},
"extensions": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineExtensionInstanceViewResponse"
},
"description": "The extensions information."
},
"hyperVGeneration": {
"type": "string",
"description": "Specifies the HyperVGeneration Type associated with a resource"
},
"maintenanceRedeployStatus": {
"type": "object",
"$ref": "#/types/azure-native:compute:MaintenanceRedeployStatusResponse",
"description": "The Maintenance Operation status on the virtual machine."
},
"osName": {
"type": "string",
"description": "The Operating System running on the virtual machine."
},
"osVersion": {
"type": "string",
"description": "The version of Operating System running on the virtual machine."
},
"patchStatus": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachinePatchStatusResponse",
"description": "[Preview Feature] The status of virtual machine patch operations."
},
"platformFaultDomain": {
"type": "integer",
"description": "Specifies the fault domain of the virtual machine."
},
"platformUpdateDomain": {
"type": "integer",
"description": "Specifies the update domain of the virtual machine."
},
"rdpThumbPrint": {
"type": "string",
"description": "The Remote desktop certificate thumbprint."
},
"statuses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse"
},
"description": "The resource status information."
},
"vmAgent": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineAgentInstanceViewResponse",
"description": "The VM Agent running on the virtual machine."
},
"vmHealth": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineHealthStatusResponse",
"description": "The health status for the VM."
}
},
"type": "object",
"required": [
"assignedHost",
"vmHealth"
]
},
"azure-native:compute:VirtualMachineIpTag": {
"description": "Contains the IP tag associated with the public IP address.",
"properties": {
"ipTagType": {
"type": "string",
"description": "IP tag type. Example: FirstPartyUsage."
},
"tag": {
"type": "string",
"description": "IP tag associated with the public IP. Example: SQL, Storage etc."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineIpTagResponse": {
"description": "Contains the IP tag associated with the public IP address.",
"properties": {
"ipTagType": {
"type": "string",
"description": "IP tag type. Example: FirstPartyUsage."
},
"tag": {
"type": "string",
"description": "IP tag associated with the public IP. Example: SQL, Storage etc."
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineNetworkInterfaceConfiguration": {
"description": "Describes a virtual machine network interface configurations.",
"properties": {
"deleteOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DeleteOptions"
}
],
"description": "Specify what happens to the network interface when the VM is deleted"
},
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineNetworkInterfaceDnsSettingsConfiguration",
"description": "The dns settings to be applied on the network interfaces."
},
"dscpConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource"
},
"enableAcceleratedNetworking": {
"type": "boolean",
"description": "Specifies whether the network interface is accelerated networking-enabled."
},
"enableFpga": {
"type": "boolean",
"description": "Specifies whether the network interface is FPGA networking-enabled."
},
"enableIPForwarding": {
"type": "boolean",
"description": "Whether IP forwarding enabled on this NIC."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineNetworkInterfaceIPConfiguration"
},
"description": "Specifies the IP configurations of the network interface."
},
"name": {
"type": "string",
"description": "The network interface configuration name."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "The network security group."
},
"primary": {
"type": "boolean",
"description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
}
},
"type": "object",
"required": [
"ipConfigurations",
"name"
]
},
"azure-native:compute:VirtualMachineNetworkInterfaceConfigurationResponse": {
"description": "Describes a virtual machine network interface configurations.",
"properties": {
"deleteOption": {
"type": "string",
"description": "Specify what happens to the network interface when the VM is deleted"
},
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineNetworkInterfaceDnsSettingsConfigurationResponse",
"description": "The dns settings to be applied on the network interfaces."
},
"dscpConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse"
},
"enableAcceleratedNetworking": {
"type": "boolean",
"description": "Specifies whether the network interface is accelerated networking-enabled."
},
"enableFpga": {
"type": "boolean",
"description": "Specifies whether the network interface is FPGA networking-enabled."
},
"enableIPForwarding": {
"type": "boolean",
"description": "Whether IP forwarding enabled on this NIC."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineNetworkInterfaceIPConfigurationResponse"
},
"description": "Specifies the IP configurations of the network interface."
},
"name": {
"type": "string",
"description": "The network interface configuration name."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "The network security group."
},
"primary": {
"type": "boolean",
"description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
}
},
"type": "object",
"required": [
"ipConfigurations",
"name"
]
},
"azure-native:compute:VirtualMachineNetworkInterfaceDnsSettingsConfiguration": {
"description": "Describes a virtual machines network configuration's DNS settings.",
"properties": {
"dnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of DNS servers IP addresses"
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineNetworkInterfaceDnsSettingsConfigurationResponse": {
"description": "Describes a virtual machines network configuration's DNS settings.",
"properties": {
"dnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of DNS servers IP addresses"
}
},
"type": "object"
},
"azure-native:compute:VirtualMachineNetworkInterfaceIPConfiguration": {
"description": "Describes a virtual machine network profile's IP configuration.",
"properties": {
"applicationGatewayBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource"
},
"description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway."
},
"applicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource"
},
"description": "Specifies an array of references to application security group."
},
"loadBalancerBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource"
},
"description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]."
},
"name": {
"type": "string",
"description": "The IP configuration name."
},
"primary": {
"type": "boolean",
"description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
},
"privateIPAddressVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:IPVersions"
}
],
"description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
},
"publicIPAddressConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachinePublicIPAddressConfiguration",
"description": "The publicIPAddressConfiguration."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "Specifies the identifier of the subnet."
}
},
"type": "object",
"required": [
"name"
]
},
"azure-native:compute:VirtualMachineNetworkInterfaceIPConfigurationResponse": {
"description": "Describes a virtual machine network profile's IP configuration.",
"properties": {
"applicationGatewayBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse"
},
"description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway."
},
"applicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse"
},
"description": "Specifies an array of references to application security group."
},
"loadBalancerBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse"
},
"description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]."
},
"name": {
"type": "string",
"description": "The IP configuration name."
},
"primary": {
"type": "boolean",
"description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface."
},
"privateIPAddressVersion": {
"type": "string",
"description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
},
"publicIPAddressConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachinePublicIPAddressConfigurationResponse",
"description": "The publicIPAddressConfiguration."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "Specifies the identifier of the subnet."
}
},
"type": "object",
"required": [
"name"
]
},
"azure-native:compute:VirtualMachinePatchStatusResponse": {
"description": "The status of virtual machine patch operations.",
"properties": {
"availablePatchSummary": {
"type": "object",
"$ref": "#/types/azure-native:compute:AvailablePatchSummaryResponse",
"description": "The available patch summary of the latest assessment operation for the virtual machine."
},
"configurationStatuses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:InstanceViewStatusResponse"
},
"description": "The enablement status of the specified patchMode"
},
"lastPatchInstallationSummary": {
"type": "object",
"$ref": "#/types/azure-native:compute:LastPatchInstallationSummaryResponse",
"description": "The installation summary of the latest installation operation for the virtual machine."
}
},
"type": "object",
"required": [
"configurationStatuses"
]
},
"azure-native:compute:VirtualMachinePriorityTypes": {
"description": "Specifies the priority for the virtual machines in the scale set. <br><br>Minimum api-version: 2017-10-30-preview",
"type": "string",
"enum": [
{
"value": "Regular"
},
{
"value": "Low"
},
{
"value": "Spot"
}
]
},
"azure-native:compute:VirtualMachinePublicIPAddressConfiguration": {
"description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
"properties": {
"deleteOption": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:DeleteOptions"
}
],
"description": "Specify what happens to the public IP address when the VM is deleted"
},
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachinePublicIPAddressDnsSettingsConfiguration",
"description": "The dns settings to be applied on the publicIP addresses ."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The idle timeout of the public IP address."
},
"ipTags": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineIpTag"
},
"description": "The list of IP tags associated with the public IP address."
},
"name": {
"type": "string",
"description": "The publicIP address configuration name."
},
"publicIPAddressVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:IPVersions"
}
],
"description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
},
"publicIPAllocationMethod": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:PublicIPAllocationMethod"
}
],
"description": "Specify the public IP allocation type"
},
"publicIPPrefix": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "The PublicIPPrefix from which to allocate publicIP addresses."
},
"sku": {
"type": "object",
"$ref": "#/types/azure-native:compute:PublicIPAddressSku",
"description": "Describes the public IP Sku"
}
},
"type": "object",
"required": [
"name"
]
},
"azure-native:compute:VirtualMachinePublicIPAddressConfigurationResponse": {
"description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration",
"properties": {
"deleteOption": {
"type": "string",
"description": "Specify what happens to the public IP address when the VM is deleted"
},
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachinePublicIPAddressDnsSettingsConfigurationResponse",
"description": "The dns settings to be applied on the publicIP addresses ."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The idle timeout of the public IP address."
},
"ipTags": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineIpTagResponse"
},
"description": "The list of IP tags associated with the public IP address."
},
"name": {
"type": "string",
"description": "The publicIP address configuration name."
},
"publicIPAddressVersion": {
"type": "string",
"description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'."
},
"publicIPAllocationMethod": {
"type": "string",
"description": "Specify the public IP allocation type"
},
"publicIPPrefix": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "The PublicIPPrefix from which to allocate publicIP addresses."
},
"sku": {
"type": "object",
"$ref": "#/types/azure-native:compute:PublicIPAddressSkuResponse",
"description": "Describes the public IP Sku"
}
},
"type": "object",
"required": [
"name"
]
},
"azure-native:compute:VirtualMachinePublicIPAddressDnsSettingsConfiguration": {
"description": "Describes a virtual machines network configuration's DNS settings.",
"properties": {
"domainNameLabel": {
"type": "string",
"description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID."
}
},
"type": "object",
"required": [
"domainNameLabel"
]
},
"azure-native:compute:VirtualMachinePublicIPAddressDnsSettingsConfigurationResponse": {
"description": "Describes a virtual machines network configuration's DNS settings.",
"properties": {
"domainNameLabel": {
"type": "string",
"description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID."
}
},
"type": "object",
"required": [
"domainNameLabel"
]
},
"azure-native:compute:VirtualMachineSizeTypes": {
"description": "Specifies the size of the virtual machine. <br><br> The enum data type is currently deprecated and will be removed by December 23rd 2023. <br><br> Recommended way to get the list of available sizes is using these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set.",
"type": "string",
"enum": [
{
"value": "Basic_A0"
},
{
"value": "Basic_A1"
},
{
"value": "Basic_A2"
},
{
"value": "Basic_A3"
},
{
"value": "Basic_A4"
},
{
"value": "Standard_A0"
},
{
"value": "Standard_A1"
},
{
"value": "Standard_A2"
},
{
"value": "Standard_A3"
},
{
"value": "Standard_A4"
},
{
"value": "Standard_A5"
},
{
"value": "Standard_A6"
},
{
"value": "Standard_A7"
},
{
"value": "Standard_A8"
},
{
"value": "Standard_A9"
},
{
"value": "Standard_A10"
},
{
"value": "Standard_A11"
},
{
"value": "Standard_A1_v2"
},
{
"value": "Standard_A2_v2"
},
{
"value": "Standard_A4_v2"
},
{
"value": "Standard_A8_v2"
},
{
"value": "Standard_A2m_v2"
},
{
"value": "Standard_A4m_v2"
},
{
"value": "Standard_A8m_v2"
},
{
"value": "Standard_B1s"
},
{
"value": "Standard_B1ms"
},
{
"value": "Standard_B2s"
},
{
"value": "Standard_B2ms"
},
{
"value": "Standard_B4ms"
},
{
"value": "Standard_B8ms"
},
{
"value": "Standard_D1"
},
{
"value": "Standard_D2"
},
{
"value": "Standard_D3"
},
{
"value": "Standard_D4"
},
{
"value": "Standard_D11"
},
{
"value": "Standard_D12"
},
{
"value": "Standard_D13"
},
{
"value": "Standard_D14"
},
{
"value": "Standard_D1_v2"
},
{
"value": "Standard_D2_v2"
},
{
"value": "Standard_D3_v2"
},
{
"value": "Standard_D4_v2"
},
{
"value": "Standard_D5_v2"
},
{
"value": "Standard_D2_v3"
},
{
"value": "Standard_D4_v3"
},
{
"value": "Standard_D8_v3"
},
{
"value": "Standard_D16_v3"
},
{
"value": "Standard_D32_v3"
},
{
"value": "Standard_D64_v3"
},
{
"value": "Standard_D2s_v3"
},
{
"value": "Standard_D4s_v3"
},
{
"value": "Standard_D8s_v3"
},
{
"value": "Standard_D16s_v3"
},
{
"value": "Standard_D32s_v3"
},
{
"value": "Standard_D64s_v3"
},
{
"value": "Standard_D11_v2"
},
{
"value": "Standard_D12_v2"
},
{
"value": "Standard_D13_v2"
},
{
"value": "Standard_D14_v2"
},
{
"value": "Standard_D15_v2"
},
{
"value": "Standard_DS1"
},
{
"value": "Standard_DS2"
},
{
"value": "Standard_DS3"
},
{
"value": "Standard_DS4"
},
{
"value": "Standard_DS11"
},
{
"value": "Standard_DS12"
},
{
"value": "Standard_DS13"
},
{
"value": "Standard_DS14"
},
{
"value": "Standard_DS1_v2"
},
{
"value": "Standard_DS2_v2"
},
{
"value": "Standard_DS3_v2"
},
{
"value": "Standard_DS4_v2"
},
{
"value": "Standard_DS5_v2"
},
{
"value": "Standard_DS11_v2"
},
{
"value": "Standard_DS12_v2"
},
{
"value": "Standard_DS13_v2"
},
{
"value": "Standard_DS14_v2"
},
{
"value": "Standard_DS15_v2"
},
{
"value": "Standard_DS13-4_v2"
},
{
"value": "Standard_DS13-2_v2"
},
{
"value": "Standard_DS14-8_v2"
},
{
"value": "Standard_DS14-4_v2"
},
{
"value": "Standard_E2_v3"
},
{
"value": "Standard_E4_v3"
},
{
"value": "Standard_E8_v3"
},
{
"value": "Standard_E16_v3"
},
{
"value": "Standard_E32_v3"
},
{
"value": "Standard_E64_v3"
},
{
"value": "Standard_E2s_v3"
},
{
"value": "Standard_E4s_v3"
},
{
"value": "Standard_E8s_v3"
},
{
"value": "Standard_E16s_v3"
},
{
"value": "Standard_E32s_v3"
},
{
"value": "Standard_E64s_v3"
},
{
"value": "Standard_E32-16_v3"
},
{
"value": "Standard_E32-8s_v3"
},
{
"value": "Standard_E64-32s_v3"
},
{
"value": "Standard_E64-16s_v3"
},
{
"value": "Standard_F1"
},
{
"value": "Standard_F2"
},
{
"value": "Standard_F4"
},
{
"value": "Standard_F8"
},
{
"value": "Standard_F16"
},
{
"value": "Standard_F1s"
},
{
"value": "Standard_F2s"
},
{
"value": "Standard_F4s"
},
{
"value": "Standard_F8s"
},
{
"value": "Standard_F16s"
},
{
"value": "Standard_F2s_v2"
},
{
"value": "Standard_F4s_v2"
},
{
"value": "Standard_F8s_v2"
},
{
"value": "Standard_F16s_v2"
},
{
"value": "Standard_F32s_v2"
},
{
"value": "Standard_F64s_v2"
},
{
"value": "Standard_F72s_v2"
},
{
"value": "Standard_G1"
},
{
"value": "Standard_G2"
},
{
"value": "Standard_G3"
},
{
"value": "Standard_G4"
},
{
"value": "Standard_G5"
},
{
"value": "Standard_GS1"
},
{
"value": "Standard_GS2"
},
{
"value": "Standard_GS3"
},
{
"value": "Standard_GS4"
},
{
"value": "Standard_GS5"
},
{
"value": "Standard_GS4-8"
},
{
"value": "Standard_GS4-4"
},
{
"value": "Standard_GS5-16"
},
{
"value": "Standard_GS5-8"
},
{
"value": "Standard_H8"
},
{
"value": "Standard_H16"
},
{
"value": "Standard_H8m"
},
{
"value": "Standard_H16m"
},
{
"value": "Standard_H16r"
},
{
"value": "Standard_H16mr"
},
{
"value": "Standard_L4s"
},
{
"value": "Standard_L8s"
},
{
"value": "Standard_L16s"
},
{
"value": "Standard_L32s"
},
{
"value": "Standard_M64s"
},
{
"value": "Standard_M64ms"
},
{
"value": "Standard_M128s"
},
{
"value": "Standard_M128ms"
},
{
"value": "Standard_M64-32ms"
},
{
"value": "Standard_M64-16ms"
},
{
"value": "Standard_M128-64ms"
},
{
"value": "Standard_M128-32ms"
},
{
"value": "Standard_NC6"
},
{
"value": "Standard_NC12"
},
{
"value": "Standard_NC24"
},
{
"value": "Standard_NC24r"
},
{
"value": "Standard_NC6s_v2"
},
{
"value": "Standard_NC12s_v2"
},
{
"value": "Standard_NC24s_v2"
},
{
"value": "Standard_NC24rs_v2"
},
{
"value": "Standard_NC6s_v3"
},
{
"value": "Standard_NC12s_v3"
},
{
"value": "Standard_NC24s_v3"
},
{
"value": "Standard_NC24rs_v3"
},
{
"value": "Standard_ND6s"
},
{
"value": "Standard_ND12s"
},
{
"value": "Standard_ND24s"
},
{
"value": "Standard_ND24rs"
},
{
"value": "Standard_NV6"
},
{
"value": "Standard_NV12"
},
{
"value": "Standard_NV24"
}
]
},
"azure-native:compute:WinRMConfiguration": {
"description": "Describes Windows Remote Management configuration of the VM",
"properties": {
"listeners": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:WinRMListener"
},
"description": "The list of Windows Remote Management listeners"
}
},
"type": "object"
},
"azure-native:compute:WinRMConfigurationResponse": {
"description": "Describes Windows Remote Management configuration of the VM",
"properties": {
"listeners": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:WinRMListenerResponse"
},
"description": "The list of Windows Remote Management listeners"
}
},
"type": "object"
},
"azure-native:compute:WinRMListener": {
"description": "Describes Protocol and thumbprint of Windows Remote Management listener",
"properties": {
"certificateUrl": {
"type": "string",
"description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
},
"protocol": {
"$ref": "#/types/azure-native:compute:ProtocolTypes",
"description": "Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**"
}
},
"type": "object"
},
"azure-native:compute:WinRMListenerResponse": {
"description": "Describes Protocol and thumbprint of Windows Remote Management listener",
"properties": {
"certificateUrl": {
"type": "string",
"description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)."
},
"protocol": {
"type": "string",
"description": "Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https**"
}
},
"type": "object"
},
"azure-native:compute:WindowsConfiguration": {
"description": "Specifies Windows operating system settings on the virtual machine.",
"properties": {
"additionalUnattendContent": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:AdditionalUnattendContent"
},
"description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup."
},
"enableAutomaticUpdates": {
"type": "boolean",
"description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning."
},
"patchSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:PatchSettings",
"description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows."
},
"provisionVMAgent": {
"type": "boolean",
"description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
},
"timeZone": {
"type": "string",
"description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)."
},
"winRM": {
"type": "object",
"$ref": "#/types/azure-native:compute:WinRMConfiguration",
"description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell."
}
},
"type": "object"
},
"azure-native:compute:WindowsConfigurationResponse": {
"description": "Specifies Windows operating system settings on the virtual machine.",
"properties": {
"additionalUnattendContent": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:AdditionalUnattendContentResponse"
},
"description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup."
},
"enableAutomaticUpdates": {
"type": "boolean",
"description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning."
},
"patchSettings": {
"type": "object",
"$ref": "#/types/azure-native:compute:PatchSettingsResponse",
"description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows."
},
"provisionVMAgent": {
"type": "boolean",
"description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later."
},
"timeZone": {
"type": "string",
"description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)."
},
"winRM": {
"type": "object",
"$ref": "#/types/azure-native:compute:WinRMConfigurationResponse",
"description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell."
}
},
"type": "object"
},
"azure-native:compute:WindowsPatchAssessmentMode": {
"description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. ",
"type": "string",
"enum": [
{
"value": "ImageDefault"
},
{
"value": "AutomaticByPlatform"
}
]
},
"azure-native:compute:WindowsVMGuestPatchMode": {
"description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true ",
"type": "string",
"enum": [
{
"value": "Manual"
},
{
"value": "AutomaticByOS"
},
{
"value": "AutomaticByPlatform"
}
]
},
"azure-native:network:AddressSpace": {
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.",
"properties": {
"addressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of address blocks reserved for this virtual network in CIDR notation."
}
},
"type": "object"
},
"azure-native:network:AddressSpaceResponse": {
"description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.",
"properties": {
"addressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of address blocks reserved for this virtual network in CIDR notation."
}
},
"type": "object"
},
"azure-native:network:ApplicationGatewayBackendAddress": {
"description": "Backend address of an application gateway.",
"properties": {
"fqdn": {
"type": "string",
"description": "Fully qualified domain name (FQDN)."
},
"ipAddress": {
"type": "string",
"description": "IP address."
}
},
"type": "object"
},
"azure-native:network:ApplicationGatewayBackendAddressPool": {
"description": "Backend Address Pool of an application gateway.",
"properties": {
"backendAddresses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayBackendAddress"
},
"description": "Backend addresses."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "Name of the backend address pool that is unique within an Application Gateway."
}
},
"type": "object"
},
"azure-native:network:ApplicationGatewayBackendAddressPoolResponse": {
"description": "Backend Address Pool of an application gateway.",
"properties": {
"backendAddresses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayBackendAddressResponse"
},
"description": "Backend addresses."
},
"backendIPConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationResponse"
},
"description": "Collection of references to IPs defined in network interfaces."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "Name of the backend address pool that is unique within an Application Gateway."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the backend address pool resource."
},
"type": {
"type": "string",
"description": "Type of the resource."
}
},
"type": "object",
"required": [
"backendIPConfigurations",
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:ApplicationGatewayBackendAddressResponse": {
"description": "Backend address of an application gateway.",
"properties": {
"fqdn": {
"type": "string",
"description": "Fully qualified domain name (FQDN)."
},
"ipAddress": {
"type": "string",
"description": "IP address."
}
},
"type": "object"
},
"azure-native:network:ApplicationGatewayIPConfiguration": {
"description": "IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "Name of the IP configuration that is unique within an Application Gateway."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "Reference to the subnet resource. A subnet from where application gateway gets its private address."
}
},
"type": "object"
},
"azure-native:network:ApplicationGatewayIPConfigurationResponse": {
"description": "IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "Name of the IP configuration that is unique within an Application Gateway."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the application gateway IP configuration resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Reference to the subnet resource. A subnet from where application gateway gets its private address."
},
"type": {
"type": "string",
"description": "Type of the resource."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:ApplicationSecurityGroup": {
"description": "An application security group in a resource group.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"type": "object"
},
"azure-native:network:ApplicationSecurityGroupResponse": {
"description": "An application security group in a resource group.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the application security group resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"name",
"provisioningState",
"resourceGuid",
"type"
]
},
"azure-native:network:BackendAddressPool": {
"description": "Pool of backend IP addresses.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"loadBalancerBackendAddresses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:LoadBalancerBackendAddress"
},
"description": "An array of backend addresses."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource."
}
},
"type": "object"
},
"azure-native:network:BackendAddressPoolResponse": {
"description": "Pool of backend IP addresses.",
"properties": {
"backendIPConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationResponse"
},
"description": "An array of references to IP addresses defined in network interfaces."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"loadBalancerBackendAddresses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:LoadBalancerBackendAddressResponse"
},
"description": "An array of backend addresses."
},
"loadBalancingRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to load balancing rules that use this backend address pool."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource."
},
"outboundRule": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "A reference to an outbound rule that uses this backend address pool."
},
"outboundRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to outbound rules that use this backend address pool."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the backend address pool resource."
},
"type": {
"type": "string",
"description": "Type of the resource."
}
},
"type": "object",
"required": [
"backendIPConfigurations",
"etag",
"loadBalancingRules",
"outboundRule",
"outboundRules",
"provisioningState",
"type"
]
},
"azure-native:network:CustomDnsConfigPropertiesFormatResponse": {
"description": "Contains custom Dns resolution configuration from customer.",
"properties": {
"fqdn": {
"type": "string",
"description": "Fqdn that resolves to private endpoint ip address."
},
"ipAddresses": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of private ip addresses of the private endpoint."
}
},
"type": "object"
},
"azure-native:network:DdosSettings": {
"description": "Contains the DDoS protection settings of the public IP.",
"properties": {
"ddosCustomPolicy": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "The DDoS custom policy associated with the public IP."
},
"protectedIP": {
"type": "boolean",
"description": "Enables DDoS protection on the public IP."
},
"protectionCoverage": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:DdosSettingsProtectionCoverage"
}
],
"description": "The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized."
}
},
"type": "object"
},
"azure-native:network:DdosSettingsProtectionCoverage": {
"description": "The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized.",
"type": "string",
"enum": [
{
"value": "Basic"
},
{
"value": "Standard"
}
]
},
"azure-native:network:DdosSettingsResponse": {
"description": "Contains the DDoS protection settings of the public IP.",
"properties": {
"ddosCustomPolicy": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The DDoS custom policy associated with the public IP."
},
"protectedIP": {
"type": "boolean",
"description": "Enables DDoS protection on the public IP."
},
"protectionCoverage": {
"type": "string",
"description": "The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized."
}
},
"type": "object"
},
"azure-native:network:Delegation": {
"description": "Details the service to which the subnet is delegated.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a subnet. This name can be used to access the resource."
},
"serviceName": {
"type": "string",
"description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object"
},
"azure-native:network:DelegationResponse": {
"description": "Details the service to which the subnet is delegated.",
"properties": {
"actions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The actions permitted to the service upon delegation."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a subnet. This name can be used to access the resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the service delegation resource."
},
"serviceName": {
"type": "string",
"description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"actions",
"etag",
"provisioningState"
]
},
"azure-native:network:DhcpOptions": {
"description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.",
"properties": {
"dnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of DNS servers IP addresses."
}
},
"type": "object"
},
"azure-native:network:DhcpOptionsResponse": {
"description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.",
"properties": {
"dnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of DNS servers IP addresses."
}
},
"type": "object"
},
"azure-native:network:ExtendedLocation": {
"description": "ExtendedLocation complex type.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:ExtendedLocationTypes"
}
],
"description": "The type of the extended location."
}
},
"type": "object",
"required": [
"name",
"type"
]
},
"azure-native:network:ExtendedLocationResponse": {
"description": "ExtendedLocation complex type.",
"properties": {
"name": {
"type": "string",
"description": "The name of the extended location."
},
"type": {
"type": "string",
"description": "The type of the extended location."
}
},
"type": "object",
"required": [
"name",
"type"
]
},
"azure-native:network:ExtendedLocationTypes": {
"description": "The type of the extended location.",
"type": "string",
"enum": [
{
"value": "EdgeZone"
}
]
},
"azure-native:network:FlowLogFormatParametersResponse": {
"description": "Parameters that define the flow log format.",
"properties": {
"type": {
"type": "string",
"description": "The file type of flow log."
},
"version": {
"type": "integer",
"description": "The version (revision) of the flow log.",
"default": 0
}
},
"type": "object"
},
"azure-native:network:FlowLogResponse": {
"description": "A flow log resource.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Flag to enable/disable flow logging."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"flowAnalyticsConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:TrafficAnalyticsPropertiesResponse",
"description": "Parameters that define the configuration of traffic analytics."
},
"format": {
"type": "object",
"$ref": "#/types/azure-native:network:FlowLogFormatParametersResponse",
"description": "Parameters that define the flow log format."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the flow log."
},
"retentionPolicy": {
"type": "object",
"$ref": "#/types/azure-native:network:RetentionPolicyParametersResponse",
"description": "Parameters that define the retention policy for flow log."
},
"storageId": {
"type": "string",
"description": "ID of the storage account which is used to store the flow log."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"targetResourceGuid": {
"type": "string",
"description": "Guid of network security group to which flow log will be applied."
},
"targetResourceId": {
"type": "string",
"description": "ID of network security group to which flow log will be applied."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"name",
"provisioningState",
"storageId",
"targetResourceGuid",
"targetResourceId",
"type"
]
},
"azure-native:network:FrontendIPConfiguration": {
"description": "Frontend IP address of the load balancer.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource."
},
"privateIPAddress": {
"type": "string",
"description": "The private IP address of the IP configuration."
},
"privateIPAddressVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPVersion"
}
],
"description": "Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4."
},
"privateIPAllocationMethod": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPAllocationMethod"
}
],
"description": "The Private IP allocation method."
},
"publicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddress",
"description": "The reference to the Public IP resource."
},
"publicIPPrefix": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "The reference to the Public IP Prefix resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:Subnet",
"description": "The reference to the subnet resource."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
}
},
"type": "object"
},
"azure-native:network:FrontendIPConfigurationResponse": {
"description": "Frontend IP address of the load balancer.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"inboundNatPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to inbound pools that use this frontend IP."
},
"inboundNatRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to inbound rules that use this frontend IP."
},
"loadBalancingRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to load balancing rules that use this frontend IP."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource."
},
"outboundRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to outbound rules that use this frontend IP."
},
"privateIPAddress": {
"type": "string",
"description": "The private IP address of the IP configuration."
},
"privateIPAddressVersion": {
"type": "string",
"description": "Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4."
},
"privateIPAllocationMethod": {
"type": "string",
"description": "The Private IP allocation method."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the frontend IP configuration resource."
},
"publicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressResponse",
"description": "The reference to the Public IP resource."
},
"publicIPPrefix": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The reference to the Public IP Prefix resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse",
"description": "The reference to the subnet resource."
},
"type": {
"type": "string",
"description": "Type of the resource."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
}
},
"type": "object",
"required": [
"etag",
"inboundNatPools",
"inboundNatRules",
"loadBalancingRules",
"outboundRules",
"provisioningState",
"type"
]
},
"azure-native:network:IPAllocationMethod": {
"description": "The private IP address allocation method.",
"type": "string",
"enum": [
{
"value": "Static"
},
{
"value": "Dynamic"
}
]
},
"azure-native:network:IPConfigurationProfileResponse": {
"description": "IP configuration profile child resource.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource. This name can be used to access the resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the IP configuration profile resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse",
"description": "The reference to the subnet resource to create a container network interface ip configuration."
},
"type": {
"type": "string",
"description": "Sub Resource type."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:IPConfigurationResponse": {
"description": "IP configuration.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"privateIPAddress": {
"type": "string",
"description": "The private IP address of the IP configuration."
},
"privateIPAllocationMethod": {
"type": "string",
"description": "The private IP address allocation method.",
"default": "Dynamic"
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the IP configuration resource."
},
"publicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressResponse",
"description": "The reference to the public IP resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse",
"description": "The reference to the subnet resource."
}
},
"type": "object",
"required": [
"etag",
"provisioningState"
]
},
"azure-native:network:IPVersion": {
"description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.",
"type": "string",
"enum": [
{
"value": "IPv4"
},
{
"value": "IPv6"
}
]
},
"azure-native:network:InboundNatRule": {
"description": "Inbound NAT rule of the load balancer.",
"properties": {
"backendPort": {
"type": "integer",
"description": "The port used for the internal endpoint. Acceptable values range from 1 to 65535."
},
"enableFloatingIP": {
"type": "boolean",
"description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint."
},
"enableTcpReset": {
"type": "boolean",
"description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP."
},
"frontendIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "A reference to frontend IP addresses."
},
"frontendPort": {
"type": "integer",
"description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource."
},
"protocol": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:TransportProtocol"
}
],
"description": "The reference to the transport protocol used by the load balancing rule."
}
},
"type": "object"
},
"azure-native:network:InboundNatRuleResponse": {
"description": "Inbound NAT rule of the load balancer.",
"properties": {
"backendIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationResponse",
"description": "A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP."
},
"backendPort": {
"type": "integer",
"description": "The port used for the internal endpoint. Acceptable values range from 1 to 65535."
},
"enableFloatingIP": {
"type": "boolean",
"description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint."
},
"enableTcpReset": {
"type": "boolean",
"description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"frontendIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "A reference to frontend IP addresses."
},
"frontendPort": {
"type": "integer",
"description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource."
},
"protocol": {
"type": "string",
"description": "The reference to the transport protocol used by the load balancing rule."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the inbound NAT rule resource."
},
"type": {
"type": "string",
"description": "Type of the resource."
}
},
"type": "object",
"required": [
"backendIPConfiguration",
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:IpAllocationMethod": {
"description": "Private IP address allocation method.",
"type": "string",
"enum": [
{
"value": "Static"
},
{
"value": "Dynamic"
}
]
},
"azure-native:network:IpTag": {
"description": "Contains the IpTag associated with the object.",
"properties": {
"ipTagType": {
"type": "string",
"description": "The IP tag type. Example: FirstPartyUsage."
},
"tag": {
"type": "string",
"description": "The value of the IP tag associated with the public IP. Example: SQL."
}
},
"type": "object"
},
"azure-native:network:IpTagResponse": {
"description": "Contains the IpTag associated with the object.",
"properties": {
"ipTagType": {
"type": "string",
"description": "The IP tag type. Example: FirstPartyUsage."
},
"tag": {
"type": "string",
"description": "The value of the IP tag associated with the public IP. Example: SQL."
}
},
"type": "object"
},
"azure-native:network:LoadBalancerBackendAddress": {
"description": "Load balancer backend addresses.",
"properties": {
"ipAddress": {
"type": "string",
"description": "IP Address belonging to the referenced virtual network."
},
"loadBalancerFrontendIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "Reference to the frontend ip address configuration defined in regional loadbalancer."
},
"name": {
"type": "string",
"description": "Name of the backend address."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "Reference to an existing subnet."
},
"virtualNetwork": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "Reference to an existing virtual network."
}
},
"type": "object"
},
"azure-native:network:LoadBalancerBackendAddressResponse": {
"description": "Load balancer backend addresses.",
"properties": {
"ipAddress": {
"type": "string",
"description": "IP Address belonging to the referenced virtual network."
},
"loadBalancerFrontendIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Reference to the frontend ip address configuration defined in regional loadbalancer."
},
"name": {
"type": "string",
"description": "Name of the backend address."
},
"networkInterfaceIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Reference to IP address defined in network interfaces."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Reference to an existing subnet."
},
"virtualNetwork": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Reference to an existing virtual network."
}
},
"type": "object",
"required": [
"networkInterfaceIPConfiguration"
]
},
"azure-native:network:NatGateway": {
"description": "Nat Gateway resource.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The idle timeout of the nat gateway."
},
"location": {
"type": "string",
"description": "Resource location."
},
"publicIpAddresses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource"
},
"description": "An array of public ip addresses associated with the nat gateway resource."
},
"publicIpPrefixes": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource"
},
"description": "An array of public ip prefixes associated with the nat gateway resource."
},
"sku": {
"type": "object",
"$ref": "#/types/azure-native:network:NatGatewaySku",
"description": "The nat gateway SKU."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of availability zones denoting the zone in which Nat Gateway should be deployed."
}
},
"type": "object"
},
"azure-native:network:NatGatewayResponse": {
"description": "Nat Gateway resource.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The idle timeout of the nat gateway."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the NAT gateway resource."
},
"publicIpAddresses": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of public ip addresses associated with the nat gateway resource."
},
"publicIpPrefixes": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of public ip prefixes associated with the nat gateway resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the NAT gateway resource."
},
"sku": {
"type": "object",
"$ref": "#/types/azure-native:network:NatGatewaySkuResponse",
"description": "The nat gateway SKU."
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "An array of references to the subnets using this nat gateway resource."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of availability zones denoting the zone in which Nat Gateway should be deployed."
}
},
"type": "object",
"required": [
"etag",
"name",
"provisioningState",
"resourceGuid",
"subnets",
"type"
]
},
"azure-native:network:NatGatewaySku": {
"description": "SKU of nat gateway.",
"properties": {
"name": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:NatGatewaySkuName"
}
],
"description": "Name of Nat Gateway SKU."
}
},
"type": "object"
},
"azure-native:network:NatGatewaySkuName": {
"description": "Name of Nat Gateway SKU.",
"type": "string",
"enum": [
{
"value": "Standard"
}
]
},
"azure-native:network:NatGatewaySkuResponse": {
"description": "SKU of nat gateway.",
"properties": {
"name": {
"type": "string",
"description": "Name of Nat Gateway SKU."
}
},
"type": "object"
},
"azure-native:network:NetworkInterfaceDnsSettings": {
"description": "DNS settings of a network interface.",
"properties": {
"dnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection."
},
"internalDnsNameLabel": {
"type": "string",
"description": "Relative DNS name for this NIC used for internal communications between VMs in the same virtual network."
}
},
"type": "object"
},
"azure-native:network:NetworkInterfaceDnsSettingsResponse": {
"description": "DNS settings of a network interface.",
"properties": {
"appliedDnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs."
},
"dnsServers": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection."
},
"internalDnsNameLabel": {
"type": "string",
"description": "Relative DNS name for this NIC used for internal communications between VMs in the same virtual network."
},
"internalDomainNameSuffix": {
"type": "string",
"description": "Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix."
},
"internalFqdn": {
"type": "string",
"description": "Fully qualified DNS name supporting internal communications between VMs in the same virtual network."
}
},
"type": "object",
"required": [
"appliedDnsServers",
"internalDomainNameSuffix",
"internalFqdn"
]
},
"azure-native:network:NetworkInterfaceIPConfiguration": {
"description": "IPConfiguration in a network interface.",
"properties": {
"applicationGatewayBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayBackendAddressPool"
},
"description": "The reference to ApplicationGatewayBackendAddressPool resource."
},
"applicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationSecurityGroup"
},
"description": "Application security groups in which the IP configuration is included."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"loadBalancerBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:BackendAddressPool"
},
"description": "The reference to LoadBalancerBackendAddressPool resource."
},
"loadBalancerInboundNatRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:InboundNatRule"
},
"description": "A list of references of LoadBalancerInboundNatRules."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"primary": {
"type": "boolean",
"description": "Whether this is a primary customer address on the network interface."
},
"privateIPAddress": {
"type": "string",
"description": "Private IP address of the IP configuration."
},
"privateIPAddressVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPVersion"
}
],
"description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4."
},
"privateIPAllocationMethod": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPAllocationMethod"
}
],
"description": "The private IP address allocation method."
},
"publicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddress",
"description": "Public IP address bound to the IP configuration."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:Subnet",
"description": "Subnet bound to the IP configuration."
},
"type": {
"type": "string",
"description": "Resource type."
},
"virtualNetworkTaps": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkTap"
},
"description": "The reference to Virtual Network Taps."
}
},
"type": "object"
},
"azure-native:network:NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse": {
"description": "PrivateLinkConnection properties for the network interface.",
"properties": {
"fqdns": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of FQDNs for current private link connection."
},
"groupId": {
"type": "string",
"description": "The group ID for current private link connection."
},
"requiredMemberName": {
"type": "string",
"description": "The required member name for current private link connection."
}
},
"type": "object",
"required": [
"fqdns",
"groupId",
"requiredMemberName"
]
},
"azure-native:network:NetworkInterfaceIPConfigurationResponse": {
"description": "IPConfiguration in a network interface.",
"properties": {
"applicationGatewayBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayBackendAddressPoolResponse"
},
"description": "The reference to ApplicationGatewayBackendAddressPool resource."
},
"applicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationSecurityGroupResponse"
},
"description": "Application security groups in which the IP configuration is included."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"loadBalancerBackendAddressPools": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:BackendAddressPoolResponse"
},
"description": "The reference to LoadBalancerBackendAddressPool resource."
},
"loadBalancerInboundNatRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:InboundNatRuleResponse"
},
"description": "A list of references of LoadBalancerInboundNatRules."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"primary": {
"type": "boolean",
"description": "Whether this is a primary customer address on the network interface."
},
"privateIPAddress": {
"type": "string",
"description": "Private IP address of the IP configuration."
},
"privateIPAddressVersion": {
"type": "string",
"description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4."
},
"privateIPAllocationMethod": {
"type": "string",
"description": "The private IP address allocation method."
},
"privateLinkConnectionProperties": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationPrivateLinkConnectionPropertiesResponse",
"description": "PrivateLinkConnection properties for the network interface."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the network interface IP configuration."
},
"publicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressResponse",
"description": "Public IP address bound to the IP configuration."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse",
"description": "Subnet bound to the IP configuration."
},
"type": {
"type": "string",
"description": "Resource type."
},
"virtualNetworkTaps": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkTapResponse"
},
"description": "The reference to Virtual Network Taps."
}
},
"type": "object",
"required": [
"etag",
"privateLinkConnectionProperties",
"provisioningState"
]
},
"azure-native:network:NetworkInterfaceMigrationPhase": {
"description": "Migration phase of Network Interface resource.",
"type": "string",
"enum": [
{
"value": "None"
},
{
"value": "Prepare"
},
{
"value": "Commit"
},
{
"value": "Abort"
},
{
"value": "Committed"
}
]
},
"azure-native:network:NetworkInterfaceNicType": {
"description": "Type of Network Interface resource.",
"type": "string",
"enum": [
{
"value": "Standard"
},
{
"value": "Elastic"
}
]
},
"azure-native:network:NetworkInterfaceResponse": {
"description": "A network interface in a resource group.",
"properties": {
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceDnsSettingsResponse",
"description": "The DNS settings in network interface."
},
"dscpConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "A reference to the dscp configuration to which the network interface is linked."
},
"enableAcceleratedNetworking": {
"type": "boolean",
"description": "If the network interface is accelerated networking enabled."
},
"enableIPForwarding": {
"type": "boolean",
"description": "Indicates whether IP forwarding is enabled on this network interface."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocationResponse",
"description": "The extended location of the network interface."
},
"hostedWorkloads": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of references to linked BareMetal resources."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationResponse"
},
"description": "A list of IPConfigurations of the network interface."
},
"location": {
"type": "string",
"description": "Resource location."
},
"macAddress": {
"type": "string",
"description": "The MAC address of the network interface."
},
"migrationPhase": {
"type": "string",
"description": "Migration phase of Network Interface resource."
},
"name": {
"type": "string",
"description": "Resource name."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroupResponse",
"description": "The reference to the NetworkSecurityGroup resource."
},
"nicType": {
"type": "string",
"description": "Type of Network Interface resource."
},
"primary": {
"type": "boolean",
"description": "Whether this is a primary network interface on a virtual machine."
},
"privateEndpoint": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateEndpointResponse",
"description": "A reference to the private endpoint to which the network interface is linked."
},
"privateLinkService": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceResponse",
"description": "Privatelinkservice of the network interface resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the network interface resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the network interface resource."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"tapConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceTapConfigurationResponse"
},
"description": "A list of TapConfigurations of the network interface."
},
"type": {
"type": "string",
"description": "Resource type."
},
"virtualMachine": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The reference to a virtual machine."
}
},
"type": "object",
"required": [
"dscpConfiguration",
"etag",
"hostedWorkloads",
"macAddress",
"name",
"primary",
"privateEndpoint",
"provisioningState",
"resourceGuid",
"tapConfigurations",
"type",
"virtualMachine"
]
},
"azure-native:network:NetworkInterfaceTapConfigurationResponse": {
"description": "Tap configuration in a Network Interface.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the network interface tap configuration resource."
},
"type": {
"type": "string",
"description": "Sub Resource type."
},
"virtualNetworkTap": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkTapResponse",
"description": "The reference to the Virtual Network Tap resource."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:NetworkSecurityGroup": {
"description": "NetworkSecurityGroup resource.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"securityRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SecurityRule"
},
"description": "A collection of security rules of the network security group."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"type": "object"
},
"azure-native:network:NetworkSecurityGroupResponse": {
"description": "NetworkSecurityGroup resource.",
"properties": {
"defaultSecurityRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SecurityRuleResponse"
},
"description": "The default security rules of network security group."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"flowLogs": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:FlowLogResponse"
},
"description": "A collection of references to flow log resources."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"networkInterfaces": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceResponse"
},
"description": "A collection of references to network interfaces."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the network security group resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the network security group resource."
},
"securityRules": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SecurityRuleResponse"
},
"description": "A collection of security rules of the network security group."
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse"
},
"description": "A collection of references to subnets."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"defaultSecurityRules",
"etag",
"flowLogs",
"name",
"networkInterfaces",
"provisioningState",
"resourceGuid",
"subnets",
"type"
]
},
"azure-native:network:PrivateEndpointConnectionResponse": {
"description": "PrivateEndpointConnection resource.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"linkIdentifier": {
"type": "string",
"description": "The consumer link id."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"privateEndpoint": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateEndpointResponse",
"description": "The resource of private end point."
},
"privateLinkServiceConnectionState": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceConnectionStateResponse",
"description": "A collection of information about the state of the connection between service consumer and provider."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the private endpoint connection resource."
},
"type": {
"type": "string",
"description": "The resource type."
}
},
"type": "object",
"required": [
"etag",
"linkIdentifier",
"privateEndpoint",
"provisioningState",
"type"
]
},
"azure-native:network:PrivateEndpointResponse": {
"description": "Private endpoint resource.",
"properties": {
"customDnsConfigs": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:CustomDnsConfigPropertiesFormatResponse"
},
"description": "An array of custom dns configurations."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocationResponse",
"description": "The extended location of the load balancer."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"manualPrivateLinkServiceConnections": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceConnectionResponse"
},
"description": "A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource."
},
"name": {
"type": "string",
"description": "Resource name."
},
"networkInterfaces": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceResponse"
},
"description": "An array of references to the network interfaces created for this private endpoint."
},
"privateLinkServiceConnections": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceConnectionResponse"
},
"description": "A grouping of information about the connection to the remote resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the private endpoint resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse",
"description": "The ID of the subnet from which the private IP will be allocated."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"name",
"networkInterfaces",
"provisioningState",
"type"
]
},
"azure-native:network:PrivateLinkService": {
"description": "Private link service resource.",
"properties": {
"autoApproval": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServicePropertiesAutoApproval",
"description": "The auto-approval list of the private link service."
},
"enableProxyProtocol": {
"type": "boolean",
"description": "Whether the private link service is enabled for proxy protocol or not."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocation",
"description": "The extended location of the load balancer."
},
"fqdns": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of Fqdn."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceIpConfiguration"
},
"description": "An array of private link service IP configurations."
},
"loadBalancerFrontendIpConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:FrontendIPConfiguration"
},
"description": "An array of references to the load balancer IP configurations."
},
"location": {
"type": "string",
"description": "Resource location."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"visibility": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServicePropertiesVisibility",
"description": "The visibility list of the private link service."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServiceConnectionResponse": {
"description": "PrivateLinkServiceConnection resource.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"groupIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"privateLinkServiceConnectionState": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceConnectionStateResponse",
"description": "A collection of read-only information about the state of the connection to the remote resource."
},
"privateLinkServiceId": {
"type": "string",
"description": "The resource id of private link service."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the private link service connection resource."
},
"requestMessage": {
"type": "string",
"description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars."
},
"type": {
"type": "string",
"description": "The resource type."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:PrivateLinkServiceConnectionStateResponse": {
"description": "A collection of information about the state of the connection between service consumer and provider.",
"properties": {
"actionsRequired": {
"type": "string",
"description": "A message indicating if changes on the service provider require any updates on the consumer."
},
"description": {
"type": "string",
"description": "The reason for approval/rejection of the connection."
},
"status": {
"type": "string",
"description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServiceIpConfiguration": {
"description": "The private link service ip configuration.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of private link service ip configuration."
},
"primary": {
"type": "boolean",
"description": "Whether the ip configuration is primary or not."
},
"privateIPAddress": {
"type": "string",
"description": "The private IP address of the IP configuration."
},
"privateIPAddressVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPVersion"
}
],
"description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4."
},
"privateIPAllocationMethod": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPAllocationMethod"
}
],
"description": "The private IP address allocation method."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:Subnet",
"description": "The reference to the subnet resource."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServiceIpConfigurationResponse": {
"description": "The private link service ip configuration.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of private link service ip configuration."
},
"primary": {
"type": "boolean",
"description": "Whether the ip configuration is primary or not."
},
"privateIPAddress": {
"type": "string",
"description": "The private IP address of the IP configuration."
},
"privateIPAddressVersion": {
"type": "string",
"description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4."
},
"privateIPAllocationMethod": {
"type": "string",
"description": "The private IP address allocation method."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the private link service IP configuration resource."
},
"subnet": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse",
"description": "The reference to the subnet resource."
},
"type": {
"type": "string",
"description": "The resource type."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:PrivateLinkServicePropertiesAutoApproval": {
"description": "The auto-approval list of the private link service.",
"properties": {
"subscriptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of subscriptions."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServicePropertiesResponseAutoApproval": {
"description": "The auto-approval list of the private link service.",
"properties": {
"subscriptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of subscriptions."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServicePropertiesResponseVisibility": {
"description": "The visibility list of the private link service.",
"properties": {
"subscriptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of subscriptions."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServicePropertiesVisibility": {
"description": "The visibility list of the private link service.",
"properties": {
"subscriptions": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of subscriptions."
}
},
"type": "object"
},
"azure-native:network:PrivateLinkServiceResponse": {
"description": "Private link service resource.",
"properties": {
"alias": {
"type": "string",
"description": "The alias of the private link service."
},
"autoApproval": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServicePropertiesResponseAutoApproval",
"description": "The auto-approval list of the private link service."
},
"enableProxyProtocol": {
"type": "boolean",
"description": "Whether the private link service is enabled for proxy protocol or not."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocationResponse",
"description": "The extended location of the load balancer."
},
"fqdns": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of Fqdn."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceIpConfigurationResponse"
},
"description": "An array of private link service IP configurations."
},
"loadBalancerFrontendIpConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:FrontendIPConfigurationResponse"
},
"description": "An array of references to the load balancer IP configurations."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"networkInterfaces": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceResponse"
},
"description": "An array of references to the network interfaces created for this private link service."
},
"privateEndpointConnections": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateEndpointConnectionResponse"
},
"description": "An array of list about connections to the private endpoint."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the private link service resource."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
},
"visibility": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServicePropertiesResponseVisibility",
"description": "The visibility list of the private link service."
}
},
"type": "object",
"required": [
"alias",
"etag",
"name",
"networkInterfaces",
"privateEndpointConnections",
"provisioningState",
"type"
]
},
"azure-native:network:PublicIPAddress": {
"description": "Public IP address resource.",
"properties": {
"ddosSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:DdosSettings",
"description": "The DDoS protection custom policy associated with the public IP address."
},
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressDnsSettings",
"description": "The FQDN of the DNS record associated with the public IP address."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocation",
"description": "The extended location of the public ip address."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The idle timeout of the public IP address."
},
"ipAddress": {
"type": "string",
"description": "The IP address associated with the public IP address resource."
},
"ipTags": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:IpTag"
},
"description": "The list of tags associated with the public IP address."
},
"linkedPublicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddress",
"description": "The linked public IP address of the public IP address resource."
},
"location": {
"type": "string",
"description": "Resource location."
},
"migrationPhase": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:PublicIPAddressMigrationPhase"
}
],
"description": "Migration phase of Public IP Address."
},
"natGateway": {
"type": "object",
"$ref": "#/types/azure-native:network:NatGateway",
"description": "The NatGateway for the Public IP address."
},
"publicIPAddressVersion": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPVersion"
}
],
"description": "The public IP address version."
},
"publicIPAllocationMethod": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:IPAllocationMethod"
}
],
"description": "The public IP address allocation method."
},
"publicIPPrefix": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "The Public IP Prefix this Public IP Address should be allocated from."
},
"servicePublicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddress",
"description": "The service public IP address of the public IP address resource."
},
"sku": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressSku",
"description": "The public IP address SKU."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
}
},
"type": "object"
},
"azure-native:network:PublicIPAddressDnsSettings": {
"description": "Contains FQDN of the DNS record associated with the public IP address.",
"properties": {
"domainNameLabel": {
"type": "string",
"description": "The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system."
},
"fqdn": {
"type": "string",
"description": "The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone."
},
"reverseFqdn": {
"type": "string",
"description": "The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN."
}
},
"type": "object"
},
"azure-native:network:PublicIPAddressDnsSettingsResponse": {
"description": "Contains FQDN of the DNS record associated with the public IP address.",
"properties": {
"domainNameLabel": {
"type": "string",
"description": "The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system."
},
"fqdn": {
"type": "string",
"description": "The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone."
},
"reverseFqdn": {
"type": "string",
"description": "The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN."
}
},
"type": "object"
},
"azure-native:network:PublicIPAddressMigrationPhase": {
"description": "Migration phase of Public IP Address.",
"type": "string",
"enum": [
{
"value": "None"
},
{
"value": "Prepare"
},
{
"value": "Commit"
},
{
"value": "Abort"
},
{
"value": "Committed"
}
]
},
"azure-native:network:PublicIPAddressResponse": {
"description": "Public IP address resource.",
"properties": {
"ddosSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:DdosSettingsResponse",
"description": "The DDoS protection custom policy associated with the public IP address."
},
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressDnsSettingsResponse",
"description": "The FQDN of the DNS record associated with the public IP address."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocationResponse",
"description": "The extended location of the public ip address."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"idleTimeoutInMinutes": {
"type": "integer",
"description": "The idle timeout of the public IP address."
},
"ipAddress": {
"type": "string",
"description": "The IP address associated with the public IP address resource."
},
"ipConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:IPConfigurationResponse",
"description": "The IP configuration associated with the public IP address."
},
"ipTags": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:IpTagResponse"
},
"description": "The list of tags associated with the public IP address."
},
"linkedPublicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressResponse",
"description": "The linked public IP address of the public IP address resource."
},
"location": {
"type": "string",
"description": "Resource location."
},
"migrationPhase": {
"type": "string",
"description": "Migration phase of Public IP Address."
},
"name": {
"type": "string",
"description": "Resource name."
},
"natGateway": {
"type": "object",
"$ref": "#/types/azure-native:network:NatGatewayResponse",
"description": "The NatGateway for the Public IP address."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the public IP address resource."
},
"publicIPAddressVersion": {
"type": "string",
"description": "The public IP address version."
},
"publicIPAllocationMethod": {
"type": "string",
"description": "The public IP address allocation method."
},
"publicIPPrefix": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The Public IP Prefix this Public IP Address should be allocated from."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the public IP address resource."
},
"servicePublicIPAddress": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressResponse",
"description": "The service public IP address of the public IP address resource."
},
"sku": {
"type": "object",
"$ref": "#/types/azure-native:network:PublicIPAddressSkuResponse",
"description": "The public IP address SKU."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of availability zones denoting the IP allocated for the resource needs to come from."
}
},
"type": "object",
"required": [
"etag",
"ipConfiguration",
"name",
"provisioningState",
"resourceGuid",
"type"
]
},
"azure-native:network:PublicIPAddressSku": {
"description": "SKU of a public IP address.",
"properties": {
"name": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:PublicIPAddressSkuName"
}
],
"description": "Name of a public IP address SKU."
},
"tier": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:PublicIPAddressSkuTier"
}
],
"description": "Tier of a public IP address SKU."
}
},
"type": "object"
},
"azure-native:network:PublicIPAddressSkuName": {
"description": "Name of a public IP address SKU.",
"type": "string",
"enum": [
{
"value": "Basic"
},
{
"value": "Standard"
}
]
},
"azure-native:network:PublicIPAddressSkuResponse": {
"description": "SKU of a public IP address.",
"properties": {
"name": {
"type": "string",
"description": "Name of a public IP address SKU."
},
"tier": {
"type": "string",
"description": "Tier of a public IP address SKU."
}
},
"type": "object"
},
"azure-native:network:PublicIPAddressSkuTier": {
"description": "Tier of a public IP address SKU.",
"type": "string",
"enum": [
{
"value": "Regional"
},
{
"value": "Global"
}
]
},
"azure-native:network:ResourceNavigationLinkResponse": {
"description": "ResourceNavigationLink resource.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"link": {
"type": "string",
"description": "Link to the external resource."
},
"linkedResourceType": {
"type": "string",
"description": "Resource type of the linked resource."
},
"name": {
"type": "string",
"description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the resource navigation link resource."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"id",
"provisioningState",
"type"
]
},
"azure-native:network:RetentionPolicyParametersResponse": {
"description": "Parameters that define the retention policy for flow log.",
"properties": {
"days": {
"type": "integer",
"description": "Number of days to retain flow log records.",
"default": 0
},
"enabled": {
"type": "boolean",
"description": "Flag to enable/disable retention.",
"default": false
}
},
"type": "object"
},
"azure-native:network:Route": {
"description": "Route resource.",
"properties": {
"addressPrefix": {
"type": "string",
"description": "The destination CIDR to which the route applies."
},
"hasBgpOverride": {
"type": "boolean",
"description": "A value indicating whether this route overrides overlapping BGP routes regardless of LPM."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"nextHopIpAddress": {
"type": "string",
"description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance."
},
"nextHopType": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:RouteNextHopType"
}
],
"description": "The type of Azure hop the packet should be sent to."
},
"type": {
"type": "string",
"description": "The type of the resource."
}
},
"type": "object",
"required": [
"nextHopType"
]
},
"azure-native:network:RouteNextHopType": {
"description": "The type of Azure hop the packet should be sent to.",
"type": "string",
"enum": [
{
"value": "VirtualNetworkGateway"
},
{
"value": "VnetLocal"
},
{
"value": "Internet"
},
{
"value": "VirtualAppliance"
},
{
"value": "None"
}
]
},
"azure-native:network:RouteResponse": {
"description": "Route resource.",
"properties": {
"addressPrefix": {
"type": "string",
"description": "The destination CIDR to which the route applies."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"hasBgpOverride": {
"type": "boolean",
"description": "A value indicating whether this route overrides overlapping BGP routes regardless of LPM."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"nextHopIpAddress": {
"type": "string",
"description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance."
},
"nextHopType": {
"type": "string",
"description": "The type of Azure hop the packet should be sent to."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the route resource."
},
"type": {
"type": "string",
"description": "The type of the resource."
}
},
"type": "object",
"required": [
"etag",
"nextHopType",
"provisioningState"
]
},
"azure-native:network:RouteTable": {
"description": "Route table resource.",
"properties": {
"disableBgpRoutePropagation": {
"type": "boolean",
"description": "Whether to disable the routes learned by BGP on that route table. True means disable."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"routes": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:Route"
},
"description": "Collection of routes contained within a route table."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"type": "object"
},
"azure-native:network:RouteTableResponse": {
"description": "Route table resource.",
"properties": {
"disableBgpRoutePropagation": {
"type": "boolean",
"description": "Whether to disable the routes learned by BGP on that route table. True means disable."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the route table resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the route table."
},
"routes": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:RouteResponse"
},
"description": "Collection of routes contained within a route table."
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse"
},
"description": "A collection of references to subnets."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"name",
"provisioningState",
"resourceGuid",
"subnets",
"type"
]
},
"azure-native:network:SecurityRule": {
"description": "Network security rule.",
"properties": {
"access": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:SecurityRuleAccess"
}
],
"description": "The network traffic is allowed or denied."
},
"description": {
"type": "string",
"description": "A description for this rule. Restricted to 140 chars."
},
"destinationAddressPrefix": {
"type": "string",
"description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."
},
"destinationAddressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The destination address prefixes. CIDR or destination IP ranges."
},
"destinationApplicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationSecurityGroup"
},
"description": "The application security group specified as destination."
},
"destinationPortRange": {
"type": "string",
"description": "The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."
},
"destinationPortRanges": {
"type": "array",
"items": {
"type": "string"
},
"description": "The destination port ranges."
},
"direction": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:SecurityRuleDirection"
}
],
"description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"priority": {
"type": "integer",
"description": "The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."
},
"protocol": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:SecurityRuleProtocol"
}
],
"description": "Network protocol this rule applies to."
},
"sourceAddressPrefix": {
"type": "string",
"description": "The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from."
},
"sourceAddressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The CIDR or source IP ranges."
},
"sourceApplicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationSecurityGroup"
},
"description": "The application security group specified as source."
},
"sourcePortRange": {
"type": "string",
"description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."
},
"sourcePortRanges": {
"type": "array",
"items": {
"type": "string"
},
"description": "The source port ranges."
},
"type": {
"type": "string",
"description": "The type of the resource."
}
},
"type": "object",
"required": [
"access",
"direction",
"protocol"
]
},
"azure-native:network:SecurityRuleAccess": {
"description": "The network traffic is allowed or denied.",
"type": "string",
"enum": [
{
"value": "Allow"
},
{
"value": "Deny"
}
]
},
"azure-native:network:SecurityRuleDirection": {
"description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.",
"type": "string",
"enum": [
{
"value": "Inbound"
},
{
"value": "Outbound"
}
]
},
"azure-native:network:SecurityRuleProtocol": {
"description": "Network protocol this rule applies to.",
"type": "string",
"enum": [
{
"value": "Tcp"
},
{
"value": "Udp"
},
{
"value": "Icmp"
},
{
"value": "Esp"
},
{
"value": "*"
},
{
"value": "Ah"
}
]
},
"azure-native:network:SecurityRuleResponse": {
"description": "Network security rule.",
"properties": {
"access": {
"type": "string",
"description": "The network traffic is allowed or denied."
},
"description": {
"type": "string",
"description": "A description for this rule. Restricted to 140 chars."
},
"destinationAddressPrefix": {
"type": "string",
"description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used."
},
"destinationAddressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The destination address prefixes. CIDR or destination IP ranges."
},
"destinationApplicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationSecurityGroupResponse"
},
"description": "The application security group specified as destination."
},
"destinationPortRange": {
"type": "string",
"description": "The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."
},
"destinationPortRanges": {
"type": "array",
"items": {
"type": "string"
},
"description": "The destination port ranges."
},
"direction": {
"type": "string",
"description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"priority": {
"type": "integer",
"description": "The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule."
},
"protocol": {
"type": "string",
"description": "Network protocol this rule applies to."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the security rule resource."
},
"sourceAddressPrefix": {
"type": "string",
"description": "The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from."
},
"sourceAddressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The CIDR or source IP ranges."
},
"sourceApplicationSecurityGroups": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationSecurityGroupResponse"
},
"description": "The application security group specified as source."
},
"sourcePortRange": {
"type": "string",
"description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports."
},
"sourcePortRanges": {
"type": "array",
"items": {
"type": "string"
},
"description": "The source port ranges."
},
"type": {
"type": "string",
"description": "The type of the resource."
}
},
"type": "object",
"required": [
"access",
"direction",
"etag",
"protocol",
"provisioningState"
]
},
"azure-native:network:ServiceAssociationLinkResponse": {
"description": "ServiceAssociationLink resource.",
"properties": {
"allowDelete": {
"type": "boolean",
"description": "If true, the resource can be deleted."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"link": {
"type": "string",
"description": "Link to the external resource."
},
"linkedResourceType": {
"type": "string",
"description": "Resource type of the linked resource."
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of locations."
},
"name": {
"type": "string",
"description": "Name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the service association link resource."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"type"
]
},
"azure-native:network:ServiceEndpointPolicy": {
"description": "Service End point policy resource.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"serviceEndpointPolicyDefinitions": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPolicyDefinition"
},
"description": "A collection of service endpoint policy definitions of the service endpoint policy."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"type": "object"
},
"azure-native:network:ServiceEndpointPolicyDefinition": {
"description": "Service Endpoint policy definitions.",
"properties": {
"description": {
"type": "string",
"description": "A description for this rule. Restricted to 140 chars."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"service": {
"type": "string",
"description": "Service endpoint name."
},
"serviceResources": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of service resources."
}
},
"type": "object"
},
"azure-native:network:ServiceEndpointPolicyDefinitionResponse": {
"description": "Service Endpoint policy definitions.",
"properties": {
"description": {
"type": "string",
"description": "A description for this rule. Restricted to 140 chars."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the service endpoint policy definition resource."
},
"service": {
"type": "string",
"description": "Service endpoint name."
},
"serviceResources": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of service resources."
}
},
"type": "object",
"required": [
"etag",
"provisioningState"
]
},
"azure-native:network:ServiceEndpointPolicyResponse": {
"description": "Service End point policy resource.",
"properties": {
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"kind": {
"type": "string",
"description": "Kind of service endpoint policy. This is metadata used for the Azure portal experience."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the service endpoint policy resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the service endpoint policy resource."
},
"serviceEndpointPolicyDefinitions": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPolicyDefinitionResponse"
},
"description": "A collection of service endpoint policy definitions of the service endpoint policy."
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse"
},
"description": "A collection of references to subnets."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"kind",
"name",
"provisioningState",
"resourceGuid",
"subnets",
"type"
]
},
"azure-native:network:ServiceEndpointPropertiesFormat": {
"description": "The service endpoint properties.",
"properties": {
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of locations."
},
"service": {
"type": "string",
"description": "The type of the endpoint service."
}
},
"type": "object"
},
"azure-native:network:ServiceEndpointPropertiesFormatResponse": {
"description": "The service endpoint properties.",
"properties": {
"locations": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of locations."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the service endpoint resource."
},
"service": {
"type": "string",
"description": "The type of the endpoint service."
}
},
"type": "object",
"required": [
"provisioningState"
]
},
"azure-native:network:SubResource": {
"description": "A reference to a another resource",
"properties": {
"id": {
"type": "string",
"description": "Resource Id."
}
},
"type": "object"
},
"azure-native:network:SubResourceResponse": {
"description": "Reference to another ARM resource.",
"properties": {
"id": {
"type": "string",
"description": "Resource ID."
}
},
"type": "object"
},
"azure-native:network:Subnet": {
"description": "Subnet in a virtual network resource.",
"properties": {
"addressPrefix": {
"type": "string",
"description": "The address prefix for the subnet."
},
"addressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of address prefixes for the subnet."
},
"applicationGatewayIpConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayIPConfiguration"
},
"description": "Application gateway IP configurations of virtual network resource."
},
"delegations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:Delegation"
},
"description": "An array of references to the delegations on the subnet."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipAllocations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource"
},
"description": "Array of IpAllocation which reference this subnet."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"natGateway": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "Nat gateway associated with this subnet."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroup",
"description": "The reference to the NetworkSecurityGroup resource."
},
"privateEndpointNetworkPolicies": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:VirtualNetworkPrivateEndpointNetworkPolicies"
}
],
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"default": "Enabled"
},
"privateLinkServiceNetworkPolicies": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:VirtualNetworkPrivateLinkServiceNetworkPolicies"
}
],
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"default": "Enabled"
},
"routeTable": {
"type": "object",
"$ref": "#/types/azure-native:network:RouteTable",
"description": "The reference to the RouteTable resource."
},
"serviceEndpointPolicies": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPolicy"
},
"description": "An array of service endpoint policies."
},
"serviceEndpoints": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPropertiesFormat"
},
"description": "An array of service endpoints."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object"
},
"azure-native:network:SubnetResponse": {
"description": "Subnet in a virtual network resource.",
"properties": {
"addressPrefix": {
"type": "string",
"description": "The address prefix for the subnet."
},
"addressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of address prefixes for the subnet."
},
"applicationGatewayIpConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayIPConfigurationResponse"
},
"description": "Application gateway IP configurations of virtual network resource."
},
"delegations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:DelegationResponse"
},
"description": "An array of references to the delegations on the subnet."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipAllocations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "Array of IpAllocation which reference this subnet."
},
"ipConfigurationProfiles": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:IPConfigurationProfileResponse"
},
"description": "Array of IP configuration profiles which reference this subnet."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:IPConfigurationResponse"
},
"description": "An array of references to the network interface IP configurations using subnet."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"natGateway": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Nat gateway associated with this subnet."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroupResponse",
"description": "The reference to the NetworkSecurityGroup resource."
},
"privateEndpointNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"default": "Enabled"
},
"privateEndpoints": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateEndpointResponse"
},
"description": "An array of references to private endpoints."
},
"privateLinkServiceNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"default": "Enabled"
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the subnet resource."
},
"purpose": {
"type": "string",
"description": "A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties."
},
"resourceNavigationLinks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ResourceNavigationLinkResponse"
},
"description": "An array of references to the external resources using subnet."
},
"routeTable": {
"type": "object",
"$ref": "#/types/azure-native:network:RouteTableResponse",
"description": "The reference to the RouteTable resource."
},
"serviceAssociationLinks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceAssociationLinkResponse"
},
"description": "An array of references to services injecting into this subnet."
},
"serviceEndpointPolicies": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPolicyResponse"
},
"description": "An array of service endpoint policies."
},
"serviceEndpoints": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPropertiesFormatResponse"
},
"description": "An array of service endpoints."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"ipConfigurationProfiles",
"ipConfigurations",
"privateEndpoints",
"provisioningState",
"purpose",
"resourceNavigationLinks",
"serviceAssociationLinks"
]
},
"azure-native:network:TrafficAnalyticsConfigurationPropertiesResponse": {
"description": "Parameters that define the configuration of traffic analytics.",
"properties": {
"enabled": {
"type": "boolean",
"description": "Flag to enable/disable traffic analytics."
},
"trafficAnalyticsInterval": {
"type": "integer",
"description": "The interval in minutes which would decide how frequently TA service should do flow analytics."
},
"workspaceId": {
"type": "string",
"description": "The resource guid of the attached workspace."
},
"workspaceRegion": {
"type": "string",
"description": "The location of the attached workspace."
},
"workspaceResourceId": {
"type": "string",
"description": "Resource Id of the attached workspace."
}
},
"type": "object"
},
"azure-native:network:TrafficAnalyticsPropertiesResponse": {
"description": "Parameters that define the configuration of traffic analytics.",
"properties": {
"networkWatcherFlowAnalyticsConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:TrafficAnalyticsConfigurationPropertiesResponse",
"description": "Parameters that define the configuration of traffic analytics."
}
},
"type": "object"
},
"azure-native:network:TransportProtocol": {
"description": "The reference to the transport protocol used by the load balancing rule.",
"type": "string",
"enum": [
{
"value": "Udp"
},
{
"value": "Tcp"
},
{
"value": "All"
}
]
},
"azure-native:network:VirtualNetworkBgpCommunities": {
"description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.",
"properties": {
"virtualNetworkCommunity": {
"type": "string",
"description": "The BGP community associated with the virtual network."
}
},
"type": "object",
"required": [
"virtualNetworkCommunity"
]
},
"azure-native:network:VirtualNetworkBgpCommunitiesResponse": {
"description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.",
"properties": {
"regionalCommunity": {
"type": "string",
"description": "The BGP community associated with the region of the virtual network."
},
"virtualNetworkCommunity": {
"type": "string",
"description": "The BGP community associated with the virtual network."
}
},
"type": "object",
"required": [
"regionalCommunity",
"virtualNetworkCommunity"
]
},
"azure-native:network:VirtualNetworkPeering": {
"description": "Peerings in a virtual network resource.",
"properties": {
"allowForwardedTraffic": {
"type": "boolean",
"description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."
},
"allowGatewayTransit": {
"type": "boolean",
"description": "If gateway links can be used in remote virtual networking to link to this virtual network."
},
"allowVirtualNetworkAccess": {
"type": "boolean",
"description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."
},
"doNotVerifyRemoteGateways": {
"type": "boolean",
"description": "If we need to verify the provisioning state of the remote gateway."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"peeringState": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:VirtualNetworkPeeringState"
}
],
"description": "The status of the virtual network peering."
},
"remoteAddressSpace": {
"type": "object",
"$ref": "#/types/azure-native:network:AddressSpace",
"description": "The reference to the remote virtual network address space."
},
"remoteBgpCommunities": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkBgpCommunities",
"description": "The reference to the remote virtual network's Bgp Communities."
},
"remoteVirtualNetwork": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)."
},
"type": {
"type": "string",
"description": "Resource type."
},
"useRemoteGateways": {
"type": "boolean",
"description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway."
}
},
"type": "object"
},
"azure-native:network:VirtualNetworkPeeringResponse": {
"description": "Peerings in a virtual network resource.",
"properties": {
"allowForwardedTraffic": {
"type": "boolean",
"description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network."
},
"allowGatewayTransit": {
"type": "boolean",
"description": "If gateway links can be used in remote virtual networking to link to this virtual network."
},
"allowVirtualNetworkAccess": {
"type": "boolean",
"description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space."
},
"doNotVerifyRemoteGateways": {
"type": "boolean",
"description": "If we need to verify the provisioning state of the remote gateway."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"peeringState": {
"type": "string",
"description": "The status of the virtual network peering."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the virtual network peering resource."
},
"remoteAddressSpace": {
"type": "object",
"$ref": "#/types/azure-native:network:AddressSpaceResponse",
"description": "The reference to the remote virtual network address space."
},
"remoteBgpCommunities": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkBgpCommunitiesResponse",
"description": "The reference to the remote virtual network's Bgp Communities."
},
"remoteVirtualNetwork": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)."
},
"resourceGuid": {
"type": "string",
"description": "The resourceGuid property of the Virtual Network peering resource."
},
"type": {
"type": "string",
"description": "Resource type."
},
"useRemoteGateways": {
"type": "boolean",
"description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway."
}
},
"type": "object",
"required": [
"etag",
"provisioningState",
"resourceGuid"
]
},
"azure-native:network:VirtualNetworkPeeringState": {
"description": "The status of the virtual network peering.",
"type": "string",
"enum": [
{
"value": "Initiated"
},
{
"value": "Connected"
},
{
"value": "Disconnected"
}
]
},
"azure-native:network:VirtualNetworkPrivateEndpointNetworkPolicies": {
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"type": "string",
"enum": [
{
"value": "Enabled"
},
{
"value": "Disabled"
}
]
},
"azure-native:network:VirtualNetworkPrivateLinkServiceNetworkPolicies": {
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"type": "string",
"enum": [
{
"value": "Enabled"
},
{
"value": "Disabled"
}
]
},
"azure-native:network:VirtualNetworkTap": {
"description": "Virtual Network Tap resource.",
"properties": {
"destinationLoadBalancerFrontEndIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:FrontendIPConfiguration",
"description": "The reference to the private IP address on the internal Load Balancer that will receive the tap."
},
"destinationNetworkInterfaceIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfiguration",
"description": "The reference to the private IP Address of the collector nic that will receive the tap."
},
"destinationPort": {
"type": "integer",
"description": "The VXLAN destination port that will receive the tapped traffic."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"type": "object"
},
"azure-native:network:VirtualNetworkTapResponse": {
"description": "Virtual Network Tap resource.",
"properties": {
"destinationLoadBalancerFrontEndIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:FrontendIPConfigurationResponse",
"description": "The reference to the private IP address on the internal Load Balancer that will receive the tap."
},
"destinationNetworkInterfaceIPConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationResponse",
"description": "The reference to the private IP Address of the collector nic that will receive the tap."
},
"destinationPort": {
"type": "integer",
"description": "The VXLAN destination port that will receive the tapped traffic."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"networkInterfaceTapConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceTapConfigurationResponse"
},
"description": "Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the virtual network tap resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the virtual network tap resource."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"name",
"networkInterfaceTapConfigurations",
"provisioningState",
"resourceGuid",
"type"
]
},
"azure-native:resources:ResourceGroupPropertiesResponse": {
"description": "The resource group properties.",
"properties": {
"provisioningState": {
"type": "string",
"description": "The provisioning state. "
}
},
"type": "object",
"required": [
"provisioningState"
]
}
},
"resources": {
"azure-native:compute:VirtualMachine": {
"description": "Describes a Virtual Machine.\nAPI Version: 2021-03-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create a Linux vm with a patch setting assessmentMode of ImageDefault.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D2s_v3\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n LinuxConfiguration = new AzureNative.Compute.Inputs.LinuxConfigurationArgs\n {\n PatchSettings = new AzureNative.Compute.Inputs.LinuxPatchSettingsArgs\n {\n AssessmentMode = \"ImageDefault\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"UbuntuServer\",\n Publisher = \"Canonical\",\n Sku = \"16.04-LTS\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D2s_v3\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"linuxConfiguration\", Map.ofEntries(\n Map.entry(\"patchSettings\", Map.of(\"assessmentMode\", \"ImageDefault\")),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"UbuntuServer\"),\n Map.entry(\"publisher\", \"Canonical\"),\n Map.entry(\"sku\", \"16.04-LTS\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D2s_v3\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n linuxConfiguration: {\n patchSettings: {\n assessmentMode: \"ImageDefault\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"UbuntuServer\",\n publisher: \"Canonical\",\n sku: \"16.04-LTS\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D2s_v3\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n linux_configuration={\n \"patchSettings\": azure_native.compute.LinuxPatchSettingsArgs(\n assessment_mode=\"ImageDefault\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"UbuntuServer\",\n publisher=\"Canonical\",\n sku=\"16.04-LTS\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D2s_v3\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n linuxConfiguration:\n patchSettings:\n assessmentMode: ImageDefault\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: UbuntuServer\n publisher: Canonical\n sku: 16.04-LTS\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Linux vm with a patch setting patchMode of ImageDefault.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D2s_v3\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n LinuxConfiguration = new AzureNative.Compute.Inputs.LinuxConfigurationArgs\n {\n PatchSettings = new AzureNative.Compute.Inputs.LinuxPatchSettingsArgs\n {\n PatchMode = \"ImageDefault\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"UbuntuServer\",\n Publisher = \"Canonical\",\n Sku = \"16.04-LTS\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D2s_v3\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"linuxConfiguration\", Map.ofEntries(\n Map.entry(\"patchSettings\", Map.of(\"patchMode\", \"ImageDefault\")),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"UbuntuServer\"),\n Map.entry(\"publisher\", \"Canonical\"),\n Map.entry(\"sku\", \"16.04-LTS\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D2s_v3\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n linuxConfiguration: {\n patchSettings: {\n patchMode: \"ImageDefault\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"UbuntuServer\",\n publisher: \"Canonical\",\n sku: \"16.04-LTS\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D2s_v3\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n linux_configuration={\n \"patchSettings\": azure_native.compute.LinuxPatchSettingsArgs(\n patch_mode=\"ImageDefault\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"UbuntuServer\",\n publisher=\"Canonical\",\n sku=\"16.04-LTS\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D2s_v3\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n linuxConfiguration:\n patchSettings:\n patchMode: ImageDefault\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: UbuntuServer\n publisher: Canonical\n sku: 16.04-LTS\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Linux vm with a patch settings patchMode and assessmentMode set to AutomaticByPlatform.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D2s_v3\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n LinuxConfiguration = new AzureNative.Compute.Inputs.LinuxConfigurationArgs\n {\n PatchSettings = new AzureNative.Compute.Inputs.LinuxPatchSettingsArgs\n {\n AssessmentMode = \"AutomaticByPlatform\",\n PatchMode = \"AutomaticByPlatform\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"UbuntuServer\",\n Publisher = \"Canonical\",\n Sku = \"16.04-LTS\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D2s_v3\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"linuxConfiguration\", Map.ofEntries(\n Map.entry(\"patchSettings\", Map.ofEntries(\n Map.entry(\"assessmentMode\", \"AutomaticByPlatform\"),\n Map.entry(\"patchMode\", \"AutomaticByPlatform\")\n )),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"UbuntuServer\"),\n Map.entry(\"publisher\", \"Canonical\"),\n Map.entry(\"sku\", \"16.04-LTS\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D2s_v3\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n linuxConfiguration: {\n patchSettings: {\n assessmentMode: \"AutomaticByPlatform\",\n patchMode: \"AutomaticByPlatform\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"UbuntuServer\",\n publisher: \"Canonical\",\n sku: \"16.04-LTS\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D2s_v3\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n linux_configuration={\n \"patchSettings\": azure_native.compute.LinuxPatchSettingsArgs(\n assessment_mode=\"AutomaticByPlatform\",\n patch_mode=\"AutomaticByPlatform\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"UbuntuServer\",\n publisher=\"Canonical\",\n sku=\"16.04-LTS\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D2s_v3\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n linuxConfiguration:\n patchSettings:\n assessmentMode: AutomaticByPlatform\n patchMode: AutomaticByPlatform\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: UbuntuServer\n publisher: Canonical\n sku: 16.04-LTS\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a VM with Uefi Settings of secureBoot and vTPM.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D2s_v3\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n SecurityProfile = new AzureNative.Compute.Inputs.SecurityProfileArgs\n {\n SecurityType = \"TrustedLaunch\",\n UefiSettings = new AzureNative.Compute.Inputs.UefiSettingsArgs\n {\n SecureBootEnabled = true,\n VTpmEnabled = true,\n },\n },\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"windowsserver-gen2preview-preview\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"windows10-tvm\",\n Version = \"18363.592.2001092016\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadOnly,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"StandardSSD_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D2s_v3\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .securityProfile(Map.ofEntries(\n Map.entry(\"securityType\", \"TrustedLaunch\"),\n Map.entry(\"uefiSettings\", Map.ofEntries(\n Map.entry(\"secureBootEnabled\", true),\n Map.entry(\"vTpmEnabled\", true)\n ))\n ))\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"windowsserver-gen2preview-preview\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"windows10-tvm\"),\n Map.entry(\"version\", \"18363.592.2001092016\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadOnly\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"StandardSSD_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D2s_v3\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n securityProfile: {\n securityType: \"TrustedLaunch\",\n uefiSettings: {\n secureBootEnabled: true,\n vTpmEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n offer: \"windowsserver-gen2preview-preview\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"windows10-tvm\",\n version: \"18363.592.2001092016\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadOnly,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"StandardSSD_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D2s_v3\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n security_profile=azure_native.compute.SecurityProfileResponseArgs(\n security_type=\"TrustedLaunch\",\n uefi_settings=azure_native.compute.UefiSettingsArgs(\n secure_boot_enabled=True,\n v_tpm_enabled=True,\n ),\n ),\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"windowsserver-gen2preview-preview\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"windows10-tvm\",\n version=\"18363.592.2001092016\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_ONLY,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"StandardSSD_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D2s_v3\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n securityProfile:\n securityType: TrustedLaunch\n uefiSettings:\n secureBootEnabled: true\n vTpmEnabled: true\n storageProfile:\n imageReference:\n offer: windowsserver-gen2preview-preview\n publisher: MicrosoftWindowsServer\n sku: windows10-tvm\n version: 18363.592.2001092016\n osDisk:\n caching: ReadOnly\n createOption: FromImage\n managedDisk:\n storageAccountType: StandardSSD_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a VM with UserData\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs\n {\n BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs\n {\n Enabled = true,\n StorageUri = \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"{vm-name}\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"vmOSdisk\",\n },\n },\n UserData = \"RXhhbXBsZSBVc2VyRGF0YQ==\",\n VmName = \"{vm-name}\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .diagnosticsProfile(Map.of(\"bootDiagnostics\", Map.ofEntries(\n Map.entry(\"enabled\", true),\n Map.entry(\"storageUri\", \"http://{existing-storage-account-name}.blob.core.windows.net\")\n )))\n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"{vm-name}\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"vmOSdisk\")\n ))\n ))\n .userData(\"RXhhbXBsZSBVc2VyRGF0YQ==\")\n .vmName(\"{vm-name}\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n diagnosticsProfile: {\n bootDiagnostics: {\n enabled: true,\n storageUri: \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"{vm-name}\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"vmOSdisk\",\n },\n },\n userData: \"RXhhbXBsZSBVc2VyRGF0YQ==\",\n vmName: \"{vm-name}\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n diagnostics_profile=azure_native.compute.DiagnosticsProfileResponseArgs(\n boot_diagnostics=azure_native.compute.BootDiagnosticsArgs(\n enabled=True,\n storage_uri=\"http://{existing-storage-account-name}.blob.core.windows.net\",\n ),\n ),\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"{vm-name}\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"vmOSdisk\",\n },\n ),\n user_data=\"RXhhbXBsZSBVc2VyRGF0YQ==\",\n vm_name=\"{vm-name}\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n diagnosticsProfile:\n bootDiagnostics:\n enabled: true\n storageUri: http://{existing-storage-account-name}.blob.core.windows.net\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: '{vm-name}'\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: vmOSdisk\n userData: RXhhbXBsZSBVc2VyRGF0YQ==\n vmName: '{vm-name}'\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a VM with network interface configuration\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkApiVersion = \"2020-11-01\",\n NetworkInterfaceConfigurations = new[]\n {\n new AzureNative.Compute.Inputs.VirtualMachineNetworkInterfaceConfigurationArgs\n {\n DeleteOption = \"Delete\",\n IpConfigurations = new[]\n {\n new AzureNative.Compute.Inputs.VirtualMachineNetworkInterfaceIPConfigurationArgs\n {\n Name = \"{ip-config-name}\",\n Primary = true,\n PublicIPAddressConfiguration = new AzureNative.Compute.Inputs.VirtualMachinePublicIPAddressConfigurationArgs\n {\n DeleteOption = \"Detach\",\n Name = \"{publicIP-config-name}\",\n PublicIPAllocationMethod = \"Static\",\n Sku = new AzureNative.Compute.Inputs.PublicIPAddressSkuArgs\n {\n Name = \"Basic\",\n Tier = \"Global\",\n },\n },\n },\n },\n Name = \"{nic-config-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.ofEntries(\n Map.entry(\"networkApiVersion\", \"2020-11-01\"),\n Map.entry(\"networkInterfaceConfigurations\", Map.ofEntries(\n Map.entry(\"deleteOption\", \"Delete\"),\n Map.entry(\"ipConfigurations\", Map.ofEntries(\n Map.entry(\"name\", \"{ip-config-name}\"),\n Map.entry(\"primary\", true),\n Map.entry(\"publicIPAddressConfiguration\", Map.ofEntries(\n Map.entry(\"deleteOption\", \"Detach\"),\n Map.entry(\"name\", \"{publicIP-config-name}\"),\n Map.entry(\"publicIPAllocationMethod\", \"Static\"),\n Map.entry(\"sku\", Map.ofEntries(\n Map.entry(\"name\", \"Basic\"),\n Map.entry(\"tier\", \"Global\")\n ))\n ))\n )),\n Map.entry(\"name\", \"{nic-config-name}\"),\n Map.entry(\"primary\", true)\n ))\n ))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkApiVersion: \"2020-11-01\",\n networkInterfaceConfigurations: [{\n deleteOption: \"Delete\",\n ipConfigurations: [{\n name: \"{ip-config-name}\",\n primary: true,\n publicIPAddressConfiguration: {\n deleteOption: \"Detach\",\n name: \"{publicIP-config-name}\",\n publicIPAllocationMethod: \"Static\",\n sku: {\n name: \"Basic\",\n tier: \"Global\",\n },\n },\n }],\n name: \"{nic-config-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_api_version=\"2020-11-01\",\n network_interface_configurations=[{\n \"deleteOption\": \"Delete\",\n \"ipConfigurations\": [{\n \"name\": \"{ip-config-name}\",\n \"primary\": True,\n \"publicIPAddressConfiguration\": {\n \"deleteOption\": \"Detach\",\n \"name\": \"{publicIP-config-name}\",\n \"publicIPAllocationMethod\": \"Static\",\n \"sku\": azure_native.compute.PublicIPAddressSkuArgs(\n name=\"Basic\",\n tier=\"Global\",\n ),\n },\n }],\n \"name\": \"{nic-config-name}\",\n \"primary\": True,\n }],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkApiVersion: 2020-11-01\n networkInterfaceConfigurations:\n - deleteOption: Delete\n ipConfigurations:\n - name: '{ip-config-name}'\n primary: true\n publicIPAddressConfiguration:\n deleteOption: Detach\n name: '{publicIP-config-name}'\n publicIPAllocationMethod: Static\n sku:\n name: Basic\n tier: Global\n name: '{nic-config-name}'\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Windows vm with a patch setting assessmentMode of ImageDefault.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n WindowsConfiguration = new AzureNative.Compute.Inputs.WindowsConfigurationArgs\n {\n EnableAutomaticUpdates = true,\n PatchSettings = new AzureNative.Compute.Inputs.PatchSettingsArgs\n {\n AssessmentMode = \"ImageDefault\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"windowsConfiguration\", Map.ofEntries(\n Map.entry(\"enableAutomaticUpdates\", true),\n Map.entry(\"patchSettings\", Map.of(\"assessmentMode\", \"ImageDefault\")),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n windowsConfiguration: {\n enableAutomaticUpdates: true,\n patchSettings: {\n assessmentMode: \"ImageDefault\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n windows_configuration={\n \"enableAutomaticUpdates\": True,\n \"patchSettings\": azure_native.compute.PatchSettingsArgs(\n assessment_mode=\"ImageDefault\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n windowsConfiguration:\n enableAutomaticUpdates: true\n patchSettings:\n assessmentMode: ImageDefault\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Windows vm with a patch setting patchMode of AutomaticByOS.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n WindowsConfiguration = new AzureNative.Compute.Inputs.WindowsConfigurationArgs\n {\n EnableAutomaticUpdates = true,\n PatchSettings = new AzureNative.Compute.Inputs.PatchSettingsArgs\n {\n PatchMode = \"AutomaticByOS\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"windowsConfiguration\", Map.ofEntries(\n Map.entry(\"enableAutomaticUpdates\", true),\n Map.entry(\"patchSettings\", Map.of(\"patchMode\", \"AutomaticByOS\")),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n windowsConfiguration: {\n enableAutomaticUpdates: true,\n patchSettings: {\n patchMode: \"AutomaticByOS\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n windows_configuration={\n \"enableAutomaticUpdates\": True,\n \"patchSettings\": azure_native.compute.PatchSettingsArgs(\n patch_mode=\"AutomaticByOS\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/nsgExistingNic\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n windowsConfiguration:\n enableAutomaticUpdates: true\n patchSettings:\n patchMode: AutomaticByOS\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Windows vm with a patch setting patchMode of AutomaticByPlatform and enableHotpatching set to true.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n WindowsConfiguration = new AzureNative.Compute.Inputs.WindowsConfigurationArgs\n {\n EnableAutomaticUpdates = true,\n PatchSettings = new AzureNative.Compute.Inputs.PatchSettingsArgs\n {\n EnableHotpatching = true,\n PatchMode = \"AutomaticByPlatform\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"windowsConfiguration\", Map.ofEntries(\n Map.entry(\"enableAutomaticUpdates\", true),\n Map.entry(\"patchSettings\", Map.ofEntries(\n Map.entry(\"enableHotpatching\", true),\n Map.entry(\"patchMode\", \"AutomaticByPlatform\")\n )),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n windowsConfiguration: {\n enableAutomaticUpdates: true,\n patchSettings: {\n enableHotpatching: true,\n patchMode: \"AutomaticByPlatform\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n windows_configuration={\n \"enableAutomaticUpdates\": True,\n \"patchSettings\": azure_native.compute.PatchSettingsArgs(\n enable_hotpatching=True,\n patch_mode=\"AutomaticByPlatform\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n windowsConfiguration:\n enableAutomaticUpdates: true\n patchSettings:\n enableHotpatching: true\n patchMode: AutomaticByPlatform\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Windows vm with a patch setting patchMode of Manual.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n WindowsConfiguration = new AzureNative.Compute.Inputs.WindowsConfigurationArgs\n {\n EnableAutomaticUpdates = true,\n PatchSettings = new AzureNative.Compute.Inputs.PatchSettingsArgs\n {\n PatchMode = \"Manual\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"windowsConfiguration\", Map.ofEntries(\n Map.entry(\"enableAutomaticUpdates\", true),\n Map.entry(\"patchSettings\", Map.of(\"patchMode\", \"Manual\")),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n windowsConfiguration: {\n enableAutomaticUpdates: true,\n patchSettings: {\n patchMode: \"Manual\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n windows_configuration={\n \"enableAutomaticUpdates\": True,\n \"patchSettings\": azure_native.compute.PatchSettingsArgs(\n patch_mode=\"Manual\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n windowsConfiguration:\n enableAutomaticUpdates: true\n patchSettings:\n patchMode: Manual\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a Windows vm with patch settings patchMode and assessmentMode set to AutomaticByPlatform.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n WindowsConfiguration = new AzureNative.Compute.Inputs.WindowsConfigurationArgs\n {\n EnableAutomaticUpdates = true,\n PatchSettings = new AzureNative.Compute.Inputs.PatchSettingsArgs\n {\n AssessmentMode = \"AutomaticByPlatform\",\n PatchMode = \"AutomaticByPlatform\",\n },\n ProvisionVMAgent = true,\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"windowsConfiguration\", Map.ofEntries(\n Map.entry(\"enableAutomaticUpdates\", true),\n Map.entry(\"patchSettings\", Map.ofEntries(\n Map.entry(\"assessmentMode\", \"AutomaticByPlatform\"),\n Map.entry(\"patchMode\", \"AutomaticByPlatform\")\n )),\n Map.entry(\"provisionVMAgent\", true)\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n windowsConfiguration: {\n enableAutomaticUpdates: true,\n patchSettings: {\n assessmentMode: \"AutomaticByPlatform\",\n patchMode: \"AutomaticByPlatform\",\n },\n provisionVMAgent: true,\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n windows_configuration={\n \"enableAutomaticUpdates\": True,\n \"patchSettings\": azure_native.compute.PatchSettingsArgs(\n assessment_mode=\"AutomaticByPlatform\",\n patch_mode=\"AutomaticByPlatform\",\n ),\n \"provisionVMAgent\": True,\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n windowsConfiguration:\n enableAutomaticUpdates: true\n patchSettings:\n assessmentMode: AutomaticByPlatform\n patchMode: AutomaticByPlatform\n provisionVMAgent: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a custom-image vm from an unmanaged generalized os image.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n Image = new AzureNative.Compute.Inputs.VirtualHardDiskArgs\n {\n Uri = \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd\",\n },\n Name = \"myVMosdisk\",\n OsType = AzureNative.Compute.OperatingSystemTypes.Windows,\n Vhd = new AzureNative.Compute.Inputs.VirtualHardDiskArgs\n {\n Uri = \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\",\n },\n },\n },\n VmName = \"{vm-name}\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.of(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"image\", Map.of(\"uri\", \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd\")),\n Map.entry(\"name\", \"myVMosdisk\"),\n Map.entry(\"osType\", \"Windows\"),\n Map.entry(\"vhd\", Map.of(\"uri\", \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\"))\n )))\n .vmName(\"{vm-name}\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n image: {\n uri: \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd\",\n },\n name: \"myVMosdisk\",\n osType: azure_native.compute.OperatingSystemTypes.Windows,\n vhd: {\n uri: \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\",\n },\n },\n },\n vmName: \"{vm-name}\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"image\": azure_native.compute.VirtualHardDiskArgs(\n uri=\"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd\",\n ),\n \"name\": \"myVMosdisk\",\n \"osType\": azure_native.compute.OperatingSystemTypes.WINDOWS,\n \"vhd\": azure_native.compute.VirtualHardDiskArgs(\n uri=\"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\",\n ),\n },\n ),\n vm_name=\"{vm-name}\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n image:\n uri: http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/{existing-generalized-os-image-blob-name}.vhd\n name: myVMosdisk\n osType: Windows\n vhd:\n uri: http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\n vmName: '{vm-name}'\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a platform-image vm with unmanaged os and data disks.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D2_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n DataDisks = new[]\n {\n new AzureNative.Compute.Inputs.DataDiskArgs\n {\n CreateOption = \"Empty\",\n DiskSizeGB = 1023,\n Lun = 0,\n Vhd = new AzureNative.Compute.Inputs.VirtualHardDiskArgs\n {\n Uri = \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd\",\n },\n },\n new AzureNative.Compute.Inputs.DataDiskArgs\n {\n CreateOption = \"Empty\",\n DiskSizeGB = 1023,\n Lun = 1,\n Vhd = new AzureNative.Compute.Inputs.VirtualHardDiskArgs\n {\n Uri = \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd\",\n },\n },\n },\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n Name = \"myVMosdisk\",\n Vhd = new AzureNative.Compute.Inputs.VirtualHardDiskArgs\n {\n Uri = \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\",\n },\n },\n },\n VmName = \"{vm-name}\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D2_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"dataDisks\", \n Map.ofEntries(\n Map.entry(\"createOption\", \"Empty\"),\n Map.entry(\"diskSizeGB\", 1023),\n Map.entry(\"lun\", 0),\n Map.entry(\"vhd\", Map.of(\"uri\", \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd\"))\n ),\n Map.ofEntries(\n Map.entry(\"createOption\", \"Empty\"),\n Map.entry(\"diskSizeGB\", 1023),\n Map.entry(\"lun\", 1),\n Map.entry(\"vhd\", Map.of(\"uri\", \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd\"))\n )),\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"name\", \"myVMosdisk\"),\n Map.entry(\"vhd\", Map.of(\"uri\", \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\"))\n ))\n ))\n .vmName(\"{vm-name}\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D2_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n dataDisks: [\n {\n createOption: \"Empty\",\n diskSizeGB: 1023,\n lun: 0,\n vhd: {\n uri: \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd\",\n },\n },\n {\n createOption: \"Empty\",\n diskSizeGB: 1023,\n lun: 1,\n vhd: {\n uri: \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd\",\n },\n },\n ],\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n name: \"myVMosdisk\",\n vhd: {\n uri: \"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\",\n },\n },\n },\n vmName: \"{vm-name}\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D2_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n data_disks=[\n {\n \"createOption\": \"Empty\",\n \"diskSizeGB\": 1023,\n \"lun\": 0,\n \"vhd\": azure_native.compute.VirtualHardDiskArgs(\n uri=\"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd\",\n ),\n },\n {\n \"createOption\": \"Empty\",\n \"diskSizeGB\": 1023,\n \"lun\": 1,\n \"vhd\": azure_native.compute.VirtualHardDiskArgs(\n uri=\"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd\",\n ),\n },\n ],\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"name\": \"myVMosdisk\",\n \"vhd\": azure_native.compute.VirtualHardDiskArgs(\n uri=\"http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\",\n ),\n },\n ),\n vm_name=\"{vm-name}\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D2_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n dataDisks:\n - createOption: Empty\n diskSizeGB: 1023\n lun: 0\n vhd:\n uri: http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk0.vhd\n - createOption: Empty\n diskSizeGB: 1023\n lun: 1\n vhd:\n uri: http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk1.vhd\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n name: myVMosdisk\n vhd:\n uri: http://{existing-storage-account-name}.blob.core.windows.net/{existing-container-name}/myDisk.vhd\n vmName: '{vm-name}'\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm from a custom image.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\")),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm from a generalized shared image.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\")),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm from a specialized shared image.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\")),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/mySharedGallery/images/mySharedImage\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm in a Virtual Machine Scale Set with customer assigned platformFaultDomain.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n PlatformFaultDomain = 1,\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VirtualMachineScaleSet = new AzureNative.Compute.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}\",\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .platformFaultDomain(1)\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .virtualMachineScaleSet(Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}\"))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n platformFaultDomain: 1,\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n virtualMachineScaleSet: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}\",\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n platform_fault_domain=1,\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n virtual_machine_scale_set=azure_native.compute.SubResourceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}\",\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n platformFaultDomain: 1\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n virtualMachineScaleSet:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/{existing-flex-vmss-name-with-platformFaultDomainCount-greater-than-1}\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm in an availability set.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n AvailabilitySet = new AzureNative.Compute.Inputs.SubResourceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}\",\n },\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .availabilitySet(Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}\"))\n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n availabilitySet: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}\",\n },\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n availability_set=azure_native.compute.SubResourceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}\",\n ),\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n availabilitySet:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/availabilitySets/{existing-availability-set-name}\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with DiskEncryptionSet resource id in the os disk and data disk.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n DataDisks = new[]\n {\n new AzureNative.Compute.Inputs.DataDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"Empty\",\n DiskSizeGB = 1023,\n Lun = 0,\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n },\n StorageAccountType = \"Standard_LRS\",\n },\n },\n new AzureNative.Compute.Inputs.DataDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"Attach\",\n DiskSizeGB = 1023,\n Lun = 1,\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n },\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}\",\n StorageAccountType = \"Standard_LRS\",\n },\n },\n },\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n DiskEncryptionSet = new AzureNative.Compute.Inputs.DiskEncryptionSetParametersArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n },\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"dataDisks\", \n Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"Empty\"),\n Map.entry(\"diskSizeGB\", 1023),\n Map.entry(\"lun\", 0),\n Map.entry(\"managedDisk\", Map.ofEntries(\n Map.entry(\"diskEncryptionSet\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\")),\n Map.entry(\"storageAccountType\", \"Standard_LRS\")\n ))\n ),\n Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"Attach\"),\n Map.entry(\"diskSizeGB\", 1023),\n Map.entry(\"lun\", 1),\n Map.entry(\"managedDisk\", Map.ofEntries(\n Map.entry(\"diskEncryptionSet\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\")),\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}\"),\n Map.entry(\"storageAccountType\", \"Standard_LRS\")\n ))\n )),\n Map.entry(\"imageReference\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\")),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.ofEntries(\n Map.entry(\"diskEncryptionSet\", Map.of(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\")),\n Map.entry(\"storageAccountType\", \"Standard_LRS\")\n )),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n dataDisks: [\n {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"Empty\",\n diskSizeGB: 1023,\n lun: 0,\n managedDisk: {\n diskEncryptionSet: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n },\n storageAccountType: \"Standard_LRS\",\n },\n },\n {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"Attach\",\n diskSizeGB: 1023,\n lun: 1,\n managedDisk: {\n diskEncryptionSet: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n },\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}\",\n storageAccountType: \"Standard_LRS\",\n },\n },\n ],\n imageReference: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n diskEncryptionSet: {\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n },\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n data_disks=[\n {\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"Empty\",\n \"diskSizeGB\": 1023,\n \"lun\": 0,\n \"managedDisk\": {\n \"diskEncryptionSet\": azure_native.compute.DiskEncryptionSetParametersArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n ),\n \"storageAccountType\": \"Standard_LRS\",\n },\n },\n {\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"Attach\",\n \"diskSizeGB\": 1023,\n \"lun\": 1,\n \"managedDisk\": {\n \"diskEncryptionSet\": azure_native.compute.DiskEncryptionSetParametersArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n ),\n \"id\": \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}\",\n \"storageAccountType\": \"Standard_LRS\",\n },\n },\n ],\n image_reference=azure_native.compute.ImageReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": {\n \"diskEncryptionSet\": azure_native.compute.DiskEncryptionSetParametersArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\",\n ),\n \"storageAccountType\": \"Standard_LRS\",\n },\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n dataDisks:\n - caching: ReadWrite\n createOption: Empty\n diskSizeGB: 1023\n lun: 0\n managedDisk:\n diskEncryptionSet:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\n storageAccountType: Standard_LRS\n - caching: ReadWrite\n createOption: Attach\n diskSizeGB: 1023\n lun: 1\n managedDisk:\n diskEncryptionSet:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/{existing-managed-disk-name}\n storageAccountType: Standard_LRS\n imageReference:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/images/{existing-custom-image-name}\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n diskEncryptionSet:\n id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/diskEncryptionSets/{existing-diskEncryptionSet-name}\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with Host Encryption using encryptionAtHost property.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_DS1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n Plan = new AzureNative.Compute.Inputs.PlanArgs\n {\n Name = \"windows2016\",\n Product = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n },\n ResourceGroupName = \"myResourceGroup\",\n SecurityProfile = new AzureNative.Compute.Inputs.SecurityProfileArgs\n {\n EncryptionAtHost = true,\n },\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n Sku = \"windows2016\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadOnly,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_DS1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .plan(Map.ofEntries(\n Map.entry(\"name\", \"windows2016\"),\n Map.entry(\"product\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .securityProfile(Map.of(\"encryptionAtHost\", true))\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\"),\n Map.entry(\"sku\", \"windows2016\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadOnly\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_DS1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n plan: {\n name: \"windows2016\",\n product: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n },\n resourceGroupName: \"myResourceGroup\",\n securityProfile: {\n encryptionAtHost: true,\n },\n storageProfile: {\n imageReference: {\n offer: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n sku: \"windows2016\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadOnly,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_DS1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n plan=azure_native.compute.PlanArgs(\n name=\"windows2016\",\n product=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n ),\n resource_group_name=\"myResourceGroup\",\n security_profile=azure_native.compute.SecurityProfileArgs(\n encryption_at_host=True,\n ),\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n sku=\"windows2016\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_ONLY,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_DS1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n plan:\n name: windows2016\n product: windows-data-science-vm\n publisher: microsoft-ads\n resourceGroupName: myResourceGroup\n securityProfile:\n encryptionAtHost: true\n storageProfile:\n imageReference:\n offer: windows-data-science-vm\n publisher: microsoft-ads\n sku: windows2016\n version: latest\n osDisk:\n caching: ReadOnly\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with Scheduled Events Profile\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs\n {\n BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs\n {\n Enabled = true,\n StorageUri = \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n ScheduledEventsProfile = new AzureNative.Compute.Inputs.ScheduledEventsProfileArgs\n {\n TerminateNotificationProfile = new AzureNative.Compute.Inputs.TerminateNotificationProfileArgs\n {\n Enable = true,\n NotBeforeTimeout = \"PT10M\",\n },\n },\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .diagnosticsProfile(Map.of(\"bootDiagnostics\", Map.ofEntries(\n Map.entry(\"enabled\", true),\n Map.entry(\"storageUri\", \"http://{existing-storage-account-name}.blob.core.windows.net\")\n )))\n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .scheduledEventsProfile(Map.of(\"terminateNotificationProfile\", Map.ofEntries(\n Map.entry(\"enable\", true),\n Map.entry(\"notBeforeTimeout\", \"PT10M\")\n )))\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n diagnosticsProfile: {\n bootDiagnostics: {\n enabled: true,\n storageUri: \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n scheduledEventsProfile: {\n terminateNotificationProfile: {\n enable: true,\n notBeforeTimeout: \"PT10M\",\n },\n },\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n diagnostics_profile=azure_native.compute.DiagnosticsProfileResponseArgs(\n boot_diagnostics=azure_native.compute.BootDiagnosticsArgs(\n enabled=True,\n storage_uri=\"http://{existing-storage-account-name}.blob.core.windows.net\",\n ),\n ),\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n scheduled_events_profile=azure_native.compute.ScheduledEventsProfileResponseArgs(\n terminate_notification_profile=azure_native.compute.TerminateNotificationProfileArgs(\n enable=True,\n not_before_timeout=\"PT10M\",\n ),\n ),\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n diagnosticsProfile:\n bootDiagnostics:\n enabled: true\n storageUri: http://{existing-storage-account-name}.blob.core.windows.net\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n scheduledEventsProfile:\n terminateNotificationProfile:\n enable: true\n notBeforeTimeout: PT10M\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with a marketplace image plan.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n Plan = new AzureNative.Compute.Inputs.PlanArgs\n {\n Name = \"windows2016\",\n Product = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n Sku = \"windows2016\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .plan(Map.ofEntries(\n Map.entry(\"name\", \"windows2016\"),\n Map.entry(\"product\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\"),\n Map.entry(\"sku\", \"windows2016\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n plan: {\n name: \"windows2016\",\n product: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n sku: \"windows2016\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n plan=azure_native.compute.PlanArgs(\n name=\"windows2016\",\n product=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n sku=\"windows2016\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n plan:\n name: windows2016\n product: windows-data-science-vm\n publisher: microsoft-ads\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: windows-data-science-vm\n publisher: microsoft-ads\n sku: windows2016\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with an extensions time budget.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs\n {\n BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs\n {\n Enabled = true,\n StorageUri = \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n ExtensionsTimeBudget = \"PT30M\",\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .diagnosticsProfile(Map.of(\"bootDiagnostics\", Map.ofEntries(\n Map.entry(\"enabled\", true),\n Map.entry(\"storageUri\", \"http://{existing-storage-account-name}.blob.core.windows.net\")\n )))\n .extensionsTimeBudget(\"PT30M\")\n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n diagnosticsProfile: {\n bootDiagnostics: {\n enabled: true,\n storageUri: \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n extensionsTimeBudget: \"PT30M\",\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n diagnostics_profile=azure_native.compute.DiagnosticsProfileResponseArgs(\n boot_diagnostics=azure_native.compute.BootDiagnosticsArgs(\n enabled=True,\n storage_uri=\"http://{existing-storage-account-name}.blob.core.windows.net\",\n ),\n ),\n extensions_time_budget=\"PT30M\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n diagnosticsProfile:\n bootDiagnostics:\n enabled: true\n storageUri: http://{existing-storage-account-name}.blob.core.windows.net\n extensionsTimeBudget: PT30M\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with boot diagnostics.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs\n {\n BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs\n {\n Enabled = true,\n StorageUri = \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .diagnosticsProfile(Map.of(\"bootDiagnostics\", Map.ofEntries(\n Map.entry(\"enabled\", true),\n Map.entry(\"storageUri\", \"http://{existing-storage-account-name}.blob.core.windows.net\")\n )))\n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n diagnosticsProfile: {\n bootDiagnostics: {\n enabled: true,\n storageUri: \"http://{existing-storage-account-name}.blob.core.windows.net\",\n },\n },\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n diagnostics_profile=azure_native.compute.DiagnosticsProfileResponseArgs(\n boot_diagnostics=azure_native.compute.BootDiagnosticsArgs(\n enabled=True,\n storage_uri=\"http://{existing-storage-account-name}.blob.core.windows.net\",\n ),\n ),\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n diagnosticsProfile:\n bootDiagnostics:\n enabled: true\n storageUri: http://{existing-storage-account-name}.blob.core.windows.net\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with empty data disks.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D2_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n DataDisks = new[]\n {\n new AzureNative.Compute.Inputs.DataDiskArgs\n {\n CreateOption = \"Empty\",\n DiskSizeGB = 1023,\n Lun = 0,\n },\n new AzureNative.Compute.Inputs.DataDiskArgs\n {\n CreateOption = \"Empty\",\n DiskSizeGB = 1023,\n Lun = 1,\n },\n },\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D2_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"dataDisks\", \n Map.ofEntries(\n Map.entry(\"createOption\", \"Empty\"),\n Map.entry(\"diskSizeGB\", 1023),\n Map.entry(\"lun\", 0)\n ),\n Map.ofEntries(\n Map.entry(\"createOption\", \"Empty\"),\n Map.entry(\"diskSizeGB\", 1023),\n Map.entry(\"lun\", 1)\n )),\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D2_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n dataDisks: [\n {\n createOption: \"Empty\",\n diskSizeGB: 1023,\n lun: 0,\n },\n {\n createOption: \"Empty\",\n diskSizeGB: 1023,\n lun: 1,\n },\n ],\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D2_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n data_disks=[\n azure_native.compute.DataDiskArgs(\n create_option=\"Empty\",\n disk_size_gb=1023,\n lun=0,\n ),\n azure_native.compute.DataDiskArgs(\n create_option=\"Empty\",\n disk_size_gb=1023,\n lun=1,\n ),\n ],\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D2_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n dataDisks:\n - createOption: Empty\n diskSizeGB: 1023\n lun: 0\n - createOption: Empty\n diskSizeGB: 1023\n lun: 1\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with ephemeral os disk provisioning in Cache disk using placement property.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_DS1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n Plan = new AzureNative.Compute.Inputs.PlanArgs\n {\n Name = \"windows2016\",\n Product = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n Sku = \"windows2016\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadOnly,\n CreateOption = \"FromImage\",\n DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs\n {\n Option = \"Local\",\n Placement = \"CacheDisk\",\n },\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_DS1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .plan(Map.ofEntries(\n Map.entry(\"name\", \"windows2016\"),\n Map.entry(\"product\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\"),\n Map.entry(\"sku\", \"windows2016\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadOnly\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"diffDiskSettings\", Map.ofEntries(\n Map.entry(\"option\", \"Local\"),\n Map.entry(\"placement\", \"CacheDisk\")\n )),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_DS1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n plan: {\n name: \"windows2016\",\n product: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n sku: \"windows2016\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadOnly,\n createOption: \"FromImage\",\n diffDiskSettings: {\n option: \"Local\",\n placement: \"CacheDisk\",\n },\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_DS1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n plan=azure_native.compute.PlanArgs(\n name=\"windows2016\",\n product=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n sku=\"windows2016\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_ONLY,\n \"createOption\": \"FromImage\",\n \"diffDiskSettings\": azure_native.compute.DiffDiskSettingsArgs(\n option=\"Local\",\n placement=\"CacheDisk\",\n ),\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_DS1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n plan:\n name: windows2016\n product: windows-data-science-vm\n publisher: microsoft-ads\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: windows-data-science-vm\n publisher: microsoft-ads\n sku: windows2016\n version: latest\n osDisk:\n caching: ReadOnly\n createOption: FromImage\n diffDiskSettings:\n option: Local\n placement: CacheDisk\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with ephemeral os disk provisioning in Resource disk using placement property.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_DS1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n Plan = new AzureNative.Compute.Inputs.PlanArgs\n {\n Name = \"windows2016\",\n Product = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n Sku = \"windows2016\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadOnly,\n CreateOption = \"FromImage\",\n DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs\n {\n Option = \"Local\",\n Placement = \"ResourceDisk\",\n },\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_DS1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .plan(Map.ofEntries(\n Map.entry(\"name\", \"windows2016\"),\n Map.entry(\"product\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\"),\n Map.entry(\"sku\", \"windows2016\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadOnly\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"diffDiskSettings\", Map.ofEntries(\n Map.entry(\"option\", \"Local\"),\n Map.entry(\"placement\", \"ResourceDisk\")\n )),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_DS1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n plan: {\n name: \"windows2016\",\n product: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n sku: \"windows2016\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadOnly,\n createOption: \"FromImage\",\n diffDiskSettings: {\n option: \"Local\",\n placement: \"ResourceDisk\",\n },\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_DS1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n plan=azure_native.compute.PlanArgs(\n name=\"windows2016\",\n product=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n sku=\"windows2016\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_ONLY,\n \"createOption\": \"FromImage\",\n \"diffDiskSettings\": azure_native.compute.DiffDiskSettingsArgs(\n option=\"Local\",\n placement=\"ResourceDisk\",\n ),\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_DS1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n plan:\n name: windows2016\n product: windows-data-science-vm\n publisher: microsoft-ads\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: windows-data-science-vm\n publisher: microsoft-ads\n sku: windows2016\n version: latest\n osDisk:\n caching: ReadOnly\n createOption: FromImage\n diffDiskSettings:\n option: Local\n placement: ResourceDisk\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with ephemeral os disk.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_DS1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n Plan = new AzureNative.Compute.Inputs.PlanArgs\n {\n Name = \"windows2016\",\n Product = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"windows-data-science-vm\",\n Publisher = \"microsoft-ads\",\n Sku = \"windows2016\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadOnly,\n CreateOption = \"FromImage\",\n DiffDiskSettings = new AzureNative.Compute.Inputs.DiffDiskSettingsArgs\n {\n Option = \"Local\",\n },\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_DS1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .plan(Map.ofEntries(\n Map.entry(\"name\", \"windows2016\"),\n Map.entry(\"product\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"windows-data-science-vm\"),\n Map.entry(\"publisher\", \"microsoft-ads\"),\n Map.entry(\"sku\", \"windows2016\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadOnly\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"diffDiskSettings\", Map.of(\"option\", \"Local\")),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_DS1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n plan: {\n name: \"windows2016\",\n product: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"windows-data-science-vm\",\n publisher: \"microsoft-ads\",\n sku: \"windows2016\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadOnly,\n createOption: \"FromImage\",\n diffDiskSettings: {\n option: \"Local\",\n },\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_DS1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n plan=azure_native.compute.PlanArgs(\n name=\"windows2016\",\n product=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"windows-data-science-vm\",\n publisher=\"microsoft-ads\",\n sku=\"windows2016\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_ONLY,\n \"createOption\": \"FromImage\",\n \"diffDiskSettings\": azure_native.compute.DiffDiskSettingsArgs(\n option=\"Local\",\n ),\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_DS1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n plan:\n name: windows2016\n product: windows-data-science-vm\n publisher: microsoft-ads\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: windows-data-science-vm\n publisher: microsoft-ads\n sku: windows2016\n version: latest\n osDisk:\n caching: ReadOnly\n createOption: FromImage\n diffDiskSettings:\n option: Local\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with managed boot diagnostics.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n DiagnosticsProfile = new AzureNative.Compute.Inputs.DiagnosticsProfileArgs\n {\n BootDiagnostics = new AzureNative.Compute.Inputs.BootDiagnosticsArgs\n {\n Enabled = true,\n },\n },\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .diagnosticsProfile(Map.of(\"bootDiagnostics\", Map.of(\"enabled\", true)))\n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n diagnosticsProfile: {\n bootDiagnostics: {\n enabled: true,\n },\n },\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n diagnostics_profile=azure_native.compute.DiagnosticsProfileResponseArgs(\n boot_diagnostics=azure_native.compute.BootDiagnosticsArgs(\n enabled=True,\n ),\n ),\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n diagnosticsProfile:\n bootDiagnostics:\n enabled: true\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with password authentication.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with premium storage.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminPassword = \"{your-password}\",\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"WindowsServer\",\n Publisher = \"MicrosoftWindowsServer\",\n Sku = \"2016-Datacenter\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Premium_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminPassword\", \"{your-password}\"),\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\")\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"WindowsServer\"),\n Map.entry(\"publisher\", \"MicrosoftWindowsServer\"),\n Map.entry(\"sku\", \"2016-Datacenter\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Premium_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminPassword: \"{your-password}\",\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"WindowsServer\",\n publisher: \"MicrosoftWindowsServer\",\n sku: \"2016-Datacenter\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Premium_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileArgs(\n admin_password=\"{your-password}\",\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"WindowsServer\",\n publisher=\"MicrosoftWindowsServer\",\n sku=\"2016-Datacenter\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Premium_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminPassword: '{your-password}'\n adminUsername: '{your-username}'\n computerName: myVM\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: WindowsServer\n publisher: MicrosoftWindowsServer\n sku: 2016-Datacenter\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Premium_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create a vm with ssh authentication.\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualMachine = new AzureNative.Compute.VirtualMachine(\"virtualMachine\", new()\n {\n HardwareProfile = new AzureNative.Compute.Inputs.HardwareProfileArgs\n {\n VmSize = \"Standard_D1_v2\",\n },\n Location = \"westus\",\n NetworkProfile = new AzureNative.Compute.Inputs.NetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.Compute.Inputs.NetworkInterfaceReferenceArgs\n {\n Id = \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n Primary = true,\n },\n },\n },\n OsProfile = new AzureNative.Compute.Inputs.OSProfileArgs\n {\n AdminUsername = \"{your-username}\",\n ComputerName = \"myVM\",\n LinuxConfiguration = new AzureNative.Compute.Inputs.LinuxConfigurationArgs\n {\n DisablePasswordAuthentication = true,\n Ssh = new AzureNative.Compute.Inputs.SshConfigurationArgs\n {\n PublicKeys = new[]\n {\n new AzureNative.Compute.Inputs.SshPublicKeyArgs\n {\n KeyData = \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1\",\n Path = \"/home/{your-username}/.ssh/authorized_keys\",\n },\n },\n },\n },\n },\n ResourceGroupName = \"myResourceGroup\",\n StorageProfile = new AzureNative.Compute.Inputs.StorageProfileArgs\n {\n ImageReference = new AzureNative.Compute.Inputs.ImageReferenceArgs\n {\n Offer = \"{image_offer}\",\n Publisher = \"{image_publisher}\",\n Sku = \"{image_sku}\",\n Version = \"latest\",\n },\n OsDisk = new AzureNative.Compute.Inputs.OSDiskArgs\n {\n Caching = AzureNative.Compute.CachingTypes.ReadWrite,\n CreateOption = \"FromImage\",\n ManagedDisk = new AzureNative.Compute.Inputs.ManagedDiskParametersArgs\n {\n StorageAccountType = \"Standard_LRS\",\n },\n Name = \"myVMosdisk\",\n },\n },\n VmName = \"myVM\",\n });\n\n});\n\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.compute.VirtualMachine;\nimport com.pulumi.azurenative.compute.VirtualMachineArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualMachine = new VirtualMachine(\"virtualMachine\", VirtualMachineArgs.builder() \n .hardwareProfile(Map.of(\"vmSize\", \"Standard_D1_v2\"))\n .location(\"westus\")\n .networkProfile(Map.of(\"networkInterfaces\", Map.ofEntries(\n Map.entry(\"id\", \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\"),\n Map.entry(\"primary\", true)\n )))\n .osProfile(Map.ofEntries(\n Map.entry(\"adminUsername\", \"{your-username}\"),\n Map.entry(\"computerName\", \"myVM\"),\n Map.entry(\"linuxConfiguration\", Map.ofEntries(\n Map.entry(\"disablePasswordAuthentication\", true),\n Map.entry(\"ssh\", Map.of(\"publicKeys\", Map.ofEntries(\n Map.entry(\"keyData\", \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1\"),\n Map.entry(\"path\", \"/home/{your-username}/.ssh/authorized_keys\")\n )))\n ))\n ))\n .resourceGroupName(\"myResourceGroup\")\n .storageProfile(Map.ofEntries(\n Map.entry(\"imageReference\", Map.ofEntries(\n Map.entry(\"offer\", \"{image_offer}\"),\n Map.entry(\"publisher\", \"{image_publisher}\"),\n Map.entry(\"sku\", \"{image_sku}\"),\n Map.entry(\"version\", \"latest\")\n )),\n Map.entry(\"osDisk\", Map.ofEntries(\n Map.entry(\"caching\", \"ReadWrite\"),\n Map.entry(\"createOption\", \"FromImage\"),\n Map.entry(\"managedDisk\", Map.of(\"storageAccountType\", \"Standard_LRS\")),\n Map.entry(\"name\", \"myVMosdisk\")\n ))\n ))\n .vmName(\"myVM\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualMachine = new azure_native.compute.VirtualMachine(\"virtualMachine\", {\n hardwareProfile: {\n vmSize: \"Standard_D1_v2\",\n },\n location: \"westus\",\n networkProfile: {\n networkInterfaces: [{\n id: \"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary: true,\n }],\n },\n osProfile: {\n adminUsername: \"{your-username}\",\n computerName: \"myVM\",\n linuxConfiguration: {\n disablePasswordAuthentication: true,\n ssh: {\n publicKeys: [{\n keyData: \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1\",\n path: \"/home/{your-username}/.ssh/authorized_keys\",\n }],\n },\n },\n },\n resourceGroupName: \"myResourceGroup\",\n storageProfile: {\n imageReference: {\n offer: \"{image_offer}\",\n publisher: \"{image_publisher}\",\n sku: \"{image_sku}\",\n version: \"latest\",\n },\n osDisk: {\n caching: azure_native.compute.CachingTypes.ReadWrite,\n createOption: \"FromImage\",\n managedDisk: {\n storageAccountType: \"Standard_LRS\",\n },\n name: \"myVMosdisk\",\n },\n },\n vmName: \"myVM\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine = azure_native.compute.VirtualMachine(\"virtualMachine\",\n hardware_profile=azure_native.compute.HardwareProfileArgs(\n vm_size=\"Standard_D1_v2\",\n ),\n location=\"westus\",\n network_profile=azure_native.compute.NetworkProfileResponseArgs(\n network_interfaces=[azure_native.compute.NetworkInterfaceReferenceArgs(\n id=\"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\",\n primary=True,\n )],\n ),\n os_profile=azure_native.compute.OSProfileResponseArgs(\n admin_username=\"{your-username}\",\n computer_name=\"myVM\",\n linux_configuration={\n \"disablePasswordAuthentication\": True,\n \"ssh\": {\n \"publicKeys\": [azure_native.compute.SshPublicKeyArgs(\n key_data=\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1\",\n path=\"/home/{your-username}/.ssh/authorized_keys\",\n )],\n },\n },\n ),\n resource_group_name=\"myResourceGroup\",\n storage_profile=azure_native.compute.StorageProfileResponseArgs(\n image_reference=azure_native.compute.ImageReferenceArgs(\n offer=\"{image_offer}\",\n publisher=\"{image_publisher}\",\n sku=\"{image_sku}\",\n version=\"latest\",\n ),\n os_disk={\n \"caching\": azure_native.compute.CachingTypes.READ_WRITE,\n \"createOption\": \"FromImage\",\n \"managedDisk\": azure_native.compute.ManagedDiskParametersArgs(\n storage_account_type=\"Standard_LRS\",\n ),\n \"name\": \"myVMosdisk\",\n },\n ),\n vm_name=\"myVM\")\n\n```\n\n```yaml\nresources:\n virtualMachine:\n type: azure-native:compute:VirtualMachine\n properties:\n hardwareProfile:\n vmSize: Standard_D1_v2\n location: westus\n networkProfile:\n networkInterfaces:\n - id: /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}\n primary: true\n osProfile:\n adminUsername: '{your-username}'\n computerName: myVM\n linuxConfiguration:\n disablePasswordAuthentication: true\n ssh:\n publicKeys:\n - keyData: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeClRAk2ipUs/l5voIsDC5q9RI+YSRd1Bvd/O+axgY4WiBzG+4FwJWZm/mLLe5DoOdHQwmU2FrKXZSW4w2sYE70KeWnrFViCOX5MTVvJgPE8ClugNl8RWth/tU849DvM9sT7vFgfVSHcAS2yDRyDlueii+8nF2ym8XWAPltFVCyLHRsyBp5YPqK8JFYIa1eybKsY3hEAxRCA+/7bq8et+Gj3coOsuRmrehav7rE6N12Pb80I6ofa6SM5XNYq4Xk0iYNx7R3kdz0Jj9XgZYWjAHjJmT0gTRoOnt6upOuxK7xI/ykWrllgpXrCPu3Ymz+c+ujaqcxDopnAl2lmf69/J1\n path: /home/{your-username}/.ssh/authorized_keys\n resourceGroupName: myResourceGroup\n storageProfile:\n imageReference:\n offer: '{image_offer}'\n publisher: '{image_publisher}'\n sku: '{image_sku}'\n version: latest\n osDisk:\n caching: ReadWrite\n createOption: FromImage\n managedDisk:\n storageAccountType: Standard_LRS\n name: myVMosdisk\n vmName: myVM\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:compute:VirtualMachine myVM /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM \n```\n",
"properties": {
"additionalCapabilities": {
"type": "object",
"$ref": "#/types/azure-native:compute:AdditionalCapabilitiesResponse",
"description": "Specifies additional capabilities enabled or disabled on the virtual machine."
},
"availabilitySet": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. <br><br>This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
},
"billingProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:BillingProfileResponse",
"description": "Specifies the billing related details of a Azure Spot virtual machine. <br><br>Minimum api-version: 2019-03-01."
},
"diagnosticsProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiagnosticsProfileResponse",
"description": "Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15."
},
"evictionPolicy": {
"type": "string",
"description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:compute:ExtendedLocationResponse",
"description": "The extended location of the Virtual Machine."
},
"extensionsTimeBudget": {
"type": "string",
"description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01"
},
"hardwareProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:HardwareProfileResponse",
"description": "Specifies the hardware settings for the virtual machine."
},
"host": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "Specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01."
},
"hostGroup": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "Specifies information about the dedicated host group that the virtual machine resides in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host and hostGroup properties."
},
"identity": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineIdentityResponse",
"description": "The identity of the virtual machine, if configured."
},
"instanceView": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineInstanceViewResponse",
"description": "The virtual machine instance view."
},
"licenseType": {
"type": "string",
"description": "Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15"
},
"location": {
"type": "string",
"description": "Resource location"
},
"name": {
"type": "string",
"description": "Resource name"
},
"networkProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:NetworkProfileResponse",
"description": "Specifies the network interfaces of the virtual machine."
},
"osProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:OSProfileResponse",
"description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned."
},
"plan": {
"type": "object",
"$ref": "#/types/azure-native:compute:PlanResponse",
"description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
},
"platformFaultDomain": {
"type": "integer",
"description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01"
},
"priority": {
"type": "string",
"description": "Specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01"
},
"provisioningState": {
"type": "string",
"description": "The provisioning state, which only appears in the response."
},
"proximityPlacementGroup": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01."
},
"resources": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineExtensionResponse"
},
"description": "The virtual machine child extension resources."
},
"scheduledEventsProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:ScheduledEventsProfileResponse",
"description": "Specifies Scheduled Event related configurations."
},
"securityProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:SecurityProfileResponse",
"description": "Specifies the Security related profile settings for the virtual machine."
},
"storageProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:StorageProfileResponse",
"description": "Specifies the storage settings for the virtual machine disks."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
},
"type": {
"type": "string",
"description": "Resource type"
},
"userData": {
"type": "string",
"description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01"
},
"virtualMachineScaleSet": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResourceResponse",
"description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum api‐version: 2019‐03‐01"
},
"vmId": {
"type": "string",
"description": "Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands."
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "The virtual machine zones."
}
},
"type": "object",
"required": [
"instanceView",
"location",
"name",
"provisioningState",
"resources",
"type",
"vmId"
],
"inputProperties": {
"additionalCapabilities": {
"type": "object",
"$ref": "#/types/azure-native:compute:AdditionalCapabilities",
"description": "Specifies additional capabilities enabled or disabled on the virtual machine."
},
"availabilitySet": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a VM can only be added to availability set at creation time. The availability set to which the VM is being added should be under the same resource group as the availability set resource. An existing VM cannot be added to an availability set. <br><br>This property cannot exist along with a non-null properties.virtualMachineScaleSet reference."
},
"billingProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:BillingProfile",
"description": "Specifies the billing related details of a Azure Spot virtual machine. <br><br>Minimum api-version: 2019-03-01."
},
"diagnosticsProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:DiagnosticsProfile",
"description": "Specifies the boot diagnostic settings state. <br><br>Minimum api-version: 2015-06-15."
},
"evictionPolicy": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:VirtualMachineEvictionPolicyTypes"
}
],
"description": "Specifies the eviction policy for the Azure Spot virtual machine and Azure Spot scale set. <br><br>For Azure Spot virtual machines, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2019-03-01. <br><br>For Azure Spot scale sets, both 'Deallocate' and 'Delete' are supported and the minimum api-version is 2017-10-30-preview."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:compute:ExtendedLocation",
"description": "The extended location of the Virtual Machine."
},
"extensionsTimeBudget": {
"type": "string",
"description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01"
},
"hardwareProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:HardwareProfile",
"description": "Specifies the hardware settings for the virtual machine."
},
"host": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "Specifies information about the dedicated host that the virtual machine resides in. <br><br>Minimum api-version: 2018-10-01."
},
"hostGroup": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "Specifies information about the dedicated host group that the virtual machine resides in. <br><br>Minimum api-version: 2020-06-01. <br><br>NOTE: User cannot specify both host and hostGroup properties."
},
"identity": {
"type": "object",
"$ref": "#/types/azure-native:compute:VirtualMachineIdentity",
"description": "The identity of the virtual machine, if configured."
},
"licenseType": {
"type": "string",
"description": "Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15"
},
"location": {
"type": "string",
"description": "Resource location"
},
"networkProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:NetworkProfile",
"description": "Specifies the network interfaces of the virtual machine."
},
"osProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:OSProfile",
"description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned."
},
"plan": {
"type": "object",
"$ref": "#/types/azure-native:compute:Plan",
"description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click **Want to deploy programmatically, Get Started ->**. Enter any required information and then click **Save**."
},
"platformFaultDomain": {
"type": "integer",
"description": "Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01"
},
"priority": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:compute:VirtualMachinePriorityTypes"
}
],
"description": "Specifies the priority for the virtual machine. <br><br>Minimum api-version: 2019-03-01"
},
"proximityPlacementGroup": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "Specifies information about the proximity placement group that the virtual machine should be assigned to. <br><br>Minimum api-version: 2018-04-01."
},
"resourceGroupName": {
"type": "string",
"description": "The name of the resource group.",
"willReplaceOnChanges": true
},
"scheduledEventsProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:ScheduledEventsProfile",
"description": "Specifies Scheduled Event related configurations."
},
"securityProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:SecurityProfile",
"description": "Specifies the Security related profile settings for the virtual machine."
},
"storageProfile": {
"type": "object",
"$ref": "#/types/azure-native:compute:StorageProfile",
"description": "Specifies the storage settings for the virtual machine disks."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags"
},
"userData": {
"type": "string",
"description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01"
},
"virtualMachineScaleSet": {
"type": "object",
"$ref": "#/types/azure-native:compute:SubResource",
"description": "Specifies information about the virtual machine scale set that the virtual machine should be assigned to. Virtual machines specified in the same virtual machine scale set are allocated to different nodes to maximize availability. Currently, a VM can only be added to virtual machine scale set at creation time. An existing VM cannot be added to a virtual machine scale set. <br><br>This property cannot exist along with a non-null properties.availabilitySet reference. <br><br>Minimum api‐version: 2019‐03‐01"
},
"vmName": {
"type": "string",
"description": "The name of the virtual machine.",
"willReplaceOnChanges": true
},
"zones": {
"type": "array",
"items": {
"type": "string"
},
"description": "The virtual machine zones."
}
},
"requiredInputs": [
"resourceGroupName"
],
"aliases": [
{
"type": "azure-native:compute/v20150615:VirtualMachine"
},
{
"type": "azure-native:compute/v20160330:VirtualMachine"
},
{
"type": "azure-native:compute/v20160430preview:VirtualMachine"
},
{
"type": "azure-native:compute/v20170330:VirtualMachine"
},
{
"type": "azure-native:compute/v20171201:VirtualMachine"
},
{
"type": "azure-native:compute/v20180401:VirtualMachine"
},
{
"type": "azure-native:compute/v20180601:VirtualMachine"
},
{
"type": "azure-native:compute/v20181001:VirtualMachine"
},
{
"type": "azure-native:compute/v20190301:VirtualMachine"
},
{
"type": "azure-native:compute/v20190701:VirtualMachine"
},
{
"type": "azure-native:compute/v20191201:VirtualMachine"
},
{
"type": "azure-native:compute/v20200601:VirtualMachine"
},
{
"type": "azure-native:compute/v20201201:VirtualMachine"
},
{
"type": "azure-native:compute/v20210301:VirtualMachine"
},
{
"type": "azure-native:compute/v20210401:VirtualMachine"
},
{
"type": "azure-native:compute/v20210701:VirtualMachine"
},
{
"type": "azure-native:compute/v20211101:VirtualMachine"
},
{
"type": "azure-native:compute/v20220301:VirtualMachine"
},
{
"type": "azure-native:compute/v20220801:VirtualMachine"
},
{
"type": "azure-native:compute/v20221101:VirtualMachine"
},
{
"type": "azure-native:compute/v20230301:VirtualMachine"
}
]
},
"azure-native:network:NetworkInterface": {
"description": "A network interface in a resource group.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create network interface\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var networkInterface = new AzureNative.Network.NetworkInterface(\"networkInterface\", new()\n {\n EnableAcceleratedNetworking = true,\n IpConfigurations = new[]\n {\n \n {\n { \"name\", \"ipconfig1\" },\n { \"publicIPAddress\", new AzureNative.Network.Inputs.PublicIPAddressArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n } },\n { \"subnet\", new AzureNative.Network.Inputs.SubnetArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n } },\n },\n },\n Location = \"eastus\",\n NetworkInterfaceName = \"test-nic\",\n ResourceGroupName = \"rg1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewNetworkInterface(ctx, \"networkInterface\", &network.NetworkInterfaceArgs{\n\t\t\tEnableAcceleratedNetworking: pulumi.Bool(true),\n\t\t\tIpConfigurations: []network.NetworkInterfaceIPConfigurationArgs{\n\t\t\t\t{\n\t\t\t\t\tName: pulumi.String(\"ipconfig1\"),\n\t\t\t\t\tPublicIPAddress: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\"),\n\t\t\t\t\t},\n\t\t\t\t\tSubnet: {\n\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tNetworkInterfaceName: pulumi.String(\"test-nic\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.NetworkInterface;\nimport com.pulumi.azurenative.network.NetworkInterfaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var networkInterface = new NetworkInterface(\"networkInterface\", NetworkInterfaceArgs.builder() \n .enableAcceleratedNetworking(true)\n .ipConfigurations(Map.ofEntries(\n Map.entry(\"name\", \"ipconfig1\"),\n Map.entry(\"publicIPAddress\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\")),\n Map.entry(\"subnet\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\"))\n ))\n .location(\"eastus\")\n .networkInterfaceName(\"test-nic\")\n .resourceGroupName(\"rg1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst networkInterface = new azure_native.network.NetworkInterface(\"networkInterface\", {\n enableAcceleratedNetworking: true,\n ipConfigurations: [{\n name: \"ipconfig1\",\n publicIPAddress: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n },\n subnet: {\n id: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n },\n }],\n location: \"eastus\",\n networkInterfaceName: \"test-nic\",\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_interface = azure_native.network.NetworkInterface(\"networkInterface\",\n enable_accelerated_networking=True,\n ip_configurations=[azure_native.network.NetworkInterfaceIPConfigurationResponseArgs(\n name=\"ipconfig1\",\n public_ip_address=azure_native.network.PublicIPAddressArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\",\n ),\n subnet=azure_native.network.SubnetArgs(\n id=\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\",\n ),\n )],\n location=\"eastus\",\n network_interface_name=\"test-nic\",\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n networkInterface:\n type: azure-native:network:NetworkInterface\n properties:\n enableAcceleratedNetworking: true\n ipConfigurations:\n - name: ipconfig1\n publicIPAddress:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip\n subnet:\n id: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default\n location: eastus\n networkInterfaceName: test-nic\n resourceGroupName: rg1\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:NetworkInterface test-nic /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic \n```\n",
"properties": {
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceDnsSettingsResponse",
"description": "The DNS settings in network interface."
},
"dscpConfiguration": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "A reference to the dscp configuration to which the network interface is linked."
},
"enableAcceleratedNetworking": {
"type": "boolean",
"description": "If the network interface is accelerated networking enabled."
},
"enableIPForwarding": {
"type": "boolean",
"description": "Indicates whether IP forwarding is enabled on this network interface."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocationResponse",
"description": "The extended location of the network interface."
},
"hostedWorkloads": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of references to linked BareMetal resources."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfigurationResponse"
},
"description": "A list of IPConfigurations of the network interface."
},
"location": {
"type": "string",
"description": "Resource location."
},
"macAddress": {
"type": "string",
"description": "The MAC address of the network interface."
},
"migrationPhase": {
"type": "string",
"description": "Migration phase of Network Interface resource."
},
"name": {
"type": "string",
"description": "Resource name."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroupResponse",
"description": "The reference to the NetworkSecurityGroup resource."
},
"nicType": {
"type": "string",
"description": "Type of Network Interface resource."
},
"primary": {
"type": "boolean",
"description": "Whether this is a primary network interface on a virtual machine."
},
"privateEndpoint": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateEndpointResponse",
"description": "A reference to the private endpoint to which the network interface is linked."
},
"privateLinkService": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkServiceResponse",
"description": "Privatelinkservice of the network interface resource."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the network interface resource."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the network interface resource."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"tapConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceTapConfigurationResponse"
},
"description": "A list of TapConfigurations of the network interface."
},
"type": {
"type": "string",
"description": "Resource type."
},
"virtualMachine": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The reference to a virtual machine."
}
},
"type": "object",
"required": [
"dscpConfiguration",
"etag",
"hostedWorkloads",
"macAddress",
"name",
"primary",
"privateEndpoint",
"provisioningState",
"resourceGuid",
"tapConfigurations",
"type",
"virtualMachine"
],
"inputProperties": {
"dnsSettings": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceDnsSettings",
"description": "The DNS settings in network interface."
},
"enableAcceleratedNetworking": {
"type": "boolean",
"description": "If the network interface is accelerated networking enabled."
},
"enableIPForwarding": {
"type": "boolean",
"description": "Indicates whether IP forwarding is enabled on this network interface."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocation",
"description": "The extended location of the network interface."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkInterfaceIPConfiguration"
},
"description": "A list of IPConfigurations of the network interface."
},
"location": {
"type": "string",
"description": "Resource location."
},
"migrationPhase": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:NetworkInterfaceMigrationPhase"
}
],
"description": "Migration phase of Network Interface resource."
},
"networkInterfaceName": {
"type": "string",
"description": "The name of the network interface.",
"willReplaceOnChanges": true
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroup",
"description": "The reference to the NetworkSecurityGroup resource."
},
"nicType": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:NetworkInterfaceNicType"
}
],
"description": "Type of Network Interface resource."
},
"privateLinkService": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateLinkService",
"description": "Privatelinkservice of the network interface resource."
},
"resourceGroupName": {
"type": "string",
"description": "The name of the resource group.",
"willReplaceOnChanges": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
}
},
"requiredInputs": [
"resourceGroupName"
],
"aliases": [
{
"type": "azure-native:network/v20150501preview:NetworkInterface"
},
{
"type": "azure-native:network/v20150615:NetworkInterface"
},
{
"type": "azure-native:network/v20160330:NetworkInterface"
},
{
"type": "azure-native:network/v20160601:NetworkInterface"
},
{
"type": "azure-native:network/v20160901:NetworkInterface"
},
{
"type": "azure-native:network/v20161201:NetworkInterface"
},
{
"type": "azure-native:network/v20170301:NetworkInterface"
},
{
"type": "azure-native:network/v20170601:NetworkInterface"
},
{
"type": "azure-native:network/v20170801:NetworkInterface"
},
{
"type": "azure-native:network/v20170901:NetworkInterface"
},
{
"type": "azure-native:network/v20171001:NetworkInterface"
},
{
"type": "azure-native:network/v20171101:NetworkInterface"
},
{
"type": "azure-native:network/v20180101:NetworkInterface"
},
{
"type": "azure-native:network/v20180201:NetworkInterface"
},
{
"type": "azure-native:network/v20180401:NetworkInterface"
},
{
"type": "azure-native:network/v20180601:NetworkInterface"
},
{
"type": "azure-native:network/v20180701:NetworkInterface"
},
{
"type": "azure-native:network/v20180801:NetworkInterface"
},
{
"type": "azure-native:network/v20181001:NetworkInterface"
},
{
"type": "azure-native:network/v20181101:NetworkInterface"
},
{
"type": "azure-native:network/v20181201:NetworkInterface"
},
{
"type": "azure-native:network/v20190201:NetworkInterface"
},
{
"type": "azure-native:network/v20190401:NetworkInterface"
},
{
"type": "azure-native:network/v20190601:NetworkInterface"
},
{
"type": "azure-native:network/v20190701:NetworkInterface"
},
{
"type": "azure-native:network/v20190801:NetworkInterface"
},
{
"type": "azure-native:network/v20190901:NetworkInterface"
},
{
"type": "azure-native:network/v20191101:NetworkInterface"
},
{
"type": "azure-native:network/v20191201:NetworkInterface"
},
{
"type": "azure-native:network/v20200301:NetworkInterface"
},
{
"type": "azure-native:network/v20200401:NetworkInterface"
},
{
"type": "azure-native:network/v20200501:NetworkInterface"
},
{
"type": "azure-native:network/v20200601:NetworkInterface"
},
{
"type": "azure-native:network/v20200701:NetworkInterface"
},
{
"type": "azure-native:network/v20200801:NetworkInterface"
},
{
"type": "azure-native:network/v20201101:NetworkInterface"
},
{
"type": "azure-native:network/v20210201:NetworkInterface"
},
{
"type": "azure-native:network/v20210301:NetworkInterface"
},
{
"type": "azure-native:network/v20210501:NetworkInterface"
},
{
"type": "azure-native:network/v20210801:NetworkInterface"
},
{
"type": "azure-native:network/v20220101:NetworkInterface"
},
{
"type": "azure-native:network/v20220501:NetworkInterface"
},
{
"type": "azure-native:network/v20220701:NetworkInterface"
},
{
"type": "azure-native:network/v20220901:NetworkInterface"
}
]
},
"azure-native:network:Subnet": {
"description": "Subnet in a virtual network resource.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create subnet\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var subnet = new AzureNative.Network.Subnet(\"subnet\", new()\n {\n AddressPrefix = \"10.0.0.0/16\",\n ResourceGroupName = \"subnet-test\",\n SubnetName = \"subnet1\",\n VirtualNetworkName = \"vnetname\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewSubnet(ctx, \"subnet\", &network.SubnetArgs{\n\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/16\"),\n\t\t\tResourceGroupName: pulumi.String(\"subnet-test\"),\n\t\t\tSubnetName: pulumi.String(\"subnet1\"),\n\t\t\tVirtualNetworkName: pulumi.String(\"vnetname\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.Subnet;\nimport com.pulumi.azurenative.network.SubnetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var subnet = new Subnet(\"subnet\", SubnetArgs.builder() \n .addressPrefix(\"10.0.0.0/16\")\n .resourceGroupName(\"subnet-test\")\n .subnetName(\"subnet1\")\n .virtualNetworkName(\"vnetname\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst subnet = new azure_native.network.Subnet(\"subnet\", {\n addressPrefix: \"10.0.0.0/16\",\n resourceGroupName: \"subnet-test\",\n subnetName: \"subnet1\",\n virtualNetworkName: \"vnetname\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsubnet = azure_native.network.Subnet(\"subnet\",\n address_prefix=\"10.0.0.0/16\",\n resource_group_name=\"subnet-test\",\n subnet_name=\"subnet1\",\n virtual_network_name=\"vnetname\")\n\n```\n\n```yaml\nresources:\n subnet:\n type: azure-native:network:Subnet\n properties:\n addressPrefix: 10.0.0.0/16\n resourceGroupName: subnet-test\n subnetName: subnet1\n virtualNetworkName: vnetname\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create subnet with a delegation\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var subnet = new AzureNative.Network.Subnet(\"subnet\", new()\n {\n AddressPrefix = \"10.0.0.0/16\",\n ResourceGroupName = \"subnet-test\",\n SubnetName = \"subnet1\",\n VirtualNetworkName = \"vnetname\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewSubnet(ctx, \"subnet\", &network.SubnetArgs{\n\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/16\"),\n\t\t\tResourceGroupName: pulumi.String(\"subnet-test\"),\n\t\t\tSubnetName: pulumi.String(\"subnet1\"),\n\t\t\tVirtualNetworkName: pulumi.String(\"vnetname\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.Subnet;\nimport com.pulumi.azurenative.network.SubnetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var subnet = new Subnet(\"subnet\", SubnetArgs.builder() \n .addressPrefix(\"10.0.0.0/16\")\n .resourceGroupName(\"subnet-test\")\n .subnetName(\"subnet1\")\n .virtualNetworkName(\"vnetname\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst subnet = new azure_native.network.Subnet(\"subnet\", {\n addressPrefix: \"10.0.0.0/16\",\n resourceGroupName: \"subnet-test\",\n subnetName: \"subnet1\",\n virtualNetworkName: \"vnetname\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsubnet = azure_native.network.Subnet(\"subnet\",\n address_prefix=\"10.0.0.0/16\",\n resource_group_name=\"subnet-test\",\n subnet_name=\"subnet1\",\n virtual_network_name=\"vnetname\")\n\n```\n\n```yaml\nresources:\n subnet:\n type: azure-native:network:Subnet\n properties:\n addressPrefix: 10.0.0.0/16\n resourceGroupName: subnet-test\n subnetName: subnet1\n virtualNetworkName: vnetname\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create subnet with service endpoints\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var subnet = new AzureNative.Network.Subnet(\"subnet\", new()\n {\n AddressPrefix = \"10.0.0.0/16\",\n ResourceGroupName = \"subnet-test\",\n ServiceEndpoints = new[]\n {\n new AzureNative.Network.Inputs.ServiceEndpointPropertiesFormatArgs\n {\n Service = \"Microsoft.Storage\",\n },\n },\n SubnetName = \"subnet1\",\n VirtualNetworkName = \"vnetname\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewSubnet(ctx, \"subnet\", &network.SubnetArgs{\n\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/16\"),\n\t\t\tResourceGroupName: pulumi.String(\"subnet-test\"),\n\t\t\tServiceEndpoints: []network.ServiceEndpointPropertiesFormatArgs{\n\t\t\t\t{\n\t\t\t\t\tService: pulumi.String(\"Microsoft.Storage\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tSubnetName: pulumi.String(\"subnet1\"),\n\t\t\tVirtualNetworkName: pulumi.String(\"vnetname\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.Subnet;\nimport com.pulumi.azurenative.network.SubnetArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var subnet = new Subnet(\"subnet\", SubnetArgs.builder() \n .addressPrefix(\"10.0.0.0/16\")\n .resourceGroupName(\"subnet-test\")\n .serviceEndpoints(Map.of(\"service\", \"Microsoft.Storage\"))\n .subnetName(\"subnet1\")\n .virtualNetworkName(\"vnetname\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst subnet = new azure_native.network.Subnet(\"subnet\", {\n addressPrefix: \"10.0.0.0/16\",\n resourceGroupName: \"subnet-test\",\n serviceEndpoints: [{\n service: \"Microsoft.Storage\",\n }],\n subnetName: \"subnet1\",\n virtualNetworkName: \"vnetname\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsubnet = azure_native.network.Subnet(\"subnet\",\n address_prefix=\"10.0.0.0/16\",\n resource_group_name=\"subnet-test\",\n service_endpoints=[azure_native.network.ServiceEndpointPropertiesFormatArgs(\n service=\"Microsoft.Storage\",\n )],\n subnet_name=\"subnet1\",\n virtual_network_name=\"vnetname\")\n\n```\n\n```yaml\nresources:\n subnet:\n type: azure-native:network:Subnet\n properties:\n addressPrefix: 10.0.0.0/16\n resourceGroupName: subnet-test\n serviceEndpoints:\n - service: Microsoft.Storage\n subnetName: subnet1\n virtualNetworkName: vnetname\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:Subnet subnet1 /subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1 \n```\n",
"properties": {
"addressPrefix": {
"type": "string",
"description": "The address prefix for the subnet."
},
"addressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of address prefixes for the subnet."
},
"applicationGatewayIpConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayIPConfigurationResponse"
},
"description": "Application gateway IP configurations of virtual network resource."
},
"delegations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:DelegationResponse"
},
"description": "An array of references to the delegations on the subnet."
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"ipAllocations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "Array of IpAllocation which reference this subnet."
},
"ipConfigurationProfiles": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:IPConfigurationProfileResponse"
},
"description": "Array of IP configuration profiles which reference this subnet."
},
"ipConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:IPConfigurationResponse"
},
"description": "An array of references to the network interface IP configurations using subnet."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"natGateway": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "Nat gateway associated with this subnet."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroupResponse",
"description": "The reference to the NetworkSecurityGroup resource."
},
"privateEndpointNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"default": "Enabled"
},
"privateEndpoints": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:PrivateEndpointResponse"
},
"description": "An array of references to private endpoints."
},
"privateLinkServiceNetworkPolicies": {
"type": "string",
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"default": "Enabled"
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the subnet resource."
},
"purpose": {
"type": "string",
"description": "A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties."
},
"resourceNavigationLinks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ResourceNavigationLinkResponse"
},
"description": "An array of references to the external resources using subnet."
},
"routeTable": {
"type": "object",
"$ref": "#/types/azure-native:network:RouteTableResponse",
"description": "The reference to the RouteTable resource."
},
"serviceAssociationLinks": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceAssociationLinkResponse"
},
"description": "An array of references to services injecting into this subnet."
},
"serviceEndpointPolicies": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPolicyResponse"
},
"description": "An array of service endpoint policies."
},
"serviceEndpoints": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPropertiesFormatResponse"
},
"description": "An array of service endpoints."
},
"type": {
"type": "string",
"description": "Resource type."
}
},
"type": "object",
"required": [
"etag",
"ipConfigurationProfiles",
"ipConfigurations",
"privateEndpoints",
"provisioningState",
"purpose",
"resourceNavigationLinks",
"serviceAssociationLinks"
],
"inputProperties": {
"addressPrefix": {
"type": "string",
"description": "The address prefix for the subnet."
},
"addressPrefixes": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of address prefixes for the subnet."
},
"applicationGatewayIpConfigurations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ApplicationGatewayIPConfiguration"
},
"description": "Application gateway IP configurations of virtual network resource."
},
"delegations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:Delegation"
},
"description": "An array of references to the delegations on the subnet."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipAllocations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource"
},
"description": "Array of IpAllocation which reference this subnet."
},
"name": {
"type": "string",
"description": "The name of the resource that is unique within a resource group. This name can be used to access the resource."
},
"natGateway": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "Nat gateway associated with this subnet."
},
"networkSecurityGroup": {
"type": "object",
"$ref": "#/types/azure-native:network:NetworkSecurityGroup",
"description": "The reference to the NetworkSecurityGroup resource."
},
"privateEndpointNetworkPolicies": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:VirtualNetworkPrivateEndpointNetworkPolicies"
}
],
"description": "Enable or Disable apply network policies on private end point in the subnet.",
"default": "Enabled"
},
"privateLinkServiceNetworkPolicies": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "#/types/azure-native:network:VirtualNetworkPrivateLinkServiceNetworkPolicies"
}
],
"description": "Enable or Disable apply network policies on private link service in the subnet.",
"default": "Enabled"
},
"resourceGroupName": {
"type": "string",
"description": "The name of the resource group.",
"willReplaceOnChanges": true
},
"routeTable": {
"type": "object",
"$ref": "#/types/azure-native:network:RouteTable",
"description": "The reference to the RouteTable resource."
},
"serviceEndpointPolicies": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPolicy"
},
"description": "An array of service endpoint policies."
},
"serviceEndpoints": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:ServiceEndpointPropertiesFormat"
},
"description": "An array of service endpoints."
},
"subnetName": {
"type": "string",
"description": "The name of the subnet.",
"willReplaceOnChanges": true
},
"type": {
"type": "string",
"description": "Resource type."
},
"virtualNetworkName": {
"type": "string",
"description": "The name of the virtual network.",
"willReplaceOnChanges": true
}
},
"requiredInputs": [
"resourceGroupName",
"virtualNetworkName"
],
"aliases": [
{
"type": "azure-native:network/v20150501preview:Subnet"
},
{
"type": "azure-native:network/v20150615:Subnet"
},
{
"type": "azure-native:network/v20160330:Subnet"
},
{
"type": "azure-native:network/v20160601:Subnet"
},
{
"type": "azure-native:network/v20160901:Subnet"
},
{
"type": "azure-native:network/v20161201:Subnet"
},
{
"type": "azure-native:network/v20170301:Subnet"
},
{
"type": "azure-native:network/v20170601:Subnet"
},
{
"type": "azure-native:network/v20170801:Subnet"
},
{
"type": "azure-native:network/v20170901:Subnet"
},
{
"type": "azure-native:network/v20171001:Subnet"
},
{
"type": "azure-native:network/v20171101:Subnet"
},
{
"type": "azure-native:network/v20180101:Subnet"
},
{
"type": "azure-native:network/v20180201:Subnet"
},
{
"type": "azure-native:network/v20180401:Subnet"
},
{
"type": "azure-native:network/v20180601:Subnet"
},
{
"type": "azure-native:network/v20180701:Subnet"
},
{
"type": "azure-native:network/v20180801:Subnet"
},
{
"type": "azure-native:network/v20181001:Subnet"
},
{
"type": "azure-native:network/v20181101:Subnet"
},
{
"type": "azure-native:network/v20181201:Subnet"
},
{
"type": "azure-native:network/v20190201:Subnet"
},
{
"type": "azure-native:network/v20190401:Subnet"
},
{
"type": "azure-native:network/v20190601:Subnet"
},
{
"type": "azure-native:network/v20190701:Subnet"
},
{
"type": "azure-native:network/v20190801:Subnet"
},
{
"type": "azure-native:network/v20190901:Subnet"
},
{
"type": "azure-native:network/v20191101:Subnet"
},
{
"type": "azure-native:network/v20191201:Subnet"
},
{
"type": "azure-native:network/v20200301:Subnet"
},
{
"type": "azure-native:network/v20200401:Subnet"
},
{
"type": "azure-native:network/v20200501:Subnet"
},
{
"type": "azure-native:network/v20200601:Subnet"
},
{
"type": "azure-native:network/v20200701:Subnet"
},
{
"type": "azure-native:network/v20200801:Subnet"
},
{
"type": "azure-native:network/v20201101:Subnet"
},
{
"type": "azure-native:network/v20210201:Subnet"
},
{
"type": "azure-native:network/v20210301:Subnet"
},
{
"type": "azure-native:network/v20210501:Subnet"
},
{
"type": "azure-native:network/v20210801:Subnet"
},
{
"type": "azure-native:network/v20220101:Subnet"
},
{
"type": "azure-native:network/v20220501:Subnet"
},
{
"type": "azure-native:network/v20220701:Subnet"
},
{
"type": "azure-native:network/v20220901:Subnet"
}
]
},
"azure-native:network:VirtualNetwork": {
"description": "Virtual Network resource.\nAPI Version: 2020-11-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create virtual network\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n Location = \"eastus\",\n ResourceGroupName = \"rg1\",\n VirtualNetworkName = \"test-vnet\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tVirtualNetworkName: pulumi.String(\"test-vnet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .location(\"eastus\")\n .resourceGroupName(\"rg1\")\n .virtualNetworkName(\"test-vnet\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n location: \"eastus\",\n resourceGroupName: \"rg1\",\n virtualNetworkName: \"test-vnet\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n location=\"eastus\",\n resource_group_name=\"rg1\",\n virtual_network_name=\"test-vnet\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n location: eastus\n resourceGroupName: rg1\n virtualNetworkName: test-vnet\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create virtual network with Bgp Communities\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n BgpCommunities = new AzureNative.Network.Inputs.VirtualNetworkBgpCommunitiesArgs\n {\n VirtualNetworkCommunity = \"12076:20000\",\n },\n Location = \"eastus\",\n ResourceGroupName = \"rg1\",\n Subnets = new[]\n {\n new AzureNative.Network.Inputs.SubnetArgs\n {\n AddressPrefix = \"10.0.0.0/24\",\n Name = \"test-1\",\n },\n },\n VirtualNetworkName = \"test-vnet\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tBgpCommunities: &network.VirtualNetworkBgpCommunitiesArgs{\n\t\t\t\tVirtualNetworkCommunity: pulumi.String(\"12076:20000\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSubnets: []network.SubnetTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/24\"),\n\t\t\t\t\tName: pulumi.String(\"test-1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tVirtualNetworkName: pulumi.String(\"test-vnet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .bgpCommunities(Map.of(\"virtualNetworkCommunity\", \"12076:20000\"))\n .location(\"eastus\")\n .resourceGroupName(\"rg1\")\n .subnets(Map.ofEntries(\n Map.entry(\"addressPrefix\", \"10.0.0.0/24\"),\n Map.entry(\"name\", \"test-1\")\n ))\n .virtualNetworkName(\"test-vnet\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n bgpCommunities: {\n virtualNetworkCommunity: \"12076:20000\",\n },\n location: \"eastus\",\n resourceGroupName: \"rg1\",\n subnets: [{\n addressPrefix: \"10.0.0.0/24\",\n name: \"test-1\",\n }],\n virtualNetworkName: \"test-vnet\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n bgp_communities=azure_native.network.VirtualNetworkBgpCommunitiesArgs(\n virtual_network_community=\"12076:20000\",\n ),\n location=\"eastus\",\n resource_group_name=\"rg1\",\n subnets=[azure_native.network.SubnetArgs(\n address_prefix=\"10.0.0.0/24\",\n name=\"test-1\",\n )],\n virtual_network_name=\"test-vnet\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n bgpCommunities:\n virtualNetworkCommunity: 12076:20000\n location: eastus\n resourceGroupName: rg1\n subnets:\n - addressPrefix: 10.0.0.0/24\n name: test-1\n virtualNetworkName: test-vnet\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create virtual network with delegated subnets\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n Location = \"westcentralus\",\n ResourceGroupName = \"rg1\",\n Subnets = new[]\n {\n new AzureNative.Network.Inputs.SubnetArgs\n {\n AddressPrefix = \"10.0.0.0/24\",\n Delegations = new[]\n {\n new AzureNative.Network.Inputs.DelegationArgs\n {\n Name = \"myDelegation\",\n ServiceName = \"Microsoft.Sql/managedInstances\",\n },\n },\n Name = \"test-1\",\n },\n },\n VirtualNetworkName = \"test-vnet\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"westcentralus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSubnets: []network.SubnetTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/24\"),\n\t\t\t\t\tDelegations: network.DelegationArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tName: pulumi.String(\"myDelegation\"),\n\t\t\t\t\t\t\tServiceName: pulumi.String(\"Microsoft.Sql/managedInstances\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"test-1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tVirtualNetworkName: pulumi.String(\"test-vnet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .location(\"westcentralus\")\n .resourceGroupName(\"rg1\")\n .subnets(Map.ofEntries(\n Map.entry(\"addressPrefix\", \"10.0.0.0/24\"),\n Map.entry(\"delegations\", Map.ofEntries(\n Map.entry(\"name\", \"myDelegation\"),\n Map.entry(\"serviceName\", \"Microsoft.Sql/managedInstances\")\n )),\n Map.entry(\"name\", \"test-1\")\n ))\n .virtualNetworkName(\"test-vnet\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n location: \"westcentralus\",\n resourceGroupName: \"rg1\",\n subnets: [{\n addressPrefix: \"10.0.0.0/24\",\n delegations: [{\n name: \"myDelegation\",\n serviceName: \"Microsoft.Sql/managedInstances\",\n }],\n name: \"test-1\",\n }],\n virtualNetworkName: \"test-vnet\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n location=\"westcentralus\",\n resource_group_name=\"rg1\",\n subnets=[{\n \"addressPrefix\": \"10.0.0.0/24\",\n \"delegations\": [azure_native.network.DelegationArgs(\n name=\"myDelegation\",\n service_name=\"Microsoft.Sql/managedInstances\",\n )],\n \"name\": \"test-1\",\n }],\n virtual_network_name=\"test-vnet\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n location: westcentralus\n resourceGroupName: rg1\n subnets:\n - addressPrefix: 10.0.0.0/24\n delegations:\n - name: myDelegation\n serviceName: Microsoft.Sql/managedInstances\n name: test-1\n virtualNetworkName: test-vnet\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create virtual network with service endpoints\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n Location = \"eastus\",\n ResourceGroupName = \"vnetTest\",\n Subnets = new[]\n {\n new AzureNative.Network.Inputs.SubnetArgs\n {\n AddressPrefix = \"10.0.0.0/16\",\n Name = \"test-1\",\n ServiceEndpoints = new[]\n {\n new AzureNative.Network.Inputs.ServiceEndpointPropertiesFormatArgs\n {\n Service = \"Microsoft.Storage\",\n },\n },\n },\n },\n VirtualNetworkName = \"vnet1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tResourceGroupName: pulumi.String(\"vnetTest\"),\n\t\t\tSubnets: []network.SubnetTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t\tName: pulumi.String(\"test-1\"),\n\t\t\t\t\tServiceEndpoints: network.ServiceEndpointPropertiesFormatArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tService: pulumi.String(\"Microsoft.Storage\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tVirtualNetworkName: pulumi.String(\"vnet1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .location(\"eastus\")\n .resourceGroupName(\"vnetTest\")\n .subnets(Map.ofEntries(\n Map.entry(\"addressPrefix\", \"10.0.0.0/16\"),\n Map.entry(\"name\", \"test-1\"),\n Map.entry(\"serviceEndpoints\", Map.of(\"service\", \"Microsoft.Storage\"))\n ))\n .virtualNetworkName(\"vnet1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n location: \"eastus\",\n resourceGroupName: \"vnetTest\",\n subnets: [{\n addressPrefix: \"10.0.0.0/16\",\n name: \"test-1\",\n serviceEndpoints: [{\n service: \"Microsoft.Storage\",\n }],\n }],\n virtualNetworkName: \"vnet1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n location=\"eastus\",\n resource_group_name=\"vnetTest\",\n subnets=[{\n \"addressPrefix\": \"10.0.0.0/16\",\n \"name\": \"test-1\",\n \"serviceEndpoints\": [azure_native.network.ServiceEndpointPropertiesFormatArgs(\n service=\"Microsoft.Storage\",\n )],\n }],\n virtual_network_name=\"vnet1\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n location: eastus\n resourceGroupName: vnetTest\n subnets:\n - addressPrefix: 10.0.0.0/16\n name: test-1\n serviceEndpoints:\n - service: Microsoft.Storage\n virtualNetworkName: vnet1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create virtual network with service endpoints and service endpoint policy\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n Location = \"eastus2euap\",\n ResourceGroupName = \"vnetTest\",\n Subnets = new[]\n {\n new AzureNative.Network.Inputs.SubnetArgs\n {\n AddressPrefix = \"10.0.0.0/16\",\n Name = \"test-1\",\n ServiceEndpointPolicies = new[]\n {\n new AzureNative.Network.Inputs.ServiceEndpointPolicyArgs\n {\n Id = \"/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1\",\n },\n },\n ServiceEndpoints = new[]\n {\n new AzureNative.Network.Inputs.ServiceEndpointPropertiesFormatArgs\n {\n Service = \"Microsoft.Storage\",\n },\n },\n },\n },\n VirtualNetworkName = \"vnet1\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus2euap\"),\n\t\t\tResourceGroupName: pulumi.String(\"vnetTest\"),\n\t\t\tSubnets: []network.SubnetTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t\tName: pulumi.String(\"test-1\"),\n\t\t\t\t\tServiceEndpointPolicies: network.ServiceEndpointPolicyTypeArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tId: pulumi.String(\"/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t\tServiceEndpoints: network.ServiceEndpointPropertiesFormatArray{\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tService: pulumi.String(\"Microsoft.Storage\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tVirtualNetworkName: pulumi.String(\"vnet1\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .location(\"eastus2euap\")\n .resourceGroupName(\"vnetTest\")\n .subnets(Map.ofEntries(\n Map.entry(\"addressPrefix\", \"10.0.0.0/16\"),\n Map.entry(\"name\", \"test-1\"),\n Map.entry(\"serviceEndpointPolicies\", Map.of(\"id\", \"/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1\")),\n Map.entry(\"serviceEndpoints\", Map.of(\"service\", \"Microsoft.Storage\"))\n ))\n .virtualNetworkName(\"vnet1\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n location: \"eastus2euap\",\n resourceGroupName: \"vnetTest\",\n subnets: [{\n addressPrefix: \"10.0.0.0/16\",\n name: \"test-1\",\n serviceEndpointPolicies: [{\n id: \"/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1\",\n }],\n serviceEndpoints: [{\n service: \"Microsoft.Storage\",\n }],\n }],\n virtualNetworkName: \"vnet1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n location=\"eastus2euap\",\n resource_group_name=\"vnetTest\",\n subnets=[{\n \"addressPrefix\": \"10.0.0.0/16\",\n \"name\": \"test-1\",\n \"serviceEndpointPolicies\": [azure_native.network.ServiceEndpointPolicyArgs(\n id=\"/subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1\",\n )],\n \"serviceEndpoints\": [azure_native.network.ServiceEndpointPropertiesFormatArgs(\n service=\"Microsoft.Storage\",\n )],\n }],\n virtual_network_name=\"vnet1\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n location: eastus2euap\n resourceGroupName: vnetTest\n subnets:\n - addressPrefix: 10.0.0.0/16\n name: test-1\n serviceEndpointPolicies:\n - id: /subscriptions/subid/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1\n serviceEndpoints:\n - service: Microsoft.Storage\n virtualNetworkName: vnet1\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create virtual network with subnet\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n Location = \"eastus\",\n ResourceGroupName = \"rg1\",\n Subnets = new[]\n {\n new AzureNative.Network.Inputs.SubnetArgs\n {\n AddressPrefix = \"10.0.0.0/24\",\n Name = \"test-1\",\n },\n },\n VirtualNetworkName = \"test-vnet\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSubnets: []network.SubnetTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tAddressPrefix: pulumi.String(\"10.0.0.0/24\"),\n\t\t\t\t\tName: pulumi.String(\"test-1\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tVirtualNetworkName: pulumi.String(\"test-vnet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .location(\"eastus\")\n .resourceGroupName(\"rg1\")\n .subnets(Map.ofEntries(\n Map.entry(\"addressPrefix\", \"10.0.0.0/24\"),\n Map.entry(\"name\", \"test-1\")\n ))\n .virtualNetworkName(\"test-vnet\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n location: \"eastus\",\n resourceGroupName: \"rg1\",\n subnets: [{\n addressPrefix: \"10.0.0.0/24\",\n name: \"test-1\",\n }],\n virtualNetworkName: \"test-vnet\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n location=\"eastus\",\n resource_group_name=\"rg1\",\n subnets=[azure_native.network.SubnetArgs(\n address_prefix=\"10.0.0.0/24\",\n name=\"test-1\",\n )],\n virtual_network_name=\"test-vnet\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n location: eastus\n resourceGroupName: rg1\n subnets:\n - addressPrefix: 10.0.0.0/24\n name: test-1\n virtualNetworkName: test-vnet\n\n```\n\n{{% /example %}}\n{{% example %}}\n### Create virtual network with subnet containing address prefixes\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var virtualNetwork = new AzureNative.Network.VirtualNetwork(\"virtualNetwork\", new()\n {\n AddressSpace = new AzureNative.Network.Inputs.AddressSpaceArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/16\",\n },\n },\n Location = \"eastus\",\n ResourceGroupName = \"rg1\",\n Subnets = new[]\n {\n new AzureNative.Network.Inputs.SubnetArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/28\",\n \"10.0.1.0/28\",\n },\n Name = \"test-2\",\n },\n },\n VirtualNetworkName = \"test-vnet\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tnetwork \"github.com/pulumi/pulumi-azure-native-sdk/network\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := network.NewVirtualNetwork(ctx, \"virtualNetwork\", &network.VirtualNetworkArgs{\n\t\t\tAddressSpace: &network.AddressSpaceArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/16\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSubnets: []network.SubnetTypeArgs{\n\t\t\t\t{\n\t\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"10.0.0.0/28\"),\n\t\t\t\t\t\tpulumi.String(\"10.0.1.0/28\"),\n\t\t\t\t\t},\n\t\t\t\t\tName: pulumi.String(\"test-2\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tVirtualNetworkName: pulumi.String(\"test-vnet\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.network.VirtualNetwork;\nimport com.pulumi.azurenative.network.VirtualNetworkArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var virtualNetwork = new VirtualNetwork(\"virtualNetwork\", VirtualNetworkArgs.builder() \n .addressSpace(Map.of(\"addressPrefixes\", \"10.0.0.0/16\"))\n .location(\"eastus\")\n .resourceGroupName(\"rg1\")\n .subnets(Map.ofEntries(\n Map.entry(\"addressPrefixes\", \n \"10.0.0.0/28\",\n \"10.0.1.0/28\"),\n Map.entry(\"name\", \"test-2\")\n ))\n .virtualNetworkName(\"test-vnet\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst virtualNetwork = new azure_native.network.VirtualNetwork(\"virtualNetwork\", {\n addressSpace: {\n addressPrefixes: [\"10.0.0.0/16\"],\n },\n location: \"eastus\",\n resourceGroupName: \"rg1\",\n subnets: [{\n addressPrefixes: [\n \"10.0.0.0/28\",\n \"10.0.1.0/28\",\n ],\n name: \"test-2\",\n }],\n virtualNetworkName: \"test-vnet\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_network = azure_native.network.VirtualNetwork(\"virtualNetwork\",\n address_space=azure_native.network.AddressSpaceArgs(\n address_prefixes=[\"10.0.0.0/16\"],\n ),\n location=\"eastus\",\n resource_group_name=\"rg1\",\n subnets=[azure_native.network.SubnetArgs(\n address_prefixes=[\n \"10.0.0.0/28\",\n \"10.0.1.0/28\",\n ],\n name=\"test-2\",\n )],\n virtual_network_name=\"test-vnet\")\n\n```\n\n```yaml\nresources:\n virtualNetwork:\n type: azure-native:network:VirtualNetwork\n properties:\n addressSpace:\n addressPrefixes:\n - 10.0.0.0/16\n location: eastus\n resourceGroupName: rg1\n subnets:\n - addressPrefixes:\n - 10.0.0.0/28\n - 10.0.1.0/28\n name: test-2\n virtualNetworkName: test-vnet\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:network:VirtualNetwork test-vnet /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet \n```\n",
"properties": {
"addressSpace": {
"type": "object",
"$ref": "#/types/azure-native:network:AddressSpaceResponse",
"description": "The AddressSpace that contains an array of IP address ranges that can be used by subnets."
},
"bgpCommunities": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkBgpCommunitiesResponse",
"description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET."
},
"ddosProtectionPlan": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse",
"description": "The DDoS protection plan associated with the virtual network."
},
"dhcpOptions": {
"type": "object",
"$ref": "#/types/azure-native:network:DhcpOptionsResponse",
"description": "The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network."
},
"enableDdosProtection": {
"type": "boolean",
"description": "Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.",
"default": false
},
"enableVmProtection": {
"type": "boolean",
"description": "Indicates if VM protection is enabled for all the subnets in the virtual network.",
"default": false
},
"etag": {
"type": "string",
"description": "A unique read-only string that changes whenever the resource is updated."
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocationResponse",
"description": "The extended location of the virtual network."
},
"ipAllocations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResourceResponse"
},
"description": "Array of IpAllocation which reference this VNET."
},
"location": {
"type": "string",
"description": "Resource location."
},
"name": {
"type": "string",
"description": "Resource name."
},
"provisioningState": {
"type": "string",
"description": "The provisioning state of the virtual network resource."
},
"resourceGuid": {
"type": "string",
"description": "The resourceGuid property of the Virtual Network resource."
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubnetResponse"
},
"description": "A list of subnets in a Virtual Network."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"type": {
"type": "string",
"description": "Resource type."
},
"virtualNetworkPeerings": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkPeeringResponse"
},
"description": "A list of peerings in a Virtual Network."
}
},
"type": "object",
"required": [
"etag",
"name",
"provisioningState",
"resourceGuid",
"type"
],
"inputProperties": {
"addressSpace": {
"type": "object",
"$ref": "#/types/azure-native:network:AddressSpace",
"description": "The AddressSpace that contains an array of IP address ranges that can be used by subnets."
},
"bgpCommunities": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkBgpCommunities",
"description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET."
},
"ddosProtectionPlan": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource",
"description": "The DDoS protection plan associated with the virtual network."
},
"dhcpOptions": {
"type": "object",
"$ref": "#/types/azure-native:network:DhcpOptions",
"description": "The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network."
},
"enableDdosProtection": {
"type": "boolean",
"description": "Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.",
"default": false
},
"enableVmProtection": {
"type": "boolean",
"description": "Indicates if VM protection is enabled for all the subnets in the virtual network.",
"default": false
},
"extendedLocation": {
"type": "object",
"$ref": "#/types/azure-native:network:ExtendedLocation",
"description": "The extended location of the virtual network."
},
"id": {
"type": "string",
"description": "Resource ID."
},
"ipAllocations": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:SubResource"
},
"description": "Array of IpAllocation which reference this VNET."
},
"location": {
"type": "string",
"description": "Resource location.",
"willReplaceOnChanges": true
},
"resourceGroupName": {
"type": "string",
"description": "The name of the resource group.",
"willReplaceOnChanges": true
},
"subnets": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:Subnet"
},
"description": "A list of subnets in a Virtual Network."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Resource tags."
},
"virtualNetworkName": {
"type": "string",
"description": "The name of the virtual network.",
"willReplaceOnChanges": true
},
"virtualNetworkPeerings": {
"type": "array",
"items": {
"type": "object",
"$ref": "#/types/azure-native:network:VirtualNetworkPeering"
},
"description": "A list of peerings in a Virtual Network."
}
},
"requiredInputs": [
"resourceGroupName"
],
"aliases": [
{
"type": "azure-native:network/v20150501preview:VirtualNetwork"
},
{
"type": "azure-native:network/v20150615:VirtualNetwork"
},
{
"type": "azure-native:network/v20160330:VirtualNetwork"
},
{
"type": "azure-native:network/v20160601:VirtualNetwork"
},
{
"type": "azure-native:network/v20160901:VirtualNetwork"
},
{
"type": "azure-native:network/v20161201:VirtualNetwork"
},
{
"type": "azure-native:network/v20170301:VirtualNetwork"
},
{
"type": "azure-native:network/v20170601:VirtualNetwork"
},
{
"type": "azure-native:network/v20170801:VirtualNetwork"
},
{
"type": "azure-native:network/v20170901:VirtualNetwork"
},
{
"type": "azure-native:network/v20171001:VirtualNetwork"
},
{
"type": "azure-native:network/v20171101:VirtualNetwork"
},
{
"type": "azure-native:network/v20180101:VirtualNetwork"
},
{
"type": "azure-native:network/v20180201:VirtualNetwork"
},
{
"type": "azure-native:network/v20180401:VirtualNetwork"
},
{
"type": "azure-native:network/v20180601:VirtualNetwork"
},
{
"type": "azure-native:network/v20180701:VirtualNetwork"
},
{
"type": "azure-native:network/v20180801:VirtualNetwork"
},
{
"type": "azure-native:network/v20181001:VirtualNetwork"
},
{
"type": "azure-native:network/v20181101:VirtualNetwork"
},
{
"type": "azure-native:network/v20181201:VirtualNetwork"
},
{
"type": "azure-native:network/v20190201:VirtualNetwork"
},
{
"type": "azure-native:network/v20190401:VirtualNetwork"
},
{
"type": "azure-native:network/v20190601:VirtualNetwork"
},
{
"type": "azure-native:network/v20190701:VirtualNetwork"
},
{
"type": "azure-native:network/v20190801:VirtualNetwork"
},
{
"type": "azure-native:network/v20190901:VirtualNetwork"
},
{
"type": "azure-native:network/v20191101:VirtualNetwork"
},
{
"type": "azure-native:network/v20191201:VirtualNetwork"
},
{
"type": "azure-native:network/v20200301:VirtualNetwork"
},
{
"type": "azure-native:network/v20200401:VirtualNetwork"
},
{
"type": "azure-native:network/v20200501:VirtualNetwork"
},
{
"type": "azure-native:network/v20200601:VirtualNetwork"
},
{
"type": "azure-native:network/v20200701:VirtualNetwork"
},
{
"type": "azure-native:network/v20200801:VirtualNetwork"
},
{
"type": "azure-native:network/v20201101:VirtualNetwork"
},
{
"type": "azure-native:network/v20210201:VirtualNetwork"
},
{
"type": "azure-native:network/v20210301:VirtualNetwork"
},
{
"type": "azure-native:network/v20210501:VirtualNetwork"
},
{
"type": "azure-native:network/v20210801:VirtualNetwork"
},
{
"type": "azure-native:network/v20220101:VirtualNetwork"
},
{
"type": "azure-native:network/v20220501:VirtualNetwork"
},
{
"type": "azure-native:network/v20220701:VirtualNetwork"
},
{
"type": "azure-native:network/v20220901:VirtualNetwork"
}
]
},
"azure-native:resources:ResourceGroup": {
"description": "Resource group information.\nAPI Version: 2019-05-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### Create or update a resource group\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() => \n{\n var resourceGroup = new AzureNative.Resources.ResourceGroup(\"resourceGroup\", new()\n {\n Location = \"eastus\",\n ResourceGroupName = \"myResourceGroup\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tresources \"github.com/pulumi/pulumi-azure-native-sdk/resources\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := resources.NewResourceGroup(ctx, \"resourceGroup\", &resources.ResourceGroupArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tResourceGroupName: pulumi.String(\"myResourceGroup\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n\n```\n\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.azurenative.resources.ResourceGroup;\nimport com.pulumi.azurenative.resources.ResourceGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var resourceGroup = new ResourceGroup(\"resourceGroup\", ResourceGroupArgs.builder() \n .location(\"eastus\")\n .resourceGroupName(\"myResourceGroup\")\n .build());\n\n }\n}\n\n```\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as azure_native from \"@pulumi/azure-native\";\n\nconst resourceGroup = new azure_native.resources.ResourceGroup(\"resourceGroup\", {\n location: \"eastus\",\n resourceGroupName: \"myResourceGroup\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nresource_group = azure_native.resources.ResourceGroup(\"resourceGroup\",\n location=\"eastus\",\n resource_group_name=\"myResourceGroup\")\n\n```\n\n```yaml\nresources:\n resourceGroup:\n type: azure-native:resources:ResourceGroup\n properties:\n location: eastus\n resourceGroupName: myResourceGroup\n\n```\n\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nAn existing resource can be imported using its type token, name, and identifier, e.g.\n\n```sh\n$ pulumi import azure-native:resources:ResourceGroup myResourceGroup /subscriptions/{subscription-id}/resourceGroups/myResourceGroup \n```\n",
"properties": {
"location": {
"type": "string",
"description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations."
},
"managedBy": {
"type": "string",
"description": "The ID of the resource that manages this resource group."
},
"name": {
"type": "string",
"description": "The name of the resource group."
},
"properties": {
"type": "object",
"$ref": "#/types/azure-native:resources:ResourceGroupPropertiesResponse",
"description": "The resource group properties."
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags attached to the resource group."
},
"type": {
"type": "string",
"description": "The type of the resource group."
}
},
"type": "object",
"required": [
"location",
"name",
"properties",
"type"
],
"inputProperties": {
"location": {
"type": "string",
"description": "The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.",
"willReplaceOnChanges": true
},
"managedBy": {
"type": "string",
"description": "The ID of the resource that manages this resource group."
},
"resourceGroupName": {
"type": "string",
"description": "The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.",
"willReplaceOnChanges": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "The tags attached to the resource group."
}
},
"aliases": [
{
"type": "azure-native:resources/v20151101:ResourceGroup"
},
{
"type": "azure-native:resources/v20160201:ResourceGroup"
},
{
"type": "azure-native:resources/v20160701:ResourceGroup"
},
{
"type": "azure-native:resources/v20160901:ResourceGroup"
},
{
"type": "azure-native:resources/v20170510:ResourceGroup"
},
{
"type": "azure-native:resources/v20180201:ResourceGroup"
},
{
"type": "azure-native:resources/v20180501:ResourceGroup"
},
{
"type": "azure-native:resources/v20190301:ResourceGroup"
},
{
"type": "azure-native:resources/v20190501:ResourceGroup"
},
{
"type": "azure-native:resources/v20190510:ResourceGroup"
},
{
"type": "azure-native:resources/v20190701:ResourceGroup"
},
{
"type": "azure-native:resources/v20190801:ResourceGroup"
},
{
"type": "azure-native:resources/v20191001:ResourceGroup"
},
{
"type": "azure-native:resources/v20200601:ResourceGroup"
},
{
"type": "azure-native:resources/v20200801:ResourceGroup"
},
{
"type": "azure-native:resources/v20201001:ResourceGroup"
},
{
"type": "azure-native:resources/v20210101:ResourceGroup"
},
{
"type": "azure-native:resources/v20210401:ResourceGroup"
},
{
"type": "azure-native:resources/v20220901:ResourceGroup"
}
]
}
},
"functions": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment