diff --git a/azure-rest-api-specs b/azure-rest-api-specs index 1b038fc40563..1ba45961eaed 160000 --- a/azure-rest-api-specs +++ b/azure-rest-api-specs @@ -1 +1 @@ -Subproject commit 1b038fc40563bdafb343a71cd5f7d3dee6bc4b5b +Subproject commit 1ba45961eaedf8d322a27d976dec39119c22c704 diff --git a/provider/cmd/pulumi-resource-azure-native/schema.json b/provider/cmd/pulumi-resource-azure-native/schema.json index a23bcfb9aa74..b49f8b9d1181 100644 --- a/provider/cmd/pulumi-resource-azure-native/schema.json +++ b/provider/cmd/pulumi-resource-azure-native/schema.json @@ -581932,7 +581932,7 @@ ] }, "azure-native:azurestackhci:GalleryImage": { - "description": "The gallery images resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var galleryImage = new AzureNative.AzureStackHCI.GalleryImage(\"galleryImage\", new()\n {\n ContainerName = \"Default_Container\",\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n GalleryImageName = \"test-gallery-image\",\n ImagePath = \"C:\\\\test.vhdx\",\n Location = \"West US2\",\n ResourceGroupName = \"test-rg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewGalleryImage(ctx, \"galleryImage\", \u0026azurestackhci.GalleryImageArgs{\n\t\t\tContainerName: pulumi.String(\"Default_Container\"),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tGalleryImageName: pulumi.String(\"test-gallery-image\"),\n\t\t\tImagePath: pulumi.String(\"C:\\\\test.vhdx\"),\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\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.azurestackhci.GalleryImage;\nimport com.pulumi.azurenative.azurestackhci.GalleryImageArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 galleryImage = new GalleryImage(\"galleryImage\", GalleryImageArgs.builder()\n .containerName(\"Default_Container\")\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .galleryImageName(\"test-gallery-image\")\n .imagePath(\"C:\\\\test.vhdx\")\n .location(\"West US2\")\n .resourceGroupName(\"test-rg\")\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 galleryImage = new azure_native.azurestackhci.GalleryImage(\"galleryImage\", {\n containerName: \"Default_Container\",\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n galleryImageName: \"test-gallery-image\",\n imagePath: \"C:\\\\test.vhdx\",\n location: \"West US2\",\n resourceGroupName: \"test-rg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ngallery_image = azure_native.azurestackhci.GalleryImage(\"galleryImage\",\n container_name=\"Default_Container\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n gallery_image_name=\"test-gallery-image\",\n image_path=\"C:\\\\test.vhdx\",\n location=\"West US2\",\n resource_group_name=\"test-rg\")\n\n```\n\n```yaml\nresources:\n galleryImage:\n type: azure-native:azurestackhci:GalleryImage\n properties:\n containerName: Default_Container\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n galleryImageName: test-gallery-image\n imagePath: C:\\test.vhdx\n location: West US2\n resourceGroupName: test-rg\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:azurestackhci:GalleryImage test-gallery-image /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName} \n```\n", + "description": "The gallery images resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var galleryImage = new AzureNative.AzureStackHCI.GalleryImage(\"galleryImage\", new()\n {\n ContainerName = \"Default_Container\",\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n GalleryImageName = \"test-gallery-image\",\n ImagePath = \"C:\\\\test.vhdx\",\n Location = \"West US2\",\n ResourceGroupName = \"test-rg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewGalleryImage(ctx, \"galleryImage\", \u0026azurestackhci.GalleryImageArgs{\n\t\t\tContainerName: pulumi.String(\"Default_Container\"),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tGalleryImageName: pulumi.String(\"test-gallery-image\"),\n\t\t\tImagePath: pulumi.String(\"C:\\\\test.vhdx\"),\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\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.azurestackhci.GalleryImage;\nimport com.pulumi.azurenative.azurestackhci.GalleryImageArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 galleryImage = new GalleryImage(\"galleryImage\", GalleryImageArgs.builder()\n .containerName(\"Default_Container\")\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .galleryImageName(\"test-gallery-image\")\n .imagePath(\"C:\\\\test.vhdx\")\n .location(\"West US2\")\n .resourceGroupName(\"test-rg\")\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 galleryImage = new azure_native.azurestackhci.GalleryImage(\"galleryImage\", {\n containerName: \"Default_Container\",\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n galleryImageName: \"test-gallery-image\",\n imagePath: \"C:\\\\test.vhdx\",\n location: \"West US2\",\n resourceGroupName: \"test-rg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\ngallery_image = azure_native.azurestackhci.GalleryImage(\"galleryImage\",\n container_name=\"Default_Container\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n gallery_image_name=\"test-gallery-image\",\n image_path=\"C:\\\\test.vhdx\",\n location=\"West US2\",\n resource_group_name=\"test-rg\")\n\n```\n\n```yaml\nresources:\n galleryImage:\n type: azure-native:azurestackhci:GalleryImage\n properties:\n containerName: Default_Container\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n galleryImageName: test-gallery-image\n imagePath: C:\\test.vhdx\n location: West US2\n resourceGroupName: test-rg\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:azurestackhci:GalleryImage test-gallery-image /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/galleryImages/{galleryImageName} \n```\n", "properties": { "cloudInitDataSource": { "type": "string", @@ -582118,11 +582118,14 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:GalleryImage" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:GalleryImage" } ] }, "azure-native:azurestackhci:GuestAgent": { - "description": "Defines the GuestAgent.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateGuestAgent\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var guestAgent = new AzureNative.AzureStackHCI.GuestAgent(\"guestAgent\", new()\n {\n Credentials = new AzureNative.AzureStackHCI.Inputs.GuestCredentialArgs\n {\n Password = \"\u003cpassword\u003e\",\n Username = \"tempuser\",\n },\n Name = \"default\",\n ProvisioningAction = AzureNative.AzureStackHCI.ProvisioningAction.Install,\n ResourceGroupName = \"testrg\",\n VirtualMachineName = \"ContosoVm\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewGuestAgent(ctx, \"guestAgent\", \u0026azurestackhci.GuestAgentArgs{\n\t\t\tCredentials: \u0026azurestackhci.GuestCredentialArgs{\n\t\t\t\tPassword: pulumi.String(\"\u003cpassword\u003e\"),\n\t\t\t\tUsername: pulumi.String(\"tempuser\"),\n\t\t\t},\n\t\t\tName: pulumi.String(\"default\"),\n\t\t\tProvisioningAction: pulumi.String(azurestackhci.ProvisioningActionInstall),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tVirtualMachineName: pulumi.String(\"ContosoVm\"),\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.azurestackhci.GuestAgent;\nimport com.pulumi.azurenative.azurestackhci.GuestAgentArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.GuestCredentialArgs;\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 guestAgent = new GuestAgent(\"guestAgent\", GuestAgentArgs.builder()\n .credentials(GuestCredentialArgs.builder()\n .password(\"\u003cpassword\u003e\")\n .username(\"tempuser\")\n .build())\n .name(\"default\")\n .provisioningAction(\"install\")\n .resourceGroupName(\"testrg\")\n .virtualMachineName(\"ContosoVm\")\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 guestAgent = new azure_native.azurestackhci.GuestAgent(\"guestAgent\", {\n credentials: {\n password: \"\u003cpassword\u003e\",\n username: \"tempuser\",\n },\n name: \"default\",\n provisioningAction: azure_native.azurestackhci.ProvisioningAction.Install,\n resourceGroupName: \"testrg\",\n virtualMachineName: \"ContosoVm\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nguest_agent = azure_native.azurestackhci.GuestAgent(\"guestAgent\",\n credentials={\n \"password\": \"\u003cpassword\u003e\",\n \"username\": \"tempuser\",\n },\n name=\"default\",\n provisioning_action=azure_native.azurestackhci.ProvisioningAction.INSTALL,\n resource_group_name=\"testrg\",\n virtual_machine_name=\"ContosoVm\")\n\n```\n\n```yaml\nresources:\n guestAgent:\n type: azure-native:azurestackhci:GuestAgent\n properties:\n credentials:\n password: \u003cpassword\u003e\n username: tempuser\n name: default\n provisioningAction: install\n resourceGroupName: testrg\n virtualMachineName: ContosoVm\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:azurestackhci:GuestAgent default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{virtualMachineName}/guestAgents/{name} \n```\n", + "description": "Defines the GuestAgent.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateGuestAgent\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var guestAgent = new AzureNative.AzureStackHCI.GuestAgent(\"guestAgent\", new()\n {\n Credentials = new AzureNative.AzureStackHCI.Inputs.GuestCredentialArgs\n {\n Password = \"\u003cpassword\u003e\",\n Username = \"tempuser\",\n },\n Name = \"default\",\n ProvisioningAction = AzureNative.AzureStackHCI.ProvisioningAction.Install,\n ResourceGroupName = \"testrg\",\n VirtualMachineName = \"ContosoVm\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewGuestAgent(ctx, \"guestAgent\", \u0026azurestackhci.GuestAgentArgs{\n\t\t\tCredentials: \u0026azurestackhci.GuestCredentialArgs{\n\t\t\t\tPassword: pulumi.String(\"\u003cpassword\u003e\"),\n\t\t\t\tUsername: pulumi.String(\"tempuser\"),\n\t\t\t},\n\t\t\tName: pulumi.String(\"default\"),\n\t\t\tProvisioningAction: pulumi.String(azurestackhci.ProvisioningActionInstall),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tVirtualMachineName: pulumi.String(\"ContosoVm\"),\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.azurestackhci.GuestAgent;\nimport com.pulumi.azurenative.azurestackhci.GuestAgentArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.GuestCredentialArgs;\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 guestAgent = new GuestAgent(\"guestAgent\", GuestAgentArgs.builder()\n .credentials(GuestCredentialArgs.builder()\n .password(\"\u003cpassword\u003e\")\n .username(\"tempuser\")\n .build())\n .name(\"default\")\n .provisioningAction(\"install\")\n .resourceGroupName(\"testrg\")\n .virtualMachineName(\"ContosoVm\")\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 guestAgent = new azure_native.azurestackhci.GuestAgent(\"guestAgent\", {\n credentials: {\n password: \"\u003cpassword\u003e\",\n username: \"tempuser\",\n },\n name: \"default\",\n provisioningAction: azure_native.azurestackhci.ProvisioningAction.Install,\n resourceGroupName: \"testrg\",\n virtualMachineName: \"ContosoVm\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nguest_agent = azure_native.azurestackhci.GuestAgent(\"guestAgent\",\n credentials={\n \"password\": \"\u003cpassword\u003e\",\n \"username\": \"tempuser\",\n },\n name=\"default\",\n provisioning_action=azure_native.azurestackhci.ProvisioningAction.INSTALL,\n resource_group_name=\"testrg\",\n virtual_machine_name=\"ContosoVm\")\n\n```\n\n```yaml\nresources:\n guestAgent:\n type: azure-native:azurestackhci:GuestAgent\n properties:\n credentials:\n password: \u003cpassword\u003e\n username: tempuser\n name: default\n provisioningAction: install\n resourceGroupName: testrg\n virtualMachineName: ContosoVm\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:azurestackhci:GuestAgent default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualMachines/{virtualMachineName}/guestAgents/{name} \n```\n", "properties": { "credentials": { "type": "object", @@ -582408,7 +582411,7 @@ ] }, "azure-native:azurestackhci:LogicalNetwork": { - "description": "The logical network resource definition.\nAzure REST API version: 2023-09-01-preview.\n\nOther available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutLogicalNetwork\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var logicalNetwork = new AzureNative.AzureStackHCI.LogicalNetwork(\"logicalNetwork\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n Location = \"West US2\",\n LogicalNetworkName = \"test-lnet\",\n ResourceGroupName = \"test-rg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewLogicalNetwork(ctx, \"logicalNetwork\", \u0026azurestackhci.LogicalNetworkArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tLogicalNetworkName: pulumi.String(\"test-lnet\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\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.azurestackhci.LogicalNetwork;\nimport com.pulumi.azurenative.azurestackhci.LogicalNetworkArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 logicalNetwork = new LogicalNetwork(\"logicalNetwork\", LogicalNetworkArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .location(\"West US2\")\n .logicalNetworkName(\"test-lnet\")\n .resourceGroupName(\"test-rg\")\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 logicalNetwork = new azure_native.azurestackhci.LogicalNetwork(\"logicalNetwork\", {\n extendedLocation: {\n name: \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n location: \"West US2\",\n logicalNetworkName: \"test-lnet\",\n resourceGroupName: \"test-rg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nlogical_network = azure_native.azurestackhci.LogicalNetwork(\"logicalNetwork\",\n extended_location={\n \"name\": \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n location=\"West US2\",\n logical_network_name=\"test-lnet\",\n resource_group_name=\"test-rg\")\n\n```\n\n```yaml\nresources:\n logicalNetwork:\n type: azure-native:azurestackhci:LogicalNetwork\n properties:\n extendedLocation:\n name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n location: West US2\n logicalNetworkName: test-lnet\n resourceGroupName: test-rg\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:azurestackhci:LogicalNetwork test-lnet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName} \n```\n", + "description": "The logical network resource definition.\nAzure REST API version: 2023-09-01-preview.\n\nOther available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutLogicalNetwork\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var logicalNetwork = new AzureNative.AzureStackHCI.LogicalNetwork(\"logicalNetwork\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n Location = \"West US2\",\n LogicalNetworkName = \"test-lnet\",\n ResourceGroupName = \"test-rg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewLogicalNetwork(ctx, \"logicalNetwork\", \u0026azurestackhci.LogicalNetworkArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tLogicalNetworkName: pulumi.String(\"test-lnet\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\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.azurestackhci.LogicalNetwork;\nimport com.pulumi.azurenative.azurestackhci.LogicalNetworkArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 logicalNetwork = new LogicalNetwork(\"logicalNetwork\", LogicalNetworkArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .location(\"West US2\")\n .logicalNetworkName(\"test-lnet\")\n .resourceGroupName(\"test-rg\")\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 logicalNetwork = new azure_native.azurestackhci.LogicalNetwork(\"logicalNetwork\", {\n extendedLocation: {\n name: \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n location: \"West US2\",\n logicalNetworkName: \"test-lnet\",\n resourceGroupName: \"test-rg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nlogical_network = azure_native.azurestackhci.LogicalNetwork(\"logicalNetwork\",\n extended_location={\n \"name\": \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n location=\"West US2\",\n logical_network_name=\"test-lnet\",\n resource_group_name=\"test-rg\")\n\n```\n\n```yaml\nresources:\n logicalNetwork:\n type: azure-native:azurestackhci:LogicalNetwork\n properties:\n extendedLocation:\n name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n location: West US2\n logicalNetworkName: test-lnet\n resourceGroupName: test-rg\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:azurestackhci:LogicalNetwork test-lnet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/logicalNetworks/{logicalNetworkName} \n```\n", "properties": { "dhcpOptions": { "type": "object", @@ -582542,6 +582545,9 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:LogicalNetwork" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:LogicalNetwork" } ] }, @@ -582684,7 +582690,7 @@ ] }, "azure-native:azurestackhci:MarketplaceGalleryImage": { - "description": "The marketplace gallery image resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutMarketplaceGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var marketplaceGalleryImage = new AzureNative.AzureStackHCI.MarketplaceGalleryImage(\"marketplaceGalleryImage\", new()\n {\n CloudInitDataSource = AzureNative.AzureStackHCI.CloudInitDataSource.Azure,\n ContainerName = \"Default_Container\",\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HyperVGeneration = AzureNative.AzureStackHCI.HyperVGeneration.V1,\n Identifier = new AzureNative.AzureStackHCI.Inputs.GalleryImageIdentifierArgs\n {\n Offer = \"myOfferName\",\n Publisher = \"myPublisherName\",\n Sku = \"mySkuName\",\n },\n Location = \"West US2\",\n MarketplaceGalleryImageName = \"test-marketplace-gallery-image\",\n OsType = AzureNative.AzureStackHCI.OperatingSystemTypes.Windows,\n ResourceGroupName = \"test-rg\",\n Version = new AzureNative.AzureStackHCI.Inputs.GalleryImageVersionArgs\n {\n Name = \"1.0.0\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewMarketplaceGalleryImage(ctx, \"marketplaceGalleryImage\", \u0026azurestackhci.MarketplaceGalleryImageArgs{\n\t\t\tCloudInitDataSource: pulumi.String(azurestackhci.CloudInitDataSourceAzure),\n\t\t\tContainerName: pulumi.String(\"Default_Container\"),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHyperVGeneration: pulumi.String(azurestackhci.HyperVGenerationV1),\n\t\t\tIdentifier: \u0026azurestackhci.GalleryImageIdentifierArgs{\n\t\t\t\tOffer: pulumi.String(\"myOfferName\"),\n\t\t\t\tPublisher: pulumi.String(\"myPublisherName\"),\n\t\t\t\tSku: pulumi.String(\"mySkuName\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tMarketplaceGalleryImageName: pulumi.String(\"test-marketplace-gallery-image\"),\n\t\t\tOsType: azurestackhci.OperatingSystemTypesWindows,\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\n\t\t\tVersion: \u0026azurestackhci.GalleryImageVersionArgs{\n\t\t\t\tName: pulumi.String(\"1.0.0\"),\n\t\t\t},\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.azurestackhci.MarketplaceGalleryImage;\nimport com.pulumi.azurenative.azurestackhci.MarketplaceGalleryImageArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.GalleryImageIdentifierArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.GalleryImageVersionArgs;\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 marketplaceGalleryImage = new MarketplaceGalleryImage(\"marketplaceGalleryImage\", MarketplaceGalleryImageArgs.builder()\n .cloudInitDataSource(\"Azure\")\n .containerName(\"Default_Container\")\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hyperVGeneration(\"V1\")\n .identifier(GalleryImageIdentifierArgs.builder()\n .offer(\"myOfferName\")\n .publisher(\"myPublisherName\")\n .sku(\"mySkuName\")\n .build())\n .location(\"West US2\")\n .marketplaceGalleryImageName(\"test-marketplace-gallery-image\")\n .osType(\"Windows\")\n .resourceGroupName(\"test-rg\")\n .version(GalleryImageVersionArgs.builder()\n .name(\"1.0.0\")\n .build())\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 marketplaceGalleryImage = new azure_native.azurestackhci.MarketplaceGalleryImage(\"marketplaceGalleryImage\", {\n cloudInitDataSource: azure_native.azurestackhci.CloudInitDataSource.Azure,\n containerName: \"Default_Container\",\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hyperVGeneration: azure_native.azurestackhci.HyperVGeneration.V1,\n identifier: {\n offer: \"myOfferName\",\n publisher: \"myPublisherName\",\n sku: \"mySkuName\",\n },\n location: \"West US2\",\n marketplaceGalleryImageName: \"test-marketplace-gallery-image\",\n osType: azure_native.azurestackhci.OperatingSystemTypes.Windows,\n resourceGroupName: \"test-rg\",\n version: {\n name: \"1.0.0\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmarketplace_gallery_image = azure_native.azurestackhci.MarketplaceGalleryImage(\"marketplaceGalleryImage\",\n cloud_init_data_source=azure_native.azurestackhci.CloudInitDataSource.AZURE,\n container_name=\"Default_Container\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hyper_v_generation=azure_native.azurestackhci.HyperVGeneration.V1,\n identifier={\n \"offer\": \"myOfferName\",\n \"publisher\": \"myPublisherName\",\n \"sku\": \"mySkuName\",\n },\n location=\"West US2\",\n marketplace_gallery_image_name=\"test-marketplace-gallery-image\",\n os_type=azure_native.azurestackhci.OperatingSystemTypes.WINDOWS,\n resource_group_name=\"test-rg\",\n version={\n \"name\": \"1.0.0\",\n })\n\n```\n\n```yaml\nresources:\n marketplaceGalleryImage:\n type: azure-native:azurestackhci:MarketplaceGalleryImage\n properties:\n cloudInitDataSource: Azure\n containerName: Default_Container\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hyperVGeneration: V1\n identifier:\n offer: myOfferName\n publisher: myPublisherName\n sku: mySkuName\n location: West US2\n marketplaceGalleryImageName: test-marketplace-gallery-image\n osType: Windows\n resourceGroupName: test-rg\n version:\n name: 1.0.0\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:azurestackhci:MarketplaceGalleryImage test-marketplace-gallery-image /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName} \n```\n", + "description": "The marketplace gallery image resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutMarketplaceGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var marketplaceGalleryImage = new AzureNative.AzureStackHCI.MarketplaceGalleryImage(\"marketplaceGalleryImage\", new()\n {\n CloudInitDataSource = AzureNative.AzureStackHCI.CloudInitDataSource.Azure,\n ContainerName = \"Default_Container\",\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HyperVGeneration = AzureNative.AzureStackHCI.HyperVGeneration.V1,\n Identifier = new AzureNative.AzureStackHCI.Inputs.GalleryImageIdentifierArgs\n {\n Offer = \"myOfferName\",\n Publisher = \"myPublisherName\",\n Sku = \"mySkuName\",\n },\n Location = \"West US2\",\n MarketplaceGalleryImageName = \"test-marketplace-gallery-image\",\n OsType = AzureNative.AzureStackHCI.OperatingSystemTypes.Windows,\n ResourceGroupName = \"test-rg\",\n Version = new AzureNative.AzureStackHCI.Inputs.GalleryImageVersionArgs\n {\n Name = \"1.0.0\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewMarketplaceGalleryImage(ctx, \"marketplaceGalleryImage\", \u0026azurestackhci.MarketplaceGalleryImageArgs{\n\t\t\tCloudInitDataSource: pulumi.String(azurestackhci.CloudInitDataSourceAzure),\n\t\t\tContainerName: pulumi.String(\"Default_Container\"),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHyperVGeneration: pulumi.String(azurestackhci.HyperVGenerationV1),\n\t\t\tIdentifier: \u0026azurestackhci.GalleryImageIdentifierArgs{\n\t\t\t\tOffer: pulumi.String(\"myOfferName\"),\n\t\t\t\tPublisher: pulumi.String(\"myPublisherName\"),\n\t\t\t\tSku: pulumi.String(\"mySkuName\"),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tMarketplaceGalleryImageName: pulumi.String(\"test-marketplace-gallery-image\"),\n\t\t\tOsType: azurestackhci.OperatingSystemTypesWindows,\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\n\t\t\tVersion: \u0026azurestackhci.GalleryImageVersionArgs{\n\t\t\t\tName: pulumi.String(\"1.0.0\"),\n\t\t\t},\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.azurestackhci.MarketplaceGalleryImage;\nimport com.pulumi.azurenative.azurestackhci.MarketplaceGalleryImageArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.GalleryImageIdentifierArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.GalleryImageVersionArgs;\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 marketplaceGalleryImage = new MarketplaceGalleryImage(\"marketplaceGalleryImage\", MarketplaceGalleryImageArgs.builder()\n .cloudInitDataSource(\"Azure\")\n .containerName(\"Default_Container\")\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hyperVGeneration(\"V1\")\n .identifier(GalleryImageIdentifierArgs.builder()\n .offer(\"myOfferName\")\n .publisher(\"myPublisherName\")\n .sku(\"mySkuName\")\n .build())\n .location(\"West US2\")\n .marketplaceGalleryImageName(\"test-marketplace-gallery-image\")\n .osType(\"Windows\")\n .resourceGroupName(\"test-rg\")\n .version(GalleryImageVersionArgs.builder()\n .name(\"1.0.0\")\n .build())\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 marketplaceGalleryImage = new azure_native.azurestackhci.MarketplaceGalleryImage(\"marketplaceGalleryImage\", {\n cloudInitDataSource: azure_native.azurestackhci.CloudInitDataSource.Azure,\n containerName: \"Default_Container\",\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hyperVGeneration: azure_native.azurestackhci.HyperVGeneration.V1,\n identifier: {\n offer: \"myOfferName\",\n publisher: \"myPublisherName\",\n sku: \"mySkuName\",\n },\n location: \"West US2\",\n marketplaceGalleryImageName: \"test-marketplace-gallery-image\",\n osType: azure_native.azurestackhci.OperatingSystemTypes.Windows,\n resourceGroupName: \"test-rg\",\n version: {\n name: \"1.0.0\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nmarketplace_gallery_image = azure_native.azurestackhci.MarketplaceGalleryImage(\"marketplaceGalleryImage\",\n cloud_init_data_source=azure_native.azurestackhci.CloudInitDataSource.AZURE,\n container_name=\"Default_Container\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hyper_v_generation=azure_native.azurestackhci.HyperVGeneration.V1,\n identifier={\n \"offer\": \"myOfferName\",\n \"publisher\": \"myPublisherName\",\n \"sku\": \"mySkuName\",\n },\n location=\"West US2\",\n marketplace_gallery_image_name=\"test-marketplace-gallery-image\",\n os_type=azure_native.azurestackhci.OperatingSystemTypes.WINDOWS,\n resource_group_name=\"test-rg\",\n version={\n \"name\": \"1.0.0\",\n })\n\n```\n\n```yaml\nresources:\n marketplaceGalleryImage:\n type: azure-native:azurestackhci:MarketplaceGalleryImage\n properties:\n cloudInitDataSource: Azure\n containerName: Default_Container\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hyperVGeneration: V1\n identifier:\n offer: myOfferName\n publisher: myPublisherName\n sku: mySkuName\n location: West US2\n marketplaceGalleryImageName: test-marketplace-gallery-image\n osType: Windows\n resourceGroupName: test-rg\n version:\n name: 1.0.0\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:azurestackhci:MarketplaceGalleryImage test-marketplace-gallery-image /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/{marketplaceGalleryImageName} \n```\n", "properties": { "cloudInitDataSource": { "type": "string", @@ -582859,11 +582865,14 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" } ] }, "azure-native:azurestackhci:NetworkInterface": { - "description": "The network interface resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutNetworkInterface\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkInterface = new AzureNative.AzureStackHCI.NetworkInterface(\"networkInterface\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n IpConfigurations = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.IPConfigurationArgs\n {\n Name = \"ipconfig-sample\",\n Properties = new AzureNative.AzureStackHCI.Inputs.IPConfigurationPropertiesArgs\n {\n Subnet = new AzureNative.AzureStackHCI.Inputs.IPConfigurationSubnetArgs\n {\n Id = \"test-vnet\",\n },\n },\n },\n },\n Location = \"West US2\",\n NetworkInterfaceName = \"test-nic\",\n ResourceGroupName = \"test-rg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewNetworkInterface(ctx, \"networkInterface\", \u0026azurestackhci.NetworkInterfaceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tIpConfigurations: azurestackhci.IPConfigurationArray{\n\t\t\t\t\u0026azurestackhci.IPConfigurationArgs{\n\t\t\t\t\tName: pulumi.String(\"ipconfig-sample\"),\n\t\t\t\t\tProperties: \u0026azurestackhci.IPConfigurationPropertiesArgs{\n\t\t\t\t\t\tSubnet: \u0026azurestackhci.IPConfigurationSubnetArgs{\n\t\t\t\t\t\t\tId: pulumi.String(\"test-vnet\"),\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\tLocation: pulumi.String(\"West US2\"),\n\t\t\tNetworkInterfaceName: pulumi.String(\"test-nic\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\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.azurestackhci.NetworkInterface;\nimport com.pulumi.azurenative.azurestackhci.NetworkInterfaceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationPropertiesArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationSubnetArgs;\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 .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .ipConfigurations(IPConfigurationArgs.builder()\n .name(\"ipconfig-sample\")\n .properties(IPConfigurationPropertiesArgs.builder()\n .subnet(IPConfigurationSubnetArgs.builder()\n .id(\"test-vnet\")\n .build())\n .build())\n .build())\n .location(\"West US2\")\n .networkInterfaceName(\"test-nic\")\n .resourceGroupName(\"test-rg\")\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.azurestackhci.NetworkInterface(\"networkInterface\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n ipConfigurations: [{\n name: \"ipconfig-sample\",\n properties: {\n subnet: {\n id: \"test-vnet\",\n },\n },\n }],\n location: \"West US2\",\n networkInterfaceName: \"test-nic\",\n resourceGroupName: \"test-rg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_interface = azure_native.azurestackhci.NetworkInterface(\"networkInterface\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n ip_configurations=[{\n \"name\": \"ipconfig-sample\",\n \"properties\": {\n \"subnet\": {\n \"id\": \"test-vnet\",\n },\n },\n }],\n location=\"West US2\",\n network_interface_name=\"test-nic\",\n resource_group_name=\"test-rg\")\n\n```\n\n```yaml\nresources:\n networkInterface:\n type: azure-native:azurestackhci:NetworkInterface\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n ipConfigurations:\n - name: ipconfig-sample\n properties:\n subnet:\n id: test-vnet\n location: West US2\n networkInterfaceName: test-nic\n resourceGroupName: test-rg\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:azurestackhci:NetworkInterface test-nic /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName} \n```\n", + "description": "The network interface resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutNetworkInterface\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkInterface = new AzureNative.AzureStackHCI.NetworkInterface(\"networkInterface\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n IpConfigurations = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.IPConfigurationArgs\n {\n Name = \"ipconfig-sample\",\n Properties = new AzureNative.AzureStackHCI.Inputs.IPConfigurationPropertiesArgs\n {\n Subnet = new AzureNative.AzureStackHCI.Inputs.IPConfigurationSubnetArgs\n {\n Id = \"test-vnet\",\n },\n },\n },\n },\n Location = \"West US2\",\n NetworkInterfaceName = \"test-nic\",\n ResourceGroupName = \"test-rg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewNetworkInterface(ctx, \"networkInterface\", \u0026azurestackhci.NetworkInterfaceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tIpConfigurations: azurestackhci.IPConfigurationArray{\n\t\t\t\t\u0026azurestackhci.IPConfigurationArgs{\n\t\t\t\t\tName: pulumi.String(\"ipconfig-sample\"),\n\t\t\t\t\tProperties: \u0026azurestackhci.IPConfigurationPropertiesArgs{\n\t\t\t\t\t\tSubnet: \u0026azurestackhci.IPConfigurationSubnetArgs{\n\t\t\t\t\t\t\tId: pulumi.String(\"test-vnet\"),\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\tLocation: pulumi.String(\"West US2\"),\n\t\t\tNetworkInterfaceName: pulumi.String(\"test-nic\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\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.azurestackhci.NetworkInterface;\nimport com.pulumi.azurenative.azurestackhci.NetworkInterfaceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationPropertiesArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.IPConfigurationSubnetArgs;\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 .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .ipConfigurations(IPConfigurationArgs.builder()\n .name(\"ipconfig-sample\")\n .properties(IPConfigurationPropertiesArgs.builder()\n .subnet(IPConfigurationSubnetArgs.builder()\n .id(\"test-vnet\")\n .build())\n .build())\n .build())\n .location(\"West US2\")\n .networkInterfaceName(\"test-nic\")\n .resourceGroupName(\"test-rg\")\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.azurestackhci.NetworkInterface(\"networkInterface\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n ipConfigurations: [{\n name: \"ipconfig-sample\",\n properties: {\n subnet: {\n id: \"test-vnet\",\n },\n },\n }],\n location: \"West US2\",\n networkInterfaceName: \"test-nic\",\n resourceGroupName: \"test-rg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_interface = azure_native.azurestackhci.NetworkInterface(\"networkInterface\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n ip_configurations=[{\n \"name\": \"ipconfig-sample\",\n \"properties\": {\n \"subnet\": {\n \"id\": \"test-vnet\",\n },\n },\n }],\n location=\"West US2\",\n network_interface_name=\"test-nic\",\n resource_group_name=\"test-rg\")\n\n```\n\n```yaml\nresources:\n networkInterface:\n type: azure-native:azurestackhci:NetworkInterface\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n ipConfigurations:\n - name: ipconfig-sample\n properties:\n subnet:\n id: test-vnet\n location: West US2\n networkInterfaceName: test-nic\n resourceGroupName: test-rg\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:azurestackhci:NetworkInterface test-nic /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkInterfaces/{networkInterfaceName} \n```\n", "properties": { "dnsSettings": { "type": "object", @@ -583009,11 +583018,14 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:NetworkInterface" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:NetworkInterface" } ] }, "azure-native:azurestackhci:NetworkSecurityGroup": { - "description": "NetworkSecurityGroup resource.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateNetworkSecurityGroup\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkSecurityGroup = new AzureNative.AzureStackHCI.NetworkSecurityGroup(\"networkSecurityGroup\", new()\n {\n Location = \"eastus\",\n NetworkSecurityGroupName = \"testnsg\",\n ResourceGroupName = \"testrg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewNetworkSecurityGroup(ctx, \"networkSecurityGroup\", \u0026azurestackhci.NetworkSecurityGroupArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tNetworkSecurityGroupName: pulumi.String(\"testnsg\"),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\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.azurestackhci.NetworkSecurityGroup;\nimport com.pulumi.azurenative.azurestackhci.NetworkSecurityGroupArgs;\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 networkSecurityGroup = new NetworkSecurityGroup(\"networkSecurityGroup\", NetworkSecurityGroupArgs.builder()\n .location(\"eastus\")\n .networkSecurityGroupName(\"testnsg\")\n .resourceGroupName(\"testrg\")\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 networkSecurityGroup = new azure_native.azurestackhci.NetworkSecurityGroup(\"networkSecurityGroup\", {\n location: \"eastus\",\n networkSecurityGroupName: \"testnsg\",\n resourceGroupName: \"testrg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_security_group = azure_native.azurestackhci.NetworkSecurityGroup(\"networkSecurityGroup\",\n location=\"eastus\",\n network_security_group_name=\"testnsg\",\n resource_group_name=\"testrg\")\n\n```\n\n```yaml\nresources:\n networkSecurityGroup:\n type: azure-native:azurestackhci:NetworkSecurityGroup\n properties:\n location: eastus\n networkSecurityGroupName: testnsg\n resourceGroupName: testrg\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:azurestackhci:NetworkSecurityGroup testnsg /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName} \n```\n", + "description": "NetworkSecurityGroup resource.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### CreateNetworkSecurityGroup\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var networkSecurityGroup = new AzureNative.AzureStackHCI.NetworkSecurityGroup(\"networkSecurityGroup\", new()\n {\n Location = \"eastus\",\n NetworkSecurityGroupName = \"testnsg\",\n ResourceGroupName = \"testrg\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewNetworkSecurityGroup(ctx, \"networkSecurityGroup\", \u0026azurestackhci.NetworkSecurityGroupArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tNetworkSecurityGroupName: pulumi.String(\"testnsg\"),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\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.azurestackhci.NetworkSecurityGroup;\nimport com.pulumi.azurenative.azurestackhci.NetworkSecurityGroupArgs;\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 networkSecurityGroup = new NetworkSecurityGroup(\"networkSecurityGroup\", NetworkSecurityGroupArgs.builder()\n .location(\"eastus\")\n .networkSecurityGroupName(\"testnsg\")\n .resourceGroupName(\"testrg\")\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 networkSecurityGroup = new azure_native.azurestackhci.NetworkSecurityGroup(\"networkSecurityGroup\", {\n location: \"eastus\",\n networkSecurityGroupName: \"testnsg\",\n resourceGroupName: \"testrg\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nnetwork_security_group = azure_native.azurestackhci.NetworkSecurityGroup(\"networkSecurityGroup\",\n location=\"eastus\",\n network_security_group_name=\"testnsg\",\n resource_group_name=\"testrg\")\n\n```\n\n```yaml\nresources:\n networkSecurityGroup:\n type: azure-native:azurestackhci:NetworkSecurityGroup\n properties:\n location: eastus\n networkSecurityGroupName: testnsg\n resourceGroupName: testrg\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:azurestackhci:NetworkSecurityGroup testnsg /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName} \n```\n", "properties": { "eTag": { "type": "string", @@ -583124,11 +583136,14 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" } ] }, "azure-native:azurestackhci:SecurityRule": { - "description": "Security Rule resource.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### SecurityRulesCreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var securityRule = new AzureNative.AzureStackHCI.SecurityRule(\"securityRule\", new()\n {\n Access = AzureNative.AzureStackHCI.SecurityRuleAccess.Allow,\n DestinationAddressPrefixes = new[]\n {\n \"*\",\n },\n DestinationPortRanges = new[]\n {\n \"80\",\n },\n Direction = AzureNative.AzureStackHCI.SecurityRuleDirection.Inbound,\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n NetworkSecurityGroupName = \"testnsg\",\n Priority = 130,\n Protocol = AzureNative.AzureStackHCI.SecurityRuleProtocol.Asterisk,\n ResourceGroupName = \"testrg\",\n SecurityRuleName = \"rule1\",\n SourceAddressPrefixes = new[]\n {\n \"*\",\n },\n SourcePortRanges = new[]\n {\n \"*\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewSecurityRule(ctx, \"securityRule\", \u0026azurestackhci.SecurityRuleArgs{\n\t\t\tAccess: pulumi.String(azurestackhci.SecurityRuleAccessAllow),\n\t\t\tDestinationAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*\"),\n\t\t\t},\n\t\t\tDestinationPortRanges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"80\"),\n\t\t\t},\n\t\t\tDirection: pulumi.String(azurestackhci.SecurityRuleDirectionInbound),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tNetworkSecurityGroupName: pulumi.String(\"testnsg\"),\n\t\t\tPriority: pulumi.Int(130),\n\t\t\tProtocol: pulumi.String(azurestackhci.SecurityRuleProtocolAsterisk),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tSecurityRuleName: pulumi.String(\"rule1\"),\n\t\t\tSourceAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*\"),\n\t\t\t},\n\t\t\tSourcePortRanges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*\"),\n\t\t\t},\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.azurestackhci.SecurityRule;\nimport com.pulumi.azurenative.azurestackhci.SecurityRuleArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 securityRule = new SecurityRule(\"securityRule\", SecurityRuleArgs.builder()\n .access(\"Allow\")\n .destinationAddressPrefixes(\"*\")\n .destinationPortRanges(\"80\")\n .direction(\"Inbound\")\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .networkSecurityGroupName(\"testnsg\")\n .priority(130)\n .protocol(\"*\")\n .resourceGroupName(\"testrg\")\n .securityRuleName(\"rule1\")\n .sourceAddressPrefixes(\"*\")\n .sourcePortRanges(\"*\")\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 securityRule = new azure_native.azurestackhci.SecurityRule(\"securityRule\", {\n access: azure_native.azurestackhci.SecurityRuleAccess.Allow,\n destinationAddressPrefixes: [\"*\"],\n destinationPortRanges: [\"80\"],\n direction: azure_native.azurestackhci.SecurityRuleDirection.Inbound,\n extendedLocation: {\n name: \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n networkSecurityGroupName: \"testnsg\",\n priority: 130,\n protocol: azure_native.azurestackhci.SecurityRuleProtocol.Asterisk,\n resourceGroupName: \"testrg\",\n securityRuleName: \"rule1\",\n sourceAddressPrefixes: [\"*\"],\n sourcePortRanges: [\"*\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsecurity_rule = azure_native.azurestackhci.SecurityRule(\"securityRule\",\n access=azure_native.azurestackhci.SecurityRuleAccess.ALLOW,\n destination_address_prefixes=[\"*\"],\n destination_port_ranges=[\"80\"],\n direction=azure_native.azurestackhci.SecurityRuleDirection.INBOUND,\n extended_location={\n \"name\": \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n network_security_group_name=\"testnsg\",\n priority=130,\n protocol=azure_native.azurestackhci.SecurityRuleProtocol.ASTERISK,\n resource_group_name=\"testrg\",\n security_rule_name=\"rule1\",\n source_address_prefixes=[\"*\"],\n source_port_ranges=[\"*\"])\n\n```\n\n```yaml\nresources:\n securityRule:\n type: azure-native:azurestackhci:SecurityRule\n properties:\n access: Allow\n destinationAddressPrefixes:\n - '*'\n destinationPortRanges:\n - '80'\n direction: Inbound\n extendedLocation:\n name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n networkSecurityGroupName: testnsg\n priority: 130\n protocol: '*'\n resourceGroupName: testrg\n securityRuleName: rule1\n sourceAddressPrefixes:\n - '*'\n sourcePortRanges:\n - '*'\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:azurestackhci:SecurityRule rule1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName} \n```\n", + "description": "Security Rule resource.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### SecurityRulesCreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var securityRule = new AzureNative.AzureStackHCI.SecurityRule(\"securityRule\", new()\n {\n Access = AzureNative.AzureStackHCI.SecurityRuleAccess.Allow,\n DestinationAddressPrefixes = new[]\n {\n \"*\",\n },\n DestinationPortRanges = new[]\n {\n \"80\",\n },\n Direction = AzureNative.AzureStackHCI.SecurityRuleDirection.Inbound,\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n NetworkSecurityGroupName = \"testnsg\",\n Priority = 130,\n Protocol = AzureNative.AzureStackHCI.SecurityRuleProtocol.Asterisk,\n ResourceGroupName = \"testrg\",\n SecurityRuleName = \"rule1\",\n SourceAddressPrefixes = new[]\n {\n \"*\",\n },\n SourcePortRanges = new[]\n {\n \"*\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewSecurityRule(ctx, \"securityRule\", \u0026azurestackhci.SecurityRuleArgs{\n\t\t\tAccess: pulumi.String(azurestackhci.SecurityRuleAccessAllow),\n\t\t\tDestinationAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*\"),\n\t\t\t},\n\t\t\tDestinationPortRanges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"80\"),\n\t\t\t},\n\t\t\tDirection: pulumi.String(azurestackhci.SecurityRuleDirectionInbound),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tNetworkSecurityGroupName: pulumi.String(\"testnsg\"),\n\t\t\tPriority: pulumi.Int(130),\n\t\t\tProtocol: pulumi.String(azurestackhci.SecurityRuleProtocolAsterisk),\n\t\t\tResourceGroupName: pulumi.String(\"testrg\"),\n\t\t\tSecurityRuleName: pulumi.String(\"rule1\"),\n\t\t\tSourceAddressPrefixes: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*\"),\n\t\t\t},\n\t\t\tSourcePortRanges: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"*\"),\n\t\t\t},\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.azurestackhci.SecurityRule;\nimport com.pulumi.azurenative.azurestackhci.SecurityRuleArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 securityRule = new SecurityRule(\"securityRule\", SecurityRuleArgs.builder()\n .access(\"Allow\")\n .destinationAddressPrefixes(\"*\")\n .destinationPortRanges(\"80\")\n .direction(\"Inbound\")\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .networkSecurityGroupName(\"testnsg\")\n .priority(130)\n .protocol(\"*\")\n .resourceGroupName(\"testrg\")\n .securityRuleName(\"rule1\")\n .sourceAddressPrefixes(\"*\")\n .sourcePortRanges(\"*\")\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 securityRule = new azure_native.azurestackhci.SecurityRule(\"securityRule\", {\n access: azure_native.azurestackhci.SecurityRuleAccess.Allow,\n destinationAddressPrefixes: [\"*\"],\n destinationPortRanges: [\"80\"],\n direction: azure_native.azurestackhci.SecurityRuleDirection.Inbound,\n extendedLocation: {\n name: \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n networkSecurityGroupName: \"testnsg\",\n priority: 130,\n protocol: azure_native.azurestackhci.SecurityRuleProtocol.Asterisk,\n resourceGroupName: \"testrg\",\n securityRuleName: \"rule1\",\n sourceAddressPrefixes: [\"*\"],\n sourcePortRanges: [\"*\"],\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nsecurity_rule = azure_native.azurestackhci.SecurityRule(\"securityRule\",\n access=azure_native.azurestackhci.SecurityRuleAccess.ALLOW,\n destination_address_prefixes=[\"*\"],\n destination_port_ranges=[\"80\"],\n direction=azure_native.azurestackhci.SecurityRuleDirection.INBOUND,\n extended_location={\n \"name\": \"/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n network_security_group_name=\"testnsg\",\n priority=130,\n protocol=azure_native.azurestackhci.SecurityRuleProtocol.ASTERISK,\n resource_group_name=\"testrg\",\n security_rule_name=\"rule1\",\n source_address_prefixes=[\"*\"],\n source_port_ranges=[\"*\"])\n\n```\n\n```yaml\nresources:\n securityRule:\n type: azure-native:azurestackhci:SecurityRule\n properties:\n access: Allow\n destinationAddressPrefixes:\n - '*'\n destinationPortRanges:\n - '80'\n direction: Inbound\n extendedLocation:\n name: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n networkSecurityGroupName: testnsg\n priority: 130\n protocol: '*'\n resourceGroupName: testrg\n securityRuleName: rule1\n sourceAddressPrefixes:\n - '*'\n sourcePortRanges:\n - '*'\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:azurestackhci:SecurityRule rule1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName} \n```\n", "properties": { "access": { "type": "string", @@ -583323,6 +583338,9 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:SecurityRule" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:SecurityRule" } ] }, @@ -583420,7 +583438,7 @@ ] }, "azure-native:azurestackhci:StorageContainer": { - "description": "The storage container resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutStorageContainer\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var storageContainer = new AzureNative.AzureStackHCI.StorageContainer(\"storageContainer\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n Location = \"West US2\",\n Path = \"C:\\\\container_storage\",\n ResourceGroupName = \"test-rg\",\n StorageContainerName = \"Default_Container\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewStorageContainer(ctx, \"storageContainer\", \u0026azurestackhci.StorageContainerArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tPath: pulumi.String(\"C:\\\\container_storage\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\n\t\t\tStorageContainerName: pulumi.String(\"Default_Container\"),\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.azurestackhci.StorageContainer;\nimport com.pulumi.azurenative.azurestackhci.StorageContainerArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 storageContainer = new StorageContainer(\"storageContainer\", StorageContainerArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .location(\"West US2\")\n .path(\"C:\\\\container_storage\")\n .resourceGroupName(\"test-rg\")\n .storageContainerName(\"Default_Container\")\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 storageContainer = new azure_native.azurestackhci.StorageContainer(\"storageContainer\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n location: \"West US2\",\n path: \"C:\\\\container_storage\",\n resourceGroupName: \"test-rg\",\n storageContainerName: \"Default_Container\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nstorage_container = azure_native.azurestackhci.StorageContainer(\"storageContainer\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n location=\"West US2\",\n path=\"C:\\\\container_storage\",\n resource_group_name=\"test-rg\",\n storage_container_name=\"Default_Container\")\n\n```\n\n```yaml\nresources:\n storageContainer:\n type: azure-native:azurestackhci:StorageContainer\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n location: West US2\n path: C:\\container_storage\n resourceGroupName: test-rg\n storageContainerName: Default_Container\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:azurestackhci:StorageContainer Default_Container /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName} \n```\n", + "description": "The storage container resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutStorageContainer\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var storageContainer = new AzureNative.AzureStackHCI.StorageContainer(\"storageContainer\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n Location = \"West US2\",\n Path = \"C:\\\\container_storage\",\n ResourceGroupName = \"test-rg\",\n StorageContainerName = \"Default_Container\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewStorageContainer(ctx, \"storageContainer\", \u0026azurestackhci.StorageContainerArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tPath: pulumi.String(\"C:\\\\container_storage\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\n\t\t\tStorageContainerName: pulumi.String(\"Default_Container\"),\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.azurestackhci.StorageContainer;\nimport com.pulumi.azurenative.azurestackhci.StorageContainerArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 storageContainer = new StorageContainer(\"storageContainer\", StorageContainerArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .location(\"West US2\")\n .path(\"C:\\\\container_storage\")\n .resourceGroupName(\"test-rg\")\n .storageContainerName(\"Default_Container\")\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 storageContainer = new azure_native.azurestackhci.StorageContainer(\"storageContainer\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n location: \"West US2\",\n path: \"C:\\\\container_storage\",\n resourceGroupName: \"test-rg\",\n storageContainerName: \"Default_Container\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nstorage_container = azure_native.azurestackhci.StorageContainer(\"storageContainer\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n location=\"West US2\",\n path=\"C:\\\\container_storage\",\n resource_group_name=\"test-rg\",\n storage_container_name=\"Default_Container\")\n\n```\n\n```yaml\nresources:\n storageContainer:\n type: azure-native:azurestackhci:StorageContainer\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n location: West US2\n path: C:\\container_storage\n resourceGroupName: test-rg\n storageContainerName: Default_Container\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:azurestackhci:StorageContainer Default_Container /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/storageContainers/{storageContainerName} \n```\n", "properties": { "extendedLocation": { "type": "object", @@ -583537,6 +583555,9 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:StorageContainer" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:StorageContainer" } ] }, @@ -584162,7 +584183,7 @@ ] }, "azure-native:azurestackhci:VirtualHardDisk": { - "description": "The virtual hard disk resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutVirtualHardDisk\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualHardDisk = new AzureNative.AzureStackHCI.VirtualHardDisk(\"virtualHardDisk\", new()\n {\n DiskSizeGB = 32,\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n Location = \"West US2\",\n ResourceGroupName = \"test-rg\",\n VirtualHardDiskName = \"test-vhd\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualHardDisk(ctx, \"virtualHardDisk\", \u0026azurestackhci.VirtualHardDiskArgs{\n\t\t\tDiskSizeGB: pulumi.Float64(32),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\n\t\t\tVirtualHardDiskName: pulumi.String(\"test-vhd\"),\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.azurestackhci.VirtualHardDisk;\nimport com.pulumi.azurenative.azurestackhci.VirtualHardDiskArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 virtualHardDisk = new VirtualHardDisk(\"virtualHardDisk\", VirtualHardDiskArgs.builder()\n .diskSizeGB(32)\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .location(\"West US2\")\n .resourceGroupName(\"test-rg\")\n .virtualHardDiskName(\"test-vhd\")\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 virtualHardDisk = new azure_native.azurestackhci.VirtualHardDisk(\"virtualHardDisk\", {\n diskSizeGB: 32,\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n location: \"West US2\",\n resourceGroupName: \"test-rg\",\n virtualHardDiskName: \"test-vhd\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_hard_disk = azure_native.azurestackhci.VirtualHardDisk(\"virtualHardDisk\",\n disk_size_gb=32,\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n location=\"West US2\",\n resource_group_name=\"test-rg\",\n virtual_hard_disk_name=\"test-vhd\")\n\n```\n\n```yaml\nresources:\n virtualHardDisk:\n type: azure-native:azurestackhci:VirtualHardDisk\n properties:\n diskSizeGB: 32\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n location: West US2\n resourceGroupName: test-rg\n virtualHardDiskName: test-vhd\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:azurestackhci:VirtualHardDisk test-vhd /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName} \n```\n", + "description": "The virtual hard disk resource definition.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutVirtualHardDisk\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualHardDisk = new AzureNative.AzureStackHCI.VirtualHardDisk(\"virtualHardDisk\", new()\n {\n DiskSizeGB = 32,\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n Location = \"West US2\",\n ResourceGroupName = \"test-rg\",\n VirtualHardDiskName = \"test-vhd\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualHardDisk(ctx, \"virtualHardDisk\", \u0026azurestackhci.VirtualHardDiskArgs{\n\t\t\tDiskSizeGB: pulumi.Float64(32),\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"West US2\"),\n\t\t\tResourceGroupName: pulumi.String(\"test-rg\"),\n\t\t\tVirtualHardDiskName: pulumi.String(\"test-vhd\"),\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.azurestackhci.VirtualHardDisk;\nimport com.pulumi.azurenative.azurestackhci.VirtualHardDiskArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\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 virtualHardDisk = new VirtualHardDisk(\"virtualHardDisk\", VirtualHardDiskArgs.builder()\n .diskSizeGB(32)\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .location(\"West US2\")\n .resourceGroupName(\"test-rg\")\n .virtualHardDiskName(\"test-vhd\")\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 virtualHardDisk = new azure_native.azurestackhci.VirtualHardDisk(\"virtualHardDisk\", {\n diskSizeGB: 32,\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n location: \"West US2\",\n resourceGroupName: \"test-rg\",\n virtualHardDiskName: \"test-vhd\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_hard_disk = azure_native.azurestackhci.VirtualHardDisk(\"virtualHardDisk\",\n disk_size_gb=32,\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n location=\"West US2\",\n resource_group_name=\"test-rg\",\n virtual_hard_disk_name=\"test-vhd\")\n\n```\n\n```yaml\nresources:\n virtualHardDisk:\n type: azure-native:azurestackhci:VirtualHardDisk\n properties:\n diskSizeGB: 32\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n location: West US2\n resourceGroupName: test-rg\n virtualHardDiskName: test-vhd\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:azurestackhci:VirtualHardDisk test-vhd /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualHardDisks/{virtualHardDiskName} \n```\n", "properties": { "blockSizeBytes": { "type": "integer" @@ -584346,6 +584367,9 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" } ] }, @@ -584515,7 +584539,7 @@ ] }, "azure-native:azurestackhci:VirtualMachineInstance": { - "description": "The virtual machine instance resource definition.\nAzure REST API version: 2023-07-01-preview.\n\nOther available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutVirtualMachineInstanceWithGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs\n {\n AdminPassword = \"password\",\n AdminUsername = \"localadmin\",\n ComputerName = \"luamaster\",\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOsProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{\n\t\t\t\tAdminPassword: pulumi.String(\"password\"),\n\t\t\t\tAdminUsername: pulumi.String(\"localadmin\"),\n\t\t\t\tComputerName: pulumi.String(\"luamaster\"),\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tImageReference: \u0026azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()\n .adminPassword(\"password\")\n .adminUsername(\"localadmin\")\n .computerName(\"luamaster\")\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n osProfile: {\n adminPassword: \"password\",\n adminUsername: \"localadmin\",\n computerName: \"luamaster\",\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n os_profile={\n \"admin_password\": \"password\",\n \"admin_username\": \"localadmin\",\n \"computer_name\": \"luamaster\",\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"image_reference\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n osProfile:\n adminPassword: password\n adminUsername: localadmin\n computerName: luamaster\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n imageReference:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\n\n```\n\n{{% /example %}}\n{{% example %}}\n### PutVirtualMachineInstanceWithMarketplaceGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs\n {\n AdminPassword = \"password\",\n AdminUsername = \"localadmin\",\n ComputerName = \"luamaster\",\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOsProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{\n\t\t\t\tAdminPassword: pulumi.String(\"password\"),\n\t\t\t\tAdminUsername: pulumi.String(\"localadmin\"),\n\t\t\t\tComputerName: pulumi.String(\"luamaster\"),\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tImageReference: \u0026azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()\n .adminPassword(\"password\")\n .adminUsername(\"localadmin\")\n .computerName(\"luamaster\")\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n osProfile: {\n adminPassword: \"password\",\n adminUsername: \"localadmin\",\n computerName: \"luamaster\",\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n os_profile={\n \"admin_password\": \"password\",\n \"admin_username\": \"localadmin\",\n \"computer_name\": \"luamaster\",\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"image_reference\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n osProfile:\n adminPassword: password\n adminUsername: localadmin\n computerName: luamaster\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n imageReference:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\n\n```\n\n{{% /example %}}\n{{% example %}}\n### PutVirtualMachineInstanceWithOsDisk\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n OsDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsDiskArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tOsDisk: \u0026azurestackhci.VirtualMachineInstancePropertiesOsDiskArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsDiskArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .osDisk(VirtualMachineInstancePropertiesOsDiskArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n osDisk: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"os_disk\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n osDisk:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\n\n```\n\n{{% /example %}}\n{{% example %}}\n### PutVirtualMachineInstanceWithVMConfigAgent\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs\n {\n AdminPassword = \"password\",\n AdminUsername = \"localadmin\",\n ComputerName = \"luamaster\",\n WindowsConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs\n {\n ProvisionVMConfigAgent = true,\n },\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOsProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{\n\t\t\t\tAdminPassword: pulumi.String(\"password\"),\n\t\t\t\tAdminUsername: pulumi.String(\"localadmin\"),\n\t\t\t\tComputerName: pulumi.String(\"luamaster\"),\n\t\t\t\tWindowsConfiguration: \u0026azurestackhci.VirtualMachineInstancePropertiesWindowsConfigurationArgs{\n\t\t\t\t\tProvisionVMConfigAgent: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tImageReference: \u0026azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()\n .adminPassword(\"password\")\n .adminUsername(\"localadmin\")\n .computerName(\"luamaster\")\n .windowsConfiguration(VirtualMachineInstancePropertiesWindowsConfigurationArgs.builder()\n .provisionVMConfigAgent(true)\n .build())\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n osProfile: {\n adminPassword: \"password\",\n adminUsername: \"localadmin\",\n computerName: \"luamaster\",\n windowsConfiguration: {\n provisionVMConfigAgent: true,\n },\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n os_profile={\n \"admin_password\": \"password\",\n \"admin_username\": \"localadmin\",\n \"computer_name\": \"luamaster\",\n \"windows_configuration\": {\n \"provision_vm_config_agent\": True,\n },\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"image_reference\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n osProfile:\n adminPassword: password\n adminUsername: localadmin\n computerName: luamaster\n windowsConfiguration:\n provisionVMConfigAgent: true\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n imageReference:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\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:azurestackhci:VirtualMachineInstance myresource1 /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default \n```\n", + "description": "The virtual machine instance resource definition.\nAzure REST API version: 2023-07-01-preview.\n\nOther available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PutVirtualMachineInstanceWithGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs\n {\n AdminPassword = \"password\",\n AdminUsername = \"localadmin\",\n ComputerName = \"luamaster\",\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOsProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{\n\t\t\t\tAdminPassword: pulumi.String(\"password\"),\n\t\t\t\tAdminUsername: pulumi.String(\"localadmin\"),\n\t\t\t\tComputerName: pulumi.String(\"luamaster\"),\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tImageReference: \u0026azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()\n .adminPassword(\"password\")\n .adminUsername(\"localadmin\")\n .computerName(\"luamaster\")\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n osProfile: {\n adminPassword: \"password\",\n adminUsername: \"localadmin\",\n computerName: \"luamaster\",\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n os_profile={\n \"admin_password\": \"password\",\n \"admin_username\": \"localadmin\",\n \"computer_name\": \"luamaster\",\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"image_reference\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n osProfile:\n adminPassword: password\n adminUsername: localadmin\n computerName: luamaster\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n imageReference:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\n\n```\n\n{{% /example %}}\n{{% example %}}\n### PutVirtualMachineInstanceWithMarketplaceGalleryImage\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs\n {\n AdminPassword = \"password\",\n AdminUsername = \"localadmin\",\n ComputerName = \"luamaster\",\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOsProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{\n\t\t\t\tAdminPassword: pulumi.String(\"password\"),\n\t\t\t\tAdminUsername: pulumi.String(\"localadmin\"),\n\t\t\t\tComputerName: pulumi.String(\"luamaster\"),\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tImageReference: \u0026azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()\n .adminPassword(\"password\")\n .adminUsername(\"localadmin\")\n .computerName(\"luamaster\")\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n osProfile: {\n adminPassword: \"password\",\n adminUsername: \"localadmin\",\n computerName: \"luamaster\",\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n os_profile={\n \"admin_password\": \"password\",\n \"admin_username\": \"localadmin\",\n \"computer_name\": \"luamaster\",\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"image_reference\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n osProfile:\n adminPassword: password\n adminUsername: localadmin\n computerName: luamaster\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n imageReference:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\n\n```\n\n{{% /example %}}\n{{% example %}}\n### PutVirtualMachineInstanceWithOsDisk\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n OsDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsDiskArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tOsDisk: \u0026azurestackhci.VirtualMachineInstancePropertiesOsDiskArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsDiskArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .osDisk(VirtualMachineInstancePropertiesOsDiskArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n osDisk: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"os_disk\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n osDisk:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\n\n```\n\n{{% /example %}}\n{{% example %}}\n### PutVirtualMachineInstanceWithVMConfigAgent\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance(\"virtualMachineInstance\", new()\n {\n ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs\n {\n Name = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,\n },\n HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs\n {\n VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,\n },\n NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs\n {\n NetworkInterfaces = new[]\n {\n new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs\n {\n Id = \"test-nic\",\n },\n },\n },\n OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs\n {\n AdminPassword = \"password\",\n AdminUsername = \"localadmin\",\n ComputerName = \"luamaster\",\n WindowsConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs\n {\n ProvisionVMConfigAgent = true,\n },\n },\n ResourceUri = \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs\n {\n EnableTPM = true,\n UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs\n {\n SecureBootEnabled = true,\n },\n },\n StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs\n {\n ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs\n {\n Id = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n VmConfigStoragePathId = \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tazurestackhci \"github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2\"\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 := azurestackhci.NewVirtualMachineInstance(ctx, \"virtualMachineInstance\", \u0026azurestackhci.VirtualMachineInstanceArgs{\n\t\t\tExtendedLocation: \u0026azurestackhci.ExtendedLocationArgs{\n\t\t\t\tName: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\"),\n\t\t\t\tType: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),\n\t\t\t},\n\t\t\tHardwareProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{\n\t\t\t\tVmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),\n\t\t\t},\n\t\t\tNetworkProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{\n\t\t\t\tNetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{\n\t\t\t\t\t\u0026azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{\n\t\t\t\t\t\tId: pulumi.String(\"test-nic\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tOsProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{\n\t\t\t\tAdminPassword: pulumi.String(\"password\"),\n\t\t\t\tAdminUsername: pulumi.String(\"localadmin\"),\n\t\t\t\tComputerName: pulumi.String(\"luamaster\"),\n\t\t\t\tWindowsConfiguration: \u0026azurestackhci.VirtualMachineInstancePropertiesWindowsConfigurationArgs{\n\t\t\t\t\tProvisionVMConfigAgent: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceUri: pulumi.String(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\"),\n\t\t\tSecurityProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{\n\t\t\t\tEnableTPM: pulumi.Bool(true),\n\t\t\t\tUefiSettings: \u0026azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{\n\t\t\t\t\tSecureBootEnabled: pulumi.Bool(true),\n\t\t\t\t},\n\t\t\t},\n\t\t\tStorageProfile: \u0026azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{\n\t\t\t\tImageReference: \u0026azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{\n\t\t\t\t\tId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\"),\n\t\t\t\t},\n\t\t\t\tVmConfigStoragePathId: pulumi.String(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\"),\n\t\t\t},\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.azurestackhci.VirtualMachineInstance;\nimport com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;\nimport com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;\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 virtualMachineInstance = new VirtualMachineInstance(\"virtualMachineInstance\", VirtualMachineInstanceArgs.builder()\n .extendedLocation(ExtendedLocationArgs.builder()\n .name(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\")\n .type(\"CustomLocation\")\n .build())\n .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()\n .vmSize(\"Default\")\n .build())\n .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()\n .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()\n .id(\"test-nic\")\n .build())\n .build())\n .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()\n .adminPassword(\"password\")\n .adminUsername(\"localadmin\")\n .computerName(\"luamaster\")\n .windowsConfiguration(VirtualMachineInstancePropertiesWindowsConfigurationArgs.builder()\n .provisionVMConfigAgent(true)\n .build())\n .build())\n .resourceUri(\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\")\n .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()\n .enableTPM(true)\n .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()\n .secureBootEnabled(true)\n .build())\n .build())\n .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()\n .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()\n .id(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\")\n .build())\n .vmConfigStoragePathId(\"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\")\n .build())\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 virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\", {\n extendedLocation: {\n name: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,\n },\n hardwareProfile: {\n vmSize: azure_native.azurestackhci.VmSizeEnum.Default,\n },\n networkProfile: {\n networkInterfaces: [{\n id: \"test-nic\",\n }],\n },\n osProfile: {\n adminPassword: \"password\",\n adminUsername: \"localadmin\",\n computerName: \"luamaster\",\n windowsConfiguration: {\n provisionVMConfigAgent: true,\n },\n },\n resourceUri: \"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n securityProfile: {\n enableTPM: true,\n uefiSettings: {\n secureBootEnabled: true,\n },\n },\n storageProfile: {\n imageReference: {\n id: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n vmConfigStoragePathId: \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nvirtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance(\"virtualMachineInstance\",\n extended_location={\n \"name\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\",\n \"type\": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,\n },\n hardware_profile={\n \"vm_size\": azure_native.azurestackhci.VmSizeEnum.DEFAULT,\n },\n network_profile={\n \"network_interfaces\": [{\n \"id\": \"test-nic\",\n }],\n },\n os_profile={\n \"admin_password\": \"password\",\n \"admin_username\": \"localadmin\",\n \"computer_name\": \"luamaster\",\n \"windows_configuration\": {\n \"provision_vm_config_agent\": True,\n },\n },\n resource_uri=\"subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\",\n security_profile={\n \"enable_tpm\": True,\n \"uefi_settings\": {\n \"secure_boot_enabled\": True,\n },\n },\n storage_profile={\n \"image_reference\": {\n \"id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\",\n },\n \"vm_config_storage_path_id\": \"/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\",\n })\n\n```\n\n```yaml\nresources:\n virtualMachineInstance:\n type: azure-native:azurestackhci:VirtualMachineInstance\n properties:\n extendedLocation:\n name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location\n type: CustomLocation\n hardwareProfile:\n vmSize: Default\n networkProfile:\n networkInterfaces:\n - id: test-nic\n osProfile:\n adminPassword: password\n adminUsername: localadmin\n computerName: luamaster\n windowsConfiguration:\n provisionVMConfigAgent: true\n resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM\n securityProfile:\n enableTPM: true\n uefiSettings:\n secureBootEnabled: true\n storageProfile:\n imageReference:\n id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image\n vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container\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:azurestackhci:VirtualMachineInstance myresource1 /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default \n```\n", "properties": { "extendedLocation": { "type": "object", @@ -584673,6 +584697,9 @@ }, { "type": "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" + }, + { + "type": "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" } ] }, @@ -726624,7 +726651,7 @@ ] }, "azure-native:network:IpamPool": { - "description": "Instance of Pool resource.\nAzure REST API version: 2024-01-01-preview.\n\nOther available API versions: 2024-05-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### IpamPools_Create\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ipamPool = new AzureNative.Network.IpamPool(\"ipamPool\", new()\n {\n NetworkManagerName = \"TestNetworkManager\",\n PoolName = \"TestPool\",\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/v2\"\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.NewIpamPool(ctx, \"ipamPool\", \u0026network.IpamPoolArgs{\n\t\t\tNetworkManagerName: pulumi.String(\"TestNetworkManager\"),\n\t\t\tPoolName: pulumi.String(\"TestPool\"),\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.IpamPool;\nimport com.pulumi.azurenative.network.IpamPoolArgs;\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 ipamPool = new IpamPool(\"ipamPool\", IpamPoolArgs.builder()\n .networkManagerName(\"TestNetworkManager\")\n .poolName(\"TestPool\")\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 ipamPool = new azure_native.network.IpamPool(\"ipamPool\", {\n networkManagerName: \"TestNetworkManager\",\n poolName: \"TestPool\",\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nipam_pool = azure_native.network.IpamPool(\"ipamPool\",\n network_manager_name=\"TestNetworkManager\",\n pool_name=\"TestPool\",\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n ipamPool:\n type: azure-native:network:IpamPool\n properties:\n networkManagerName: TestNetworkManager\n poolName: TestPool\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:IpamPool TestPool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName} \n```\n", + "description": "Instance of Pool resource.\nAzure REST API version: 2024-01-01-preview.\n\nOther available API versions: 2024-05-01.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### IpamPools_Create\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ipamPool = new AzureNative.Network.IpamPool(\"ipamPool\", new()\n {\n Location = \"eastus\",\n NetworkManagerName = \"TestNetworkManager\",\n PoolName = \"TestPool\",\n Properties = new AzureNative.Network.Inputs.IpamPoolPropertiesArgs\n {\n AddressPrefixes = new[]\n {\n \"10.0.0.0/24\",\n },\n Description = \"Test description.\",\n ParentPoolName = \"\",\n },\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/v2\"\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.NewIpamPool(ctx, \"ipamPool\", \u0026network.IpamPoolArgs{\n\t\t\tLocation: pulumi.String(\"eastus\"),\n\t\t\tNetworkManagerName: pulumi.String(\"TestNetworkManager\"),\n\t\t\tPoolName: pulumi.String(\"TestPool\"),\n\t\t\tProperties: \u0026network.IpamPoolPropertiesArgs{\n\t\t\t\tAddressPrefixes: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"10.0.0.0/24\"),\n\t\t\t\t},\n\t\t\t\tDescription: pulumi.String(\"Test description.\"),\n\t\t\t\tParentPoolName: pulumi.String(\"\"),\n\t\t\t},\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.IpamPool;\nimport com.pulumi.azurenative.network.IpamPoolArgs;\nimport com.pulumi.azurenative.network.inputs.IpamPoolPropertiesArgs;\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 ipamPool = new IpamPool(\"ipamPool\", IpamPoolArgs.builder()\n .location(\"eastus\")\n .networkManagerName(\"TestNetworkManager\")\n .poolName(\"TestPool\")\n .properties(IpamPoolPropertiesArgs.builder()\n .addressPrefixes(\"10.0.0.0/24\")\n .description(\"Test description.\")\n .parentPoolName(\"\")\n .build())\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 ipamPool = new azure_native.network.IpamPool(\"ipamPool\", {\n location: \"eastus\",\n networkManagerName: \"TestNetworkManager\",\n poolName: \"TestPool\",\n properties: {\n addressPrefixes: [\"10.0.0.0/24\"],\n description: \"Test description.\",\n parentPoolName: \"\",\n },\n resourceGroupName: \"rg1\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nipam_pool = azure_native.network.IpamPool(\"ipamPool\",\n location=\"eastus\",\n network_manager_name=\"TestNetworkManager\",\n pool_name=\"TestPool\",\n properties={\n \"address_prefixes\": [\"10.0.0.0/24\"],\n \"description\": \"Test description.\",\n \"parent_pool_name\": \"\",\n },\n resource_group_name=\"rg1\")\n\n```\n\n```yaml\nresources:\n ipamPool:\n type: azure-native:network:IpamPool\n properties:\n location: eastus\n networkManagerName: TestNetworkManager\n poolName: TestPool\n properties:\n addressPrefixes:\n - 10.0.0.0/24\n description: Test description.\n parentPoolName: \"\"\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:IpamPool TestPool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName} \n```\n", "properties": { "location": { "type": "string", @@ -726700,6 +726727,7 @@ }, "requiredInputs": [ "networkManagerName", + "properties", "resourceGroupName" ], "aliases": [ @@ -767851,7 +767879,7 @@ ] }, "azure-native:search:PrivateEndpointConnection": { - "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service.\nAzure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PrivateEndpointConnectionUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var privateEndpointConnection = new AzureNative.Search.PrivateEndpointConnection(\"privateEndpointConnection\", new()\n {\n PrivateEndpointConnectionName = \"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\",\n Properties = new AzureNative.Search.Inputs.PrivateEndpointConnectionPropertiesArgs\n {\n PrivateLinkServiceConnectionState = new AzureNative.Search.Inputs.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs\n {\n Description = \"Rejected for some reason\",\n Status = AzureNative.Search.PrivateLinkServiceConnectionStatus.Rejected,\n },\n },\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewPrivateEndpointConnection(ctx, \"privateEndpointConnection\", \u0026search.PrivateEndpointConnectionArgs{\n\t\t\tPrivateEndpointConnectionName: pulumi.String(\"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\"),\n\t\t\tProperties: \u0026search.PrivateEndpointConnectionPropertiesArgs{\n\t\t\t\tPrivateLinkServiceConnectionState: \u0026search.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs{\n\t\t\t\t\tDescription: pulumi.String(\"Rejected for some reason\"),\n\t\t\t\t\tStatus: search.PrivateLinkServiceConnectionStatusRejected,\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\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.search.PrivateEndpointConnection;\nimport com.pulumi.azurenative.search.PrivateEndpointConnectionArgs;\nimport com.pulumi.azurenative.search.inputs.PrivateEndpointConnectionPropertiesArgs;\nimport com.pulumi.azurenative.search.inputs.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs;\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 privateEndpointConnection = new PrivateEndpointConnection(\"privateEndpointConnection\", PrivateEndpointConnectionArgs.builder()\n .privateEndpointConnectionName(\"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\")\n .properties(PrivateEndpointConnectionPropertiesArgs.builder()\n .privateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs.builder()\n .description(\"Rejected for some reason\")\n .status(\"Rejected\")\n .build())\n .build())\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\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 privateEndpointConnection = new azure_native.search.PrivateEndpointConnection(\"privateEndpointConnection\", {\n privateEndpointConnectionName: \"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\",\n properties: {\n privateLinkServiceConnectionState: {\n description: \"Rejected for some reason\",\n status: azure_native.search.PrivateLinkServiceConnectionStatus.Rejected,\n },\n },\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nprivate_endpoint_connection = azure_native.search.PrivateEndpointConnection(\"privateEndpointConnection\",\n private_endpoint_connection_name=\"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\",\n properties={\n \"private_link_service_connection_state\": {\n \"description\": \"Rejected for some reason\",\n \"status\": azure_native.search.PrivateLinkServiceConnectionStatus.REJECTED,\n },\n },\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\")\n\n```\n\n```yaml\nresources:\n privateEndpointConnection:\n type: azure-native:search:PrivateEndpointConnection\n properties:\n privateEndpointConnectionName: testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\n properties:\n privateLinkServiceConnectionState:\n description: Rejected for some reason\n status: Rejected\n resourceGroupName: rg1\n searchServiceName: mysearchservice\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:search:PrivateEndpointConnection testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName} \n```\n", + "description": "Describes an existing Private Endpoint connection to the Azure Cognitive Search service.\nAzure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### PrivateEndpointConnectionUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var privateEndpointConnection = new AzureNative.Search.PrivateEndpointConnection(\"privateEndpointConnection\", new()\n {\n PrivateEndpointConnectionName = \"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\",\n Properties = new AzureNative.Search.Inputs.PrivateEndpointConnectionPropertiesArgs\n {\n PrivateLinkServiceConnectionState = new AzureNative.Search.Inputs.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs\n {\n Description = \"Rejected for some reason\",\n Status = AzureNative.Search.PrivateLinkServiceConnectionStatus.Rejected,\n },\n },\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewPrivateEndpointConnection(ctx, \"privateEndpointConnection\", \u0026search.PrivateEndpointConnectionArgs{\n\t\t\tPrivateEndpointConnectionName: pulumi.String(\"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\"),\n\t\t\tProperties: \u0026search.PrivateEndpointConnectionPropertiesArgs{\n\t\t\t\tPrivateLinkServiceConnectionState: \u0026search.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs{\n\t\t\t\t\tDescription: pulumi.String(\"Rejected for some reason\"),\n\t\t\t\t\tStatus: search.PrivateLinkServiceConnectionStatusRejected,\n\t\t\t\t},\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\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.search.PrivateEndpointConnection;\nimport com.pulumi.azurenative.search.PrivateEndpointConnectionArgs;\nimport com.pulumi.azurenative.search.inputs.PrivateEndpointConnectionPropertiesArgs;\nimport com.pulumi.azurenative.search.inputs.PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs;\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 privateEndpointConnection = new PrivateEndpointConnection(\"privateEndpointConnection\", PrivateEndpointConnectionArgs.builder()\n .privateEndpointConnectionName(\"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\")\n .properties(PrivateEndpointConnectionPropertiesArgs.builder()\n .privateLinkServiceConnectionState(PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs.builder()\n .description(\"Rejected for some reason\")\n .status(\"Rejected\")\n .build())\n .build())\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\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 privateEndpointConnection = new azure_native.search.PrivateEndpointConnection(\"privateEndpointConnection\", {\n privateEndpointConnectionName: \"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\",\n properties: {\n privateLinkServiceConnectionState: {\n description: \"Rejected for some reason\",\n status: azure_native.search.PrivateLinkServiceConnectionStatus.Rejected,\n },\n },\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nprivate_endpoint_connection = azure_native.search.PrivateEndpointConnection(\"privateEndpointConnection\",\n private_endpoint_connection_name=\"testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\",\n properties={\n \"private_link_service_connection_state\": {\n \"description\": \"Rejected for some reason\",\n \"status\": azure_native.search.PrivateLinkServiceConnectionStatus.REJECTED,\n },\n },\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\")\n\n```\n\n```yaml\nresources:\n privateEndpointConnection:\n type: azure-native:search:PrivateEndpointConnection\n properties:\n privateEndpointConnectionName: testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546\n properties:\n privateLinkServiceConnectionState:\n description: Rejected for some reason\n status: Rejected\n resourceGroupName: rg1\n searchServiceName: mysearchservice\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:search:PrivateEndpointConnection testEndpoint.50bf4fbe-d7c1-4b48-a642-4f5892642546 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/privateEndpointConnections/{privateEndpointConnectionName} \n```\n", "properties": { "name": { "type": "string", @@ -767926,11 +767954,14 @@ }, { "type": "azure-native:search/v20240601preview:PrivateEndpointConnection" + }, + { + "type": "azure-native:search/v20250201preview:PrivateEndpointConnection" } ] }, "azure-native:search:Service": { - "description": "Describes an Azure Cognitive Search service and its current state.\nAzure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### SearchCreateOrUpdateService\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceAuthOptions\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n AuthOptions = new AzureNative.Search.Inputs.DataPlaneAuthOptionsArgs\n {\n AadOrApiKey = new AzureNative.Search.Inputs.DataPlaneAadOrApiKeyAuthOptionArgs\n {\n AadAuthFailureMode = AzureNative.Search.AadAuthFailureMode.Http401WithBearerChallenge,\n },\n },\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tAuthOptions: \u0026search.DataPlaneAuthOptionsArgs{\n\t\t\t\tAadOrApiKey: \u0026search.DataPlaneAadOrApiKeyAuthOptionArgs{\n\t\t\t\t\tAadAuthFailureMode: search.AadAuthFailureModeHttp401WithBearerChallenge,\n\t\t\t\t},\n\t\t\t},\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.DataPlaneAuthOptionsArgs;\nimport com.pulumi.azurenative.search.inputs.DataPlaneAadOrApiKeyAuthOptionArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .authOptions(DataPlaneAuthOptionsArgs.builder()\n .aadOrApiKey(DataPlaneAadOrApiKeyAuthOptionArgs.builder()\n .aadAuthFailureMode(\"http401WithBearerChallenge\")\n .build())\n .build())\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n authOptions: {\n aadOrApiKey: {\n aadAuthFailureMode: azure_native.search.AadAuthFailureMode.Http401WithBearerChallenge,\n },\n },\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n auth_options={\n \"aad_or_api_key\": {\n \"aad_auth_failure_mode\": azure_native.search.AadAuthFailureMode.HTTP401_WITH_BEARER_CHALLENGE,\n },\n },\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n authOptions:\n aadOrApiKey:\n aadAuthFailureMode: http401WithBearerChallenge\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceDisableLocalAuth\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n DisableLocalAuth = true,\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tDisableLocalAuth: pulumi.Bool(true),\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .disableLocalAuth(true)\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n disableLocalAuth: true,\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n disable_local_auth=True,\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n disableLocalAuth: true\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n PublicNetworkAccess = AzureNative.Search.PublicNetworkAccess.Disabled,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tPublicNetworkAccess: search.PublicNetworkAccessDisabled,\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .publicNetworkAccess(\"disabled\")\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n publicNetworkAccess: azure_native.search.PublicNetworkAccess.Disabled,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n public_network_access=azure_native.search.PublicNetworkAccess.DISABLED,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n location: westus\n partitionCount: 1\n publicNetworkAccess: disabled\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n NetworkRuleSet = new AzureNative.Search.Inputs.NetworkRuleSetArgs\n {\n IpRules = new[]\n {\n new AzureNative.Search.Inputs.IpRuleArgs\n {\n Value = \"123.4.5.6\",\n },\n new AzureNative.Search.Inputs.IpRuleArgs\n {\n Value = \"123.4.6.0/18\",\n },\n },\n },\n PartitionCount = 1,\n ReplicaCount = 1,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tNetworkRuleSet: \u0026search.NetworkRuleSetArgs{\n\t\t\t\tIpRules: search.IpRuleArray{\n\t\t\t\t\t\u0026search.IpRuleArgs{\n\t\t\t\t\t\tValue: pulumi.String(\"123.4.5.6\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026search.IpRuleArgs{\n\t\t\t\t\t\tValue: pulumi.String(\"123.4.6.0/18\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(1),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.NetworkRuleSetArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .location(\"westus\")\n .networkRuleSet(NetworkRuleSetArgs.builder()\n .ipRules( \n IpRuleArgs.builder()\n .value(\"123.4.5.6\")\n .build(),\n IpRuleArgs.builder()\n .value(\"123.4.6.0/18\")\n .build())\n .build())\n .partitionCount(1)\n .replicaCount(1)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n networkRuleSet: {\n ipRules: [\n {\n value: \"123.4.5.6\",\n },\n {\n value: \"123.4.6.0/18\",\n },\n ],\n },\n partitionCount: 1,\n replicaCount: 1,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n network_rule_set={\n \"ip_rules\": [\n {\n \"value\": \"123.4.5.6\",\n },\n {\n \"value\": \"123.4.6.0/18\",\n },\n ],\n },\n partition_count=1,\n replica_count=1,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n location: westus\n networkRuleSet:\n ipRules:\n - value: 123.4.5.6\n - value: 123.4.6.0/18\n partitionCount: 1\n replicaCount: 1\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceWithCmkEnforcement\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n EncryptionWithCmk = new AzureNative.Search.Inputs.EncryptionWithCmkArgs\n {\n Enforcement = AzureNative.Search.SearchEncryptionWithCmk.Enabled,\n },\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tEncryptionWithCmk: \u0026search.EncryptionWithCmkArgs{\n\t\t\t\tEnforcement: search.SearchEncryptionWithCmkEnabled,\n\t\t\t},\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.EncryptionWithCmkArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .encryptionWithCmk(EncryptionWithCmkArgs.builder()\n .enforcement(\"Enabled\")\n .build())\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n encryptionWithCmk: {\n enforcement: azure_native.search.SearchEncryptionWithCmk.Enabled,\n },\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n encryption_with_cmk={\n \"enforcement\": azure_native.search.SearchEncryptionWithCmk.ENABLED,\n },\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n encryptionWithCmk:\n enforcement: Enabled\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceWithIdentity\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Identity = new AzureNative.Search.Inputs.IdentityArgs\n {\n Type = AzureNative.Search.IdentityType.SystemAssigned,\n },\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tIdentity: \u0026search.IdentityArgs{\n\t\t\t\tType: search.IdentityTypeSystemAssigned,\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.IdentityArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .identity(IdentityArgs.builder()\n .type(\"SystemAssigned\")\n .build())\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n identity: {\n type: azure_native.search.IdentityType.SystemAssigned,\n },\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n identity={\n \"type\": azure_native.search.IdentityType.SYSTEM_ASSIGNED,\n },\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n identity:\n type: SystemAssigned\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\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:search:Service mysearchservice /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName} \n```\n", + "description": "Describes an Azure Cognitive Search service and its current state.\nAzure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### SearchCreateOrUpdateService\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceAuthOptions\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n AuthOptions = new AzureNative.Search.Inputs.DataPlaneAuthOptionsArgs\n {\n AadOrApiKey = new AzureNative.Search.Inputs.DataPlaneAadOrApiKeyAuthOptionArgs\n {\n AadAuthFailureMode = AzureNative.Search.AadAuthFailureMode.Http401WithBearerChallenge,\n },\n },\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tAuthOptions: \u0026search.DataPlaneAuthOptionsArgs{\n\t\t\t\tAadOrApiKey: \u0026search.DataPlaneAadOrApiKeyAuthOptionArgs{\n\t\t\t\t\tAadAuthFailureMode: search.AadAuthFailureModeHttp401WithBearerChallenge,\n\t\t\t\t},\n\t\t\t},\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.DataPlaneAuthOptionsArgs;\nimport com.pulumi.azurenative.search.inputs.DataPlaneAadOrApiKeyAuthOptionArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .authOptions(DataPlaneAuthOptionsArgs.builder()\n .aadOrApiKey(DataPlaneAadOrApiKeyAuthOptionArgs.builder()\n .aadAuthFailureMode(\"http401WithBearerChallenge\")\n .build())\n .build())\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n authOptions: {\n aadOrApiKey: {\n aadAuthFailureMode: azure_native.search.AadAuthFailureMode.Http401WithBearerChallenge,\n },\n },\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n auth_options={\n \"aad_or_api_key\": {\n \"aad_auth_failure_mode\": azure_native.search.AadAuthFailureMode.HTTP401_WITH_BEARER_CHALLENGE,\n },\n },\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n authOptions:\n aadOrApiKey:\n aadAuthFailureMode: http401WithBearerChallenge\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceDisableLocalAuth\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n DisableLocalAuth = true,\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tDisableLocalAuth: pulumi.Bool(true),\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .disableLocalAuth(true)\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n disableLocalAuth: true,\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n disable_local_auth=True,\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n disableLocalAuth: true\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceToAllowAccessFromPrivateEndpoints\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n PublicNetworkAccess = AzureNative.Search.PublicNetworkAccess.Disabled,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tPublicNetworkAccess: search.PublicNetworkAccessDisabled,\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .publicNetworkAccess(\"disabled\")\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n publicNetworkAccess: azure_native.search.PublicNetworkAccess.Disabled,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n public_network_access=azure_native.search.PublicNetworkAccess.DISABLED,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n location: westus\n partitionCount: 1\n publicNetworkAccess: disabled\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceToAllowAccessFromPublicCustomIPs\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n NetworkRuleSet = new AzureNative.Search.Inputs.NetworkRuleSetArgs\n {\n IpRules = new[]\n {\n new AzureNative.Search.Inputs.IpRuleArgs\n {\n Value = \"123.4.5.6\",\n },\n new AzureNative.Search.Inputs.IpRuleArgs\n {\n Value = \"123.4.6.0/18\",\n },\n },\n },\n PartitionCount = 1,\n ReplicaCount = 1,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tNetworkRuleSet: \u0026search.NetworkRuleSetArgs{\n\t\t\t\tIpRules: search.IpRuleArray{\n\t\t\t\t\t\u0026search.IpRuleArgs{\n\t\t\t\t\t\tValue: pulumi.String(\"123.4.5.6\"),\n\t\t\t\t\t},\n\t\t\t\t\t\u0026search.IpRuleArgs{\n\t\t\t\t\t\tValue: pulumi.String(\"123.4.6.0/18\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(1),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.NetworkRuleSetArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .location(\"westus\")\n .networkRuleSet(NetworkRuleSetArgs.builder()\n .ipRules( \n IpRuleArgs.builder()\n .value(\"123.4.5.6\")\n .build(),\n IpRuleArgs.builder()\n .value(\"123.4.6.0/18\")\n .build())\n .build())\n .partitionCount(1)\n .replicaCount(1)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n networkRuleSet: {\n ipRules: [\n {\n value: \"123.4.5.6\",\n },\n {\n value: \"123.4.6.0/18\",\n },\n ],\n },\n partitionCount: 1,\n replicaCount: 1,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n network_rule_set={\n \"ip_rules\": [\n {\n \"value\": \"123.4.5.6\",\n },\n {\n \"value\": \"123.4.6.0/18\",\n },\n ],\n },\n partition_count=1,\n replica_count=1,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n location: westus\n networkRuleSet:\n ipRules:\n - value: 123.4.5.6\n - value: 123.4.6.0/18\n partitionCount: 1\n replicaCount: 1\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceWithCmkEnforcement\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n EncryptionWithCmk = new AzureNative.Search.Inputs.EncryptionWithCmkArgs\n {\n Enforcement = AzureNative.Search.SearchEncryptionWithCmk.Enabled,\n },\n HostingMode = AzureNative.Search.HostingMode.Default,\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tEncryptionWithCmk: \u0026search.EncryptionWithCmkArgs{\n\t\t\t\tEnforcement: search.SearchEncryptionWithCmkEnabled,\n\t\t\t},\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.EncryptionWithCmkArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .encryptionWithCmk(EncryptionWithCmkArgs.builder()\n .enforcement(\"Enabled\")\n .build())\n .hostingMode(\"default\")\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n encryptionWithCmk: {\n enforcement: azure_native.search.SearchEncryptionWithCmk.Enabled,\n },\n hostingMode: azure_native.search.HostingMode.Default,\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n encryption_with_cmk={\n \"enforcement\": azure_native.search.SearchEncryptionWithCmk.ENABLED,\n },\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n encryptionWithCmk:\n enforcement: Enabled\n hostingMode: default\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\n\n```\n\n{{% /example %}}\n{{% example %}}\n### SearchCreateOrUpdateServiceWithIdentity\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var service = new AzureNative.Search.Service(\"service\", new()\n {\n HostingMode = AzureNative.Search.HostingMode.Default,\n Identity = new AzureNative.Search.Inputs.IdentityArgs\n {\n Type = AzureNative.Search.IdentityType.SystemAssigned,\n },\n Location = \"westus\",\n PartitionCount = 1,\n ReplicaCount = 3,\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n Sku = new AzureNative.Search.Inputs.SkuArgs\n {\n Name = AzureNative.Search.SkuName.Standard,\n },\n Tags = \n {\n { \"app-name\", \"My e-commerce app\" },\n },\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewService(ctx, \"service\", \u0026search.ServiceArgs{\n\t\t\tHostingMode: search.HostingModeDefault,\n\t\t\tIdentity: \u0026search.IdentityArgs{\n\t\t\t\tType: search.IdentityTypeSystemAssigned,\n\t\t\t},\n\t\t\tLocation: pulumi.String(\"westus\"),\n\t\t\tPartitionCount: pulumi.Int(1),\n\t\t\tReplicaCount: pulumi.Int(3),\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSku: \u0026search.SkuArgs{\n\t\t\t\tName: search.SkuNameStandard,\n\t\t\t},\n\t\t\tTags: pulumi.StringMap{\n\t\t\t\t\"app-name\": pulumi.String(\"My e-commerce app\"),\n\t\t\t},\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.search.Service;\nimport com.pulumi.azurenative.search.ServiceArgs;\nimport com.pulumi.azurenative.search.inputs.IdentityArgs;\nimport com.pulumi.azurenative.search.inputs.SkuArgs;\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 service = new Service(\"service\", ServiceArgs.builder()\n .hostingMode(\"default\")\n .identity(IdentityArgs.builder()\n .type(\"SystemAssigned\")\n .build())\n .location(\"westus\")\n .partitionCount(1)\n .replicaCount(3)\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sku(SkuArgs.builder()\n .name(\"standard\")\n .build())\n .tags(Map.of(\"app-name\", \"My e-commerce app\"))\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 service = new azure_native.search.Service(\"service\", {\n hostingMode: azure_native.search.HostingMode.Default,\n identity: {\n type: azure_native.search.IdentityType.SystemAssigned,\n },\n location: \"westus\",\n partitionCount: 1,\n replicaCount: 3,\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sku: {\n name: azure_native.search.SkuName.Standard,\n },\n tags: {\n \"app-name\": \"My e-commerce app\",\n },\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nservice = azure_native.search.Service(\"service\",\n hosting_mode=azure_native.search.HostingMode.DEFAULT,\n identity={\n \"type\": azure_native.search.IdentityType.SYSTEM_ASSIGNED,\n },\n location=\"westus\",\n partition_count=1,\n replica_count=3,\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n sku={\n \"name\": azure_native.search.SkuName.STANDARD,\n },\n tags={\n \"app-name\": \"My e-commerce app\",\n })\n\n```\n\n```yaml\nresources:\n service:\n type: azure-native:search:Service\n properties:\n hostingMode: default\n identity:\n type: SystemAssigned\n location: westus\n partitionCount: 1\n replicaCount: 3\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sku:\n name: standard\n tags:\n app-name: My e-commerce app\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:search:Service mysearchservice /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName} \n```\n", "properties": { "authOptions": { "type": "object", @@ -768146,11 +768177,14 @@ }, { "type": "azure-native:search/v20240601preview:Service" + }, + { + "type": "azure-native:search/v20250201preview:Service" } ] }, "azure-native:search:SharedPrivateLinkResource": { - "description": "Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.\nAzure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### SharedPrivateLinkResourceCreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sharedPrivateLinkResource = new AzureNative.Search.SharedPrivateLinkResource(\"sharedPrivateLinkResource\", new()\n {\n Properties = new AzureNative.Search.Inputs.SharedPrivateLinkResourcePropertiesArgs\n {\n GroupId = \"blob\",\n PrivateLinkResourceId = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\",\n RequestMessage = \"please approve\",\n },\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n SharedPrivateLinkResourceName = \"testResource\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewSharedPrivateLinkResource(ctx, \"sharedPrivateLinkResource\", \u0026search.SharedPrivateLinkResourceArgs{\n\t\t\tProperties: \u0026search.SharedPrivateLinkResourcePropertiesArgs{\n\t\t\t\tGroupId: pulumi.String(\"blob\"),\n\t\t\t\tPrivateLinkResourceId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\"),\n\t\t\t\tRequestMessage: pulumi.String(\"please approve\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSharedPrivateLinkResourceName: pulumi.String(\"testResource\"),\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.search.SharedPrivateLinkResource;\nimport com.pulumi.azurenative.search.SharedPrivateLinkResourceArgs;\nimport com.pulumi.azurenative.search.inputs.SharedPrivateLinkResourcePropertiesArgs;\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 sharedPrivateLinkResource = new SharedPrivateLinkResource(\"sharedPrivateLinkResource\", SharedPrivateLinkResourceArgs.builder()\n .properties(SharedPrivateLinkResourcePropertiesArgs.builder()\n .groupId(\"blob\")\n .privateLinkResourceId(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\")\n .requestMessage(\"please approve\")\n .build())\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sharedPrivateLinkResourceName(\"testResource\")\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 sharedPrivateLinkResource = new azure_native.search.SharedPrivateLinkResource(\"sharedPrivateLinkResource\", {\n properties: {\n groupId: \"blob\",\n privateLinkResourceId: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\",\n requestMessage: \"please approve\",\n },\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sharedPrivateLinkResourceName: \"testResource\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nshared_private_link_resource = azure_native.search.SharedPrivateLinkResource(\"sharedPrivateLinkResource\",\n properties={\n \"group_id\": \"blob\",\n \"private_link_resource_id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\",\n \"request_message\": \"please approve\",\n },\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n shared_private_link_resource_name=\"testResource\")\n\n```\n\n```yaml\nresources:\n sharedPrivateLinkResource:\n type: azure-native:search:SharedPrivateLinkResource\n properties:\n properties:\n groupId: blob\n privateLinkResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\n requestMessage: please approve\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sharedPrivateLinkResourceName: testResource\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:search:SharedPrivateLinkResource testResource /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName} \n```\n", + "description": "Describes a Shared Private Link Resource managed by the Azure Cognitive Search service.\nAzure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n### SharedPrivateLinkResourceCreateOrUpdate\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing AzureNative = Pulumi.AzureNative;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var sharedPrivateLinkResource = new AzureNative.Search.SharedPrivateLinkResource(\"sharedPrivateLinkResource\", new()\n {\n Properties = new AzureNative.Search.Inputs.SharedPrivateLinkResourcePropertiesArgs\n {\n GroupId = \"blob\",\n PrivateLinkResourceId = \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\",\n RequestMessage = \"please approve\",\n },\n ResourceGroupName = \"rg1\",\n SearchServiceName = \"mysearchservice\",\n SharedPrivateLinkResourceName = \"testResource\",\n });\n\n});\n\n\n```\n\n```go\npackage main\n\nimport (\n\tsearch \"github.com/pulumi/pulumi-azure-native-sdk/search/v2\"\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 := search.NewSharedPrivateLinkResource(ctx, \"sharedPrivateLinkResource\", \u0026search.SharedPrivateLinkResourceArgs{\n\t\t\tProperties: \u0026search.SharedPrivateLinkResourcePropertiesArgs{\n\t\t\t\tGroupId: pulumi.String(\"blob\"),\n\t\t\t\tPrivateLinkResourceId: pulumi.String(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\"),\n\t\t\t\tRequestMessage: pulumi.String(\"please approve\"),\n\t\t\t},\n\t\t\tResourceGroupName: pulumi.String(\"rg1\"),\n\t\t\tSearchServiceName: pulumi.String(\"mysearchservice\"),\n\t\t\tSharedPrivateLinkResourceName: pulumi.String(\"testResource\"),\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.search.SharedPrivateLinkResource;\nimport com.pulumi.azurenative.search.SharedPrivateLinkResourceArgs;\nimport com.pulumi.azurenative.search.inputs.SharedPrivateLinkResourcePropertiesArgs;\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 sharedPrivateLinkResource = new SharedPrivateLinkResource(\"sharedPrivateLinkResource\", SharedPrivateLinkResourceArgs.builder()\n .properties(SharedPrivateLinkResourcePropertiesArgs.builder()\n .groupId(\"blob\")\n .privateLinkResourceId(\"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\")\n .requestMessage(\"please approve\")\n .build())\n .resourceGroupName(\"rg1\")\n .searchServiceName(\"mysearchservice\")\n .sharedPrivateLinkResourceName(\"testResource\")\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 sharedPrivateLinkResource = new azure_native.search.SharedPrivateLinkResource(\"sharedPrivateLinkResource\", {\n properties: {\n groupId: \"blob\",\n privateLinkResourceId: \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\",\n requestMessage: \"please approve\",\n },\n resourceGroupName: \"rg1\",\n searchServiceName: \"mysearchservice\",\n sharedPrivateLinkResourceName: \"testResource\",\n});\n\n```\n\n```python\nimport pulumi\nimport pulumi_azure_native as azure_native\n\nshared_private_link_resource = azure_native.search.SharedPrivateLinkResource(\"sharedPrivateLinkResource\",\n properties={\n \"group_id\": \"blob\",\n \"private_link_resource_id\": \"/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\",\n \"request_message\": \"please approve\",\n },\n resource_group_name=\"rg1\",\n search_service_name=\"mysearchservice\",\n shared_private_link_resource_name=\"testResource\")\n\n```\n\n```yaml\nresources:\n sharedPrivateLinkResource:\n type: azure-native:search:SharedPrivateLinkResource\n properties:\n properties:\n groupId: blob\n privateLinkResourceId: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/storageAccountName\n requestMessage: please approve\n resourceGroupName: rg1\n searchServiceName: mysearchservice\n sharedPrivateLinkResourceName: testResource\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:search:SharedPrivateLinkResource testResource /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/sharedPrivateLinkResources/{sharedPrivateLinkResourceName} \n```\n", "properties": { "name": { "type": "string", @@ -768219,6 +768253,9 @@ }, { "type": "azure-native:search/v20240601preview:SharedPrivateLinkResource" + }, + { + "type": "azure-native:search/v20250201preview:SharedPrivateLinkResource" } ] }, @@ -866432,7 +866469,7 @@ } }, "azure-native:azurestackhci:getGalleryImage": { - "description": "Gets a gallery image\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets a gallery image\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "galleryImageName": { @@ -866541,7 +866578,7 @@ } }, "azure-native:azurestackhci:getGuestAgent": { - "description": "Implements GuestAgent GET method.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Implements GuestAgent GET method.\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "name": { @@ -866782,7 +866819,7 @@ } }, "azure-native:azurestackhci:getLogicalNetwork": { - "description": "The logical network resource definition.\nAzure REST API version: 2023-09-01-preview.\n\nOther available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "The logical network resource definition.\nAzure REST API version: 2023-09-01-preview.\n\nOther available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "logicalNetworkName": { @@ -866980,7 +867017,7 @@ } }, "azure-native:azurestackhci:getMarketplaceGalleryImage": { - "description": "Gets a marketplace gallery image\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets a marketplace gallery image\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "marketplaceGalleryImageName": { @@ -867085,7 +867122,7 @@ } }, "azure-native:azurestackhci:getNetworkInterface": { - "description": "Gets a network interface\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets a network interface\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "networkInterfaceName": { @@ -867181,7 +867218,7 @@ } }, "azure-native:azurestackhci:getNetworkSecurityGroup": { - "description": "Gets the specified network security group.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets the specified network security group.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "networkSecurityGroupName": { @@ -867277,7 +867314,7 @@ } }, "azure-native:azurestackhci:getSecurityRule": { - "description": "Gets the specified security rule.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets the specified security rule.\nAzure REST API version: 2024-02-01-preview.\n\nOther available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "networkSecurityGroupName": { @@ -867469,7 +867506,7 @@ } }, "azure-native:azurestackhci:getStorageContainer": { - "description": "Gets a storage container\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets a storage container\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "resourceGroupName": { @@ -867894,7 +867931,7 @@ } }, "azure-native:azurestackhci:getVirtualHardDisk": { - "description": "Gets a virtual hard disk\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets a virtual hard disk\nAzure REST API version: 2022-12-15-preview.\n\nOther available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "resourceGroupName": { @@ -868121,7 +868158,7 @@ } }, "azure-native:azurestackhci:getVirtualMachineInstance": { - "description": "Gets a virtual machine instance\nAzure REST API version: 2023-07-01-preview.\n\nOther available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview.", + "description": "Gets a virtual machine instance\nAzure REST API version: 2023-07-01-preview.\n\nOther available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview.", "inputs": { "properties": { "resourceUri": { @@ -1003606,7 +1003643,7 @@ } }, "azure-native:search:getPrivateEndpointConnection": { - "description": "Gets the details of the private endpoint connection to the search service in the given resource group.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.", + "description": "Gets the details of the private endpoint connection to the search service in the given resource group.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.", "inputs": { "properties": { "privateEndpointConnectionName": { @@ -1003663,7 +1003700,7 @@ } }, "azure-native:search:getService": { - "description": "Gets the search service with the given name in the given resource group.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.", + "description": "Gets the search service with the given name in the given resource group.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.", "inputs": { "properties": { "resourceGroupName": { @@ -1003802,7 +1003839,7 @@ } }, "azure-native:search:getSharedPrivateLinkResource": { - "description": "Gets the details of the shared private link resource managed by the search service in the given resource group.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.", + "description": "Gets the details of the shared private link resource managed by the search service in the given resource group.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.", "inputs": { "properties": { "resourceGroupName": { @@ -1003859,7 +1003896,7 @@ } }, "azure-native:search:listAdminKey": { - "description": "Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.", + "description": "Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.", "inputs": { "properties": { "resourceGroupName": { @@ -1003899,7 +1003936,7 @@ } }, "azure-native:search:listQueryKeyBySearchService": { - "description": "Returns the list of query API keys for the given Azure Cognitive Search service.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview.", + "description": "Returns the list of query API keys for the given Azure Cognitive Search service.\nAzure REST API version: 2022-09-01.\n\nOther available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview.", "inputs": { "properties": { "resourceGroupName": { diff --git a/reports/allEndpoints.json b/reports/allEndpoints.json index c78ce8c87772..46bafdecb1e4 100644 --- a/reports/allEndpoints.json +++ b/reports/allEndpoints.json @@ -17338,6 +17338,16 @@ ] } }, + "Migration": { + "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/migrations/default": { + "Path": "/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/migrations/default", + "FilePath": "specification/billing/resource-manager/Microsoft.Billing/preview/2024-08-01-preview/migration.json", + "HttpVerbs": [ + "GET", + "PUT" + ] + } + }, "Operations": { "/providers/Microsoft.Billing/operations": { "Path": "/providers/Microsoft.Billing/operations", @@ -72469,6 +72479,15 @@ ] } }, + "Offerings": { + "/providers/Microsoft.Search/offerings": { + "Path": "/providers/Microsoft.Search/offerings", + "FilePath": "specification/search/resource-manager/Microsoft.Search/preview/2025-02-01-preview/search.json", + "HttpVerbs": [ + "GET" + ] + } + }, "Operations": { "/providers/Microsoft.Search/operations": { "Path": "/providers/Microsoft.Search/operations", @@ -72536,6 +72555,18 @@ ] } }, + "Service": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}": { + "Path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}", + "FilePath": "specification/search/resource-manager/Microsoft.Search/preview/2025-02-01-preview/search.json", + "HttpVerbs": [ + "POST" + ], + "PostOperations": [ + "upgrade" + ] + } + }, "Services": { "/subscriptions/{subscriptionId}/providers/Microsoft.Search": { "Path": "/subscriptions/{subscriptionId}/providers/Microsoft.Search", diff --git a/reports/allResourceVersionsByResource.json b/reports/allResourceVersionsByResource.json index 23b07eea2aa3..e526f236fa7e 100644 --- a/reports/allResourceVersionsByResource.json +++ b/reports/allResourceVersionsByResource.json @@ -4252,7 +4252,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "GuestAgent": [ "2021-09-01-preview", @@ -4263,7 +4264,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "HybridIdentityMetadatum": [ "2021-09-01-preview", @@ -4275,7 +4277,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "MachineExtension": [ "2021-09-01-preview", @@ -4289,7 +4292,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "NetworkInterface": [ "2022-12-15-preview", @@ -4299,19 +4303,22 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "NetworkSecurityGroup": [ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "SecurityRule": [ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "SecuritySetting": [ "2023-11-01-preview", @@ -4329,7 +4336,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "Update": [ "2022-12-01", @@ -4384,7 +4392,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "VirtualMachine": [ "2022-12-15-preview" @@ -4396,7 +4405,8 @@ "2024-02-01-preview", "2024-05-01-preview", "2024-07-15-preview", - "2024-08-01-preview" + "2024-08-01-preview", + "2024-10-01-preview" ], "VirtualNetwork": [ "2022-12-15-preview", @@ -22583,7 +22593,8 @@ "2022-09-01", "2023-11-01", "2024-03-01-preview", - "2024-06-01-preview" + "2024-06-01-preview", + "2025-02-01-preview" ], "Service": [ "2015-08-19", @@ -22595,7 +22606,8 @@ "2022-09-01", "2023-11-01", "2024-03-01-preview", - "2024-06-01-preview" + "2024-06-01-preview", + "2025-02-01-preview" ], "SharedPrivateLinkResource": [ "2020-08-01", @@ -22604,7 +22616,8 @@ "2022-09-01", "2023-11-01", "2024-03-01-preview", - "2024-06-01-preview" + "2024-06-01-preview", + "2025-02-01-preview" ], "listAdminKey": [ "2015-02-28", @@ -22617,7 +22630,8 @@ "2022-09-01", "2023-11-01", "2024-03-01-preview", - "2024-06-01-preview" + "2024-06-01-preview", + "2025-02-01-preview" ], "listQueryKeyBySearchService": [ "2015-08-19", @@ -22629,7 +22643,8 @@ "2022-09-01", "2023-11-01", "2024-03-01-preview", - "2024-06-01-preview" + "2024-06-01-preview", + "2025-02-01-preview" ] }, "SecretSyncController": { diff --git a/reports/allResourcesByVersion.json b/reports/allResourcesByVersion.json index d141def29b97..47edf4fc46bb 100644 --- a/reports/allResourcesByVersion.json +++ b/reports/allResourcesByVersion.json @@ -3875,6 +3875,18 @@ "UpdateRun", "UpdateSummary" ], + "2024-10-01-preview": [ + "GalleryImage", + "GuestAgent", + "LogicalNetwork", + "MarketplaceGalleryImage", + "NetworkInterface", + "NetworkSecurityGroup", + "SecurityRule", + "StorageContainer", + "VirtualHardDisk", + "VirtualMachineInstance" + ], "2024-12-01-preview": [ "ArcSetting", "Cluster", @@ -21991,6 +22003,13 @@ "SharedPrivateLinkResource", "listAdminKey", "listQueryKeyBySearchService" + ], + "2025-02-01-preview": [ + "PrivateEndpointConnection", + "Service", + "SharedPrivateLinkResource", + "listAdminKey", + "listQueryKeyBySearchService" ] }, "SecretSyncController": { diff --git a/reports/forceNewTypes.json b/reports/forceNewTypes.json index d4fc27837d41..a1bc535706a6 100644 --- a/reports/forceNewTypes.json +++ b/reports/forceNewTypes.json @@ -2113,6 +2113,34 @@ "ReferenceName": "HciEdgeDeviceJobType", "Property": "jobType" }, + { + "Module": "azurestackhci/v20241001preview", + "Provider": "AzureStackHCI", + "ResourceName": "NetworkInterface", + "ReferenceName": "IPConfiguration", + "Property": "name" + }, + { + "Module": "azurestackhci/v20241001preview", + "Provider": "AzureStackHCI", + "ResourceName": "VirtualMachineInstance", + "ReferenceName": "VirtualMachineInstancePropertiesOsProfile", + "Property": "adminPassword" + }, + { + "Module": "azurestackhci/v20241001preview", + "Provider": "AzureStackHCI", + "ResourceName": "VirtualMachineInstance", + "ReferenceName": "ImageArmReference", + "Property": "id" + }, + { + "Module": "azurestackhci/v20241001preview", + "Provider": "AzureStackHCI", + "ResourceName": "VirtualMachineInstance", + "ReferenceName": "ImageArmReference", + "Property": "imageReference" + }, { "Module": "azurestackhci/v20241201preview", "Provider": "AzureStackHCI", diff --git a/reports/pending.json b/reports/pending.json index 41c920a61c14..c2044939eb69 100644 --- a/reports/pending.json +++ b/reports/pending.json @@ -162,6 +162,7 @@ "2024-07-15-preview", "2024-08-01-preview", "2024-09-01-preview", + "2024-10-01-preview", "2024-12-01-preview" ], "AzureTerraform": [], @@ -1160,7 +1161,8 @@ "Search": [ "2023-11-01", "2024-03-01-preview", - "2024-06-01-preview" + "2024-06-01-preview", + "2025-02-01-preview" ], "SecretSyncController": [], "Security": [ diff --git a/reports/skippedPOSTEndpoints.json b/reports/skippedPOSTEndpoints.json index 518420b14f3e..86bcaf074bba 100644 --- a/reports/skippedPOSTEndpoints.json +++ b/reports/skippedPOSTEndpoints.json @@ -2166,6 +2166,7 @@ "AdminKeys_Regenerate": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/regenerateAdminKey/{keyKind}", "NetworkSecurityPerimeterConfigurations_Reconcile": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/networkSecurityPerimeterConfigurations/{nspConfigName}/reconcile", "QueryKeys_Create": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/createQueryKey/{name}", + "Service_Upgrade": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices/{searchServiceName}/upgrade", "Services_CheckNameAvailability": "/subscriptions/{subscriptionId}/providers/Microsoft.Search/checkNameAvailability" }, "Security": { diff --git a/sdk/dotnet/AzureStackHCI/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/GalleryImage.cs index afa40aa54a1b..8eaff995546d 100644 --- a/sdk/dotnet/AzureStackHCI/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/GalleryImage.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The gallery images resource definition. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:GalleryImage")] public partial class GalleryImage : global::Pulumi.CustomResource @@ -143,6 +143,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/GetGalleryImage.cs b/sdk/dotnet/AzureStackHCI/GetGalleryImage.cs index 62cf0e4e0e55..ee19cda19823 100644 --- a/sdk/dotnet/AzureStackHCI/GetGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/GetGalleryImage.cs @@ -15,7 +15,7 @@ public static class GetGalleryImage /// Gets a gallery image /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetGalleryImageArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getGalleryImage", args ?? new GetGalleryImageArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetGalleryImageArgs args, /// Gets a gallery image /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetGalleryImageInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getGalleryImage", args ?? new GetGalleryImageInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetGalleryImageInvokeArgs arg /// Gets a gallery image /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetGalleryImageInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getGalleryImage", args ?? new GetGalleryImageInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetGuestAgent.cs b/sdk/dotnet/AzureStackHCI/GetGuestAgent.cs index e42eb84468b5..15de8ac9cfc9 100644 --- a/sdk/dotnet/AzureStackHCI/GetGuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/GetGuestAgent.cs @@ -15,7 +15,7 @@ public static class GetGuestAgent /// Implements GuestAgent GET method. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetGuestAgentArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getGuestAgent", args ?? new GetGuestAgentArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetGuestAgentArgs args, Invo /// Implements GuestAgent GET method. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetGuestAgentInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getGuestAgent", args ?? new GetGuestAgentInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetGuestAgentInvokeArgs args, I /// Implements GuestAgent GET method. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetGuestAgentInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getGuestAgent", args ?? new GetGuestAgentInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetLogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/GetLogicalNetwork.cs index 9e73b8a3ac39..5f91823bf118 100644 --- a/sdk/dotnet/AzureStackHCI/GetLogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/GetLogicalNetwork.cs @@ -15,7 +15,7 @@ public static class GetLogicalNetwork /// The logical network resource definition. /// Azure REST API version: 2023-09-01-preview. /// - /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetLogicalNetworkArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getLogicalNetwork", args ?? new GetLogicalNetworkArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetLogicalNetworkArgs ar /// The logical network resource definition. /// Azure REST API version: 2023-09-01-preview. /// - /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetLogicalNetworkInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getLogicalNetwork", args ?? new GetLogicalNetworkInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetLogicalNetworkInvokeArgs /// The logical network resource definition. /// Azure REST API version: 2023-09-01-preview. /// - /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetLogicalNetworkInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getLogicalNetwork", args ?? new GetLogicalNetworkInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetMarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/GetMarketplaceGalleryImage.cs index cad8a84fcfce..544604166891 100644 --- a/sdk/dotnet/AzureStackHCI/GetMarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/GetMarketplaceGalleryImage.cs @@ -15,7 +15,7 @@ public static class GetMarketplaceGalleryImage /// Gets a marketplace gallery image /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetMarketplaceGalleryImageArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getMarketplaceGalleryImage", args ?? new GetMarketplaceGalleryImageArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetMarketplaceG /// Gets a marketplace gallery image /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetMarketplaceGalleryImageInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getMarketplaceGalleryImage", args ?? new GetMarketplaceGalleryImageInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetMarketplaceGall /// Gets a marketplace gallery image /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetMarketplaceGalleryImageInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getMarketplaceGalleryImage", args ?? new GetMarketplaceGalleryImageInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetNetworkInterface.cs b/sdk/dotnet/AzureStackHCI/GetNetworkInterface.cs index 08281cca633a..d3c608661703 100644 --- a/sdk/dotnet/AzureStackHCI/GetNetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/GetNetworkInterface.cs @@ -15,7 +15,7 @@ public static class GetNetworkInterface /// Gets a network interface /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetNetworkInterfaceArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getNetworkInterface", args ?? new GetNetworkInterfaceArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetNetworkInterfaceArg /// Gets a network interface /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetNetworkInterfaceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getNetworkInterface", args ?? new GetNetworkInterfaceInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetNetworkInterfaceInvoke /// Gets a network interface /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetNetworkInterfaceInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getNetworkInterface", args ?? new GetNetworkInterfaceInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetNetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/GetNetworkSecurityGroup.cs index 41dd7cd80aae..f95c9d2ef7de 100644 --- a/sdk/dotnet/AzureStackHCI/GetNetworkSecurityGroup.cs +++ b/sdk/dotnet/AzureStackHCI/GetNetworkSecurityGroup.cs @@ -15,7 +15,7 @@ public static class GetNetworkSecurityGroup /// Gets the specified network security group. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetNetworkSecurityGroupArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getNetworkSecurityGroup", args ?? new GetNetworkSecurityGroupArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetNetworkSecurity /// Gets the specified network security group. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetNetworkSecurityGroupInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getNetworkSecurityGroup", args ?? new GetNetworkSecurityGroupInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetNetworkSecurityGro /// Gets the specified network security group. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetNetworkSecurityGroupInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getNetworkSecurityGroup", args ?? new GetNetworkSecurityGroupInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetSecurityRule.cs b/sdk/dotnet/AzureStackHCI/GetSecurityRule.cs index 7b6312ed1d59..565b9f28586c 100644 --- a/sdk/dotnet/AzureStackHCI/GetSecurityRule.cs +++ b/sdk/dotnet/AzureStackHCI/GetSecurityRule.cs @@ -15,7 +15,7 @@ public static class GetSecurityRule /// Gets the specified security rule. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetSecurityRuleArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getSecurityRule", args ?? new GetSecurityRuleArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetSecurityRuleArgs args, /// Gets the specified security rule. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetSecurityRuleInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getSecurityRule", args ?? new GetSecurityRuleInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetSecurityRuleInvokeArgs arg /// Gets the specified security rule. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetSecurityRuleInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getSecurityRule", args ?? new GetSecurityRuleInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetStorageContainer.cs b/sdk/dotnet/AzureStackHCI/GetStorageContainer.cs index 57ef9870f42b..97c758b1f90b 100644 --- a/sdk/dotnet/AzureStackHCI/GetStorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/GetStorageContainer.cs @@ -15,7 +15,7 @@ public static class GetStorageContainer /// Gets a storage container /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetStorageContainerArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getStorageContainer", args ?? new GetStorageContainerArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetStorageContainerArg /// Gets a storage container /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetStorageContainerInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getStorageContainer", args ?? new GetStorageContainerInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetStorageContainerInvoke /// Gets a storage container /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetStorageContainerInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getStorageContainer", args ?? new GetStorageContainerInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetVirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/GetVirtualHardDisk.cs index 7549dee92b6f..074443b68ec4 100644 --- a/sdk/dotnet/AzureStackHCI/GetVirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/GetVirtualHardDisk.cs @@ -15,7 +15,7 @@ public static class GetVirtualHardDisk /// Gets a virtual hard disk /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetVirtualHardDiskArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getVirtualHardDisk", args ?? new GetVirtualHardDiskArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetVirtualHardDiskArgs /// Gets a virtual hard disk /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetVirtualHardDiskInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getVirtualHardDisk", args ?? new GetVirtualHardDiskInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetVirtualHardDiskInvokeAr /// Gets a virtual hard disk /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetVirtualHardDiskInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getVirtualHardDisk", args ?? new GetVirtualHardDiskInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GetVirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/GetVirtualMachineInstance.cs index 972d1e099fac..170fbb00dcd1 100644 --- a/sdk/dotnet/AzureStackHCI/GetVirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/GetVirtualMachineInstance.cs @@ -15,7 +15,7 @@ public static class GetVirtualMachineInstance /// Gets a virtual machine instance /// Azure REST API version: 2023-07-01-preview. /// - /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Task InvokeAsync(GetVirtualMachineInstanceArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetVirtualMachin /// Gets a virtual machine instance /// Azure REST API version: 2023-07-01-preview. /// - /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetVirtualMachineInstanceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetVirtualMachineIn /// Gets a virtual machine instance /// Azure REST API version: 2023-07-01-preview. /// - /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// public static Output Invoke(GetVirtualMachineInstanceInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/AzureStackHCI/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/GuestAgent.cs index 0d4735cf2737..a3eff31da9b6 100644 --- a/sdk/dotnet/AzureStackHCI/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/GuestAgent.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// Defines the GuestAgent. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:GuestAgent")] public partial class GuestAgent : global::Pulumi.CustomResource diff --git a/sdk/dotnet/AzureStackHCI/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/LogicalNetwork.cs index b4719d15203f..6c4891a2e4ec 100644 --- a/sdk/dotnet/AzureStackHCI/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/LogicalNetwork.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The logical network resource definition. /// Azure REST API version: 2023-09-01-preview. /// - /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:LogicalNetwork")] public partial class LogicalNetwork : global::Pulumi.CustomResource @@ -115,6 +115,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/MarketplaceGalleryImage.cs index 41fd62007c87..f67fa5735e7d 100644 --- a/sdk/dotnet/AzureStackHCI/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/MarketplaceGalleryImage.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The marketplace gallery image resource definition. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:MarketplaceGalleryImage")] public partial class MarketplaceGalleryImage : global::Pulumi.CustomResource @@ -136,6 +136,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/NetworkInterface.cs index 3d0f2052c3d9..ef7a5e00f58d 100644 --- a/sdk/dotnet/AzureStackHCI/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/NetworkInterface.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The network interface resource definition. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:NetworkInterface")] public partial class NetworkInterface : global::Pulumi.CustomResource @@ -119,6 +119,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/NetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/NetworkSecurityGroup.cs index 6f08faab7ed8..5ae8b54cf6bd 100644 --- a/sdk/dotnet/AzureStackHCI/NetworkSecurityGroup.cs +++ b/sdk/dotnet/AzureStackHCI/NetworkSecurityGroup.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// NetworkSecurityGroup resource. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:NetworkSecurityGroup")] public partial class NetworkSecurityGroup : global::Pulumi.CustomResource @@ -107,6 +107,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/SecurityRule.cs b/sdk/dotnet/AzureStackHCI/SecurityRule.cs index 062e07a44e00..fbea7ced9739 100644 --- a/sdk/dotnet/AzureStackHCI/SecurityRule.cs +++ b/sdk/dotnet/AzureStackHCI/SecurityRule.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// Security Rule resource. /// Azure REST API version: 2024-02-01-preview. /// - /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:SecurityRule")] public partial class SecurityRule : global::Pulumi.CustomResource @@ -131,6 +131,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:SecurityRule" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/StorageContainer.cs index 3f8f886d9df2..58143fbc869d 100644 --- a/sdk/dotnet/AzureStackHCI/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/StorageContainer.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The storage container resource definition. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:StorageContainer")] public partial class StorageContainer : global::Pulumi.CustomResource @@ -106,6 +106,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20210901Preview/GalleryimageRetrieve.cs b/sdk/dotnet/AzureStackHCI/V20210901Preview/GalleryimageRetrieve.cs index 5a5d9078b36d..1c262ea65fac 100644 --- a/sdk/dotnet/AzureStackHCI/V20210901Preview/GalleryimageRetrieve.cs +++ b/sdk/dotnet/AzureStackHCI/V20210901Preview/GalleryimageRetrieve.cs @@ -157,6 +157,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:galleryimageRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryimageRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:galleryimageRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryimageRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:galleryimageRetrieve" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20210901Preview/Marketplacegalleryimage.cs b/sdk/dotnet/AzureStackHCI/V20210901Preview/Marketplacegalleryimage.cs index 05a7c10352f7..19ca57977212 100644 --- a/sdk/dotnet/AzureStackHCI/V20210901Preview/Marketplacegalleryimage.cs +++ b/sdk/dotnet/AzureStackHCI/V20210901Preview/Marketplacegalleryimage.cs @@ -149,6 +149,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:marketplacegalleryimage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:Marketplacegalleryimage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:marketplacegalleryimage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:Marketplacegalleryimage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:marketplacegalleryimage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20210901Preview/NetworkinterfaceRetrieve.cs b/sdk/dotnet/AzureStackHCI/V20210901Preview/NetworkinterfaceRetrieve.cs index d4a151427651..484aba8d730c 100644 --- a/sdk/dotnet/AzureStackHCI/V20210901Preview/NetworkinterfaceRetrieve.cs +++ b/sdk/dotnet/AzureStackHCI/V20210901Preview/NetworkinterfaceRetrieve.cs @@ -130,6 +130,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:networkinterfaceRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkinterfaceRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:networkinterfaceRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkinterfaceRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:networkinterfaceRetrieve" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20210901Preview/StoragecontainerRetrieve.cs b/sdk/dotnet/AzureStackHCI/V20210901Preview/StoragecontainerRetrieve.cs index ae6c7d9288f5..6f1fdac461c8 100644 --- a/sdk/dotnet/AzureStackHCI/V20210901Preview/StoragecontainerRetrieve.cs +++ b/sdk/dotnet/AzureStackHCI/V20210901Preview/StoragecontainerRetrieve.cs @@ -125,6 +125,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:storagecontainerRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StoragecontainerRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:storagecontainerRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StoragecontainerRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:storagecontainerRetrieve" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20210901Preview/VirtualharddiskRetrieve.cs b/sdk/dotnet/AzureStackHCI/V20210901Preview/VirtualharddiskRetrieve.cs index 6283ba3f45ee..58c9760159cb 100644 --- a/sdk/dotnet/AzureStackHCI/V20210901Preview/VirtualharddiskRetrieve.cs +++ b/sdk/dotnet/AzureStackHCI/V20210901Preview/VirtualharddiskRetrieve.cs @@ -151,6 +151,8 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:virtualharddiskRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualharddiskRetrieve" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:virtualharddiskRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualharddiskRetrieve" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:virtualharddiskRetrieve" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20221215Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20221215Preview/GalleryImage.cs index 385fa6ae101c..d53fc07de988 100644 --- a/sdk/dotnet/AzureStackHCI/V20221215Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20221215Preview/GalleryImage.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20221215Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20221215Preview/MarketplaceGalleryImage.cs index 90038166865f..4683ce886698 100644 --- a/sdk/dotnet/AzureStackHCI/V20221215Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20221215Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20221215Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20221215Preview/NetworkInterface.cs index d0c00a91e5c6..2972d84c61aa 100644 --- a/sdk/dotnet/AzureStackHCI/V20221215Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20221215Preview/NetworkInterface.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20221215Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20221215Preview/StorageContainer.cs index c52ed1a288bc..e2d98f820bef 100644 --- a/sdk/dotnet/AzureStackHCI/V20221215Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20221215Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20221215Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20221215Preview/VirtualHardDisk.cs index ae2a157f4922..8e833422a7c1 100644 --- a/sdk/dotnet/AzureStackHCI/V20221215Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20221215Preview/VirtualHardDisk.cs @@ -137,6 +137,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/GalleryImage.cs index fb944cf48fb7..1860d2ebe824 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/GalleryImage.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/GuestAgent.cs index 93471086b031..01af721c2fa7 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/GuestAgent.cs @@ -94,6 +94,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/MarketplaceGalleryImage.cs index 634c9bad4a4a..41ed8e5e8ec7 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/NetworkInterface.cs index 1060a28fbee5..0be91faa1db7 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/NetworkInterface.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/StorageContainer.cs index f6431096ccb3..a8946ad5d58a 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualHardDisk.cs index ec93cecfdb72..589b19cac0e8 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualHardDisk.cs @@ -137,6 +137,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualMachineInstance.cs index 75c5e0b26022..ecb457d75c57 100644 --- a/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20230701Preview/VirtualMachineInstance.cs @@ -143,6 +143,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/GalleryImage.cs index 7788543fb0a3..3b26b509b020 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/GalleryImage.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/GuestAgent.cs index aebc2c53adb4..e8c23fb00766 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/GuestAgent.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/LogicalNetwork.cs index 978a52275344..a8f0d3354db4 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/LogicalNetwork.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/MarketplaceGalleryImage.cs index f478ae65a3ae..e70977aebff6 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/NetworkInterface.cs index 60d2e25a9e5d..a33ddc14ff4d 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/NetworkInterface.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/StorageContainer.cs index 74367c368f6f..299f0db130ca 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualHardDisk.cs index 5468c2e44d0a..9d6cec015ad0 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualHardDisk.cs @@ -137,6 +137,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualMachineInstance.cs index a31db1e1db7d..14af2c76e883 100644 --- a/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20230901Preview/VirtualMachineInstance.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240101/GalleryImage.cs index a68058bc46fa..fc154abe27dc 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/GalleryImage.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20240101/GuestAgent.cs index aa31e394dfdb..3f55f89ecc67 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/GuestAgent.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20240101/LogicalNetwork.cs index 683bc89e5afa..4807e45a6841 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/LogicalNetwork.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240101/MarketplaceGalleryImage.cs index ee4dff4a38eb..9c7fc78ef746 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20240101/NetworkInterface.cs index 429ad3297e16..d6b49b96e5e2 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/NetworkInterface.cs @@ -116,6 +116,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20240101/StorageContainer.cs index b11e71211a47..5aaf278c0e16 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20240101/VirtualHardDisk.cs index bfbc499ea76c..8e1793b635ea 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/VirtualHardDisk.cs @@ -137,6 +137,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240101/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20240101/VirtualMachineInstance.cs index fc4ef740233e..528ea6cb412e 100644 --- a/sdk/dotnet/AzureStackHCI/V20240101/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20240101/VirtualMachineInstance.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/GalleryImage.cs index eeb1cc568015..1c825cb57c48 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/GalleryImage.cs @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/GuestAgent.cs index 0e7866f68888..c874985a5606 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/GuestAgent.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/LogicalNetwork.cs index b9f2e5a35318..65bea2b859fd 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/LogicalNetwork.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/MarketplaceGalleryImage.cs index 0221bb34b78b..86b3a60d3b16 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkInterface.cs index 0daca66aed48..41ad55655105 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkInterface.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkSecurityGroup.cs index c6ac2ad5535e..32582bd87545 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkSecurityGroup.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/NetworkSecurityGroup.cs @@ -104,6 +104,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/SecurityRule.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/SecurityRule.cs index 775466f846fe..258bdc3f5c59 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/SecurityRule.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/SecurityRule.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:SecurityRule" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/StorageContainer.cs index fc03b5c1cd3c..dfcd43bdef45 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualHardDisk.cs index ca184a223a94..f04e7c659ad6 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualHardDisk.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualMachineInstance.cs index ab30068314b7..3dbcd226caad 100644 --- a/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20240201Preview/VirtualMachineInstance.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/GalleryImage.cs index 0351040ef1df..9fe1a0d894d4 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/GalleryImage.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/GuestAgent.cs index 67f3f984b5ba..39c15b62abde 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/GuestAgent.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/LogicalNetwork.cs index 6ed7868daa40..253a59b1290e 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/LogicalNetwork.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/MarketplaceGalleryImage.cs index 56ab4b4b4b74..969c01c889ef 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkInterface.cs index 7ced730210be..22458e7e9365 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkInterface.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkSecurityGroup.cs index cd504d96e69b..52a861942276 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkSecurityGroup.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/NetworkSecurityGroup.cs @@ -104,6 +104,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/SecurityRule.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/SecurityRule.cs index 8b4053086cca..4aecefd39c80 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/SecurityRule.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/SecurityRule.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:SecurityRule" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/StorageContainer.cs index fa9db51a2c7a..893ccc3b70e9 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualHardDisk.cs index 28f11ae5ea51..f95f5215ba62 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualHardDisk.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualMachineInstance.cs index 7950d2b64717..45b0eb402084 100644 --- a/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20240501Preview/VirtualMachineInstance.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/GalleryImage.cs index 06fa313a1678..b0533ff8379c 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/GalleryImage.cs @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/GuestAgent.cs index 27d5dbc66f0b..a67ceac97810 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/GuestAgent.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/LogicalNetwork.cs index 2259681285fa..a0cf31815389 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/LogicalNetwork.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/MarketplaceGalleryImage.cs index b3bbae472ad6..2fd96c64df6d 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkInterface.cs index bb892aa17231..ba5c3ce7b740 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkInterface.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkSecurityGroup.cs index f09542dd0dda..9f06057455d7 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkSecurityGroup.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/NetworkSecurityGroup.cs @@ -104,6 +104,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/SecurityRule.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/SecurityRule.cs index 60e3dcf74881..9509d8a24ccc 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/SecurityRule.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/SecurityRule.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:SecurityRule" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/StorageContainer.cs index e6ab29375577..0b2f2f89d18a 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualHardDisk.cs index 00cbe8d06e0d..a1f3baf77e9b 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualHardDisk.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualMachineInstance.cs index b4edc29c2aa4..630dad54f950 100644 --- a/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20240715Preview/VirtualMachineInstance.cs @@ -155,6 +155,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/GalleryImage.cs index 72edf83cfefc..6b3eb7122e01 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/GalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/GalleryImage.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/GuestAgent.cs index cdd60b6c27d4..ecb5cc661967 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/GuestAgent.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/GuestAgent.cs @@ -88,6 +88,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:GuestAgent" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/LogicalNetwork.cs index f659b317ed22..b491deb3b822 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/LogicalNetwork.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/LogicalNetwork.cs @@ -112,6 +112,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/MarketplaceGalleryImage.cs index 705fe7dd18f0..71bdc2157716 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/MarketplaceGalleryImage.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/MarketplaceGalleryImage.cs @@ -133,6 +133,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkInterface.cs index 4a9e1e1dd879..6f1b561c6f1a 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkInterface.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkInterface.cs @@ -122,6 +122,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkInterface" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkSecurityGroup.cs index 07e64557ee37..0a3749dbc205 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkSecurityGroup.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/NetworkSecurityGroup.cs @@ -104,6 +104,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/SecurityRule.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/SecurityRule.cs index 3180139560d4..283293e2074c 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/SecurityRule.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/SecurityRule.cs @@ -128,6 +128,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:SecurityRule" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:SecurityRule" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/StorageContainer.cs index 0fc2d448e810..f45a88cf5dcd 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/StorageContainer.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/StorageContainer.cs @@ -103,6 +103,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:StorageContainer" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualHardDisk.cs index a790761df068..a2eb60980912 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualHardDisk.cs @@ -152,6 +152,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualMachineInstance.cs index 88959f57c335..5fe79011f883 100644 --- a/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/V20240801Preview/VirtualMachineInstance.cs @@ -149,6 +149,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Enums.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Enums.cs new file mode 100644 index 000000000000..655ffeb661b7 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Enums.cs @@ -0,0 +1,685 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + [EnumType] + public readonly struct CloudInitDataSource : IEquatable + { + private readonly string _value; + + private CloudInitDataSource(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// NoCloud is used as the datasource + /// + public static CloudInitDataSource NoCloud { get; } = new CloudInitDataSource("NoCloud"); + /// + /// Azure is used as the datasource + /// + public static CloudInitDataSource Azure { get; } = new CloudInitDataSource("Azure"); + + public static bool operator ==(CloudInitDataSource left, CloudInitDataSource right) => left.Equals(right); + public static bool operator !=(CloudInitDataSource left, CloudInitDataSource right) => !left.Equals(right); + + public static explicit operator string(CloudInitDataSource value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is CloudInitDataSource other && Equals(other); + public bool Equals(CloudInitDataSource other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The format of the actual VHD file [vhd, vhdx] + /// + [EnumType] + public readonly struct DiskFileFormat : IEquatable + { + private readonly string _value; + + private DiskFileFormat(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// VHDX file format + /// + public static DiskFileFormat Vhdx { get; } = new DiskFileFormat("vhdx"); + /// + /// VHD file format + /// + public static DiskFileFormat Vhd { get; } = new DiskFileFormat("vhd"); + + public static bool operator ==(DiskFileFormat left, DiskFileFormat right) => left.Equals(right); + public static bool operator !=(DiskFileFormat left, DiskFileFormat right) => !left.Equals(right); + + public static explicit operator string(DiskFileFormat value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is DiskFileFormat other && Equals(other); + public bool Equals(DiskFileFormat other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of the extended location. + /// + [EnumType] + public readonly struct ExtendedLocationTypes : IEquatable + { + private readonly string _value; + + private ExtendedLocationTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Custom extended location type + /// + public static ExtendedLocationTypes CustomLocation { get; } = new ExtendedLocationTypes("CustomLocation"); + + public static bool operator ==(ExtendedLocationTypes left, ExtendedLocationTypes right) => left.Equals(right); + public static bool operator !=(ExtendedLocationTypes left, ExtendedLocationTypes right) => !left.Equals(right); + + public static explicit operator string(ExtendedLocationTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ExtendedLocationTypes other && Equals(other); + public bool Equals(ExtendedLocationTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// GPU assignment type + /// + [EnumType] + public readonly struct GpuAssignmentTypeEnum : IEquatable + { + private readonly string _value; + + private GpuAssignmentTypeEnum(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Attach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA) + /// + public static GpuAssignmentTypeEnum GpuDDA { get; } = new GpuAssignmentTypeEnum("GpuDDA"); + /// + /// Attach Graphics Processing Unit (GPU) using GPU Partitioning + /// + public static GpuAssignmentTypeEnum GpuP { get; } = new GpuAssignmentTypeEnum("GpuP"); + + public static bool operator ==(GpuAssignmentTypeEnum left, GpuAssignmentTypeEnum right) => left.Equals(right); + public static bool operator !=(GpuAssignmentTypeEnum left, GpuAssignmentTypeEnum right) => !left.Equals(right); + + public static explicit operator string(GpuAssignmentTypeEnum value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is GpuAssignmentTypeEnum other && Equals(other); + public bool Equals(GpuAssignmentTypeEnum other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [EnumType] + public readonly struct HyperVGeneration : IEquatable + { + private readonly string _value; + + private HyperVGeneration(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Generation 1 (V1) hypervisor + /// + public static HyperVGeneration V1 { get; } = new HyperVGeneration("V1"); + /// + /// Generation 2 (V2) hypervisor + /// + public static HyperVGeneration V2 { get; } = new HyperVGeneration("V2"); + + public static bool operator ==(HyperVGeneration left, HyperVGeneration right) => left.Equals(right); + public static bool operator !=(HyperVGeneration left, HyperVGeneration right) => !left.Equals(right); + + public static explicit operator string(HyperVGeneration value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HyperVGeneration other && Equals(other); + public bool Equals(HyperVGeneration other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of the IP Pool [vm, vippool] + /// + [EnumType] + public readonly struct IPPoolTypeEnum : IEquatable + { + private readonly string _value; + + private IPPoolTypeEnum(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Virtual Machine IP Pool + /// + public static IPPoolTypeEnum Vm { get; } = new IPPoolTypeEnum("vm"); + /// + /// VIP Pool + /// + public static IPPoolTypeEnum Vippool { get; } = new IPPoolTypeEnum("vippool"); + + public static bool operator ==(IPPoolTypeEnum left, IPPoolTypeEnum right) => left.Equals(right); + public static bool operator !=(IPPoolTypeEnum left, IPPoolTypeEnum right) => !left.Equals(right); + + public static explicit operator string(IPPoolTypeEnum value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IPPoolTypeEnum other && Equals(other); + public bool Equals(IPPoolTypeEnum other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + /// + [EnumType] + public readonly struct IpAllocationMethodEnum : IEquatable + { + private readonly string _value; + + private IpAllocationMethodEnum(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Dynamic IP allocation method + /// + public static IpAllocationMethodEnum Dynamic { get; } = new IpAllocationMethodEnum("Dynamic"); + /// + /// Static IP allocation method + /// + public static IpAllocationMethodEnum Static { get; } = new IpAllocationMethodEnum("Static"); + + public static bool operator ==(IpAllocationMethodEnum left, IpAllocationMethodEnum right) => left.Equals(right); + public static bool operator !=(IpAllocationMethodEnum left, IpAllocationMethodEnum right) => !left.Equals(right); + + public static explicit operator string(IpAllocationMethodEnum value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IpAllocationMethodEnum other && Equals(other); + public bool Equals(IpAllocationMethodEnum other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [EnumType] + public readonly struct ManagedServiceIdentityType : IEquatable + { + private readonly string _value; + + private ManagedServiceIdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType("None"); + public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned"); + public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType("UserAssigned"); + public static ManagedServiceIdentityType SystemAssigned_UserAssigned { get; } = new ManagedServiceIdentityType("SystemAssigned,UserAssigned"); + + public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); + public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); + + public static explicit operator string(ManagedServiceIdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ManagedServiceIdentityType other && Equals(other); + public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// 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. Possible values are: Windows, Linux. + /// + [EnumType] + public readonly struct OperatingSystemTypes : IEquatable + { + private readonly string _value; + + private OperatingSystemTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Windows operating system + /// + public static OperatingSystemTypes Windows { get; } = new OperatingSystemTypes("Windows"); + /// + /// Linux operating system + /// + public static OperatingSystemTypes Linux { get; } = new OperatingSystemTypes("Linux"); + + public static bool operator ==(OperatingSystemTypes left, OperatingSystemTypes right) => left.Equals(right); + public static bool operator !=(OperatingSystemTypes left, OperatingSystemTypes right) => !left.Equals(right); + + public static explicit operator string(OperatingSystemTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is OperatingSystemTypes other && Equals(other); + public bool Equals(OperatingSystemTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The guest agent provisioning action. + /// + [EnumType] + public readonly struct ProvisioningAction : IEquatable + { + private readonly string _value; + + private ProvisioningAction(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Install guest agent + /// + public static ProvisioningAction Install { get; } = new ProvisioningAction("install"); + /// + /// Uninstall guest agent + /// + public static ProvisioningAction Uninstall { get; } = new ProvisioningAction("uninstall"); + /// + /// Repair guest agent + /// + public static ProvisioningAction Repair { get; } = new ProvisioningAction("repair"); + + public static bool operator ==(ProvisioningAction left, ProvisioningAction right) => left.Equals(right); + public static bool operator !=(ProvisioningAction left, ProvisioningAction right) => !left.Equals(right); + + public static explicit operator string(ProvisioningAction value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ProvisioningAction other && Equals(other); + public bool Equals(ProvisioningAction other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + /// + [EnumType] + public readonly struct SecurityEncryptionType : IEquatable + { + private readonly string _value; + + private SecurityEncryptionType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Non-persisted TPM encryption type + /// + public static SecurityEncryptionType NonPersistedTPM { get; } = new SecurityEncryptionType("NonPersistedTPM"); + + public static bool operator ==(SecurityEncryptionType left, SecurityEncryptionType right) => left.Equals(right); + public static bool operator !=(SecurityEncryptionType left, SecurityEncryptionType right) => !left.Equals(right); + + public static explicit operator string(SecurityEncryptionType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityEncryptionType other && Equals(other); + public bool Equals(SecurityEncryptionType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The network traffic is allowed or denied. + /// + [EnumType] + public readonly struct SecurityRuleAccess : IEquatable + { + private readonly string _value; + + private SecurityRuleAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Network traffic is allowed + /// + public static SecurityRuleAccess Allow { get; } = new SecurityRuleAccess("Allow"); + /// + /// Network traffic is denied + /// + public static SecurityRuleAccess Deny { get; } = new SecurityRuleAccess("Deny"); + + public static bool operator ==(SecurityRuleAccess left, SecurityRuleAccess right) => left.Equals(right); + public static bool operator !=(SecurityRuleAccess left, SecurityRuleAccess right) => !left.Equals(right); + + public static explicit operator string(SecurityRuleAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityRuleAccess other && Equals(other); + public bool Equals(SecurityRuleAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + /// + [EnumType] + public readonly struct SecurityRuleDirection : IEquatable + { + private readonly string _value; + + private SecurityRuleDirection(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Rule is evaluated on incoming traffic + /// + public static SecurityRuleDirection Inbound { get; } = new SecurityRuleDirection("Inbound"); + /// + /// Rule is evaluated on outgoing traffic + /// + public static SecurityRuleDirection Outbound { get; } = new SecurityRuleDirection("Outbound"); + + public static bool operator ==(SecurityRuleDirection left, SecurityRuleDirection right) => left.Equals(right); + public static bool operator !=(SecurityRuleDirection left, SecurityRuleDirection right) => !left.Equals(right); + + public static explicit operator string(SecurityRuleDirection value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityRuleDirection other && Equals(other); + public bool Equals(SecurityRuleDirection other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Network protocol this rule applies to. + /// + [EnumType] + public readonly struct SecurityRuleProtocol : IEquatable + { + private readonly string _value; + + private SecurityRuleProtocol(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Transmission Control Protocol + /// + public static SecurityRuleProtocol Tcp { get; } = new SecurityRuleProtocol("Tcp"); + /// + /// User Datagram Protocol + /// + public static SecurityRuleProtocol Udp { get; } = new SecurityRuleProtocol("Udp"); + /// + /// Internet Control Message Protocol + /// + public static SecurityRuleProtocol Icmp { get; } = new SecurityRuleProtocol("Icmp"); + /// + /// Wildcard rule for all protocols + /// + public static SecurityRuleProtocol Asterisk { get; } = new SecurityRuleProtocol("*"); + + public static bool operator ==(SecurityRuleProtocol left, SecurityRuleProtocol right) => left.Equals(right); + public static bool operator !=(SecurityRuleProtocol left, SecurityRuleProtocol right) => !left.Equals(right); + + public static explicit operator string(SecurityRuleProtocol value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityRuleProtocol other && Equals(other); + public bool Equals(SecurityRuleProtocol other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + /// + [EnumType] + public readonly struct SecurityTypes : IEquatable + { + private readonly string _value; + + private SecurityTypes(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Trusted Launch security type + /// + public static SecurityTypes TrustedLaunch { get; } = new SecurityTypes("TrustedLaunch"); + /// + /// Confidential VM security type + /// + public static SecurityTypes ConfidentialVM { get; } = new SecurityTypes("ConfidentialVM"); + + public static bool operator ==(SecurityTypes left, SecurityTypes right) => left.Equals(right); + public static bool operator !=(SecurityTypes left, SecurityTypes right) => !left.Equals(right); + + public static explicit operator string(SecurityTypes value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SecurityTypes other && Equals(other); + public bool Equals(SecurityTypes other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Enum of VM Sizes + /// + [EnumType] + public readonly struct VmSizeEnum : IEquatable + { + private readonly string _value; + + private VmSizeEnum(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Default virtual machine size + /// + public static VmSizeEnum Default { get; } = new VmSizeEnum("Default"); + /// + /// Standard A2 v2 virtual machine size + /// + public static VmSizeEnum Standard_A2_v2 { get; } = new VmSizeEnum("Standard_A2_v2"); + /// + /// Standard A4 v2 virtual machine size + /// + public static VmSizeEnum Standard_A4_v2 { get; } = new VmSizeEnum("Standard_A4_v2"); + /// + /// Standard D2s v3 virtual machine size + /// + public static VmSizeEnum Standard_D2s_v3 { get; } = new VmSizeEnum("Standard_D2s_v3"); + /// + /// Standard D4s v3 virtual machine size + /// + public static VmSizeEnum Standard_D4s_v3 { get; } = new VmSizeEnum("Standard_D4s_v3"); + /// + /// Standard D8s v3 virtual machine size + /// + public static VmSizeEnum Standard_D8s_v3 { get; } = new VmSizeEnum("Standard_D8s_v3"); + /// + /// Standard D16s v3 virtual machine size + /// + public static VmSizeEnum Standard_D16s_v3 { get; } = new VmSizeEnum("Standard_D16s_v3"); + /// + /// Standard D32s v3 virtual machine size + /// + public static VmSizeEnum Standard_D32s_v3 { get; } = new VmSizeEnum("Standard_D32s_v3"); + /// + /// Standard DS2 v2 virtual machine size + /// + public static VmSizeEnum Standard_DS2_v2 { get; } = new VmSizeEnum("Standard_DS2_v2"); + /// + /// Standard DS3 v2 virtual machine size + /// + public static VmSizeEnum Standard_DS3_v2 { get; } = new VmSizeEnum("Standard_DS3_v2"); + /// + /// Standard DS4 v2 virtual machine size + /// + public static VmSizeEnum Standard_DS4_v2 { get; } = new VmSizeEnum("Standard_DS4_v2"); + /// + /// Standard DS5 v2 virtual machine size + /// + public static VmSizeEnum Standard_DS5_v2 { get; } = new VmSizeEnum("Standard_DS5_v2"); + /// + /// Standard DS13 v2 virtual machine size + /// + public static VmSizeEnum Standard_DS13_v2 { get; } = new VmSizeEnum("Standard_DS13_v2"); + /// + /// Standard K8S v1 virtual machine size + /// + public static VmSizeEnum Standard_K8S_v1 { get; } = new VmSizeEnum("Standard_K8S_v1"); + /// + /// Standard K8S2 v1 virtual machine size + /// + public static VmSizeEnum Standard_K8S2_v1 { get; } = new VmSizeEnum("Standard_K8S2_v1"); + /// + /// Standard K8S3 v1 virtual machine size + /// + public static VmSizeEnum Standard_K8S3_v1 { get; } = new VmSizeEnum("Standard_K8S3_v1"); + /// + /// Standard K8S4 v1 virtual machine size + /// + public static VmSizeEnum Standard_K8S4_v1 { get; } = new VmSizeEnum("Standard_K8S4_v1"); + /// + /// Standard NK6 virtual machine size + /// + public static VmSizeEnum Standard_NK6 { get; } = new VmSizeEnum("Standard_NK6"); + /// + /// Standard NK12 virtual machine size + /// + public static VmSizeEnum Standard_NK12 { get; } = new VmSizeEnum("Standard_NK12"); + /// + /// Standard NV6 virtual machine size + /// + public static VmSizeEnum Standard_NV6 { get; } = new VmSizeEnum("Standard_NV6"); + /// + /// Standard NV12 virtual machine size + /// + public static VmSizeEnum Standard_NV12 { get; } = new VmSizeEnum("Standard_NV12"); + /// + /// Standard K8S5 v1 virtual machine size + /// + public static VmSizeEnum Standard_K8S5_v1 { get; } = new VmSizeEnum("Standard_K8S5_v1"); + /// + /// Custom virtual machine size + /// + public static VmSizeEnum Custom { get; } = new VmSizeEnum("Custom"); + + public static bool operator ==(VmSizeEnum left, VmSizeEnum right) => left.Equals(right); + public static bool operator !=(VmSizeEnum left, VmSizeEnum right) => !left.Equals(right); + + public static explicit operator string(VmSizeEnum value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is VmSizeEnum other && Equals(other); + public bool Equals(VmSizeEnum other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GalleryImage.cs new file mode 100644 index 000000000000..10bb9e531712 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GalleryImage.cs @@ -0,0 +1,274 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The gallery images resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:GalleryImage")] + public partial class GalleryImage : global::Pulumi.CustomResource + { + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + [Output("cloudInitDataSource")] + public Output CloudInitDataSource { get; private set; } = null!; + + /// + /// Storage ContainerID of the storage container to be used for gallery image + /// + [Output("containerId")] + public Output ContainerId { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [Output("hyperVGeneration")] + public Output HyperVGeneration { get; private set; } = null!; + + /// + /// This is the gallery image definition identifier. + /// + [Output("identifier")] + public Output Identifier { get; private set; } = null!; + + /// + /// location of the image the gallery image should be created from + /// + [Output("imagePath")] + public Output ImagePath { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Operating system type that the gallery image uses [Windows, Linux] + /// + [Output("osType")] + public Output OsType { get; private set; } = null!; + + /// + /// Provisioning state of the gallery image. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Resource ID of the source virtual machine from whose OS disk the gallery image is created. + /// + [Output("sourceVirtualMachineId")] + public Output SourceVirtualMachineId { get; private set; } = null!; + + /// + /// The observed state of gallery images + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + /// + /// The credentials used to login to the image repository that has access to the specified image + /// + [Output("vmImageRepositoryCredentials")] + public Output VmImageRepositoryCredentials { get; private set; } = null!; + + + /// + /// Create a GalleryImage resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public GalleryImage(string name, GalleryImageArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:GalleryImage", name, args ?? new GalleryImageArgs(), MakeResourceOptions(options, "")) + { + } + + private GalleryImage(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:GalleryImage", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210701preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210901preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20221215preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GalleryImage" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing GalleryImage resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static GalleryImage Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GalleryImage(name, id, options); + } + } + + public sealed class GalleryImageArgs : global::Pulumi.ResourceArgs + { + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + [Input("cloudInitDataSource")] + public InputUnion? CloudInitDataSource { get; set; } + + /// + /// Storage ContainerID of the storage container to be used for gallery image + /// + [Input("containerId")] + public Input? ContainerId { get; set; } + + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Name of the gallery image + /// + [Input("galleryImageName")] + public Input? GalleryImageName { get; set; } + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [Input("hyperVGeneration")] + public InputUnion? HyperVGeneration { get; set; } + + /// + /// This is the gallery image definition identifier. + /// + [Input("identifier")] + public Input? Identifier { get; set; } + + /// + /// location of the image the gallery image should be created from + /// + [Input("imagePath")] + public Input? ImagePath { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Operating system type that the gallery image uses [Windows, Linux] + /// + [Input("osType", required: true)] + public InputUnion OsType { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Resource ID of the source virtual machine from whose OS disk the gallery image is created. + /// + [Input("sourceVirtualMachineId")] + public Input? SourceVirtualMachineId { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + [Input("version")] + public Input? Version { get; set; } + + /// + /// The credentials used to login to the image repository that has access to the specified image + /// + [Input("vmImageRepositoryCredentials")] + public Input? VmImageRepositoryCredentials { get; set; } + + public GalleryImageArgs() + { + } + public static new GalleryImageArgs Empty => new GalleryImageArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetGalleryImage.cs new file mode 100644 index 000000000000..397ed92b56eb --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetGalleryImage.cs @@ -0,0 +1,209 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetGalleryImage + { + /// + /// Gets a gallery image + /// + public static Task InvokeAsync(GetGalleryImageArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getGalleryImage", args ?? new GetGalleryImageArgs(), options.WithDefaults()); + + /// + /// Gets a gallery image + /// + public static Output Invoke(GetGalleryImageInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getGalleryImage", args ?? new GetGalleryImageInvokeArgs(), options.WithDefaults()); + + /// + /// Gets a gallery image + /// + public static Output Invoke(GetGalleryImageInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getGalleryImage", args ?? new GetGalleryImageInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGalleryImageArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the gallery image + /// + [Input("galleryImageName", required: true)] + public string GalleryImageName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetGalleryImageArgs() + { + } + public static new GetGalleryImageArgs Empty => new GetGalleryImageArgs(); + } + + public sealed class GetGalleryImageInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the gallery image + /// + [Input("galleryImageName", required: true)] + public Input GalleryImageName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetGalleryImageInvokeArgs() + { + } + public static new GetGalleryImageInvokeArgs Empty => new GetGalleryImageInvokeArgs(); + } + + + [OutputType] + public sealed class GetGalleryImageResult + { + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + public readonly string? CloudInitDataSource; + /// + /// Storage ContainerID of the storage container to be used for gallery image + /// + public readonly string? ContainerId; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + public readonly string? HyperVGeneration; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// This is the gallery image definition identifier. + /// + public readonly Outputs.GalleryImageIdentifierResponse? Identifier; + /// + /// location of the image the gallery image should be created from + /// + public readonly string? ImagePath; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Operating system type that the gallery image uses [Windows, Linux] + /// + public readonly string OsType; + /// + /// Provisioning state of the gallery image. + /// + public readonly string ProvisioningState; + /// + /// Resource ID of the source virtual machine from whose OS disk the gallery image is created. + /// + public readonly string? SourceVirtualMachineId; + /// + /// The observed state of gallery images + /// + public readonly Outputs.GalleryImageStatusResponse Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + public readonly Outputs.GalleryImageVersionResponse? Version; + /// + /// The credentials used to login to the image repository that has access to the specified image + /// + public readonly Outputs.VmImageRepositoryCredentialsResponse? VmImageRepositoryCredentials; + + [OutputConstructor] + private GetGalleryImageResult( + string? cloudInitDataSource, + + string? containerId, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string? hyperVGeneration, + + string id, + + Outputs.GalleryImageIdentifierResponse? identifier, + + string? imagePath, + + string location, + + string name, + + string osType, + + string provisioningState, + + string? sourceVirtualMachineId, + + Outputs.GalleryImageStatusResponse status, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + Outputs.GalleryImageVersionResponse? version, + + Outputs.VmImageRepositoryCredentialsResponse? vmImageRepositoryCredentials) + { + CloudInitDataSource = cloudInitDataSource; + ContainerId = containerId; + ExtendedLocation = extendedLocation; + HyperVGeneration = hyperVGeneration; + Id = id; + Identifier = identifier; + ImagePath = imagePath; + Location = location; + Name = name; + OsType = osType; + ProvisioningState = provisioningState; + SourceVirtualMachineId = sourceVirtualMachineId; + Status = status; + SystemData = systemData; + Tags = tags; + Type = type; + Version = version; + VmImageRepositoryCredentials = vmImageRepositoryCredentials; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetGuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetGuestAgent.cs new file mode 100644 index 000000000000..c7e436d2bfdd --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetGuestAgent.cs @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetGuestAgent + { + /// + /// Implements GuestAgent GET method. + /// + public static Task InvokeAsync(GetGuestAgentArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getGuestAgent", args ?? new GetGuestAgentArgs(), options.WithDefaults()); + + /// + /// Implements GuestAgent GET method. + /// + public static Output Invoke(GetGuestAgentInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getGuestAgent", args ?? new GetGuestAgentInvokeArgs(), options.WithDefaults()); + + /// + /// Implements GuestAgent GET method. + /// + public static Output Invoke(GetGuestAgentInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getGuestAgent", args ?? new GetGuestAgentInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetGuestAgentArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the resource. + /// + [Input("resourceUri", required: true)] + public string ResourceUri { get; set; } = null!; + + public GetGuestAgentArgs() + { + } + public static new GetGuestAgentArgs Empty => new GetGuestAgentArgs(); + } + + public sealed class GetGuestAgentInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the resource. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + public GetGuestAgentInvokeArgs() + { + } + public static new GetGuestAgentInvokeArgs Empty => new GetGuestAgentInvokeArgs(); + } + + + [OutputType] + public sealed class GetGuestAgentResult + { + /// + /// Username / Password Credentials to provision guest agent. + /// + public readonly Outputs.GuestCredentialResponse? Credentials; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// The guest agent provisioning action. + /// + public readonly string? ProvisioningAction; + /// + /// Provisioning state of the virtual machine instance. + /// + public readonly string ProvisioningState; + /// + /// The guest agent status. + /// + public readonly string Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetGuestAgentResult( + Outputs.GuestCredentialResponse? credentials, + + string id, + + string name, + + string? provisioningAction, + + string provisioningState, + + string status, + + Outputs.SystemDataResponse systemData, + + string type) + { + Credentials = credentials; + Id = id; + Name = name; + ProvisioningAction = provisioningAction; + ProvisioningState = provisioningState; + Status = status; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetLogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetLogicalNetwork.cs new file mode 100644 index 000000000000..83bdf0ccd3e5 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetLogicalNetwork.cs @@ -0,0 +1,167 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetLogicalNetwork + { + /// + /// The operation to get a logical network. + /// + public static Task InvokeAsync(GetLogicalNetworkArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getLogicalNetwork", args ?? new GetLogicalNetworkArgs(), options.WithDefaults()); + + /// + /// The operation to get a logical network. + /// + public static Output Invoke(GetLogicalNetworkInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getLogicalNetwork", args ?? new GetLogicalNetworkInvokeArgs(), options.WithDefaults()); + + /// + /// The operation to get a logical network. + /// + public static Output Invoke(GetLogicalNetworkInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getLogicalNetwork", args ?? new GetLogicalNetworkInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetLogicalNetworkArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the logical network + /// + [Input("logicalNetworkName", required: true)] + public string LogicalNetworkName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetLogicalNetworkArgs() + { + } + public static new GetLogicalNetworkArgs Empty => new GetLogicalNetworkArgs(); + } + + public sealed class GetLogicalNetworkInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the logical network + /// + [Input("logicalNetworkName", required: true)] + public Input LogicalNetworkName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetLogicalNetworkInvokeArgs() + { + } + public static new GetLogicalNetworkInvokeArgs Empty => new GetLogicalNetworkInvokeArgs(); + } + + + [OutputType] + public sealed class GetLogicalNetworkResult + { + /// + /// DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + /// + public readonly Outputs.LogicalNetworkPropertiesDhcpOptionsResponse? DhcpOptions; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Provisioning state of the logical network. + /// + public readonly string ProvisioningState; + /// + /// The observed state of logical networks + /// + public readonly Outputs.LogicalNetworkStatusResponse Status; + /// + /// Subnet - list of subnets under the logical network + /// + public readonly ImmutableArray Subnets; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// name of the network switch to be used for VMs + /// + public readonly string? VmSwitchName; + + [OutputConstructor] + private GetLogicalNetworkResult( + Outputs.LogicalNetworkPropertiesDhcpOptionsResponse? dhcpOptions, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string location, + + string name, + + string provisioningState, + + Outputs.LogicalNetworkStatusResponse status, + + ImmutableArray subnets, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + string? vmSwitchName) + { + DhcpOptions = dhcpOptions; + ExtendedLocation = extendedLocation; + Id = id; + Location = location; + Name = name; + ProvisioningState = provisioningState; + Status = status; + Subnets = subnets; + SystemData = systemData; + Tags = tags; + Type = type; + VmSwitchName = vmSwitchName; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetMarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetMarketplaceGalleryImage.cs new file mode 100644 index 000000000000..e9362b1e4955 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetMarketplaceGalleryImage.cs @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetMarketplaceGalleryImage + { + /// + /// Gets a marketplace gallery image + /// + public static Task InvokeAsync(GetMarketplaceGalleryImageArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage", args ?? new GetMarketplaceGalleryImageArgs(), options.WithDefaults()); + + /// + /// Gets a marketplace gallery image + /// + public static Output Invoke(GetMarketplaceGalleryImageInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage", args ?? new GetMarketplaceGalleryImageInvokeArgs(), options.WithDefaults()); + + /// + /// Gets a marketplace gallery image + /// + public static Output Invoke(GetMarketplaceGalleryImageInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage", args ?? new GetMarketplaceGalleryImageInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetMarketplaceGalleryImageArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the marketplace gallery image + /// + [Input("marketplaceGalleryImageName", required: true)] + public string MarketplaceGalleryImageName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetMarketplaceGalleryImageArgs() + { + } + public static new GetMarketplaceGalleryImageArgs Empty => new GetMarketplaceGalleryImageArgs(); + } + + public sealed class GetMarketplaceGalleryImageInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the marketplace gallery image + /// + [Input("marketplaceGalleryImageName", required: true)] + public Input MarketplaceGalleryImageName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetMarketplaceGalleryImageInvokeArgs() + { + } + public static new GetMarketplaceGalleryImageInvokeArgs Empty => new GetMarketplaceGalleryImageInvokeArgs(); + } + + + [OutputType] + public sealed class GetMarketplaceGalleryImageResult + { + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + public readonly string? CloudInitDataSource; + /// + /// Storage ContainerID of the storage container to be used for marketplace gallery image + /// + public readonly string? ContainerId; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + public readonly string? HyperVGeneration; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// This is the gallery image definition identifier. + /// + public readonly Outputs.GalleryImageIdentifierResponse? Identifier; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Operating system type that the gallery image uses [Windows, Linux] + /// + public readonly string OsType; + /// + /// Provisioning state of the marketplace gallery image. + /// + public readonly string ProvisioningState; + /// + /// The observed state of marketplace gallery images + /// + public readonly Outputs.MarketplaceGalleryImageStatusResponse Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + public readonly Outputs.GalleryImageVersionResponse? Version; + + [OutputConstructor] + private GetMarketplaceGalleryImageResult( + string? cloudInitDataSource, + + string? containerId, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string? hyperVGeneration, + + string id, + + Outputs.GalleryImageIdentifierResponse? identifier, + + string location, + + string name, + + string osType, + + string provisioningState, + + Outputs.MarketplaceGalleryImageStatusResponse status, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + Outputs.GalleryImageVersionResponse? version) + { + CloudInitDataSource = cloudInitDataSource; + ContainerId = containerId; + ExtendedLocation = extendedLocation; + HyperVGeneration = hyperVGeneration; + Id = id; + Identifier = identifier; + Location = location; + Name = name; + OsType = osType; + ProvisioningState = provisioningState; + Status = status; + SystemData = systemData; + Tags = tags; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetNetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetNetworkInterface.cs new file mode 100644 index 000000000000..236961bff727 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetNetworkInterface.cs @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetNetworkInterface + { + /// + /// Gets a network interface + /// + public static Task InvokeAsync(GetNetworkInterfaceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getNetworkInterface", args ?? new GetNetworkInterfaceArgs(), options.WithDefaults()); + + /// + /// Gets a network interface + /// + public static Output Invoke(GetNetworkInterfaceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getNetworkInterface", args ?? new GetNetworkInterfaceInvokeArgs(), options.WithDefaults()); + + /// + /// Gets a network interface + /// + public static Output Invoke(GetNetworkInterfaceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getNetworkInterface", args ?? new GetNetworkInterfaceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNetworkInterfaceArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the network interface + /// + [Input("networkInterfaceName", required: true)] + public string NetworkInterfaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetNetworkInterfaceArgs() + { + } + public static new GetNetworkInterfaceArgs Empty => new GetNetworkInterfaceArgs(); + } + + public sealed class GetNetworkInterfaceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the network interface + /// + [Input("networkInterfaceName", required: true)] + public Input NetworkInterfaceName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetNetworkInterfaceInvokeArgs() + { + } + public static new GetNetworkInterfaceInvokeArgs Empty => new GetNetworkInterfaceInvokeArgs(); + } + + + [OutputType] + public sealed class GetNetworkInterfaceResult + { + /// + /// DNS Settings for the interface + /// + public readonly Outputs.InterfaceDNSSettingsResponse? DnsSettings; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// IPConfigurations - A list of IPConfigurations of the network interface. + /// + public readonly ImmutableArray IpConfigurations; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// MacAddress - The MAC address of the network interface. + /// + public readonly string? MacAddress; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// NetworkSecurityGroup - Network Security Group attached to the network interface. + /// + public readonly Outputs.NetworkSecurityGroupArmReferenceResponse? NetworkSecurityGroup; + /// + /// Provisioning state of the network interface. + /// + public readonly string ProvisioningState; + /// + /// The observed state of network interfaces + /// + public readonly Outputs.NetworkInterfaceStatusResponse Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetNetworkInterfaceResult( + Outputs.InterfaceDNSSettingsResponse? dnsSettings, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + ImmutableArray ipConfigurations, + + string location, + + string? macAddress, + + string name, + + Outputs.NetworkSecurityGroupArmReferenceResponse? networkSecurityGroup, + + string provisioningState, + + Outputs.NetworkInterfaceStatusResponse status, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + DnsSettings = dnsSettings; + ExtendedLocation = extendedLocation; + Id = id; + IpConfigurations = ipConfigurations; + Location = location; + MacAddress = macAddress; + Name = name; + NetworkSecurityGroup = networkSecurityGroup; + ProvisioningState = provisioningState; + Status = status; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetNetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetNetworkSecurityGroup.cs new file mode 100644 index 000000000000..e9cc70912aca --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetNetworkSecurityGroup.cs @@ -0,0 +1,160 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetNetworkSecurityGroup + { + /// + /// Gets the specified network security group. + /// + public static Task InvokeAsync(GetNetworkSecurityGroupArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup", args ?? new GetNetworkSecurityGroupArgs(), options.WithDefaults()); + + /// + /// Gets the specified network security group. + /// + public static Output Invoke(GetNetworkSecurityGroupInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup", args ?? new GetNetworkSecurityGroupInvokeArgs(), options.WithDefaults()); + + /// + /// Gets the specified network security group. + /// + public static Output Invoke(GetNetworkSecurityGroupInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup", args ?? new GetNetworkSecurityGroupInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetNetworkSecurityGroupArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the network security group + /// + [Input("networkSecurityGroupName", required: true)] + public string NetworkSecurityGroupName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + public GetNetworkSecurityGroupArgs() + { + } + public static new GetNetworkSecurityGroupArgs Empty => new GetNetworkSecurityGroupArgs(); + } + + public sealed class GetNetworkSecurityGroupInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the network security group + /// + [Input("networkSecurityGroupName", required: true)] + public Input NetworkSecurityGroupName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + public GetNetworkSecurityGroupInvokeArgs() + { + } + public static new GetNetworkSecurityGroupInvokeArgs Empty => new GetNetworkSecurityGroupInvokeArgs(); + } + + + [OutputType] + public sealed class GetNetworkSecurityGroupResult + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + public readonly string ETag; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// A collection of references to network interfaces that are currently using this NSG. + /// + public readonly ImmutableArray NetworkInterfaces; + /// + /// The provisioning state of the network security group resource. + /// + public readonly string ProvisioningState; + /// + /// A collection of references to logical networks that are currently using this NSG + /// + public readonly ImmutableArray Subnets; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetNetworkSecurityGroupResult( + string eTag, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string location, + + string name, + + ImmutableArray networkInterfaces, + + string provisioningState, + + ImmutableArray subnets, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ETag = eTag; + ExtendedLocation = extendedLocation; + Id = id; + Location = location; + Name = name; + NetworkInterfaces = networkInterfaces; + ProvisioningState = provisioningState; + Subnets = subnets; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetSecurityRule.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetSecurityRule.cs new file mode 100644 index 000000000000..4618da0c081e --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetSecurityRule.cs @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetSecurityRule + { + /// + /// Gets the specified security rule. + /// + public static Task InvokeAsync(GetSecurityRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getSecurityRule", args ?? new GetSecurityRuleArgs(), options.WithDefaults()); + + /// + /// Gets the specified security rule. + /// + public static Output Invoke(GetSecurityRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getSecurityRule", args ?? new GetSecurityRuleInvokeArgs(), options.WithDefaults()); + + /// + /// Gets the specified security rule. + /// + public static Output Invoke(GetSecurityRuleInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getSecurityRule", args ?? new GetSecurityRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSecurityRuleArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the network security group + /// + [Input("networkSecurityGroupName", required: true)] + public string NetworkSecurityGroupName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the security rule. + /// + [Input("securityRuleName", required: true)] + public string SecurityRuleName { get; set; } = null!; + + public GetSecurityRuleArgs() + { + } + public static new GetSecurityRuleArgs Empty => new GetSecurityRuleArgs(); + } + + public sealed class GetSecurityRuleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Name of the network security group + /// + [Input("networkSecurityGroupName", required: true)] + public Input NetworkSecurityGroupName { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the security rule. + /// + [Input("securityRuleName", required: true)] + public Input SecurityRuleName { get; set; } = null!; + + public GetSecurityRuleInvokeArgs() + { + } + public static new GetSecurityRuleInvokeArgs Empty => new GetSecurityRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetSecurityRuleResult + { + /// + /// The network traffic is allowed or denied. + /// + public readonly string Access; + /// + /// A description for this rule. Restricted to 140 chars. + /// + public readonly string? Description; + /// + /// The destination address prefixes. CIDR or destination IP ranges. + /// + public readonly ImmutableArray DestinationAddressPrefixes; + /// + /// The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + /// + public readonly ImmutableArray DestinationPortRanges; + /// + /// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + /// + public readonly string Direction; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// 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. + /// + public readonly int Priority; + /// + /// Network protocol this rule applies to. + /// + public readonly string Protocol; + /// + /// Provisioning state of the SR + /// + public readonly string ProvisioningState; + /// + /// The CIDR or source IP ranges. + /// + public readonly ImmutableArray SourceAddressPrefixes; + /// + /// The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + /// + public readonly ImmutableArray SourcePortRanges; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetSecurityRuleResult( + string access, + + string? description, + + ImmutableArray destinationAddressPrefixes, + + ImmutableArray destinationPortRanges, + + string direction, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string name, + + int priority, + + string protocol, + + string provisioningState, + + ImmutableArray sourceAddressPrefixes, + + ImmutableArray sourcePortRanges, + + Outputs.SystemDataResponse systemData, + + string type) + { + Access = access; + Description = description; + DestinationAddressPrefixes = destinationAddressPrefixes; + DestinationPortRanges = destinationPortRanges; + Direction = direction; + ExtendedLocation = extendedLocation; + Id = id; + Name = name; + Priority = priority; + Protocol = protocol; + ProvisioningState = provisioningState; + SourceAddressPrefixes = sourceAddressPrefixes; + SourcePortRanges = sourcePortRanges; + SystemData = systemData; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetStorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetStorageContainer.cs new file mode 100644 index 000000000000..0da7ceb0bdef --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetStorageContainer.cs @@ -0,0 +1,153 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetStorageContainer + { + /// + /// Gets a storage container + /// + public static Task InvokeAsync(GetStorageContainerArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getStorageContainer", args ?? new GetStorageContainerArgs(), options.WithDefaults()); + + /// + /// Gets a storage container + /// + public static Output Invoke(GetStorageContainerInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getStorageContainer", args ?? new GetStorageContainerInvokeArgs(), options.WithDefaults()); + + /// + /// Gets a storage container + /// + public static Output Invoke(GetStorageContainerInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getStorageContainer", args ?? new GetStorageContainerInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetStorageContainerArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the storage container + /// + [Input("storageContainerName", required: true)] + public string StorageContainerName { get; set; } = null!; + + public GetStorageContainerArgs() + { + } + public static new GetStorageContainerArgs Empty => new GetStorageContainerArgs(); + } + + public sealed class GetStorageContainerInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the storage container + /// + [Input("storageContainerName", required: true)] + public Input StorageContainerName { get; set; } = null!; + + public GetStorageContainerInvokeArgs() + { + } + public static new GetStorageContainerInvokeArgs Empty => new GetStorageContainerInvokeArgs(); + } + + + [OutputType] + public sealed class GetStorageContainerResult + { + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Path of the storage container on the disk + /// + public readonly string Path; + /// + /// Provisioning state of the storage container. + /// + public readonly string ProvisioningState; + /// + /// The observed state of storage containers + /// + public readonly Outputs.StorageContainerStatusResponse Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetStorageContainerResult( + Outputs.ExtendedLocationResponse? extendedLocation, + + string id, + + string location, + + string name, + + string path, + + string provisioningState, + + Outputs.StorageContainerStatusResponse status, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + ExtendedLocation = extendedLocation; + Id = id; + Location = location; + Name = name; + Path = path; + ProvisioningState = provisioningState; + Status = status; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetVirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetVirtualHardDisk.cs new file mode 100644 index 000000000000..3391ad93d82f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetVirtualHardDisk.cs @@ -0,0 +1,209 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetVirtualHardDisk + { + /// + /// Gets a virtual hard disk + /// + public static Task InvokeAsync(GetVirtualHardDiskArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getVirtualHardDisk", args ?? new GetVirtualHardDiskArgs(), options.WithDefaults()); + + /// + /// Gets a virtual hard disk + /// + public static Output Invoke(GetVirtualHardDiskInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getVirtualHardDisk", args ?? new GetVirtualHardDiskInvokeArgs(), options.WithDefaults()); + + /// + /// Gets a virtual hard disk + /// + public static Output Invoke(GetVirtualHardDiskInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getVirtualHardDisk", args ?? new GetVirtualHardDiskInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVirtualHardDiskArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// Name of the virtual hard disk + /// + [Input("virtualHardDiskName", required: true)] + public string VirtualHardDiskName { get; set; } = null!; + + public GetVirtualHardDiskArgs() + { + } + public static new GetVirtualHardDiskArgs Empty => new GetVirtualHardDiskArgs(); + } + + public sealed class GetVirtualHardDiskInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the virtual hard disk + /// + [Input("virtualHardDiskName", required: true)] + public Input VirtualHardDiskName { get; set; } = null!; + + public GetVirtualHardDiskInvokeArgs() + { + } + public static new GetVirtualHardDiskInvokeArgs Empty => new GetVirtualHardDiskInvokeArgs(); + } + + + [OutputType] + public sealed class GetVirtualHardDiskResult + { + /// + /// Block size in bytes + /// + public readonly int? BlockSizeBytes; + /// + /// Storage ContainerID of the storage container to be used for VHD + /// + public readonly string? ContainerId; + /// + /// The format of the actual VHD file [vhd, vhdx] + /// + public readonly string? DiskFileFormat; + /// + /// Size of the disk in GB + /// + public readonly double? DiskSizeGB; + /// + /// URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + /// + public readonly string? DownloadUrl; + /// + /// Boolean for enabling dynamic sizing on the virtual hard disk + /// + public readonly bool? Dynamic; + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + public readonly string? HyperVGeneration; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// Logical sector in bytes + /// + public readonly int? LogicalSectorBytes; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Physical sector in bytes + /// + public readonly int? PhysicalSectorBytes; + /// + /// Provisioning state of the virtual hard disk. + /// + public readonly string ProvisioningState; + /// + /// The observed state of virtual hard disks + /// + public readonly Outputs.VirtualHardDiskStatusResponse Status; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetVirtualHardDiskResult( + int? blockSizeBytes, + + string? containerId, + + string? diskFileFormat, + + double? diskSizeGB, + + string? downloadUrl, + + bool? dynamic, + + Outputs.ExtendedLocationResponse? extendedLocation, + + string? hyperVGeneration, + + string id, + + string location, + + int? logicalSectorBytes, + + string name, + + int? physicalSectorBytes, + + string provisioningState, + + Outputs.VirtualHardDiskStatusResponse status, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type) + { + BlockSizeBytes = blockSizeBytes; + ContainerId = containerId; + DiskFileFormat = diskFileFormat; + DiskSizeGB = diskSizeGB; + DownloadUrl = downloadUrl; + Dynamic = dynamic; + ExtendedLocation = extendedLocation; + HyperVGeneration = hyperVGeneration; + Id = id; + Location = location; + LogicalSectorBytes = logicalSectorBytes; + Name = name; + PhysicalSectorBytes = physicalSectorBytes; + ProvisioningState = provisioningState; + Status = status; + SystemData = systemData; + Tags = tags; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GetVirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetVirtualMachineInstance.cs new file mode 100644 index 000000000000..da68f20eaa4c --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GetVirtualMachineInstance.cs @@ -0,0 +1,197 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + public static class GetVirtualMachineInstance + { + /// + /// Gets a virtual machine instance + /// + public static Task InvokeAsync(GetVirtualMachineInstanceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceArgs(), options.WithDefaults()); + + /// + /// Gets a virtual machine instance + /// + public static Output Invoke(GetVirtualMachineInstanceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceInvokeArgs(), options.WithDefaults()); + + /// + /// Gets a virtual machine instance + /// + public static Output Invoke(GetVirtualMachineInstanceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance", args ?? new GetVirtualMachineInstanceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetVirtualMachineInstanceArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the resource. + /// + [Input("resourceUri", required: true)] + public string ResourceUri { get; set; } = null!; + + public GetVirtualMachineInstanceArgs() + { + } + public static new GetVirtualMachineInstanceArgs Empty => new GetVirtualMachineInstanceArgs(); + } + + public sealed class GetVirtualMachineInstanceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The fully qualified Azure Resource manager identifier of the resource. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + public GetVirtualMachineInstanceInvokeArgs() + { + } + public static new GetVirtualMachineInstanceInvokeArgs Empty => new GetVirtualMachineInstanceInvokeArgs(); + } + + + [OutputType] + public sealed class GetVirtualMachineInstanceResult + { + /// + /// The extendedLocation of the resource. + /// + public readonly Outputs.ExtendedLocationResponse? ExtendedLocation; + /// + /// Guest agent install status. + /// + public readonly Outputs.GuestAgentInstallStatusResponse? GuestAgentInstallStatus; + /// + /// HardwareProfile - Specifies the hardware settings for the virtual machine instance. + /// + public readonly Outputs.VirtualMachineInstancePropertiesHardwareProfileResponse? HardwareProfile; + /// + /// HTTP Proxy configuration for the VM. + /// + public readonly Outputs.HttpProxyConfigurationResponse? HttpProxyConfig; + /// + /// Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + /// + public readonly string Id; + /// + /// The managed service identities assigned to this resource. + /// + public readonly Outputs.ManagedServiceIdentityResponse? Identity; + /// + /// The virtual machine instance view. + /// + public readonly Outputs.VirtualMachineInstanceViewResponse InstanceView; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// NetworkProfile - describes the network configuration the virtual machine instance + /// + public readonly Outputs.VirtualMachineInstancePropertiesNetworkProfileResponse? NetworkProfile; + /// + /// OsProfile - describes the configuration of the operating system and sets login data + /// + public readonly Outputs.VirtualMachineInstancePropertiesOsProfileResponse? OsProfile; + /// + /// Provisioning state of the virtual machine instance. + /// + public readonly string ProvisioningState; + /// + /// Unique identifier defined by ARC to identify the guest of the VM. + /// + public readonly string? ResourceUid; + /// + /// SecurityProfile - Specifies the security settings for the virtual machine instance. + /// + public readonly Outputs.VirtualMachineInstancePropertiesSecurityProfileResponse? SecurityProfile; + /// + /// The observed state of virtual machine instances + /// + public readonly Outputs.VirtualMachineInstanceStatusResponse Status; + /// + /// StorageProfile - contains information about the disks and storage information for the virtual machine instance + /// + public readonly Outputs.VirtualMachineInstancePropertiesStorageProfileResponse? StorageProfile; + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Unique identifier for the vm resource. + /// + public readonly string VmId; + + [OutputConstructor] + private GetVirtualMachineInstanceResult( + Outputs.ExtendedLocationResponse? extendedLocation, + + Outputs.GuestAgentInstallStatusResponse? guestAgentInstallStatus, + + Outputs.VirtualMachineInstancePropertiesHardwareProfileResponse? hardwareProfile, + + Outputs.HttpProxyConfigurationResponse? httpProxyConfig, + + string id, + + Outputs.ManagedServiceIdentityResponse? identity, + + Outputs.VirtualMachineInstanceViewResponse instanceView, + + string name, + + Outputs.VirtualMachineInstancePropertiesNetworkProfileResponse? networkProfile, + + Outputs.VirtualMachineInstancePropertiesOsProfileResponse? osProfile, + + string provisioningState, + + string? resourceUid, + + Outputs.VirtualMachineInstancePropertiesSecurityProfileResponse? securityProfile, + + Outputs.VirtualMachineInstanceStatusResponse status, + + Outputs.VirtualMachineInstancePropertiesStorageProfileResponse? storageProfile, + + Outputs.SystemDataResponse systemData, + + string type, + + string vmId) + { + ExtendedLocation = extendedLocation; + GuestAgentInstallStatus = guestAgentInstallStatus; + HardwareProfile = hardwareProfile; + HttpProxyConfig = httpProxyConfig; + Id = id; + Identity = identity; + InstanceView = instanceView; + Name = name; + NetworkProfile = networkProfile; + OsProfile = osProfile; + ProvisioningState = provisioningState; + ResourceUid = resourceUid; + SecurityProfile = securityProfile; + Status = status; + StorageProfile = storageProfile; + SystemData = systemData; + Type = type; + VmId = vmId; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/GuestAgent.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/GuestAgent.cs new file mode 100644 index 000000000000..7ab61b0303f3 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/GuestAgent.cs @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// Defines the GuestAgent. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:GuestAgent")] + public partial class GuestAgent : global::Pulumi.CustomResource + { + /// + /// Username / Password Credentials to provision guest agent. + /// + [Output("credentials")] + public Output Credentials { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// The guest agent provisioning action. + /// + [Output("provisioningAction")] + public Output ProvisioningAction { get; private set; } = null!; + + /// + /// Provisioning state of the virtual machine instance. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The guest agent status. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a GuestAgent resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public GuestAgent(string name, GuestAgentArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:GuestAgent", name, args ?? new GuestAgentArgs(), MakeResourceOptions(options, "")) + { + } + + private GuestAgent(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:GuestAgent", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:GuestAgent" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:GuestAgent" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing GuestAgent resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static GuestAgent Get(string name, Input id, CustomResourceOptions? options = null) + { + return new GuestAgent(name, id, options); + } + } + + public sealed class GuestAgentArgs : global::Pulumi.ResourceArgs + { + /// + /// Username / Password Credentials to provision guest agent. + /// + [Input("credentials")] + public Input? Credentials { get; set; } + + /// + /// The guest agent provisioning action. + /// + [Input("provisioningAction")] + public InputUnion? ProvisioningAction { get; set; } + + /// + /// The fully qualified Azure Resource manager identifier of the resource. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + public GuestAgentArgs() + { + } + public static new GuestAgentArgs Empty => new GuestAgentArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ExtendedLocationArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ExtendedLocationArgs.cs new file mode 100644 index 000000000000..6c6e328a125e --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ExtendedLocationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The complex type of the extended location. + /// + public sealed class ExtendedLocationArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the extended location. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The type of the extended location. + /// + [Input("type")] + public InputUnion? Type { get; set; } + + public ExtendedLocationArgs() + { + } + public static new ExtendedLocationArgs Empty => new ExtendedLocationArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GalleryImageIdentifierArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GalleryImageIdentifierArgs.cs new file mode 100644 index 000000000000..ce9b017cf402 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GalleryImageIdentifierArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// This is the gallery image definition identifier. + /// + public sealed class GalleryImageIdentifierArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the gallery image definition offer. + /// + [Input("offer", required: true)] + public Input Offer { get; set; } = null!; + + /// + /// The name of the gallery image definition publisher. + /// + [Input("publisher", required: true)] + public Input Publisher { get; set; } = null!; + + /// + /// The name of the gallery image definition SKU. + /// + [Input("sku", required: true)] + public Input Sku { get; set; } = null!; + + public GalleryImageIdentifierArgs() + { + } + public static new GalleryImageIdentifierArgs Empty => new GalleryImageIdentifierArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GalleryImageVersionArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GalleryImageVersionArgs.cs new file mode 100644 index 000000000000..b1d12165d0e8 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GalleryImageVersionArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + public sealed class GalleryImageVersionArgs : global::Pulumi.ResourceArgs + { + /// + /// This is the version of the gallery image. + /// + [Input("name")] + public Input? Name { get; set; } + + public GalleryImageVersionArgs() + { + } + public static new GalleryImageVersionArgs Empty => new GalleryImageVersionArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GuestCredentialArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GuestCredentialArgs.cs new file mode 100644 index 000000000000..41e513a2a3e7 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/GuestCredentialArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Username / Password Credentials to connect to guest. + /// + public sealed class GuestCredentialArgs : global::Pulumi.ResourceArgs + { + /// + /// The password to connect with the guest. + /// + [Input("password")] + public Input? Password { get; set; } + + /// + /// The username to connect with the guest. + /// + [Input("username")] + public Input? Username { get; set; } + + public GuestCredentialArgs() + { + } + public static new GuestCredentialArgs Empty => new GuestCredentialArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/HttpProxyConfigurationArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/HttpProxyConfigurationArgs.cs new file mode 100644 index 000000000000..2c9ef21f96a5 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/HttpProxyConfigurationArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// HTTP Proxy configuration for the VM. + /// + public sealed class HttpProxyConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The HTTP proxy server endpoint to use. + /// + [Input("httpProxy")] + public Input? HttpProxy { get; set; } + + /// + /// The HTTPS proxy server endpoint to use. + /// + [Input("httpsProxy")] + public Input? HttpsProxy { get; set; } + + [Input("noProxy")] + private InputList? _noProxy; + + /// + /// The endpoints that should not go through proxy. + /// + public InputList NoProxy + { + get => _noProxy ?? (_noProxy = new InputList()); + set => _noProxy = value; + } + + /// + /// Alternative CA cert to use for connecting to proxy servers. + /// + [Input("trustedCa")] + public Input? TrustedCa { get; set; } + + public HttpProxyConfigurationArgs() + { + } + public static new HttpProxyConfigurationArgs Empty => new HttpProxyConfigurationArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPConfigurationArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPConfigurationArgs.cs new file mode 100644 index 000000000000..2c4faa0f6df1 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPConfigurationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// InterfaceIPConfiguration IPConfiguration in a network interface. + /// + public sealed class IPConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + /// + [Input("properties")] + public Input? Properties { get; set; } + + public IPConfigurationArgs() + { + } + public static new IPConfigurationArgs Empty => new IPConfigurationArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPConfigurationPropertiesArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPConfigurationPropertiesArgs.cs new file mode 100644 index 000000000000..c2d886c33fea --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPConfigurationPropertiesArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + /// + public sealed class IPConfigurationPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// PrivateIPAddress - Private IP address of the IP configuration. + /// + [Input("privateIPAddress")] + public Input? PrivateIPAddress { get; set; } + + /// + /// Subnet - Name of Subnet bound to the IP configuration. + /// + [Input("subnet")] + public Input? Subnet { get; set; } + + public IPConfigurationPropertiesArgs() + { + } + public static new IPConfigurationPropertiesArgs Empty => new IPConfigurationPropertiesArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPPoolArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPPoolArgs.cs new file mode 100644 index 000000000000..24c807c1fa75 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/IPPoolArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Describes IPPool + /// + public sealed class IPPoolArgs : global::Pulumi.ResourceArgs + { + /// + /// End of the IP address pool + /// + [Input("end")] + public Input? End { get; set; } + + /// + /// Type of the IP Pool [vm, vippool] + /// + [Input("ipPoolType")] + public InputUnion? IpPoolType { get; set; } + + /// + /// Name of the IP-Pool + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// Start of the IP address pool + /// + [Input("start")] + public Input? Start { get; set; } + + public IPPoolArgs() + { + } + public static new IPPoolArgs Empty => new IPPoolArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ImageArmReferenceArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ImageArmReferenceArgs.cs new file mode 100644 index 000000000000..f815b191bd85 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ImageArmReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The ARM ID for a Gallery Image. + /// + public sealed class ImageArmReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for an image resource used by the virtual machine instance. + /// + [Input("id")] + public Input? Id { get; set; } + + public ImageArmReferenceArgs() + { + } + public static new ImageArmReferenceArgs Empty => new ImageArmReferenceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/InterfaceDNSSettingsArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/InterfaceDNSSettingsArgs.cs new file mode 100644 index 000000000000..d779875bffdf --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/InterfaceDNSSettingsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// DNS Settings of the interface + /// + public sealed class InterfaceDNSSettingsArgs : global::Pulumi.ResourceArgs + { + [Input("dnsServers")] + private InputList? _dnsServers; + + /// + /// List of DNS server IP Addresses for the interface + /// + public InputList DnsServers + { + get => _dnsServers ?? (_dnsServers = new InputList()); + set => _dnsServers = value; + } + + public InterfaceDNSSettingsArgs() + { + } + public static new InterfaceDNSSettingsArgs Empty => new InterfaceDNSSettingsArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/LogicalNetworkArmReferenceArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/LogicalNetworkArmReferenceArgs.cs new file mode 100644 index 000000000000..bf63daf65fb0 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/LogicalNetworkArmReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The ARM ID for a Logical Network. + /// + public sealed class LogicalNetworkArmReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for a Logical Network. + /// + [Input("id")] + public Input? Id { get; set; } + + public LogicalNetworkArmReferenceArgs() + { + } + public static new LogicalNetworkArmReferenceArgs Empty => new LogicalNetworkArmReferenceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/LogicalNetworkPropertiesDhcpOptionsArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/LogicalNetworkPropertiesDhcpOptionsArgs.cs new file mode 100644 index 000000000000..9a465c6baa80 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/LogicalNetworkPropertiesDhcpOptionsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + /// + public sealed class LogicalNetworkPropertiesDhcpOptionsArgs : global::Pulumi.ResourceArgs + { + [Input("dnsServers")] + private InputList? _dnsServers; + + /// + /// The list of DNS servers IP addresses. + /// + public InputList DnsServers + { + get => _dnsServers ?? (_dnsServers = new InputList()); + set => _dnsServers = value; + } + + public LogicalNetworkPropertiesDhcpOptionsArgs() + { + } + public static new LogicalNetworkPropertiesDhcpOptionsArgs Empty => new LogicalNetworkPropertiesDhcpOptionsArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ManagedServiceIdentityArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ManagedServiceIdentityArgs.cs new file mode 100644 index 000000000000..cee0f5d26c1b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/ManagedServiceIdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + public sealed class ManagedServiceIdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public ManagedServiceIdentityArgs() + { + } + public static new ManagedServiceIdentityArgs Empty => new ManagedServiceIdentityArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/NetworkInterfaceArmReferenceArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/NetworkInterfaceArmReferenceArgs.cs new file mode 100644 index 000000000000..0845f3d09582 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/NetworkInterfaceArmReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The ARM ID for a Network Interface. + /// + public sealed class NetworkInterfaceArmReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for a Network Interface. + /// + [Input("id")] + public Input? Id { get; set; } + + public NetworkInterfaceArmReferenceArgs() + { + } + public static new NetworkInterfaceArmReferenceArgs Empty => new NetworkInterfaceArmReferenceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/NetworkSecurityGroupArmReferenceArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/NetworkSecurityGroupArmReferenceArgs.cs new file mode 100644 index 000000000000..9704d45fbcb9 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/NetworkSecurityGroupArmReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The ARM ID for a Network Security Group. + /// + public sealed class NetworkSecurityGroupArmReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for a Network Security Group. + /// + [Input("id")] + public Input? Id { get; set; } + + public NetworkSecurityGroupArmReferenceArgs() + { + } + public static new NetworkSecurityGroupArmReferenceArgs Empty => new NetworkSecurityGroupArmReferenceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/RouteArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/RouteArgs.cs new file mode 100644 index 000000000000..927d969c6f5a --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/RouteArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Route - Route resource. + /// + public sealed class RouteArgs : global::Pulumi.ResourceArgs + { + /// + /// The destination CIDR to which the route applies. + /// + [Input("addressPrefix")] + public Input? AddressPrefix { get; set; } + + /// + /// Name - name of the subnet + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + /// + [Input("nextHopIpAddress")] + public Input? NextHopIpAddress { get; set; } + + public RouteArgs() + { + } + public static new RouteArgs Empty => new RouteArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/RouteTableArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/RouteTableArgs.cs new file mode 100644 index 000000000000..733cfcac7e7b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/RouteTableArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Route table resource. + /// + public sealed class RouteTableArgs : global::Pulumi.ResourceArgs + { + [Input("routes")] + private InputList? _routes; + + /// + /// Collection of routes contained within a route table. + /// + public InputList Routes + { + get => _routes ?? (_routes = new InputList()); + set => _routes = value; + } + + public RouteTableArgs() + { + } + public static new RouteTableArgs Empty => new RouteTableArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SshConfigurationArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SshConfigurationArgs.cs new file mode 100644 index 000000000000..595dcd97c1f3 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SshConfigurationArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// SSH configuration for Linux based VMs running on Azure + /// + public sealed class SshConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("publicKeys")] + private InputList? _publicKeys; + + /// + /// The list of SSH public keys used to authenticate with linux based VMs. + /// + public InputList PublicKeys + { + get => _publicKeys ?? (_publicKeys = new InputList()); + set => _publicKeys = value; + } + + public SshConfigurationArgs() + { + } + public static new SshConfigurationArgs Empty => new SshConfigurationArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SshPublicKeyArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SshPublicKeyArgs.cs new file mode 100644 index 000000000000..9823f29b268a --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SshPublicKeyArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + /// + public sealed class SshPublicKeyArgs : global::Pulumi.ResourceArgs + { + /// + /// 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://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + /// + [Input("keyData")] + public Input? KeyData { get; set; } + + /// + /// 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 + /// + [Input("path")] + public Input? Path { get; set; } + + public SshPublicKeyArgs() + { + } + public static new SshPublicKeyArgs Empty => new SshPublicKeyArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SubnetArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SubnetArgs.cs new file mode 100644 index 000000000000..32d8f810b0b1 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SubnetArgs.cs @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Properties of the subnet. + /// + public sealed class SubnetArgs : global::Pulumi.ResourceArgs + { + /// + /// The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + /// + [Input("addressPrefix")] + public Input? AddressPrefix { get; set; } + + [Input("addressPrefixes")] + private InputList? _addressPrefixes; + + /// + /// List of address prefixes for the subnet. + /// + public InputList AddressPrefixes + { + get => _addressPrefixes ?? (_addressPrefixes = new InputList()); + set => _addressPrefixes = value; + } + + /// + /// IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + /// + [Input("ipAllocationMethod")] + public InputUnion? IpAllocationMethod { get; set; } + + [Input("ipConfigurationReferences")] + private InputList? _ipConfigurationReferences; + + /// + /// IPConfigurationReferences - list of IPConfigurationReferences + /// + public InputList IpConfigurationReferences + { + get => _ipConfigurationReferences ?? (_ipConfigurationReferences = new InputList()); + set => _ipConfigurationReferences = value; + } + + [Input("ipPools")] + private InputList? _ipPools; + + /// + /// network associated pool of IP Addresses + /// + public InputList IpPools + { + get => _ipPools ?? (_ipPools = new InputList()); + set => _ipPools = value; + } + + /// + /// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// NetworkSecurityGroup - Network Security Group attached to the logical network. + /// + [Input("networkSecurityGroup")] + public Input? NetworkSecurityGroup { get; set; } + + /// + /// Route table resource. + /// + [Input("routeTable")] + public Input? RouteTable { get; set; } + + /// + /// Vlan to use for the subnet + /// + [Input("vlan")] + public Input? Vlan { get; set; } + + public SubnetArgs() + { + } + public static new SubnetArgs Empty => new SubnetArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SubnetIpConfigurationReferenceArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SubnetIpConfigurationReferenceArgs.cs new file mode 100644 index 000000000000..94fff4e82ea7 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/SubnetIpConfigurationReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The ARM ID for a Network Interface. + /// + public sealed class SubnetIpConfigurationReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for a Network Interface. + /// + [Input("id")] + public Input? Id { get; set; } + + public SubnetIpConfigurationReferenceArgs() + { + } + public static new SubnetIpConfigurationReferenceArgs Empty => new SubnetIpConfigurationReferenceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VMDiskSecurityProfileArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VMDiskSecurityProfileArgs.cs new file mode 100644 index 000000000000..b208622a25e2 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VMDiskSecurityProfileArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + /// + public sealed class VMDiskSecurityProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + /// + [Input("securityEncryptionType")] + public InputUnion? SecurityEncryptionType { get; set; } + + public VMDiskSecurityProfileArgs() + { + } + public static new VMDiskSecurityProfileArgs Empty => new VMDiskSecurityProfileArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualHardDiskArmReferenceArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualHardDiskArmReferenceArgs.cs new file mode 100644 index 000000000000..09bc123da2d4 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualHardDiskArmReferenceArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The ARM ID for a Virtual Hard Disk. + /// + public sealed class VirtualHardDiskArmReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for a Virtual Hard Disk. + /// + [Input("id")] + public Input? Id { get; set; } + + public VirtualHardDiskArmReferenceArgs() + { + } + public static new VirtualHardDiskArmReferenceArgs Empty => new VirtualHardDiskArmReferenceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstanceManagedDiskParametersArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstanceManagedDiskParametersArgs.cs new file mode 100644 index 000000000000..b10e585e6bd7 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstanceManagedDiskParametersArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The parameters of a managed disk. + /// + public sealed class VirtualMachineInstanceManagedDiskParametersArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the security profile for the managed disk. + /// + [Input("securityProfile")] + public Input? SecurityProfile { get; set; } + + public VirtualMachineInstanceManagedDiskParametersArgs() + { + } + public static new VirtualMachineInstanceManagedDiskParametersArgs Empty => new VirtualMachineInstanceManagedDiskParametersArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileArgs.cs new file mode 100644 index 000000000000..a7f5953e54e5 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileArgs.cs @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// HardwareProfile - Specifies the hardware settings for the virtual machine instance. + /// + public sealed class VirtualMachineInstancePropertiesHardwareProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Dynamic memory config + /// + [Input("dynamicMemoryConfig")] + public Input? DynamicMemoryConfig { get; set; } + + /// + /// RAM in MB for the virtual machine instance + /// + [Input("memoryMB")] + public Input? MemoryMB { get; set; } + + /// + /// number of processors for the virtual machine instance + /// + [Input("processors")] + public Input? Processors { get; set; } + + [Input("virtualMachineGPUs")] + private InputList? _virtualMachineGPUs; + + /// + /// virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + /// + public InputList VirtualMachineGPUs + { + get => _virtualMachineGPUs ?? (_virtualMachineGPUs = new InputList()); + set => _virtualMachineGPUs = value; + } + + /// + /// Enum of VM Sizes + /// + [Input("vmSize")] + public InputUnion? VmSize { get; set; } + + public VirtualMachineInstancePropertiesHardwareProfileArgs() + { + VmSize = "Default"; + } + public static new VirtualMachineInstancePropertiesHardwareProfileArgs Empty => new VirtualMachineInstancePropertiesHardwareProfileArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs.cs new file mode 100644 index 000000000000..28059fbc3d27 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Dynamic memory config + /// + public sealed class VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs : global::Pulumi.ResourceArgs + { + /// + /// Maximum memory in MB + /// + [Input("maximumMemoryMB")] + public Input? MaximumMemoryMB { get; set; } + + /// + /// Minimum memory in MB + /// + [Input("minimumMemoryMB")] + public Input? MinimumMemoryMB { get; set; } + + /// + /// Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + /// + [Input("targetMemoryBuffer")] + public Input? TargetMemoryBuffer { get; set; } + + public VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs() + { + } + public static new VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs Empty => new VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs.cs new file mode 100644 index 000000000000..6dddee384ba8 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// GPU properties - describes the GPU configuration. + /// + public sealed class VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs : global::Pulumi.ResourceArgs + { + /// + /// GPU assignment type + /// + [Input("assignmentType", required: true)] + public InputUnion AssignmentType { get; set; } = null!; + + /// + /// Name of the GPU + /// + [Input("gpuName")] + public Input? GpuName { get; set; } + + /// + /// Size of gpu partition in MB for GPU-P + /// + [Input("partitionSizeMB")] + public Input? PartitionSizeMB { get; set; } + + public VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs() + { + } + public static new VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs Empty => new VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesNetworkProfileArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesNetworkProfileArgs.cs new file mode 100644 index 000000000000..1d40169dff8a --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesNetworkProfileArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// NetworkProfile - describes the network configuration the virtual machine instance + /// + public sealed class VirtualMachineInstancePropertiesNetworkProfileArgs : global::Pulumi.ResourceArgs + { + [Input("networkInterfaces")] + private InputList? _networkInterfaces; + + /// + /// NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + /// + public InputList NetworkInterfaces + { + get => _networkInterfaces ?? (_networkInterfaces = new InputList()); + set => _networkInterfaces = value; + } + + public VirtualMachineInstancePropertiesNetworkProfileArgs() + { + } + public static new VirtualMachineInstancePropertiesNetworkProfileArgs Empty => new VirtualMachineInstancePropertiesNetworkProfileArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileArgs.cs new file mode 100644 index 000000000000..f02700b90b86 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// OsProfile - describes the configuration of the operating system and sets login data + /// + public sealed class VirtualMachineInstancePropertiesOsProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// AdminPassword - admin password + /// + [Input("adminPassword")] + public Input? AdminPassword { get; set; } + + /// + /// AdminUsername - admin username + /// + [Input("adminUsername")] + public Input? AdminUsername { get; set; } + + /// + /// ComputerName - name of the compute + /// + [Input("computerName")] + public Input? ComputerName { get; set; } + + /// + /// LinuxConfiguration - linux specific configuration values for the virtual machine instance + /// + [Input("linuxConfiguration")] + public Input? LinuxConfiguration { get; set; } + + /// + /// Windows Configuration for the virtual machine instance + /// + [Input("windowsConfiguration")] + public Input? WindowsConfiguration { get; set; } + + public VirtualMachineInstancePropertiesOsProfileArgs() + { + } + public static new VirtualMachineInstancePropertiesOsProfileArgs Empty => new VirtualMachineInstancePropertiesOsProfileArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs.cs new file mode 100644 index 000000000000..6a9c5664b470 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// LinuxConfiguration - linux specific configuration values for the virtual machine instance + /// + public sealed class VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// DisablePasswordAuthentication - whether password authentication should be disabled + /// + [Input("disablePasswordAuthentication")] + public Input? DisablePasswordAuthentication { get; set; } + + /// + /// Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + /// + [Input("provisionVMAgent")] + public Input? ProvisionVMAgent { get; set; } + + /// + /// Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + /// + [Input("provisionVMConfigAgent")] + public Input? ProvisionVMConfigAgent { get; set; } + + /// + /// Specifies the ssh key configuration for a Linux OS. + /// + [Input("ssh")] + public Input? Ssh { get; set; } + + public VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs() + { + ProvisionVMAgent = true; + ProvisionVMConfigAgent = true; + } + public static new VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs Empty => new VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs.cs new file mode 100644 index 000000000000..118abb52641c --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs.cs @@ -0,0 +1,55 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Windows Configuration for the virtual machine instance + /// + public sealed class VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether to EnableAutomaticUpdates on the machine + /// + [Input("enableAutomaticUpdates")] + public Input? EnableAutomaticUpdates { get; set; } + + /// + /// Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + /// + [Input("provisionVMAgent")] + public Input? ProvisionVMAgent { get; set; } + + /// + /// Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + /// + [Input("provisionVMConfigAgent")] + public Input? ProvisionVMConfigAgent { get; set; } + + /// + /// Specifies the ssh key configuration for Windows OS. + /// + [Input("ssh")] + public Input? Ssh { get; set; } + + /// + /// TimeZone for the virtual machine instance + /// + [Input("timeZone")] + public Input? TimeZone { get; set; } + + public VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs() + { + ProvisionVMAgent = true; + ProvisionVMConfigAgent = true; + } + public static new VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs Empty => new VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesSecurityProfileArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesSecurityProfileArgs.cs new file mode 100644 index 000000000000..083b3a91b6d3 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesSecurityProfileArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// SecurityProfile - Specifies the security settings for the virtual machine instance. + /// + public sealed class VirtualMachineInstancePropertiesSecurityProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Enable TPM flag + /// + [Input("enableTPM")] + public Input? EnableTPM { get; set; } + + /// + /// Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + /// + [Input("securityType")] + public InputUnion? SecurityType { get; set; } + + /// + /// Uefi settings of the virtual machine instance + /// + [Input("uefiSettings")] + public Input? UefiSettings { get; set; } + + public VirtualMachineInstancePropertiesSecurityProfileArgs() + { + EnableTPM = false; + } + public static new VirtualMachineInstancePropertiesSecurityProfileArgs Empty => new VirtualMachineInstancePropertiesSecurityProfileArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.cs new file mode 100644 index 000000000000..fb641ec63bcd --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + /// + public sealed class VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies whether secure boot should be enabled on the virtual machine instance. + /// + [Input("secureBootEnabled")] + public Input? SecureBootEnabled { get; set; } + + public VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs() + { + SecureBootEnabled = false; + } + public static new VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs Empty => new VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesStorageProfileArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesStorageProfileArgs.cs new file mode 100644 index 000000000000..e34ca3778990 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesStorageProfileArgs.cs @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// StorageProfile - contains information about the disks and storage information for the virtual machine instance + /// + public sealed class VirtualMachineInstancePropertiesStorageProfileArgs : global::Pulumi.ResourceArgs + { + [Input("dataDisks")] + private InputList? _dataDisks; + + /// + /// adds data disks to the virtual machine instance + /// + public InputList DataDisks + { + get => _dataDisks ?? (_dataDisks = new InputList()); + set => _dataDisks = value; + } + + /// + /// Which Image to use for the virtual machine instance + /// + [Input("imageReference")] + public Input? ImageReference { get; set; } + + /// + /// VHD to attach as OS disk + /// + [Input("osDisk")] + public Input? OsDisk { get; set; } + + /// + /// Id of the storage container that hosts the VM configuration file + /// + [Input("vmConfigStoragePathId")] + public Input? VmConfigStoragePathId { get; set; } + + public VirtualMachineInstancePropertiesStorageProfileArgs() + { + } + public static new VirtualMachineInstancePropertiesStorageProfileArgs Empty => new VirtualMachineInstancePropertiesStorageProfileArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesStorageProfileOsDiskArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesStorageProfileOsDiskArgs.cs new file mode 100644 index 000000000000..1941474ff6eb --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VirtualMachineInstancePropertiesStorageProfileOsDiskArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// VHD to attach as OS disk + /// + public sealed class VirtualMachineInstancePropertiesStorageProfileOsDiskArgs : global::Pulumi.ResourceArgs + { + /// + /// The ARM ID for a Virtual Hard Disk. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// The managed disk parameters. + /// + [Input("managedDisk")] + public Input? ManagedDisk { get; set; } + + /// + /// 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. Possible values are: Windows, Linux. + /// + [Input("osType")] + public InputUnion? OsType { get; set; } + + public VirtualMachineInstancePropertiesStorageProfileOsDiskArgs() + { + } + public static new VirtualMachineInstancePropertiesStorageProfileOsDiskArgs Empty => new VirtualMachineInstancePropertiesStorageProfileOsDiskArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VmImageRepositoryCredentialsArgs.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VmImageRepositoryCredentialsArgs.cs new file mode 100644 index 000000000000..c4e2e015e00b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Inputs/VmImageRepositoryCredentialsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Inputs +{ + + /// + /// The credentials used to login to the image repository that has access to the specified image + /// + public sealed class VmImageRepositoryCredentialsArgs : global::Pulumi.ResourceArgs + { + /// + /// Password for accessing image repository + /// + [Input("password", required: true)] + public Input Password { get; set; } = null!; + + /// + /// Username for accessing image repository + /// + [Input("username", required: true)] + public Input Username { get; set; } = null!; + + public VmImageRepositoryCredentialsArgs() + { + } + public static new VmImageRepositoryCredentialsArgs Empty => new VmImageRepositoryCredentialsArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/LogicalNetwork.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/LogicalNetwork.cs new file mode 100644 index 000000000000..069d54732ab3 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/LogicalNetwork.cs @@ -0,0 +1,204 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The logical network resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:LogicalNetwork")] + public partial class LogicalNetwork : global::Pulumi.CustomResource + { + /// + /// DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + /// + [Output("dhcpOptions")] + public Output DhcpOptions { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Provisioning state of the logical network. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The observed state of logical networks + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Subnet - list of subnets under the logical network + /// + [Output("subnets")] + public Output> Subnets { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// name of the network switch to be used for VMs + /// + [Output("vmSwitchName")] + public Output VmSwitchName { get; private set; } = null!; + + + /// + /// Create a LogicalNetwork resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public LogicalNetwork(string name, LogicalNetworkArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:LogicalNetwork", name, args ?? new LogicalNetworkArgs(), MakeResourceOptions(options, "")) + { + } + + private LogicalNetwork(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:LogicalNetwork", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing LogicalNetwork resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static LogicalNetwork Get(string name, Input id, CustomResourceOptions? options = null) + { + return new LogicalNetwork(name, id, options); + } + } + + public sealed class LogicalNetworkArgs : global::Pulumi.ResourceArgs + { + /// + /// DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + /// + [Input("dhcpOptions")] + public Input? DhcpOptions { get; set; } + + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Name of the logical network + /// + [Input("logicalNetworkName")] + public Input? LogicalNetworkName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("subnets")] + private InputList? _subnets; + + /// + /// Subnet - list of subnets under the logical network + /// + public InputList Subnets + { + get => _subnets ?? (_subnets = new InputList()); + set => _subnets = value; + } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// name of the network switch to be used for VMs + /// + [Input("vmSwitchName")] + public Input? VmSwitchName { get; set; } + + public LogicalNetworkArgs() + { + } + public static new LogicalNetworkArgs Empty => new LogicalNetworkArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/MarketplaceGalleryImage.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/MarketplaceGalleryImage.cs new file mode 100644 index 000000000000..335c773a0899 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/MarketplaceGalleryImage.cs @@ -0,0 +1,237 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The marketplace gallery image resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")] + public partial class MarketplaceGalleryImage : global::Pulumi.CustomResource + { + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + [Output("cloudInitDataSource")] + public Output CloudInitDataSource { get; private set; } = null!; + + /// + /// Storage ContainerID of the storage container to be used for marketplace gallery image + /// + [Output("containerId")] + public Output ContainerId { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [Output("hyperVGeneration")] + public Output HyperVGeneration { get; private set; } = null!; + + /// + /// This is the gallery image definition identifier. + /// + [Output("identifier")] + public Output Identifier { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Operating system type that the gallery image uses [Windows, Linux] + /// + [Output("osType")] + public Output OsType { get; private set; } = null!; + + /// + /// Provisioning state of the marketplace gallery image. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The observed state of marketplace gallery images + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + [Output("version")] + public Output Version { get; private set; } = null!; + + + /// + /// Create a MarketplaceGalleryImage resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public MarketplaceGalleryImage(string name, MarketplaceGalleryImageArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage", name, args ?? new MarketplaceGalleryImageArgs(), MakeResourceOptions(options, "")) + { + } + + private MarketplaceGalleryImage(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing MarketplaceGalleryImage resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static MarketplaceGalleryImage Get(string name, Input id, CustomResourceOptions? options = null) + { + return new MarketplaceGalleryImage(name, id, options); + } + } + + public sealed class MarketplaceGalleryImageArgs : global::Pulumi.ResourceArgs + { + /// + /// Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + /// + [Input("cloudInitDataSource")] + public InputUnion? CloudInitDataSource { get; set; } + + /// + /// Storage ContainerID of the storage container to be used for marketplace gallery image + /// + [Input("containerId")] + public Input? ContainerId { get; set; } + + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [Input("hyperVGeneration")] + public InputUnion? HyperVGeneration { get; set; } + + /// + /// This is the gallery image definition identifier. + /// + [Input("identifier")] + public Input? Identifier { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Name of the marketplace gallery image + /// + [Input("marketplaceGalleryImageName")] + public Input? MarketplaceGalleryImageName { get; set; } + + /// + /// Operating system type that the gallery image uses [Windows, Linux] + /// + [Input("osType", required: true)] + public InputUnion OsType { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + [Input("version")] + public Input? Version { get; set; } + + public MarketplaceGalleryImageArgs() + { + } + public static new MarketplaceGalleryImageArgs Empty => new MarketplaceGalleryImageArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/NetworkInterface.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/NetworkInterface.cs new file mode 100644 index 000000000000..883b0c65dfcc --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/NetworkInterface.cs @@ -0,0 +1,220 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The network interface resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:NetworkInterface")] + public partial class NetworkInterface : global::Pulumi.CustomResource + { + /// + /// DNS Settings for the interface + /// + [Output("dnsSettings")] + public Output DnsSettings { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// IPConfigurations - A list of IPConfigurations of the network interface. + /// + [Output("ipConfigurations")] + public Output> IpConfigurations { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// MacAddress - The MAC address of the network interface. + /// + [Output("macAddress")] + public Output MacAddress { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// NetworkSecurityGroup - Network Security Group attached to the network interface. + /// + [Output("networkSecurityGroup")] + public Output NetworkSecurityGroup { get; private set; } = null!; + + /// + /// Provisioning state of the network interface. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The observed state of network interfaces + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a NetworkInterface resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public NetworkInterface(string name, NetworkInterfaceArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:NetworkInterface", name, args ?? new NetworkInterfaceArgs(), MakeResourceOptions(options, "")) + { + } + + private NetworkInterface(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:NetworkInterface", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing NetworkInterface resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static NetworkInterface Get(string name, Input id, CustomResourceOptions? options = null) + { + return new NetworkInterface(name, id, options); + } + } + + public sealed class NetworkInterfaceArgs : global::Pulumi.ResourceArgs + { + /// + /// DNS Settings for the interface + /// + [Input("dnsSettings")] + public Input? DnsSettings { get; set; } + + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + [Input("ipConfigurations")] + private InputList? _ipConfigurations; + + /// + /// IPConfigurations - A list of IPConfigurations of the network interface. + /// + public InputList IpConfigurations + { + get => _ipConfigurations ?? (_ipConfigurations = new InputList()); + set => _ipConfigurations = value; + } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// MacAddress - The MAC address of the network interface. + /// + [Input("macAddress")] + public Input? MacAddress { get; set; } + + /// + /// Name of the network interface + /// + [Input("networkInterfaceName")] + public Input? NetworkInterfaceName { get; set; } + + /// + /// NetworkSecurityGroup - Network Security Group attached to the network interface. + /// + [Input("networkSecurityGroup")] + public Input? NetworkSecurityGroup { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public NetworkInterfaceArgs() + { + } + public static new NetworkInterfaceArgs Empty => new NetworkInterfaceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/NetworkSecurityGroup.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/NetworkSecurityGroup.cs new file mode 100644 index 000000000000..c30c18cd6772 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/NetworkSecurityGroup.cs @@ -0,0 +1,172 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// NetworkSecurityGroup resource. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup")] + public partial class NetworkSecurityGroup : global::Pulumi.CustomResource + { + /// + /// If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// A collection of references to network interfaces that are currently using this NSG. + /// + [Output("networkInterfaces")] + public Output> NetworkInterfaces { get; private set; } = null!; + + /// + /// The provisioning state of the network security group resource. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// A collection of references to logical networks that are currently using this NSG + /// + [Output("subnets")] + public Output> Subnets { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a NetworkSecurityGroup resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public NetworkSecurityGroup(string name, NetworkSecurityGroupArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup", name, args ?? new NetworkSecurityGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private NetworkSecurityGroup(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing NetworkSecurityGroup resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static NetworkSecurityGroup Get(string name, Input id, CustomResourceOptions? options = null) + { + return new NetworkSecurityGroup(name, id, options); + } + } + + public sealed class NetworkSecurityGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Name of the network security group + /// + [Input("networkSecurityGroupName")] + public Input? NetworkSecurityGroupName { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public NetworkSecurityGroupArgs() + { + } + public static new NetworkSecurityGroupArgs Empty => new NetworkSecurityGroupArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ErrorAdditionalInfoResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ErrorAdditionalInfoResponse.cs new file mode 100644 index 000000000000..248fc6e2a8a4 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ErrorAdditionalInfoResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The resource management error additional info. + /// + [OutputType] + public sealed class ErrorAdditionalInfoResponse + { + /// + /// The additional info. + /// + public readonly object Info; + /// + /// The additional info type. + /// + public readonly string Type; + + [OutputConstructor] + private ErrorAdditionalInfoResponse( + object info, + + string type) + { + Info = info; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ErrorDetailResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ErrorDetailResponse.cs new file mode 100644 index 000000000000..274a7c462031 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ErrorDetailResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The error detail. + /// + [OutputType] + public sealed class ErrorDetailResponse + { + /// + /// The error additional info. + /// + public readonly ImmutableArray AdditionalInfo; + /// + /// The error code. + /// + public readonly string Code; + /// + /// The error details. + /// + public readonly ImmutableArray Details; + /// + /// The error message. + /// + public readonly string Message; + /// + /// The error target. + /// + public readonly string Target; + + [OutputConstructor] + private ErrorDetailResponse( + ImmutableArray additionalInfo, + + string code, + + ImmutableArray details, + + string message, + + string target) + { + AdditionalInfo = additionalInfo; + Code = code; + Details = details; + Message = message; + Target = target; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ExtendedLocationResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ExtendedLocationResponse.cs new file mode 100644 index 000000000000..4160324dbd12 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ExtendedLocationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The complex type of the extended location. + /// + [OutputType] + public sealed class ExtendedLocationResponse + { + /// + /// The name of the extended location. + /// + public readonly string? Name; + /// + /// The type of the extended location. + /// + public readonly string? Type; + + [OutputConstructor] + private ExtendedLocationResponse( + string? name, + + string? type) + { + Name = name; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageIdentifierResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageIdentifierResponse.cs new file mode 100644 index 000000000000..b2694343cf7e --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageIdentifierResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// This is the gallery image definition identifier. + /// + [OutputType] + public sealed class GalleryImageIdentifierResponse + { + /// + /// The name of the gallery image definition offer. + /// + public readonly string Offer; + /// + /// The name of the gallery image definition publisher. + /// + public readonly string Publisher; + /// + /// The name of the gallery image definition SKU. + /// + public readonly string Sku; + + [OutputConstructor] + private GalleryImageIdentifierResponse( + string offer, + + string publisher, + + string sku) + { + Offer = offer; + Publisher = publisher; + Sku = sku; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusDownloadStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusDownloadStatusResponse.cs new file mode 100644 index 000000000000..d0589c4cb730 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusDownloadStatusResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The download status of the gallery image + /// + [OutputType] + public sealed class GalleryImageStatusDownloadStatusResponse + { + /// + /// The downloaded sized of the image in MB + /// + public readonly double? DownloadSizeInMB; + + [OutputConstructor] + private GalleryImageStatusDownloadStatusResponse(double? downloadSizeInMB) + { + DownloadSizeInMB = downloadSizeInMB; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..a4db67eba85f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The status of the operation performed on the gallery image + /// + [OutputType] + public sealed class GalleryImageStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the gallery image + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private GalleryImageStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusResponse.cs new file mode 100644 index 000000000000..b4a07a1d4f00 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of gallery images + /// + [OutputType] + public sealed class GalleryImageStatusResponse + { + /// + /// The download status of the gallery image + /// + public readonly Outputs.GalleryImageStatusDownloadStatusResponse? DownloadStatus; + /// + /// GalleryImage provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// The progress of the operation in percentage + /// + public readonly double? ProgressPercentage; + /// + /// provisioning status of the gallery image + /// + public readonly Outputs.GalleryImageStatusProvisioningStatusResponse? ProvisioningStatus; + + [OutputConstructor] + private GalleryImageStatusResponse( + Outputs.GalleryImageStatusDownloadStatusResponse? downloadStatus, + + string? errorCode, + + string? errorMessage, + + double? progressPercentage, + + Outputs.GalleryImageStatusProvisioningStatusResponse? provisioningStatus) + { + DownloadStatus = downloadStatus; + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProgressPercentage = progressPercentage; + ProvisioningStatus = provisioningStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageVersionResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageVersionResponse.cs new file mode 100644 index 000000000000..c2e64a2c8615 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageVersionResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Specifies information about the gallery image version that you want to create or update. + /// + [OutputType] + public sealed class GalleryImageVersionResponse + { + /// + /// This is the version of the gallery image. + /// + public readonly string? Name; + /// + /// This is the storage profile of a Gallery Image Version. + /// + public readonly Outputs.GalleryImageVersionStorageProfileResponse StorageProfile; + + [OutputConstructor] + private GalleryImageVersionResponse( + string? name, + + Outputs.GalleryImageVersionStorageProfileResponse storageProfile) + { + Name = name; + StorageProfile = storageProfile; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageVersionStorageProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageVersionStorageProfileResponse.cs new file mode 100644 index 000000000000..e5f150c87f07 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryImageVersionStorageProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// This is the storage profile of a Gallery Image Version. + /// + [OutputType] + public sealed class GalleryImageVersionStorageProfileResponse + { + /// + /// This is the OS disk image. + /// + public readonly Outputs.GalleryOSDiskImageResponse? OsDiskImage; + + [OutputConstructor] + private GalleryImageVersionStorageProfileResponse(Outputs.GalleryOSDiskImageResponse? osDiskImage) + { + OsDiskImage = osDiskImage; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryOSDiskImageResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryOSDiskImageResponse.cs new file mode 100644 index 000000000000..d8689d3c9219 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GalleryOSDiskImageResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// This is the OS disk image. + /// + [OutputType] + public sealed class GalleryOSDiskImageResponse + { + /// + /// This property indicates the size of the VHD to be created. + /// + public readonly double SizeInMB; + + [OutputConstructor] + private GalleryOSDiskImageResponse(double sizeInMB) + { + SizeInMB = sizeInMB; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GuestAgentInstallStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GuestAgentInstallStatusResponse.cs new file mode 100644 index 000000000000..db3baa85b9ff --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GuestAgentInstallStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Defines the status of a guest agent installation. + /// + [OutputType] + public sealed class GuestAgentInstallStatusResponse + { + /// + /// The hybrid machine agent full version. + /// + public readonly string AgentVersion; + /// + /// Details about the error state. + /// + public readonly ImmutableArray ErrorDetails; + /// + /// The time of the last status change. + /// + public readonly string LastStatusChange; + /// + /// The installation status of the hybrid machine agent installation. + /// + public readonly string Status; + /// + /// Specifies the VM's unique SMBIOS ID. + /// + public readonly string VmUuid; + + [OutputConstructor] + private GuestAgentInstallStatusResponse( + string agentVersion, + + ImmutableArray errorDetails, + + string lastStatusChange, + + string status, + + string vmUuid) + { + AgentVersion = agentVersion; + ErrorDetails = errorDetails; + LastStatusChange = lastStatusChange; + Status = status; + VmUuid = vmUuid; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GuestCredentialResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GuestCredentialResponse.cs new file mode 100644 index 000000000000..b699f6fb1eee --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/GuestCredentialResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Username / Password Credentials to connect to guest. + /// + [OutputType] + public sealed class GuestCredentialResponse + { + /// + /// The username to connect with the guest. + /// + public readonly string? Username; + + [OutputConstructor] + private GuestCredentialResponse(string? username) + { + Username = username; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/HttpProxyConfigurationResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/HttpProxyConfigurationResponse.cs new file mode 100644 index 000000000000..601df8763bca --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/HttpProxyConfigurationResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// HTTP Proxy configuration for the VM. + /// + [OutputType] + public sealed class HttpProxyConfigurationResponse + { + /// + /// The HTTP proxy server endpoint to use. + /// + public readonly string? HttpProxy; + /// + /// The HTTPS proxy server endpoint to use. + /// + public readonly string? HttpsProxy; + /// + /// The endpoints that should not go through proxy. + /// + public readonly ImmutableArray NoProxy; + /// + /// Alternative CA cert to use for connecting to proxy servers. + /// + public readonly string? TrustedCa; + + [OutputConstructor] + private HttpProxyConfigurationResponse( + string? httpProxy, + + string? httpsProxy, + + ImmutableArray noProxy, + + string? trustedCa) + { + HttpProxy = httpProxy; + HttpsProxy = httpsProxy; + NoProxy = noProxy; + TrustedCa = trustedCa; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPConfigurationPropertiesResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPConfigurationPropertiesResponse.cs new file mode 100644 index 000000000000..9cb102076d5a --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPConfigurationPropertiesResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + /// + [OutputType] + public sealed class IPConfigurationPropertiesResponse + { + /// + /// Gateway for network interface + /// + public readonly string Gateway; + /// + /// prefixLength for network interface + /// + public readonly string PrefixLength; + /// + /// PrivateIPAddress - Private IP address of the IP configuration. + /// + public readonly string? PrivateIPAddress; + /// + /// Subnet - Name of Subnet bound to the IP configuration. + /// + public readonly Outputs.LogicalNetworkArmReferenceResponse? Subnet; + + [OutputConstructor] + private IPConfigurationPropertiesResponse( + string gateway, + + string prefixLength, + + string? privateIPAddress, + + Outputs.LogicalNetworkArmReferenceResponse? subnet) + { + Gateway = gateway; + PrefixLength = prefixLength; + PrivateIPAddress = privateIPAddress; + Subnet = subnet; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPConfigurationResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPConfigurationResponse.cs new file mode 100644 index 000000000000..4fb816cea23b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPConfigurationResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// InterfaceIPConfiguration IPConfiguration in a network interface. + /// + [OutputType] + public sealed class IPConfigurationResponse + { + /// + /// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + public readonly string? Name; + /// + /// InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + /// + public readonly Outputs.IPConfigurationPropertiesResponse? Properties; + + [OutputConstructor] + private IPConfigurationResponse( + string? name, + + Outputs.IPConfigurationPropertiesResponse? properties) + { + Name = name; + Properties = properties; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPPoolInfoResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPPoolInfoResponse.cs new file mode 100644 index 000000000000..71c784f26d30 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPPoolInfoResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// IP Pool info + /// + [OutputType] + public sealed class IPPoolInfoResponse + { + /// + /// Number of IP addresses available in the IP Pool + /// + public readonly string Available; + /// + /// Number of IP addresses allocated from the IP Pool + /// + public readonly string Used; + + [OutputConstructor] + private IPPoolInfoResponse( + string available, + + string used) + { + Available = available; + Used = used; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPPoolResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPPoolResponse.cs new file mode 100644 index 000000000000..6d295d749b3c --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/IPPoolResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Describes IPPool + /// + [OutputType] + public sealed class IPPoolResponse + { + /// + /// End of the IP address pool + /// + public readonly string? End; + /// + /// IPPool info + /// + public readonly Outputs.IPPoolInfoResponse? Info; + /// + /// Type of the IP Pool [vm, vippool] + /// + public readonly string? IpPoolType; + /// + /// Name of the IP-Pool + /// + public readonly string? Name; + /// + /// Start of the IP address pool + /// + public readonly string? Start; + + [OutputConstructor] + private IPPoolResponse( + string? end, + + Outputs.IPPoolInfoResponse? info, + + string? ipPoolType, + + string? name, + + string? start) + { + End = end; + Info = info; + IpPoolType = ipPoolType; + Name = name; + Start = start; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ImageArmReferenceResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ImageArmReferenceResponse.cs new file mode 100644 index 000000000000..5db9002f06f3 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ImageArmReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The ARM ID for a Gallery Image. + /// + [OutputType] + public sealed class ImageArmReferenceResponse + { + /// + /// The ARM ID for an image resource used by the virtual machine instance. + /// + public readonly string? Id; + + [OutputConstructor] + private ImageArmReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/InstanceViewStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/InstanceViewStatusResponse.cs new file mode 100644 index 000000000000..69d85d4fb942 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/InstanceViewStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Instance view status. + /// + [OutputType] + public sealed class InstanceViewStatusResponse + { + /// + /// The status code. + /// + public readonly string? Code; + /// + /// The short localizable label for the status. + /// + public readonly string? DisplayStatus; + /// + /// The level code. + /// + public readonly string? Level; + /// + /// The detailed status message, including for alerts and error messages. + /// + public readonly string? Message; + /// + /// The time of the status. + /// + public readonly string? Time; + + [OutputConstructor] + private InstanceViewStatusResponse( + string? code, + + string? displayStatus, + + string? level, + + string? message, + + string? time) + { + Code = code; + DisplayStatus = displayStatus; + Level = level; + Message = message; + Time = time; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/InterfaceDNSSettingsResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/InterfaceDNSSettingsResponse.cs new file mode 100644 index 000000000000..00005bec6c7f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/InterfaceDNSSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// DNS Settings of the interface + /// + [OutputType] + public sealed class InterfaceDNSSettingsResponse + { + /// + /// List of DNS server IP Addresses for the interface + /// + public readonly ImmutableArray DnsServers; + + [OutputConstructor] + private InterfaceDNSSettingsResponse(ImmutableArray dnsServers) + { + DnsServers = dnsServers; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkArmReferenceResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkArmReferenceResponse.cs new file mode 100644 index 000000000000..26a355271c7b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkArmReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The ARM ID for a Logical Network. + /// + [OutputType] + public sealed class LogicalNetworkArmReferenceResponse + { + /// + /// The ARM ID for a Logical Network. + /// + public readonly string? Id; + + [OutputConstructor] + private LogicalNetworkArmReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkPropertiesDhcpOptionsResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkPropertiesDhcpOptionsResponse.cs new file mode 100644 index 000000000000..1bb23e4f46b8 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkPropertiesDhcpOptionsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + /// + [OutputType] + public sealed class LogicalNetworkPropertiesDhcpOptionsResponse + { + /// + /// The list of DNS servers IP addresses. + /// + public readonly ImmutableArray DnsServers; + + [OutputConstructor] + private LogicalNetworkPropertiesDhcpOptionsResponse(ImmutableArray dnsServers) + { + DnsServers = dnsServers; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..e4ac422bce3b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Describes the status of the provisioning. + /// + [OutputType] + public sealed class LogicalNetworkStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the logical network + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the logical network [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private LogicalNetworkStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkStatusResponse.cs new file mode 100644 index 000000000000..e1939ad8e367 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/LogicalNetworkStatusResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of logical networks + /// + [OutputType] + public sealed class LogicalNetworkStatusResponse + { + /// + /// LogicalNetwork provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// Logical network provisioning status + /// + public readonly Outputs.LogicalNetworkStatusProvisioningStatusResponse? ProvisioningStatus; + + [OutputConstructor] + private LogicalNetworkStatusResponse( + string? errorCode, + + string? errorMessage, + + Outputs.LogicalNetworkStatusProvisioningStatusResponse? provisioningStatus) + { + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProvisioningStatus = provisioningStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ManagedServiceIdentityResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ManagedServiceIdentityResponse.cs new file mode 100644 index 000000000000..697b851b29cc --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/ManagedServiceIdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Managed service identity (system assigned and/or user assigned identities) + /// + [OutputType] + public sealed class ManagedServiceIdentityResponse + { + /// + /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + /// + public readonly string TenantId; + /// + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// + public readonly string Type; + /// + /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private ManagedServiceIdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusDownloadStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusDownloadStatusResponse.cs new file mode 100644 index 000000000000..768b5cb9b411 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusDownloadStatusResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The download status of the gallery image + /// + [OutputType] + public sealed class MarketplaceGalleryImageStatusDownloadStatusResponse + { + /// + /// The downloaded sized of the image in MB + /// + public readonly double? DownloadSizeInMB; + + [OutputConstructor] + private MarketplaceGalleryImageStatusDownloadStatusResponse(double? downloadSizeInMB) + { + DownloadSizeInMB = downloadSizeInMB; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..060e342a9111 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Marketplace GalleryImage provisioning status + /// + [OutputType] + public sealed class MarketplaceGalleryImageStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the gallery image + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private MarketplaceGalleryImageStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusResponse.cs new file mode 100644 index 000000000000..c944523583cb --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/MarketplaceGalleryImageStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of marketplace gallery images + /// + [OutputType] + public sealed class MarketplaceGalleryImageStatusResponse + { + /// + /// The download status of the gallery image + /// + public readonly Outputs.MarketplaceGalleryImageStatusDownloadStatusResponse? DownloadStatus; + /// + /// MarketplaceGalleryImage provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// The progress of the operation in percentage + /// + public readonly double? ProgressPercentage; + /// + /// Provisioning status of marketplace gallery image + /// + public readonly Outputs.MarketplaceGalleryImageStatusProvisioningStatusResponse? ProvisioningStatus; + + [OutputConstructor] + private MarketplaceGalleryImageStatusResponse( + Outputs.MarketplaceGalleryImageStatusDownloadStatusResponse? downloadStatus, + + string? errorCode, + + string? errorMessage, + + double? progressPercentage, + + Outputs.MarketplaceGalleryImageStatusProvisioningStatusResponse? provisioningStatus) + { + DownloadStatus = downloadStatus; + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProgressPercentage = progressPercentage; + ProvisioningStatus = provisioningStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceArmReferenceResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceArmReferenceResponse.cs new file mode 100644 index 000000000000..23625708a34a --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceArmReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The ARM ID for a Network Interface. + /// + [OutputType] + public sealed class NetworkInterfaceArmReferenceResponse + { + /// + /// The ARM ID for a Network Interface. + /// + public readonly string? Id; + + [OutputConstructor] + private NetworkInterfaceArmReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..1f03c2b1ecc9 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Network interface provisioning status + /// + [OutputType] + public sealed class NetworkInterfaceStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the network interface + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the network interface [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private NetworkInterfaceStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceStatusResponse.cs new file mode 100644 index 000000000000..3186b78dd46b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkInterfaceStatusResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of network interfaces + /// + [OutputType] + public sealed class NetworkInterfaceStatusResponse + { + /// + /// NetworkInterface provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// Network interface provisioning status + /// + public readonly Outputs.NetworkInterfaceStatusProvisioningStatusResponse? ProvisioningStatus; + + [OutputConstructor] + private NetworkInterfaceStatusResponse( + string? errorCode, + + string? errorMessage, + + Outputs.NetworkInterfaceStatusProvisioningStatusResponse? provisioningStatus) + { + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProvisioningStatus = provisioningStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkSecurityGroupArmReferenceResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkSecurityGroupArmReferenceResponse.cs new file mode 100644 index 000000000000..e1edaee1dbda --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/NetworkSecurityGroupArmReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The ARM ID for a Network Security Group. + /// + [OutputType] + public sealed class NetworkSecurityGroupArmReferenceResponse + { + /// + /// The ARM ID for a Network Security Group. + /// + public readonly string? Id; + + [OutputConstructor] + private NetworkSecurityGroupArmReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/RouteResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/RouteResponse.cs new file mode 100644 index 000000000000..44164acb4a8f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/RouteResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Route - Route resource. + /// + [OutputType] + public sealed class RouteResponse + { + /// + /// The destination CIDR to which the route applies. + /// + public readonly string? AddressPrefix; + /// + /// Name - name of the subnet + /// + public readonly string? Name; + /// + /// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + /// + public readonly string? NextHopIpAddress; + + [OutputConstructor] + private RouteResponse( + string? addressPrefix, + + string? name, + + string? nextHopIpAddress) + { + AddressPrefix = addressPrefix; + Name = name; + NextHopIpAddress = nextHopIpAddress; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/RouteTableResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/RouteTableResponse.cs new file mode 100644 index 000000000000..0997588333a6 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/RouteTableResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Route table resource. + /// + [OutputType] + public sealed class RouteTableResponse + { + /// + /// A unique read-only string that changes whenever the resource is updated. + /// + public readonly string Etag; + /// + /// Resource name. + /// + public readonly string Name; + /// + /// Collection of routes contained within a route table. + /// + public readonly ImmutableArray Routes; + /// + /// Resource type. + /// + public readonly string Type; + + [OutputConstructor] + private RouteTableResponse( + string etag, + + string name, + + ImmutableArray routes, + + string type) + { + Etag = etag; + Name = name; + Routes = routes; + Type = type; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SshConfigurationResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SshConfigurationResponse.cs new file mode 100644 index 000000000000..936139375faf --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SshConfigurationResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// SSH configuration for Linux based VMs running on Azure + /// + [OutputType] + public sealed class SshConfigurationResponse + { + /// + /// The list of SSH public keys used to authenticate with linux based VMs. + /// + public readonly ImmutableArray PublicKeys; + + [OutputConstructor] + private SshConfigurationResponse(ImmutableArray publicKeys) + { + PublicKeys = publicKeys; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SshPublicKeyResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SshPublicKeyResponse.cs new file mode 100644 index 000000000000..02c67941d2b7 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SshPublicKeyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + /// + [OutputType] + public sealed class SshPublicKeyResponse + { + /// + /// 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://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + /// + public readonly string? KeyData; + /// + /// 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 + /// + public readonly string? Path; + + [OutputConstructor] + private SshPublicKeyResponse( + string? keyData, + + string? path) + { + KeyData = keyData; + Path = path; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/StorageContainerStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/StorageContainerStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..1759cd39fde8 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/StorageContainerStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Storage container provisioning status + /// + [OutputType] + public sealed class StorageContainerStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the storage container + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the storage container [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private StorageContainerStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/StorageContainerStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/StorageContainerStatusResponse.cs new file mode 100644 index 000000000000..4635bf434cb6 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/StorageContainerStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of storage containers + /// + [OutputType] + public sealed class StorageContainerStatusResponse + { + /// + /// Amount of space available on the disk in MB + /// + public readonly double? AvailableSizeMB; + /// + /// Total size of the disk in MB + /// + public readonly double? ContainerSizeMB; + /// + /// StorageContainer provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// Storage container's provisioning status + /// + public readonly Outputs.StorageContainerStatusProvisioningStatusResponse? ProvisioningStatus; + + [OutputConstructor] + private StorageContainerStatusResponse( + double? availableSizeMB, + + double? containerSizeMB, + + string? errorCode, + + string? errorMessage, + + Outputs.StorageContainerStatusProvisioningStatusResponse? provisioningStatus) + { + AvailableSizeMB = availableSizeMB; + ContainerSizeMB = containerSizeMB; + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProvisioningStatus = provisioningStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SubnetIpConfigurationReferenceResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SubnetIpConfigurationReferenceResponse.cs new file mode 100644 index 000000000000..3a9f6aefa73f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SubnetIpConfigurationReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The ARM ID for a Network Interface. + /// + [OutputType] + public sealed class SubnetIpConfigurationReferenceResponse + { + /// + /// The ARM ID for a Network Interface. + /// + public readonly string? Id; + + [OutputConstructor] + private SubnetIpConfigurationReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SubnetResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SubnetResponse.cs new file mode 100644 index 000000000000..c469df3a42f4 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SubnetResponse.cs @@ -0,0 +1,87 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Properties of the subnet. + /// + [OutputType] + public sealed class SubnetResponse + { + /// + /// The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + /// + public readonly string? AddressPrefix; + /// + /// List of address prefixes for the subnet. + /// + public readonly ImmutableArray AddressPrefixes; + /// + /// IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + /// + public readonly string? IpAllocationMethod; + /// + /// IPConfigurationReferences - list of IPConfigurationReferences + /// + public readonly ImmutableArray IpConfigurationReferences; + /// + /// network associated pool of IP Addresses + /// + public readonly ImmutableArray IpPools; + /// + /// Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + /// + public readonly string? Name; + /// + /// NetworkSecurityGroup - Network Security Group attached to the logical network. + /// + public readonly Outputs.NetworkSecurityGroupArmReferenceResponse? NetworkSecurityGroup; + /// + /// Route table resource. + /// + public readonly Outputs.RouteTableResponse? RouteTable; + /// + /// Vlan to use for the subnet + /// + public readonly int? Vlan; + + [OutputConstructor] + private SubnetResponse( + string? addressPrefix, + + ImmutableArray addressPrefixes, + + string? ipAllocationMethod, + + ImmutableArray ipConfigurationReferences, + + ImmutableArray ipPools, + + string? name, + + Outputs.NetworkSecurityGroupArmReferenceResponse? networkSecurityGroup, + + Outputs.RouteTableResponse? routeTable, + + int? vlan) + { + AddressPrefix = addressPrefix; + AddressPrefixes = addressPrefixes; + IpAllocationMethod = ipAllocationMethod; + IpConfigurationReferences = ipConfigurationReferences; + IpPools = ipPools; + Name = name; + NetworkSecurityGroup = networkSecurityGroup; + RouteTable = routeTable; + Vlan = vlan; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..2e42912e787f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/UserAssignedIdentityResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/UserAssignedIdentityResponse.cs new file mode 100644 index 000000000000..58144b6a41b2 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/UserAssignedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// User assigned identity properties + /// + [OutputType] + public sealed class UserAssignedIdentityResponse + { + /// + /// The client ID of the assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of the assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VMDiskSecurityProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VMDiskSecurityProfileResponse.cs new file mode 100644 index 000000000000..d0fd8d91a34f --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VMDiskSecurityProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + /// + [OutputType] + public sealed class VMDiskSecurityProfileResponse + { + /// + /// Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + /// + public readonly string? SecurityEncryptionType; + + [OutputConstructor] + private VMDiskSecurityProfileResponse(string? securityEncryptionType) + { + SecurityEncryptionType = securityEncryptionType; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskArmReferenceResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskArmReferenceResponse.cs new file mode 100644 index 000000000000..ffe92b182988 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskArmReferenceResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The ARM ID for a Virtual Hard Disk. + /// + [OutputType] + public sealed class VirtualHardDiskArmReferenceResponse + { + /// + /// The ARM ID for a Virtual Hard Disk. + /// + public readonly string? Id; + + [OutputConstructor] + private VirtualHardDiskArmReferenceResponse(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskDownloadStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskDownloadStatusResponse.cs new file mode 100644 index 000000000000..e0615783cd4b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskDownloadStatusResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The download status of the virtual hard disk + /// + [OutputType] + public sealed class VirtualHardDiskDownloadStatusResponse + { + /// + /// The downloaded sized of the virtual hard disk in MB + /// + public readonly double? DownloadedSizeInMB; + /// + /// The progress of the operation in percentage + /// + public readonly double? ProgressPercentage; + /// + /// The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private VirtualHardDiskDownloadStatusResponse( + double? downloadedSizeInMB, + + double? progressPercentage, + + string status) + { + DownloadedSizeInMB = downloadedSizeInMB; + ProgressPercentage = progressPercentage; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..468029059f38 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// VHD Status provisioning status + /// + [OutputType] + public sealed class VirtualHardDiskStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the virtual hard disk + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private VirtualHardDiskStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskStatusResponse.cs new file mode 100644 index 000000000000..c57a4ba8d24d --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of virtual hard disks + /// + [OutputType] + public sealed class VirtualHardDiskStatusResponse + { + /// + /// The download status of the virtual hard disk + /// + public readonly Outputs.VirtualHardDiskDownloadStatusResponse? DownloadStatus; + /// + /// VirtualHardDisk provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// Provisioning status of the vhd + /// + public readonly Outputs.VirtualHardDiskStatusProvisioningStatusResponse? ProvisioningStatus; + /// + /// The upload status of the virtual hard disk + /// + public readonly Outputs.VirtualHardDiskUploadStatusResponse? UploadStatus; + + [OutputConstructor] + private VirtualHardDiskStatusResponse( + Outputs.VirtualHardDiskDownloadStatusResponse? downloadStatus, + + string? errorCode, + + string? errorMessage, + + Outputs.VirtualHardDiskStatusProvisioningStatusResponse? provisioningStatus, + + Outputs.VirtualHardDiskUploadStatusResponse? uploadStatus) + { + DownloadStatus = downloadStatus; + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProvisioningStatus = provisioningStatus; + UploadStatus = uploadStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskUploadStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskUploadStatusResponse.cs new file mode 100644 index 000000000000..e5265d2c710b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualHardDiskUploadStatusResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The upload status of the virtual hard disk + /// + [OutputType] + public sealed class VirtualHardDiskUploadStatusResponse + { + /// + /// VirtualHardDisk upload error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive upload error message + /// + public readonly string? ErrorMessage; + /// + /// The progress of the operation in percentage + /// + public readonly double? ProgressPercentage; + /// + /// The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + /// + public readonly string Status; + /// + /// The uploaded sized of the virtual hard disk in MB + /// + public readonly double? UploadedSizeInMB; + + [OutputConstructor] + private VirtualHardDiskUploadStatusResponse( + string? errorCode, + + string? errorMessage, + + double? progressPercentage, + + string status, + + double? uploadedSizeInMB) + { + ErrorCode = errorCode; + ErrorMessage = errorMessage; + ProgressPercentage = progressPercentage; + Status = status; + UploadedSizeInMB = uploadedSizeInMB; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineConfigAgentInstanceViewResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineConfigAgentInstanceViewResponse.cs new file mode 100644 index 000000000000..6c0dee25b242 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineConfigAgentInstanceViewResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The instance view of the VM Config Agent running on the virtual machine. + /// + [OutputType] + public sealed class VirtualMachineConfigAgentInstanceViewResponse + { + /// + /// The resource status information. + /// + public readonly ImmutableArray Statuses; + /// + /// The VM Config Agent full version. + /// + public readonly string? VmConfigAgentVersion; + + [OutputConstructor] + private VirtualMachineConfigAgentInstanceViewResponse( + ImmutableArray statuses, + + string? vmConfigAgentVersion) + { + Statuses = statuses; + VmConfigAgentVersion = vmConfigAgentVersion; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceManagedDiskParametersResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceManagedDiskParametersResponse.cs new file mode 100644 index 000000000000..7ef1c45f69bf --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceManagedDiskParametersResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The parameters of a managed disk. + /// + [OutputType] + public sealed class VirtualMachineInstanceManagedDiskParametersResponse + { + /// + /// Specifies the security profile for the managed disk. + /// + public readonly Outputs.VMDiskSecurityProfileResponse? SecurityProfile; + + [OutputConstructor] + private VirtualMachineInstanceManagedDiskParametersResponse(Outputs.VMDiskSecurityProfileResponse? securityProfile) + { + SecurityProfile = securityProfile; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse.cs new file mode 100644 index 000000000000..e622e37b85ad --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Dynamic memory config + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse + { + /// + /// Maximum memory in MB + /// + public readonly double? MaximumMemoryMB; + /// + /// Minimum memory in MB + /// + public readonly double? MinimumMemoryMB; + /// + /// Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + /// + public readonly int? TargetMemoryBuffer; + + [OutputConstructor] + private VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse( + double? maximumMemoryMB, + + double? minimumMemoryMB, + + int? targetMemoryBuffer) + { + MaximumMemoryMB = maximumMemoryMB; + MinimumMemoryMB = minimumMemoryMB; + TargetMemoryBuffer = targetMemoryBuffer; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileResponse.cs new file mode 100644 index 000000000000..f8ecf6a9b5f3 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// HardwareProfile - Specifies the hardware settings for the virtual machine instance. + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesHardwareProfileResponse + { + /// + /// Dynamic memory config + /// + public readonly Outputs.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse? DynamicMemoryConfig; + /// + /// RAM in MB for the virtual machine instance + /// + public readonly double? MemoryMB; + /// + /// number of processors for the virtual machine instance + /// + public readonly int? Processors; + /// + /// virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + /// + public readonly ImmutableArray VirtualMachineGPUs; + /// + /// Enum of VM Sizes + /// + public readonly string? VmSize; + + [OutputConstructor] + private VirtualMachineInstancePropertiesHardwareProfileResponse( + Outputs.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse? dynamicMemoryConfig, + + double? memoryMB, + + int? processors, + + ImmutableArray virtualMachineGPUs, + + string? vmSize) + { + DynamicMemoryConfig = dynamicMemoryConfig; + MemoryMB = memoryMB; + Processors = processors; + VirtualMachineGPUs = virtualMachineGPUs; + VmSize = vmSize; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse.cs new file mode 100644 index 000000000000..7720a66cd295 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// GPU properties - describes the GPU configuration. + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse + { + /// + /// GPU assignment type + /// + public readonly string AssignmentType; + /// + /// Name of the GPU + /// + public readonly string? GpuName; + /// + /// Size of gpu partition in MB for GPU-P + /// + public readonly double? PartitionSizeMB; + + [OutputConstructor] + private VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse( + string assignmentType, + + string? gpuName, + + double? partitionSizeMB) + { + AssignmentType = assignmentType; + GpuName = gpuName; + PartitionSizeMB = partitionSizeMB; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesNetworkProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesNetworkProfileResponse.cs new file mode 100644 index 000000000000..28702fc39b34 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesNetworkProfileResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// NetworkProfile - describes the network configuration the virtual machine instance + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesNetworkProfileResponse + { + /// + /// NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + /// + public readonly ImmutableArray NetworkInterfaces; + + [OutputConstructor] + private VirtualMachineInstancePropertiesNetworkProfileResponse(ImmutableArray networkInterfaces) + { + NetworkInterfaces = networkInterfaces; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse.cs new file mode 100644 index 000000000000..5da64a3d342c --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// LinuxConfiguration - linux specific configuration values for the virtual machine instance + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse + { + /// + /// DisablePasswordAuthentication - whether password authentication should be disabled + /// + public readonly bool? DisablePasswordAuthentication; + /// + /// Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + /// + public readonly bool? ProvisionVMAgent; + /// + /// Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + /// + public readonly bool? ProvisionVMConfigAgent; + /// + /// Specifies the ssh key configuration for a Linux OS. + /// + public readonly Outputs.SshConfigurationResponse? Ssh; + + [OutputConstructor] + private VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse( + bool? disablePasswordAuthentication, + + bool? provisionVMAgent, + + bool? provisionVMConfigAgent, + + Outputs.SshConfigurationResponse? ssh) + { + DisablePasswordAuthentication = disablePasswordAuthentication; + ProvisionVMAgent = provisionVMAgent; + ProvisionVMConfigAgent = provisionVMConfigAgent; + Ssh = ssh; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileResponse.cs new file mode 100644 index 000000000000..f10754a3de70 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// OsProfile - describes the configuration of the operating system and sets login data + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesOsProfileResponse + { + /// + /// AdminUsername - admin username + /// + public readonly string? AdminUsername; + /// + /// ComputerName - name of the compute + /// + public readonly string? ComputerName; + /// + /// LinuxConfiguration - linux specific configuration values for the virtual machine instance + /// + public readonly Outputs.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse? LinuxConfiguration; + /// + /// Windows Configuration for the virtual machine instance + /// + public readonly Outputs.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse? WindowsConfiguration; + + [OutputConstructor] + private VirtualMachineInstancePropertiesOsProfileResponse( + string? adminUsername, + + string? computerName, + + Outputs.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse? linuxConfiguration, + + Outputs.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse? windowsConfiguration) + { + AdminUsername = adminUsername; + ComputerName = computerName; + LinuxConfiguration = linuxConfiguration; + WindowsConfiguration = windowsConfiguration; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse.cs new file mode 100644 index 000000000000..f5b94b28eac5 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Windows Configuration for the virtual machine instance + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse + { + /// + /// Whether to EnableAutomaticUpdates on the machine + /// + public readonly bool? EnableAutomaticUpdates; + /// + /// Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + /// + public readonly bool? ProvisionVMAgent; + /// + /// Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + /// + public readonly bool? ProvisionVMConfigAgent; + /// + /// Specifies the ssh key configuration for Windows OS. + /// + public readonly Outputs.SshConfigurationResponse? Ssh; + /// + /// TimeZone for the virtual machine instance + /// + public readonly string? TimeZone; + + [OutputConstructor] + private VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse( + bool? enableAutomaticUpdates, + + bool? provisionVMAgent, + + bool? provisionVMConfigAgent, + + Outputs.SshConfigurationResponse? ssh, + + string? timeZone) + { + EnableAutomaticUpdates = enableAutomaticUpdates; + ProvisionVMAgent = provisionVMAgent; + ProvisionVMConfigAgent = provisionVMConfigAgent; + Ssh = ssh; + TimeZone = timeZone; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesSecurityProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesSecurityProfileResponse.cs new file mode 100644 index 000000000000..6fdbf35cca5d --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesSecurityProfileResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// SecurityProfile - Specifies the security settings for the virtual machine instance. + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesSecurityProfileResponse + { + /// + /// Enable TPM flag + /// + public readonly bool? EnableTPM; + /// + /// Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + /// + public readonly string? SecurityType; + /// + /// Uefi settings of the virtual machine instance + /// + public readonly Outputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse? UefiSettings; + + [OutputConstructor] + private VirtualMachineInstancePropertiesSecurityProfileResponse( + bool? enableTPM, + + string? securityType, + + Outputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse? uefiSettings) + { + EnableTPM = enableTPM; + SecurityType = securityType; + UefiSettings = uefiSettings; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse.cs new file mode 100644 index 000000000000..c44904c9e1b6 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse + { + /// + /// Specifies whether secure boot should be enabled on the virtual machine instance. + /// + public readonly bool? SecureBootEnabled; + + [OutputConstructor] + private VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse(bool? secureBootEnabled) + { + SecureBootEnabled = secureBootEnabled; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesStorageProfileOsDiskResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesStorageProfileOsDiskResponse.cs new file mode 100644 index 000000000000..feb8f3cd9f35 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesStorageProfileOsDiskResponse.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// VHD to attach as OS disk + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesStorageProfileOsDiskResponse + { + /// + /// The ARM ID for a Virtual Hard Disk. + /// + public readonly string? Id; + /// + /// The managed disk parameters. + /// + public readonly Outputs.VirtualMachineInstanceManagedDiskParametersResponse? ManagedDisk; + /// + /// 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. Possible values are: Windows, Linux. + /// + public readonly string? OsType; + + [OutputConstructor] + private VirtualMachineInstancePropertiesStorageProfileOsDiskResponse( + string? id, + + Outputs.VirtualMachineInstanceManagedDiskParametersResponse? managedDisk, + + string? osType) + { + Id = id; + ManagedDisk = managedDisk; + OsType = osType; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesStorageProfileResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesStorageProfileResponse.cs new file mode 100644 index 000000000000..ce00fd3c91f4 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstancePropertiesStorageProfileResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// StorageProfile - contains information about the disks and storage information for the virtual machine instance + /// + [OutputType] + public sealed class VirtualMachineInstancePropertiesStorageProfileResponse + { + /// + /// adds data disks to the virtual machine instance + /// + public readonly ImmutableArray DataDisks; + /// + /// Which Image to use for the virtual machine instance + /// + public readonly Outputs.ImageArmReferenceResponse? ImageReference; + /// + /// VHD to attach as OS disk + /// + public readonly Outputs.VirtualMachineInstancePropertiesStorageProfileOsDiskResponse? OsDisk; + /// + /// Id of the storage container that hosts the VM configuration file + /// + public readonly string? VmConfigStoragePathId; + + [OutputConstructor] + private VirtualMachineInstancePropertiesStorageProfileResponse( + ImmutableArray dataDisks, + + Outputs.ImageArmReferenceResponse? imageReference, + + Outputs.VirtualMachineInstancePropertiesStorageProfileOsDiskResponse? osDisk, + + string? vmConfigStoragePathId) + { + DataDisks = dataDisks; + ImageReference = imageReference; + OsDisk = osDisk; + VmConfigStoragePathId = vmConfigStoragePathId; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceStatusProvisioningStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceStatusProvisioningStatusResponse.cs new file mode 100644 index 000000000000..987bd57d623b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceStatusProvisioningStatusResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// Virtual machine instance provisioning status. + /// + [OutputType] + public sealed class VirtualMachineInstanceStatusProvisioningStatusResponse + { + /// + /// The ID of the operation performed on the virtual machine instance + /// + public readonly string? OperationId; + /// + /// The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress] + /// + public readonly string Status; + + [OutputConstructor] + private VirtualMachineInstanceStatusProvisioningStatusResponse( + string? operationId, + + string status) + { + OperationId = operationId; + Status = status; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceStatusResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceStatusResponse.cs new file mode 100644 index 000000000000..902e430a18b4 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceStatusResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The observed state of virtual machine instances + /// + [OutputType] + public sealed class VirtualMachineInstanceStatusResponse + { + /// + /// VirtualMachine provisioning error code + /// + public readonly string? ErrorCode; + /// + /// Descriptive error message + /// + public readonly string? ErrorMessage; + /// + /// The power state of the virtual machine instance + /// + public readonly string? PowerState; + /// + /// Provisioning status of the virtual machine instance + /// + public readonly Outputs.VirtualMachineInstanceStatusProvisioningStatusResponse? ProvisioningStatus; + + [OutputConstructor] + private VirtualMachineInstanceStatusResponse( + string? errorCode, + + string? errorMessage, + + string? powerState, + + Outputs.VirtualMachineInstanceStatusProvisioningStatusResponse? provisioningStatus) + { + ErrorCode = errorCode; + ErrorMessage = errorMessage; + PowerState = powerState; + ProvisioningStatus = provisioningStatus; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceViewResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceViewResponse.cs new file mode 100644 index 000000000000..4c4401f81d4e --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VirtualMachineInstanceViewResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The instance view of a virtual machine. + /// + [OutputType] + public sealed class VirtualMachineInstanceViewResponse + { + /// + /// The VM Config Agent running on the virtual machine. + /// + public readonly Outputs.VirtualMachineConfigAgentInstanceViewResponse? VmAgent; + + [OutputConstructor] + private VirtualMachineInstanceViewResponse(Outputs.VirtualMachineConfigAgentInstanceViewResponse? vmAgent) + { + VmAgent = vmAgent; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VmImageRepositoryCredentialsResponse.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VmImageRepositoryCredentialsResponse.cs new file mode 100644 index 000000000000..7ab0bed2ebb1 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/Outputs/VmImageRepositoryCredentialsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview.Outputs +{ + + /// + /// The credentials used to login to the image repository that has access to the specified image + /// + [OutputType] + public sealed class VmImageRepositoryCredentialsResponse + { + /// + /// Password for accessing image repository + /// + public readonly string Password; + /// + /// Username for accessing image repository + /// + public readonly string Username; + + [OutputConstructor] + private VmImageRepositoryCredentialsResponse( + string password, + + string username) + { + Password = password; + Username = username; + } + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/README.md b/sdk/dotnet/AzureStackHCI/V20241001Preview/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/SecurityRule.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/SecurityRule.cs new file mode 100644 index 000000000000..d874a99a8d3c --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/SecurityRule.cs @@ -0,0 +1,262 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// Security Rule resource. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:SecurityRule")] + public partial class SecurityRule : global::Pulumi.CustomResource + { + /// + /// The network traffic is allowed or denied. + /// + [Output("access")] + public Output Access { get; private set; } = null!; + + /// + /// A description for this rule. Restricted to 140 chars. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The destination address prefixes. CIDR or destination IP ranges. + /// + [Output("destinationAddressPrefixes")] + public Output> DestinationAddressPrefixes { get; private set; } = null!; + + /// + /// The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + /// + [Output("destinationPortRanges")] + public Output> DestinationPortRanges { get; private set; } = null!; + + /// + /// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + /// + [Output("direction")] + public Output Direction { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// 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. + /// + [Output("priority")] + public Output Priority { get; private set; } = null!; + + /// + /// Network protocol this rule applies to. + /// + [Output("protocol")] + public Output Protocol { get; private set; } = null!; + + /// + /// Provisioning state of the SR + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The CIDR or source IP ranges. + /// + [Output("sourceAddressPrefixes")] + public Output> SourceAddressPrefixes { get; private set; } = null!; + + /// + /// The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + /// + [Output("sourcePortRanges")] + public Output> SourcePortRanges { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SecurityRule resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SecurityRule(string name, SecurityRuleArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:SecurityRule", name, args ?? new SecurityRuleArgs(), MakeResourceOptions(options, "")) + { + } + + private SecurityRule(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:SecurityRule", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:SecurityRule" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:SecurityRule" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SecurityRule resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static SecurityRule Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SecurityRule(name, id, options); + } + } + + public sealed class SecurityRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// The network traffic is allowed or denied. + /// + [Input("access", required: true)] + public InputUnion Access { get; set; } = null!; + + /// + /// A description for this rule. Restricted to 140 chars. + /// + [Input("description")] + public Input? Description { get; set; } + + [Input("destinationAddressPrefixes")] + private InputList? _destinationAddressPrefixes; + + /// + /// The destination address prefixes. CIDR or destination IP ranges. + /// + public InputList DestinationAddressPrefixes + { + get => _destinationAddressPrefixes ?? (_destinationAddressPrefixes = new InputList()); + set => _destinationAddressPrefixes = value; + } + + [Input("destinationPortRanges")] + private InputList? _destinationPortRanges; + + /// + /// The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + /// + public InputList DestinationPortRanges + { + get => _destinationPortRanges ?? (_destinationPortRanges = new InputList()); + set => _destinationPortRanges = value; + } + + /// + /// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + /// + [Input("direction", required: true)] + public InputUnion Direction { get; set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// Name of the network security group + /// + [Input("networkSecurityGroupName", required: true)] + public Input NetworkSecurityGroupName { get; set; } = null!; + + /// + /// 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. + /// + [Input("priority", required: true)] + public Input Priority { get; set; } = null!; + + /// + /// Network protocol this rule applies to. + /// + [Input("protocol", required: true)] + public InputUnion Protocol { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the security rule. + /// + [Input("securityRuleName")] + public Input? SecurityRuleName { get; set; } + + [Input("sourceAddressPrefixes")] + private InputList? _sourceAddressPrefixes; + + /// + /// The CIDR or source IP ranges. + /// + public InputList SourceAddressPrefixes + { + get => _sourceAddressPrefixes ?? (_sourceAddressPrefixes = new InputList()); + set => _sourceAddressPrefixes = value; + } + + [Input("sourcePortRanges")] + private InputList? _sourcePortRanges; + + /// + /// The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + /// + public InputList SourcePortRanges + { + get => _sourcePortRanges ?? (_sourcePortRanges = new InputList()); + set => _sourcePortRanges = value; + } + + public SecurityRuleArgs() + { + } + public static new SecurityRuleArgs Empty => new SecurityRuleArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/StorageContainer.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/StorageContainer.cs new file mode 100644 index 000000000000..6599a2b29266 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/StorageContainer.cs @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The storage container resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:StorageContainer")] + public partial class StorageContainer : global::Pulumi.CustomResource + { + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Path of the storage container on the disk + /// + [Output("path")] + public Output Path { get; private set; } = null!; + + /// + /// Provisioning state of the storage container. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The observed state of storage containers + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a StorageContainer resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public StorageContainer(string name, StorageContainerArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:StorageContainer", name, args ?? new StorageContainerArgs(), MakeResourceOptions(options, "")) + { + } + + private StorageContainer(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:StorageContainer", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210901preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20221215preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:StorageContainer" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:StorageContainer" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing StorageContainer resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static StorageContainer Get(string name, Input id, CustomResourceOptions? options = null) + { + return new StorageContainer(name, id, options); + } + } + + public sealed class StorageContainerArgs : global::Pulumi.ResourceArgs + { + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Path of the storage container on the disk + /// + [Input("path", required: true)] + public Input Path { get; set; } = null!; + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// Name of the storage container + /// + [Input("storageContainerName")] + public Input? StorageContainerName { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public StorageContainerArgs() + { + } + public static new StorageContainerArgs Empty => new StorageContainerArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/VirtualHardDisk.cs new file mode 100644 index 000000000000..0960bc41265a --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/VirtualHardDisk.cs @@ -0,0 +1,274 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The virtual hard disk resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:VirtualHardDisk")] + public partial class VirtualHardDisk : global::Pulumi.CustomResource + { + /// + /// Block size in bytes + /// + [Output("blockSizeBytes")] + public Output BlockSizeBytes { get; private set; } = null!; + + /// + /// Storage ContainerID of the storage container to be used for VHD + /// + [Output("containerId")] + public Output ContainerId { get; private set; } = null!; + + /// + /// The format of the actual VHD file [vhd, vhdx] + /// + [Output("diskFileFormat")] + public Output DiskFileFormat { get; private set; } = null!; + + /// + /// Size of the disk in GB + /// + [Output("diskSizeGB")] + public Output DiskSizeGB { get; private set; } = null!; + + /// + /// URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + /// + [Output("downloadUrl")] + public Output DownloadUrl { get; private set; } = null!; + + /// + /// Boolean for enabling dynamic sizing on the virtual hard disk + /// + [Output("dynamic")] + public Output Dynamic { get; private set; } = null!; + + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [Output("hyperVGeneration")] + public Output HyperVGeneration { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// Logical sector in bytes + /// + [Output("logicalSectorBytes")] + public Output LogicalSectorBytes { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Physical sector in bytes + /// + [Output("physicalSectorBytes")] + public Output PhysicalSectorBytes { get; private set; } = null!; + + /// + /// Provisioning state of the virtual hard disk. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// The observed state of virtual hard disks + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a VirtualHardDisk resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public VirtualHardDisk(string name, VirtualHardDiskArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:VirtualHardDisk", name, args ?? new VirtualHardDiskArgs(), MakeResourceOptions(options, "")) + { + } + + private VirtualHardDisk(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:VirtualHardDisk", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing VirtualHardDisk resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static VirtualHardDisk Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VirtualHardDisk(name, id, options); + } + } + + public sealed class VirtualHardDiskArgs : global::Pulumi.ResourceArgs + { + /// + /// Block size in bytes + /// + [Input("blockSizeBytes")] + public Input? BlockSizeBytes { get; set; } + + /// + /// Storage ContainerID of the storage container to be used for VHD + /// + [Input("containerId")] + public Input? ContainerId { get; set; } + + /// + /// The format of the actual VHD file [vhd, vhdx] + /// + [Input("diskFileFormat")] + public InputUnion? DiskFileFormat { get; set; } + + /// + /// Size of the disk in GB + /// + [Input("diskSizeGB")] + public Input? DiskSizeGB { get; set; } + + /// + /// URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + /// + [Input("downloadUrl")] + public Input? DownloadUrl { get; set; } + + /// + /// Boolean for enabling dynamic sizing on the virtual hard disk + /// + [Input("dynamic")] + public Input? Dynamic { get; set; } + + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// The hypervisor generation of the Virtual Machine [V1, V2] + /// + [Input("hyperVGeneration")] + public InputUnion? HyperVGeneration { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Logical sector in bytes + /// + [Input("logicalSectorBytes")] + public Input? LogicalSectorBytes { get; set; } + + /// + /// Physical sector in bytes + /// + [Input("physicalSectorBytes")] + public Input? PhysicalSectorBytes { get; set; } + + /// + /// The name of the resource group. The name is case insensitive. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + /// + /// Name of the virtual hard disk + /// + [Input("virtualHardDiskName")] + public Input? VirtualHardDiskName { get; set; } + + public VirtualHardDiskArgs() + { + } + public static new VirtualHardDiskArgs Empty => new VirtualHardDiskArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/V20241001Preview/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/V20241001Preview/VirtualMachineInstance.cs new file mode 100644 index 000000000000..3a60c26210a6 --- /dev/null +++ b/sdk/dotnet/AzureStackHCI/V20241001Preview/VirtualMachineInstance.cs @@ -0,0 +1,241 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.AzureStackHCI.V20241001Preview +{ + /// + /// The virtual machine instance resource definition. + /// + [AzureNativeResourceType("azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")] + public partial class VirtualMachineInstance : global::Pulumi.CustomResource + { + /// + /// The extendedLocation of the resource. + /// + [Output("extendedLocation")] + public Output ExtendedLocation { get; private set; } = null!; + + /// + /// Guest agent install status. + /// + [Output("guestAgentInstallStatus")] + public Output GuestAgentInstallStatus { get; private set; } = null!; + + /// + /// HardwareProfile - Specifies the hardware settings for the virtual machine instance. + /// + [Output("hardwareProfile")] + public Output HardwareProfile { get; private set; } = null!; + + /// + /// HTTP Proxy configuration for the VM. + /// + [Output("httpProxyConfig")] + public Output HttpProxyConfig { get; private set; } = null!; + + /// + /// The managed service identities assigned to this resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The virtual machine instance view. + /// + [Output("instanceView")] + public Output InstanceView { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// NetworkProfile - describes the network configuration the virtual machine instance + /// + [Output("networkProfile")] + public Output NetworkProfile { get; private set; } = null!; + + /// + /// OsProfile - describes the configuration of the operating system and sets login data + /// + [Output("osProfile")] + public Output OsProfile { get; private set; } = null!; + + /// + /// Provisioning state of the virtual machine instance. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// Unique identifier defined by ARC to identify the guest of the VM. + /// + [Output("resourceUid")] + public Output ResourceUid { get; private set; } = null!; + + /// + /// SecurityProfile - Specifies the security settings for the virtual machine instance. + /// + [Output("securityProfile")] + public Output SecurityProfile { get; private set; } = null!; + + /// + /// The observed state of virtual machine instances + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// StorageProfile - contains information about the disks and storage information for the virtual machine instance + /// + [Output("storageProfile")] + public Output StorageProfile { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Unique identifier for the vm resource. + /// + [Output("vmId")] + public Output VmId { get; private set; } = null!; + + + /// + /// Create a VirtualMachineInstance resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public VirtualMachineInstance(string name, VirtualMachineInstanceArgs args, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:VirtualMachineInstance", name, args ?? new VirtualMachineInstanceArgs(), MakeResourceOptions(options, "")) + { + } + + private VirtualMachineInstance(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:azurestackhci/v20241001preview:VirtualMachineInstance", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:azurestackhci:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing VirtualMachineInstance resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static VirtualMachineInstance Get(string name, Input id, CustomResourceOptions? options = null) + { + return new VirtualMachineInstance(name, id, options); + } + } + + public sealed class VirtualMachineInstanceArgs : global::Pulumi.ResourceArgs + { + /// + /// The extendedLocation of the resource. + /// + [Input("extendedLocation")] + public Input? ExtendedLocation { get; set; } + + /// + /// HardwareProfile - Specifies the hardware settings for the virtual machine instance. + /// + [Input("hardwareProfile")] + public Input? HardwareProfile { get; set; } + + /// + /// HTTP Proxy configuration for the VM. + /// + [Input("httpProxyConfig")] + public Input? HttpProxyConfig { get; set; } + + /// + /// The managed service identities assigned to this resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// NetworkProfile - describes the network configuration the virtual machine instance + /// + [Input("networkProfile")] + public Input? NetworkProfile { get; set; } + + /// + /// OsProfile - describes the configuration of the operating system and sets login data + /// + [Input("osProfile")] + public Input? OsProfile { get; set; } + + /// + /// Unique identifier defined by ARC to identify the guest of the VM. + /// + [Input("resourceUid")] + public Input? ResourceUid { get; set; } + + /// + /// The fully qualified Azure Resource manager identifier of the resource. + /// + [Input("resourceUri", required: true)] + public Input ResourceUri { get; set; } = null!; + + /// + /// SecurityProfile - Specifies the security settings for the virtual machine instance. + /// + [Input("securityProfile")] + public Input? SecurityProfile { get; set; } + + /// + /// StorageProfile - contains information about the disks and storage information for the virtual machine instance + /// + [Input("storageProfile")] + public Input? StorageProfile { get; set; } + + public VirtualMachineInstanceArgs() + { + } + public static new VirtualMachineInstanceArgs Empty => new VirtualMachineInstanceArgs(); + } +} diff --git a/sdk/dotnet/AzureStackHCI/VirtualHardDisk.cs b/sdk/dotnet/AzureStackHCI/VirtualHardDisk.cs index 27723669fa9d..849d746f2882 100644 --- a/sdk/dotnet/AzureStackHCI/VirtualHardDisk.cs +++ b/sdk/dotnet/AzureStackHCI/VirtualHardDisk.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The virtual hard disk resource definition. /// Azure REST API version: 2022-12-15-preview. /// - /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:VirtualHardDisk")] public partial class VirtualHardDisk : global::Pulumi.CustomResource @@ -140,6 +140,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/AzureStackHCI/VirtualMachineInstance.cs b/sdk/dotnet/AzureStackHCI/VirtualMachineInstance.cs index dad0062d32b8..ec24819add5e 100644 --- a/sdk/dotnet/AzureStackHCI/VirtualMachineInstance.cs +++ b/sdk/dotnet/AzureStackHCI/VirtualMachineInstance.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.AzureStackHCI /// The virtual machine instance resource definition. /// Azure REST API version: 2023-07-01-preview. /// - /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + /// Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. /// [AzureNativeResourceType("azure-native:azurestackhci:VirtualMachineInstance")] public partial class VirtualMachineInstance : global::Pulumi.CustomResource @@ -146,6 +146,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, + new global::Pulumi.Alias { Type = "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Network/IpamPool.cs b/sdk/dotnet/Network/IpamPool.cs index 1e69685153b9..e8e3450e959d 100644 --- a/sdk/dotnet/Network/IpamPool.cs +++ b/sdk/dotnet/Network/IpamPool.cs @@ -125,8 +125,8 @@ public sealed class IpamPoolArgs : global::Pulumi.ResourceArgs /// /// Properties of IpamPool resource properties which are specific to the Pool resource. /// - [Input("properties")] - public Input? Properties { get; set; } + [Input("properties", required: true)] + public Input Properties { get; set; } = null!; /// /// The name of the resource group. diff --git a/sdk/dotnet/Network/V20240101Preview/IpamPool.cs b/sdk/dotnet/Network/V20240101Preview/IpamPool.cs index e99daf52050e..023a1b8dc090 100644 --- a/sdk/dotnet/Network/V20240101Preview/IpamPool.cs +++ b/sdk/dotnet/Network/V20240101Preview/IpamPool.cs @@ -122,8 +122,8 @@ public sealed class IpamPoolArgs : global::Pulumi.ResourceArgs /// /// Properties of IpamPool resource properties which are specific to the Pool resource. /// - [Input("properties")] - public Input? Properties { get; set; } + [Input("properties", required: true)] + public Input Properties { get; set; } = null!; /// /// The name of the resource group. diff --git a/sdk/dotnet/Search/GetPrivateEndpointConnection.cs b/sdk/dotnet/Search/GetPrivateEndpointConnection.cs index d51eb4d5aa3c..c1fab6076dc5 100644 --- a/sdk/dotnet/Search/GetPrivateEndpointConnection.cs +++ b/sdk/dotnet/Search/GetPrivateEndpointConnection.cs @@ -15,7 +15,7 @@ public static class GetPrivateEndpointConnection /// Gets the details of the private endpoint connection to the search service in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetPrivateEnd /// Gets the details of the private endpoint connection to the search service in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetPrivateEndpoi /// Gets the details of the private endpoint connection to the search service in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/Search/GetService.cs b/sdk/dotnet/Search/GetService.cs index 5ffde151c53a..7a097112b424 100644 --- a/sdk/dotnet/Search/GetService.cs +++ b/sdk/dotnet/Search/GetService.cs @@ -15,7 +15,7 @@ public static class GetService /// Gets the search service with the given name in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Task InvokeAsync(GetServiceArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search:getService", args ?? new GetServiceArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetServiceArgs args, InvokeOpti /// Gets the search service with the given name in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(GetServiceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:getService", args ?? new GetServiceInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetServiceInvokeArgs args, InvokeO /// Gets the search service with the given name in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(GetServiceInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:getService", args ?? new GetServiceInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/Search/GetSharedPrivateLinkResource.cs b/sdk/dotnet/Search/GetSharedPrivateLinkResource.cs index 1728fd668920..0a8777647294 100644 --- a/sdk/dotnet/Search/GetSharedPrivateLinkResource.cs +++ b/sdk/dotnet/Search/GetSharedPrivateLinkResource.cs @@ -15,7 +15,7 @@ public static class GetSharedPrivateLinkResource /// Gets the details of the shared private link resource managed by the search service in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Task InvokeAsync(GetSharedPrivateLinkResourceArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search:getSharedPrivateLinkResource", args ?? new GetSharedPrivateLinkResourceArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(GetSharedPriv /// Gets the details of the shared private link resource managed by the search service in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(GetSharedPrivateLinkResourceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:getSharedPrivateLinkResource", args ?? new GetSharedPrivateLinkResourceInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(GetSharedPrivate /// Gets the details of the shared private link resource managed by the search service in the given resource group. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(GetSharedPrivateLinkResourceInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:getSharedPrivateLinkResource", args ?? new GetSharedPrivateLinkResourceInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/Search/ListAdminKey.cs b/sdk/dotnet/Search/ListAdminKey.cs index 7f6a2440cc62..ac58ea9dcad5 100644 --- a/sdk/dotnet/Search/ListAdminKey.cs +++ b/sdk/dotnet/Search/ListAdminKey.cs @@ -15,7 +15,7 @@ public static class ListAdminKey /// Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Task InvokeAsync(ListAdminKeyArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search:listAdminKey", args ?? new ListAdminKeyArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(ListAdminKeyArgs args, Invoke /// Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(ListAdminKeyInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:listAdminKey", args ?? new ListAdminKeyInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(ListAdminKeyInvokeArgs args, Inv /// Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(ListAdminKeyInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:listAdminKey", args ?? new ListAdminKeyInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/Search/ListQueryKeyBySearchService.cs b/sdk/dotnet/Search/ListQueryKeyBySearchService.cs index 966c9863e7ed..def97db20027 100644 --- a/sdk/dotnet/Search/ListQueryKeyBySearchService.cs +++ b/sdk/dotnet/Search/ListQueryKeyBySearchService.cs @@ -15,7 +15,7 @@ public static class ListQueryKeyBySearchService /// Returns the list of query API keys for the given Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Task InvokeAsync(ListQueryKeyBySearchServiceArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search:listQueryKeyBySearchService", args ?? new ListQueryKeyBySearchServiceArgs(), options.WithDefaults()); @@ -24,7 +24,7 @@ public static Task InvokeAsync(ListQueryKeyBy /// Returns the list of query API keys for the given Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(ListQueryKeyBySearchServiceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:listQueryKeyBySearchService", args ?? new ListQueryKeyBySearchServiceInvokeArgs(), options.WithDefaults()); @@ -33,7 +33,7 @@ public static Output Invoke(ListQueryKeyBySea /// Returns the list of query API keys for the given Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// public static Output Invoke(ListQueryKeyBySearchServiceInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("azure-native:search:listQueryKeyBySearchService", args ?? new ListQueryKeyBySearchServiceInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/Search/PrivateEndpointConnection.cs b/sdk/dotnet/Search/PrivateEndpointConnection.cs index b9d1b5fef125..3416cf65feda 100644 --- a/sdk/dotnet/Search/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Search/PrivateEndpointConnection.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.Search /// Describes an existing Private Endpoint connection to the Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// [AzureNativeResourceType("azure-native:search:PrivateEndpointConnection")] public partial class PrivateEndpointConnection : global::Pulumi.CustomResource @@ -70,6 +70,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:PrivateEndpointConnection" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/Service.cs b/sdk/dotnet/Search/Service.cs index be4ba41c0564..a606d9aa3787 100644 --- a/sdk/dotnet/Search/Service.cs +++ b/sdk/dotnet/Search/Service.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.Search /// Describes an Azure Cognitive Search service and its current state. /// Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. /// - /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// [AzureNativeResourceType("azure-native:search:Service")] public partial class Service : global::Pulumi.CustomResource @@ -167,6 +167,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:Service" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/SharedPrivateLinkResource.cs b/sdk/dotnet/Search/SharedPrivateLinkResource.cs index c26370219a70..1aa819f348d0 100644 --- a/sdk/dotnet/Search/SharedPrivateLinkResource.cs +++ b/sdk/dotnet/Search/SharedPrivateLinkResource.cs @@ -13,7 +13,7 @@ namespace Pulumi.AzureNative.Search /// Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. /// Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. /// - /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + /// Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. /// [AzureNativeResourceType("azure-native:search:SharedPrivateLinkResource")] public partial class SharedPrivateLinkResource : global::Pulumi.CustomResource @@ -68,6 +68,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:SharedPrivateLinkResource" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20210401Preview/Service.cs b/sdk/dotnet/Search/V20210401Preview/Service.cs index 6fc215eebf87..c8db9ada52e9 100644 --- a/sdk/dotnet/Search/V20210401Preview/Service.cs +++ b/sdk/dotnet/Search/V20210401Preview/Service.cs @@ -182,6 +182,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:Service" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20220901/PrivateEndpointConnection.cs b/sdk/dotnet/Search/V20220901/PrivateEndpointConnection.cs index ec79dade0135..8141757694af 100644 --- a/sdk/dotnet/Search/V20220901/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Search/V20220901/PrivateEndpointConnection.cs @@ -67,6 +67,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:PrivateEndpointConnection" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20220901/Service.cs b/sdk/dotnet/Search/V20220901/Service.cs index bc5ea1955956..db10dcea944c 100644 --- a/sdk/dotnet/Search/V20220901/Service.cs +++ b/sdk/dotnet/Search/V20220901/Service.cs @@ -164,6 +164,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:Service" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20220901/SharedPrivateLinkResource.cs b/sdk/dotnet/Search/V20220901/SharedPrivateLinkResource.cs index 6e4926ff584b..840e2f900f57 100644 --- a/sdk/dotnet/Search/V20220901/SharedPrivateLinkResource.cs +++ b/sdk/dotnet/Search/V20220901/SharedPrivateLinkResource.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20231101:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:SharedPrivateLinkResource" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20231101/PrivateEndpointConnection.cs b/sdk/dotnet/Search/V20231101/PrivateEndpointConnection.cs index 42c85b8f6c2b..97c529e59962 100644 --- a/sdk/dotnet/Search/V20231101/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Search/V20231101/PrivateEndpointConnection.cs @@ -67,6 +67,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:PrivateEndpointConnection" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20231101/Service.cs b/sdk/dotnet/Search/V20231101/Service.cs index 909ec62d99ef..7335b139a5da 100644 --- a/sdk/dotnet/Search/V20231101/Service.cs +++ b/sdk/dotnet/Search/V20231101/Service.cs @@ -170,6 +170,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:Service" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20231101/SharedPrivateLinkResource.cs b/sdk/dotnet/Search/V20231101/SharedPrivateLinkResource.cs index deb67724b24b..b07a049d0c54 100644 --- a/sdk/dotnet/Search/V20231101/SharedPrivateLinkResource.cs +++ b/sdk/dotnet/Search/V20231101/SharedPrivateLinkResource.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:SharedPrivateLinkResource" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20240301Preview/PrivateEndpointConnection.cs b/sdk/dotnet/Search/V20240301Preview/PrivateEndpointConnection.cs index 8c0dae69e39a..e6dd4a5d0c3d 100644 --- a/sdk/dotnet/Search/V20240301Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Search/V20240301Preview/PrivateEndpointConnection.cs @@ -67,6 +67,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20231101:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:PrivateEndpointConnection" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20240301Preview/Service.cs b/sdk/dotnet/Search/V20240301Preview/Service.cs index dc0ac94b3530..69a2188cee4d 100644 --- a/sdk/dotnet/Search/V20240301Preview/Service.cs +++ b/sdk/dotnet/Search/V20240301Preview/Service.cs @@ -182,6 +182,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20231101:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:Service" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20240301Preview/SharedPrivateLinkResource.cs b/sdk/dotnet/Search/V20240301Preview/SharedPrivateLinkResource.cs index 4215dd41233e..d624ff1a3dda 100644 --- a/sdk/dotnet/Search/V20240301Preview/SharedPrivateLinkResource.cs +++ b/sdk/dotnet/Search/V20240301Preview/SharedPrivateLinkResource.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20231101:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:SharedPrivateLinkResource" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20240601Preview/PrivateEndpointConnection.cs b/sdk/dotnet/Search/V20240601Preview/PrivateEndpointConnection.cs index 7a4fbe4e54b1..d70592ec5ee6 100644 --- a/sdk/dotnet/Search/V20240601Preview/PrivateEndpointConnection.cs +++ b/sdk/dotnet/Search/V20240601Preview/PrivateEndpointConnection.cs @@ -67,6 +67,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20231101:PrivateEndpointConnection" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:PrivateEndpointConnection" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20240601Preview/Service.cs b/sdk/dotnet/Search/V20240601Preview/Service.cs index d5c622986f92..22d1c40f2ec1 100644 --- a/sdk/dotnet/Search/V20240601Preview/Service.cs +++ b/sdk/dotnet/Search/V20240601Preview/Service.cs @@ -182,6 +182,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20231101:Service" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:Service" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20240601Preview/SharedPrivateLinkResource.cs b/sdk/dotnet/Search/V20240601Preview/SharedPrivateLinkResource.cs index e7cacad247e8..9231a58b1f53 100644 --- a/sdk/dotnet/Search/V20240601Preview/SharedPrivateLinkResource.cs +++ b/sdk/dotnet/Search/V20240601Preview/SharedPrivateLinkResource.cs @@ -65,6 +65,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? new global::Pulumi.Alias { Type = "azure-native:search/v20220901:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20231101:SharedPrivateLinkResource" }, new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20250201preview:SharedPrivateLinkResource" }, }, }; var merged = CustomResourceOptions.Merge(defaultOptions, options); diff --git a/sdk/dotnet/Search/V20250201Preview/Enums.cs b/sdk/dotnet/Search/V20250201Preview/Enums.cs new file mode 100644 index 000000000000..b3e7d68fd5dc --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Enums.cs @@ -0,0 +1,607 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.ComponentModel; +using Pulumi; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + /// + /// Describes what response the data plane API of a search service would send for requests that failed authentication. + /// + [EnumType] + public readonly struct AadAuthFailureMode : IEquatable + { + private readonly string _value; + + private AadAuthFailureMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Indicates that requests that failed authentication should be presented with an HTTP status code of 403 (Forbidden). + /// + public static AadAuthFailureMode Http403 { get; } = new AadAuthFailureMode("http403"); + /// + /// Indicates that requests that failed authentication should be presented with an HTTP status code of 401 (Unauthorized) and present a Bearer Challenge. + /// + public static AadAuthFailureMode Http401WithBearerChallenge { get; } = new AadAuthFailureMode("http401WithBearerChallenge"); + + public static bool operator ==(AadAuthFailureMode left, AadAuthFailureMode right) => left.Equals(right); + public static bool operator !=(AadAuthFailureMode left, AadAuthFailureMode right) => !left.Equals(right); + + public static explicit operator string(AadAuthFailureMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is AadAuthFailureMode other && Equals(other); + public bool Equals(AadAuthFailureMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Configure this property to support the search service using either the default compute or Azure Confidential Compute. + /// + [EnumType] + public readonly struct ComputeType : IEquatable + { + private readonly string _value; + + private ComputeType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Create the service with the default compute. + /// + public static ComputeType Default { get; } = new ComputeType("default"); + /// + /// Create the service with Azure Confidential Compute. + /// + public static ComputeType Confidential { get; } = new ComputeType("confidential"); + + public static bool operator ==(ComputeType left, ComputeType right) => left.Equals(right); + public static bool operator !=(ComputeType left, ComputeType right) => !left.Equals(right); + + public static explicit operator string(ComputeType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is ComputeType other && Equals(other); + public bool Equals(ComputeType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + /// + [EnumType] + public readonly struct HostingMode : IEquatable + { + private readonly string _value; + + private HostingMode(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The limit on number of indexes is determined by the default limits for the SKU. + /// + public static HostingMode Default { get; } = new HostingMode("default"); + /// + /// Only application for standard3 SKU, where the search service can have up to 1000 indexes. + /// + public static HostingMode HighDensity { get; } = new HostingMode("highDensity"); + + public static bool operator ==(HostingMode left, HostingMode right) => left.Equals(right); + public static bool operator !=(HostingMode left, HostingMode right) => !left.Equals(right); + + public static explicit operator string(HostingMode value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is HostingMode other && Equals(other); + public bool Equals(HostingMode other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + /// + [EnumType] + public readonly struct IdentityType : IEquatable + { + private readonly string _value; + + private IdentityType(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Indicates that any identity associated with the search service needs to be removed. + /// + public static IdentityType None { get; } = new IdentityType("None"); + /// + /// Indicates that system-assigned identity for the search service will be enabled. + /// + public static IdentityType SystemAssigned { get; } = new IdentityType("SystemAssigned"); + /// + /// Indicates that one or more user assigned identities will be assigned to the search service. + /// + public static IdentityType UserAssigned { get; } = new IdentityType("UserAssigned"); + /// + /// Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities. + /// + public static IdentityType SystemAssigned_UserAssigned { get; } = new IdentityType("SystemAssigned, UserAssigned"); + + public static bool operator ==(IdentityType left, IdentityType right) => left.Equals(right); + public static bool operator !=(IdentityType left, IdentityType right) => !left.Equals(right); + + public static explicit operator string(IdentityType value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is IdentityType other && Equals(other); + public bool Equals(IdentityType other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + /// + [EnumType] + public readonly struct PrivateLinkServiceConnectionProvisioningState : IEquatable + { + private readonly string _value; + + private PrivateLinkServiceConnectionProvisioningState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The private link service connection is in the process of being created along with other resources for it to be fully functional. + /// + public static PrivateLinkServiceConnectionProvisioningState Updating { get; } = new PrivateLinkServiceConnectionProvisioningState("Updating"); + /// + /// The private link service connection is in the process of being deleted. + /// + public static PrivateLinkServiceConnectionProvisioningState Deleting { get; } = new PrivateLinkServiceConnectionProvisioningState("Deleting"); + /// + /// The private link service connection has failed to be provisioned or deleted. + /// + public static PrivateLinkServiceConnectionProvisioningState Failed { get; } = new PrivateLinkServiceConnectionProvisioningState("Failed"); + /// + /// The private link service connection has finished provisioning and is ready for approval. + /// + public static PrivateLinkServiceConnectionProvisioningState Succeeded { get; } = new PrivateLinkServiceConnectionProvisioningState("Succeeded"); + /// + /// Provisioning request for the private link service connection resource has been accepted but the process of creation has not commenced yet. + /// + public static PrivateLinkServiceConnectionProvisioningState Incomplete { get; } = new PrivateLinkServiceConnectionProvisioningState("Incomplete"); + /// + /// Provisioning request for the private link service connection resource has been canceled. + /// + public static PrivateLinkServiceConnectionProvisioningState Canceled { get; } = new PrivateLinkServiceConnectionProvisioningState("Canceled"); + + public static bool operator ==(PrivateLinkServiceConnectionProvisioningState left, PrivateLinkServiceConnectionProvisioningState right) => left.Equals(right); + public static bool operator !=(PrivateLinkServiceConnectionProvisioningState left, PrivateLinkServiceConnectionProvisioningState right) => !left.Equals(right); + + public static explicit operator string(PrivateLinkServiceConnectionProvisioningState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PrivateLinkServiceConnectionProvisioningState other && Equals(other); + public bool Equals(PrivateLinkServiceConnectionProvisioningState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + /// + [EnumType] + public readonly struct PrivateLinkServiceConnectionStatus : IEquatable + { + private readonly string _value; + + private PrivateLinkServiceConnectionStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The private endpoint connection has been created and is pending approval. + /// + public static PrivateLinkServiceConnectionStatus Pending { get; } = new PrivateLinkServiceConnectionStatus("Pending"); + /// + /// The private endpoint connection is approved and is ready for use. + /// + public static PrivateLinkServiceConnectionStatus Approved { get; } = new PrivateLinkServiceConnectionStatus("Approved"); + /// + /// The private endpoint connection has been rejected and cannot be used. + /// + public static PrivateLinkServiceConnectionStatus Rejected { get; } = new PrivateLinkServiceConnectionStatus("Rejected"); + /// + /// The private endpoint connection has been removed from the service. + /// + public static PrivateLinkServiceConnectionStatus Disconnected { get; } = new PrivateLinkServiceConnectionStatus("Disconnected"); + + public static bool operator ==(PrivateLinkServiceConnectionStatus left, PrivateLinkServiceConnectionStatus right) => left.Equals(right); + public static bool operator !=(PrivateLinkServiceConnectionStatus left, PrivateLinkServiceConnectionStatus right) => !left.Equals(right); + + public static explicit operator string(PrivateLinkServiceConnectionStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PrivateLinkServiceConnectionStatus other && Equals(other); + public bool Equals(PrivateLinkServiceConnectionStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + /// + [EnumType] + public readonly struct PublicNetworkAccess : IEquatable + { + private readonly string _value; + + private PublicNetworkAccess(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The search service is accessible from traffic originating from the public internet. + /// + public static PublicNetworkAccess Enabled { get; } = new PublicNetworkAccess("enabled"); + /// + /// The search service is not accessible from traffic originating from the public internet. Access is only permitted over approved private endpoint connections. + /// + public static PublicNetworkAccess Disabled { get; } = new PublicNetworkAccess("disabled"); + + public static bool operator ==(PublicNetworkAccess left, PublicNetworkAccess right) => left.Equals(right); + public static bool operator !=(PublicNetworkAccess left, PublicNetworkAccess right) => !left.Equals(right); + + public static explicit operator string(PublicNetworkAccess value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is PublicNetworkAccess other && Equals(other); + public bool Equals(PublicNetworkAccess other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + /// + [EnumType] + public readonly struct SearchBypass : IEquatable + { + private readonly string _value; + + private SearchBypass(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Indicates that no origin can bypass the rules defined in the 'ipRules' section. This is the default. + /// + public static SearchBypass None { get; } = new SearchBypass("None"); + /// + /// Indicates that requests originating from the Azure portal can bypass the rules defined in the 'ipRules' section. + /// + public static SearchBypass AzurePortal { get; } = new SearchBypass("AzurePortal"); + /// + /// Indicates that requests originating from Azure trusted services can bypass the rules defined in the 'ipRules' section. + /// + public static SearchBypass AzureServices { get; } = new SearchBypass("AzureServices"); + + public static bool operator ==(SearchBypass left, SearchBypass right) => left.Equals(right); + public static bool operator !=(SearchBypass left, SearchBypass right) => !left.Equals(right); + + public static explicit operator string(SearchBypass value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SearchBypass other && Equals(other); + public bool Equals(SearchBypass other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// A specific data exfiltration scenario that is disabled for the service. + /// + [EnumType] + public readonly struct SearchDisabledDataExfiltrationOption : IEquatable + { + private readonly string _value; + + private SearchDisabledDataExfiltrationOption(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Indicates that all data exfiltration scenarios are disabled. + /// + public static SearchDisabledDataExfiltrationOption All { get; } = new SearchDisabledDataExfiltrationOption("All"); + + public static bool operator ==(SearchDisabledDataExfiltrationOption left, SearchDisabledDataExfiltrationOption right) => left.Equals(right); + public static bool operator !=(SearchDisabledDataExfiltrationOption left, SearchDisabledDataExfiltrationOption right) => !left.Equals(right); + + public static explicit operator string(SearchDisabledDataExfiltrationOption value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SearchDisabledDataExfiltrationOption other && Equals(other); + public bool Equals(SearchDisabledDataExfiltrationOption other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + /// + [EnumType] + public readonly struct SearchEncryptionWithCmk : IEquatable + { + private readonly string _value; + + private SearchEncryptionWithCmk(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// No enforcement of customer-managed key encryption will be made. Only the built-in service-managed encryption is used. + /// + public static SearchEncryptionWithCmk Disabled { get; } = new SearchEncryptionWithCmk("Disabled"); + /// + /// Search service will be marked as non-compliant if one or more objects aren't encrypted with a customer-managed key. + /// + public static SearchEncryptionWithCmk Enabled { get; } = new SearchEncryptionWithCmk("Enabled"); + /// + /// Enforcement policy is not explicitly specified, with the behavior being the same as if it were set to 'Disabled'. + /// + public static SearchEncryptionWithCmk Unspecified { get; } = new SearchEncryptionWithCmk("Unspecified"); + + public static bool operator ==(SearchEncryptionWithCmk left, SearchEncryptionWithCmk right) => left.Equals(right); + public static bool operator !=(SearchEncryptionWithCmk left, SearchEncryptionWithCmk right) => !left.Equals(right); + + public static explicit operator string(SearchEncryptionWithCmk value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SearchEncryptionWithCmk other && Equals(other); + public bool Equals(SearchEncryptionWithCmk other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + /// + [EnumType] + public readonly struct SearchSemanticSearch : IEquatable + { + private readonly string _value; + + private SearchSemanticSearch(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Indicates that semantic reranker is disabled for the search service. This is the default. + /// + public static SearchSemanticSearch Disabled { get; } = new SearchSemanticSearch("disabled"); + /// + /// Enables semantic reranker on a search service and indicates that it is to be used within the limits of the free plan. The free plan would cap the volume of semantic ranking requests and is offered at no extra charge. This is the default for newly provisioned search services. + /// + public static SearchSemanticSearch Free { get; } = new SearchSemanticSearch("free"); + /// + /// Enables semantic reranker on a search service as a billable feature, with higher throughput and volume of semantically reranked queries. + /// + public static SearchSemanticSearch Standard { get; } = new SearchSemanticSearch("standard"); + + public static bool operator ==(SearchSemanticSearch left, SearchSemanticSearch right) => left.Equals(right); + public static bool operator !=(SearchSemanticSearch left, SearchSemanticSearch right) => !left.Equals(right); + + public static explicit operator string(SearchSemanticSearch value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SearchSemanticSearch other && Equals(other); + public bool Equals(SearchSemanticSearch other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + /// + [EnumType] + public readonly struct SharedPrivateLinkResourceProvisioningState : IEquatable + { + private readonly string _value; + + private SharedPrivateLinkResourceProvisioningState(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The shared private link resource is in the process of being created along with other resources for it to be fully functional. + /// + public static SharedPrivateLinkResourceProvisioningState Updating { get; } = new SharedPrivateLinkResourceProvisioningState("Updating"); + /// + /// The shared private link resource is in the process of being deleted. + /// + public static SharedPrivateLinkResourceProvisioningState Deleting { get; } = new SharedPrivateLinkResourceProvisioningState("Deleting"); + /// + /// The shared private link resource has failed to be provisioned or deleted. + /// + public static SharedPrivateLinkResourceProvisioningState Failed { get; } = new SharedPrivateLinkResourceProvisioningState("Failed"); + /// + /// The shared private link resource has finished provisioning and is ready for approval. + /// + public static SharedPrivateLinkResourceProvisioningState Succeeded { get; } = new SharedPrivateLinkResourceProvisioningState("Succeeded"); + /// + /// Provisioning request for the shared private link resource has been accepted but the process of creation has not commenced yet. + /// + public static SharedPrivateLinkResourceProvisioningState Incomplete { get; } = new SharedPrivateLinkResourceProvisioningState("Incomplete"); + + public static bool operator ==(SharedPrivateLinkResourceProvisioningState left, SharedPrivateLinkResourceProvisioningState right) => left.Equals(right); + public static bool operator !=(SharedPrivateLinkResourceProvisioningState left, SharedPrivateLinkResourceProvisioningState right) => !left.Equals(right); + + public static explicit operator string(SharedPrivateLinkResourceProvisioningState value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SharedPrivateLinkResourceProvisioningState other && Equals(other); + public bool Equals(SharedPrivateLinkResourceProvisioningState other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + /// + [EnumType] + public readonly struct SharedPrivateLinkResourceStatus : IEquatable + { + private readonly string _value; + + private SharedPrivateLinkResourceStatus(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// The shared private link resource has been created and is pending approval. + /// + public static SharedPrivateLinkResourceStatus Pending { get; } = new SharedPrivateLinkResourceStatus("Pending"); + /// + /// The shared private link resource is approved and is ready for use. + /// + public static SharedPrivateLinkResourceStatus Approved { get; } = new SharedPrivateLinkResourceStatus("Approved"); + /// + /// The shared private link resource has been rejected and cannot be used. + /// + public static SharedPrivateLinkResourceStatus Rejected { get; } = new SharedPrivateLinkResourceStatus("Rejected"); + /// + /// The shared private link resource has been removed from the service. + /// + public static SharedPrivateLinkResourceStatus Disconnected { get; } = new SharedPrivateLinkResourceStatus("Disconnected"); + + public static bool operator ==(SharedPrivateLinkResourceStatus left, SharedPrivateLinkResourceStatus right) => left.Equals(right); + public static bool operator !=(SharedPrivateLinkResourceStatus left, SharedPrivateLinkResourceStatus right) => !left.Equals(right); + + public static explicit operator string(SharedPrivateLinkResourceStatus value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SharedPrivateLinkResourceStatus other && Equals(other); + public bool Equals(SharedPrivateLinkResourceStatus other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } + + /// + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// + [EnumType] + public readonly struct SkuName : IEquatable + { + private readonly string _value; + + private SkuName(string value) + { + _value = value ?? throw new ArgumentNullException(nameof(value)); + } + + /// + /// Free tier, with no SLA guarantees and a subset of the features offered on billable tiers. + /// + public static SkuName Free { get; } = new SkuName("free"); + /// + /// Billable tier for a dedicated service having up to 3 replicas. + /// + public static SkuName Basic { get; } = new SkuName("basic"); + /// + /// Billable tier for a dedicated service having up to 12 partitions and 12 replicas. + /// + public static SkuName Standard { get; } = new SkuName("standard"); + /// + /// Similar to 'standard', but with more capacity per search unit. + /// + public static SkuName Standard2 { get; } = new SkuName("standard2"); + /// + /// The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). + /// + public static SkuName Standard3 { get; } = new SkuName("standard3"); + /// + /// Billable tier for a dedicated service that supports 1TB per partition, up to 12 partitions. + /// + public static SkuName StorageOptimizedL1 { get; } = new SkuName("storage_optimized_l1"); + /// + /// Billable tier for a dedicated service that supports 2TB per partition, up to 12 partitions. + /// + public static SkuName StorageOptimizedL2 { get; } = new SkuName("storage_optimized_l2"); + + public static bool operator ==(SkuName left, SkuName right) => left.Equals(right); + public static bool operator !=(SkuName left, SkuName right) => !left.Equals(right); + + public static explicit operator string(SkuName value) => value._value; + + [EditorBrowsable(EditorBrowsableState.Never)] + public override bool Equals(object? obj) => obj is SkuName other && Equals(other); + public bool Equals(SkuName other) => string.Equals(_value, other._value, StringComparison.Ordinal); + + [EditorBrowsable(EditorBrowsableState.Never)] + public override int GetHashCode() => _value?.GetHashCode() ?? 0; + + public override string ToString() => _value; + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/GetPrivateEndpointConnection.cs b/sdk/dotnet/Search/V20250201Preview/GetPrivateEndpointConnection.cs new file mode 100644 index 000000000000..8c90c35ad774 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/GetPrivateEndpointConnection.cs @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + public static class GetPrivateEndpointConnection + { + /// + /// Gets the details of the private endpoint connection to the search service in the given resource group. + /// + public static Task InvokeAsync(GetPrivateEndpointConnectionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search/v20250201preview:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionArgs(), options.WithDefaults()); + + /// + /// Gets the details of the private endpoint connection to the search service in the given resource group. + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + + /// + /// Gets the details of the private endpoint connection to the search service in the given resource group. + /// + public static Output Invoke(GetPrivateEndpointConnectionInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:getPrivateEndpointConnection", args ?? new GetPrivateEndpointConnectionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointConnectionArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + /// + [Input("privateEndpointConnectionName", required: true)] + public string PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public string SearchServiceName { get; set; } = null!; + + public GetPrivateEndpointConnectionArgs() + { + } + public static new GetPrivateEndpointConnectionArgs Empty => new GetPrivateEndpointConnectionArgs(); + } + + public sealed class GetPrivateEndpointConnectionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + /// + [Input("privateEndpointConnectionName", required: true)] + public Input PrivateEndpointConnectionName { get; set; } = null!; + + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + public GetPrivateEndpointConnectionInvokeArgs() + { + } + public static new GetPrivateEndpointConnectionInvokeArgs Empty => new GetPrivateEndpointConnectionInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointConnectionResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Describes the properties of an existing private endpoint connection to the Azure AI Search service. + /// + public readonly Outputs.PrivateEndpointConnectionPropertiesResponse Properties; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetPrivateEndpointConnectionResult( + string id, + + string name, + + Outputs.PrivateEndpointConnectionPropertiesResponse properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/GetService.cs b/sdk/dotnet/Search/V20250201Preview/GetService.cs new file mode 100644 index 000000000000..ffad53a1a846 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/GetService.cs @@ -0,0 +1,279 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + public static class GetService + { + /// + /// Gets the search service with the given name in the given resource group. + /// + public static Task InvokeAsync(GetServiceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search/v20250201preview:getService", args ?? new GetServiceArgs(), options.WithDefaults()); + + /// + /// Gets the search service with the given name in the given resource group. + /// + public static Output Invoke(GetServiceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:getService", args ?? new GetServiceInvokeArgs(), options.WithDefaults()); + + /// + /// Gets the search service with the given name in the given resource group. + /// + public static Output Invoke(GetServiceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:getService", args ?? new GetServiceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public string SearchServiceName { get; set; } = null!; + + public GetServiceArgs() + { + } + public static new GetServiceArgs Empty => new GetServiceArgs(); + } + + public sealed class GetServiceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + public GetServiceInvokeArgs() + { + } + public static new GetServiceInvokeArgs Empty => new GetServiceInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceResult + { + /// + /// Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + /// + public readonly Outputs.DataPlaneAuthOptionsResponse? AuthOptions; + /// + /// Configure this property to support the search service using either the default compute or Azure Confidential Compute. + /// + public readonly string? ComputeType; + /// + /// When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + /// + public readonly bool? DisableLocalAuth; + /// + /// A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + /// + public readonly ImmutableArray DisabledDataExfiltrationOptions; + /// + /// A system generated property representing the service's etag that can be for optimistic concurrency control during updates. + /// + public readonly string ETag; + /// + /// Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + /// + public readonly Outputs.EncryptionWithCmkResponse? EncryptionWithCmk; + /// + /// The endpoint of the Azure AI Search service. + /// + public readonly string? Endpoint; + /// + /// Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + /// + public readonly string? HostingMode; + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The identity of the resource. + /// + public readonly Outputs.IdentityResponse? Identity; + /// + /// The geo-location where the resource lives + /// + public readonly string Location; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Network specific rules that determine how the Azure AI Search service may be reached. + /// + public readonly Outputs.NetworkRuleSetResponse? NetworkRuleSet; + /// + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// + public readonly int? PartitionCount; + /// + /// The list of private endpoint connections to the Azure AI Search service. + /// + public readonly ImmutableArray PrivateEndpointConnections; + /// + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. + /// + public readonly string ProvisioningState; + /// + /// This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + /// + public readonly string? PublicNetworkAccess; + /// + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// + public readonly int? ReplicaCount; + /// + /// Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + /// + public readonly string? SemanticSearch; + /// + /// The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. + /// + public readonly string ServiceUpgradeDate; + /// + /// The list of shared private link resources managed by the Azure AI Search service. + /// + public readonly ImmutableArray SharedPrivateLinkResources; + /// + /// The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + /// + public readonly Outputs.SkuResponse? Sku; + /// + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// + public readonly string Status; + /// + /// The details of the search service status. + /// + public readonly string StatusDetails; + /// + /// Azure Resource Manager metadata of the search service containing createdBy and modifiedBy information. + /// + public readonly Outputs.SystemDataResponse SystemData; + /// + /// Resource tags. + /// + public readonly ImmutableDictionary? Tags; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + /// + /// Indicates whether or not the search service has an upgrade available. + /// + public readonly bool UpgradeAvailable; + + [OutputConstructor] + private GetServiceResult( + Outputs.DataPlaneAuthOptionsResponse? authOptions, + + string? computeType, + + bool? disableLocalAuth, + + ImmutableArray disabledDataExfiltrationOptions, + + string eTag, + + Outputs.EncryptionWithCmkResponse? encryptionWithCmk, + + string? endpoint, + + string? hostingMode, + + string id, + + Outputs.IdentityResponse? identity, + + string location, + + string name, + + Outputs.NetworkRuleSetResponse? networkRuleSet, + + int? partitionCount, + + ImmutableArray privateEndpointConnections, + + string provisioningState, + + string? publicNetworkAccess, + + int? replicaCount, + + string? semanticSearch, + + string serviceUpgradeDate, + + ImmutableArray sharedPrivateLinkResources, + + Outputs.SkuResponse? sku, + + string status, + + string statusDetails, + + Outputs.SystemDataResponse systemData, + + ImmutableDictionary? tags, + + string type, + + bool upgradeAvailable) + { + AuthOptions = authOptions; + ComputeType = computeType; + DisableLocalAuth = disableLocalAuth; + DisabledDataExfiltrationOptions = disabledDataExfiltrationOptions; + ETag = eTag; + EncryptionWithCmk = encryptionWithCmk; + Endpoint = endpoint; + HostingMode = hostingMode; + Id = id; + Identity = identity; + Location = location; + Name = name; + NetworkRuleSet = networkRuleSet; + PartitionCount = partitionCount; + PrivateEndpointConnections = privateEndpointConnections; + ProvisioningState = provisioningState; + PublicNetworkAccess = publicNetworkAccess; + ReplicaCount = replicaCount; + SemanticSearch = semanticSearch; + ServiceUpgradeDate = serviceUpgradeDate; + SharedPrivateLinkResources = sharedPrivateLinkResources; + Sku = sku; + Status = status; + StatusDetails = statusDetails; + SystemData = systemData; + Tags = tags; + Type = type; + UpgradeAvailable = upgradeAvailable; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/GetSharedPrivateLinkResource.cs b/sdk/dotnet/Search/V20250201Preview/GetSharedPrivateLinkResource.cs new file mode 100644 index 000000000000..b76b4f208599 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/GetSharedPrivateLinkResource.cs @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + public static class GetSharedPrivateLinkResource + { + /// + /// Gets the details of the shared private link resource managed by the search service in the given resource group. + /// + public static Task InvokeAsync(GetSharedPrivateLinkResourceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search/v20250201preview:getSharedPrivateLinkResource", args ?? new GetSharedPrivateLinkResourceArgs(), options.WithDefaults()); + + /// + /// Gets the details of the shared private link resource managed by the search service in the given resource group. + /// + public static Output Invoke(GetSharedPrivateLinkResourceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:getSharedPrivateLinkResource", args ?? new GetSharedPrivateLinkResourceInvokeArgs(), options.WithDefaults()); + + /// + /// Gets the details of the shared private link resource managed by the search service in the given resource group. + /// + public static Output Invoke(GetSharedPrivateLinkResourceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:getSharedPrivateLinkResource", args ?? new GetSharedPrivateLinkResourceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSharedPrivateLinkResourceArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public string SearchServiceName { get; set; } = null!; + + /// + /// The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + /// + [Input("sharedPrivateLinkResourceName", required: true)] + public string SharedPrivateLinkResourceName { get; set; } = null!; + + public GetSharedPrivateLinkResourceArgs() + { + } + public static new GetSharedPrivateLinkResourceArgs Empty => new GetSharedPrivateLinkResourceArgs(); + } + + public sealed class GetSharedPrivateLinkResourceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + /// + /// The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + /// + [Input("sharedPrivateLinkResourceName", required: true)] + public Input SharedPrivateLinkResourceName { get; set; } = null!; + + public GetSharedPrivateLinkResourceInvokeArgs() + { + } + public static new GetSharedPrivateLinkResourceInvokeArgs Empty => new GetSharedPrivateLinkResourceInvokeArgs(); + } + + + [OutputType] + public sealed class GetSharedPrivateLinkResourceResult + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Describes the properties of a shared private link resource managed by the Azure AI Search service. + /// + public readonly Outputs.SharedPrivateLinkResourcePropertiesResponse Properties; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private GetSharedPrivateLinkResourceResult( + string id, + + string name, + + Outputs.SharedPrivateLinkResourcePropertiesResponse properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/DataPlaneAadOrApiKeyAuthOptionArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/DataPlaneAadOrApiKeyAuthOptionArgs.cs new file mode 100644 index 000000000000..d706f3b0f9d6 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/DataPlaneAadOrApiKeyAuthOptionArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + /// + public sealed class DataPlaneAadOrApiKeyAuthOptionArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes what response the data plane API of a search service would send for requests that failed authentication. + /// + [Input("aadAuthFailureMode")] + public Input? AadAuthFailureMode { get; set; } + + public DataPlaneAadOrApiKeyAuthOptionArgs() + { + } + public static new DataPlaneAadOrApiKeyAuthOptionArgs Empty => new DataPlaneAadOrApiKeyAuthOptionArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/DataPlaneAuthOptionsArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/DataPlaneAuthOptionsArgs.cs new file mode 100644 index 000000000000..4d1dcb4dcc0f --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/DataPlaneAuthOptionsArgs.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + /// + public sealed class DataPlaneAuthOptionsArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + /// + [Input("aadOrApiKey")] + public Input? AadOrApiKey { get; set; } + + /// + /// Indicates that only the API key can be used for authentication. + /// + [Input("apiKeyOnly")] + public Input? ApiKeyOnly { get; set; } + + public DataPlaneAuthOptionsArgs() + { + } + public static new DataPlaneAuthOptionsArgs Empty => new DataPlaneAuthOptionsArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/EncryptionWithCmkArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/EncryptionWithCmkArgs.cs new file mode 100644 index 000000000000..3382902b359d --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/EncryptionWithCmkArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + /// + public sealed class EncryptionWithCmkArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + /// + [Input("enforcement")] + public Input? Enforcement { get; set; } + + public EncryptionWithCmkArgs() + { + } + public static new EncryptionWithCmkArgs Empty => new EncryptionWithCmkArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/IdentityArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/IdentityArgs.cs new file mode 100644 index 000000000000..17a490aaa5f6 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/IdentityArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Details about the search service identity. A null value indicates that the search service has no identity assigned. + /// + public sealed class IdentityArgs : global::Pulumi.ResourceArgs + { + /// + /// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + /// + [Input("type", required: true)] + public InputUnion Type { get; set; } = null!; + + [Input("userAssignedIdentities")] + private InputList? _userAssignedIdentities; + + /// + /// The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public InputList UserAssignedIdentities + { + get => _userAssignedIdentities ?? (_userAssignedIdentities = new InputList()); + set => _userAssignedIdentities = value; + } + + public IdentityArgs() + { + } + public static new IdentityArgs Empty => new IdentityArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/IpRuleArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/IpRuleArgs.cs new file mode 100644 index 000000000000..a85a568a603a --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/IpRuleArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// The IP restriction rule of the Azure AI Search service. + /// + public sealed class IpRuleArgs : global::Pulumi.ResourceArgs + { + /// + /// Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + /// + [Input("value")] + public Input? Value { get; set; } + + public IpRuleArgs() + { + } + public static new IpRuleArgs Empty => new IpRuleArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/NetworkRuleSetArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/NetworkRuleSetArgs.cs new file mode 100644 index 000000000000..2e658265dc4f --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/NetworkRuleSetArgs.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Network specific rules that determine how the Azure AI Search service may be reached. + /// + public sealed class NetworkRuleSetArgs : global::Pulumi.ResourceArgs + { + /// + /// Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + /// + [Input("bypass")] + public InputUnion? Bypass { get; set; } + + [Input("ipRules")] + private InputList? _ipRules; + + /// + /// A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + /// + public InputList IpRules + { + get => _ipRules ?? (_ipRules = new InputList()); + set => _ipRules = value; + } + + public NetworkRuleSetArgs() + { + } + public static new NetworkRuleSetArgs Empty => new NetworkRuleSetArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesArgs.cs new file mode 100644 index 000000000000..1f563d3cbdce --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesArgs.cs @@ -0,0 +1,47 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Describes the properties of an existing private endpoint connection to the search service. + /// + public sealed class PrivateEndpointConnectionPropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The group ID of the Azure resource for which the private link service is for. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// The private endpoint resource from Microsoft.Network provider. + /// + [Input("privateEndpoint")] + public Input? PrivateEndpoint { get; set; } + + /// + /// Describes the current state of an existing Azure Private Link service connection to the private endpoint. + /// + [Input("privateLinkServiceConnectionState")] + public Input? PrivateLinkServiceConnectionState { get; set; } + + /// + /// The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + /// + [Input("provisioningState")] + public InputUnion? ProvisioningState { get; set; } + + public PrivateEndpointConnectionPropertiesArgs() + { + } + public static new PrivateEndpointConnectionPropertiesArgs Empty => new PrivateEndpointConnectionPropertiesArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesPrivateEndpointArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesPrivateEndpointArgs.cs new file mode 100644 index 000000000000..c2493ec5e26f --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesPrivateEndpointArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// The private endpoint resource from Microsoft.Network provider. + /// + public sealed class PrivateEndpointConnectionPropertiesPrivateEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// The resource ID of the private endpoint resource from Microsoft.Network provider. + /// + [Input("id")] + public Input? Id { get; set; } + + public PrivateEndpointConnectionPropertiesPrivateEndpointArgs() + { + } + public static new PrivateEndpointConnectionPropertiesPrivateEndpointArgs Empty => new PrivateEndpointConnectionPropertiesPrivateEndpointArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs.cs new file mode 100644 index 000000000000..bf1ca47bd9e3 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Describes the current state of an existing Azure Private Link service connection to the private endpoint. + /// + public sealed class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs : global::Pulumi.ResourceArgs + { + /// + /// A description of any extra actions that may be required. + /// + [Input("actionsRequired")] + public Input? ActionsRequired { get; set; } + + /// + /// The description for the private link service connection state. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + /// + [Input("status")] + public Input? Status { get; set; } + + public PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs() + { + ActionsRequired = "None"; + } + public static new PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs Empty => new PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/SharedPrivateLinkResourcePropertiesArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/SharedPrivateLinkResourcePropertiesArgs.cs new file mode 100644 index 000000000000..d3c7269a73ee --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/SharedPrivateLinkResourcePropertiesArgs.cs @@ -0,0 +1,59 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + /// + public sealed class SharedPrivateLinkResourcePropertiesArgs : global::Pulumi.ResourceArgs + { + /// + /// The group ID from the provider of resource the shared private link resource is for. + /// + [Input("groupId")] + public Input? GroupId { get; set; } + + /// + /// The resource ID of the resource the shared private link resource is for. + /// + [Input("privateLinkResourceId")] + public Input? PrivateLinkResourceId { get; set; } + + /// + /// The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + /// + [Input("provisioningState")] + public InputUnion? ProvisioningState { get; set; } + + /// + /// The message for requesting approval of the shared private link resource. + /// + [Input("requestMessage")] + public Input? RequestMessage { get; set; } + + /// + /// Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + /// + [Input("resourceRegion")] + public Input? ResourceRegion { get; set; } + + /// + /// Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + /// + [Input("status")] + public InputUnion? Status { get; set; } + + public SharedPrivateLinkResourcePropertiesArgs() + { + } + public static new SharedPrivateLinkResourcePropertiesArgs Empty => new SharedPrivateLinkResourcePropertiesArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Inputs/SkuArgs.cs b/sdk/dotnet/Search/V20250201Preview/Inputs/SkuArgs.cs new file mode 100644 index 000000000000..5e3deefebddc --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Inputs/SkuArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Inputs +{ + + /// + /// Defines the SKU of a search service, which determines billing rate and capacity limits. + /// + public sealed class SkuArgs : global::Pulumi.ResourceArgs + { + /// + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// + [Input("name")] + public InputUnion? Name { get; set; } + + public SkuArgs() + { + } + public static new SkuArgs Empty => new SkuArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/ListAdminKey.cs b/sdk/dotnet/Search/V20250201Preview/ListAdminKey.cs new file mode 100644 index 000000000000..ff4ec9af5fea --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/ListAdminKey.cs @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + public static class ListAdminKey + { + /// + /// Gets the primary and secondary admin API keys for the specified Azure AI Search service. + /// + public static Task InvokeAsync(ListAdminKeyArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search/v20250201preview:listAdminKey", args ?? new ListAdminKeyArgs(), options.WithDefaults()); + + /// + /// Gets the primary and secondary admin API keys for the specified Azure AI Search service. + /// + public static Output Invoke(ListAdminKeyInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:listAdminKey", args ?? new ListAdminKeyInvokeArgs(), options.WithDefaults()); + + /// + /// Gets the primary and secondary admin API keys for the specified Azure AI Search service. + /// + public static Output Invoke(ListAdminKeyInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:listAdminKey", args ?? new ListAdminKeyInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListAdminKeyArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public string SearchServiceName { get; set; } = null!; + + public ListAdminKeyArgs() + { + } + public static new ListAdminKeyArgs Empty => new ListAdminKeyArgs(); + } + + public sealed class ListAdminKeyInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + public ListAdminKeyInvokeArgs() + { + } + public static new ListAdminKeyInvokeArgs Empty => new ListAdminKeyInvokeArgs(); + } + + + [OutputType] + public sealed class ListAdminKeyResult + { + /// + /// The primary admin API key of the search service. + /// + public readonly string PrimaryKey; + /// + /// The secondary admin API key of the search service. + /// + public readonly string SecondaryKey; + + [OutputConstructor] + private ListAdminKeyResult( + string primaryKey, + + string secondaryKey) + { + PrimaryKey = primaryKey; + SecondaryKey = secondaryKey; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/ListQueryKeyBySearchService.cs b/sdk/dotnet/Search/V20250201Preview/ListQueryKeyBySearchService.cs new file mode 100644 index 000000000000..9b7825e3f0b6 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/ListQueryKeyBySearchService.cs @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + public static class ListQueryKeyBySearchService + { + /// + /// Returns the list of query API keys for the given Azure AI Search service. + /// + public static Task InvokeAsync(ListQueryKeyBySearchServiceArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("azure-native:search/v20250201preview:listQueryKeyBySearchService", args ?? new ListQueryKeyBySearchServiceArgs(), options.WithDefaults()); + + /// + /// Returns the list of query API keys for the given Azure AI Search service. + /// + public static Output Invoke(ListQueryKeyBySearchServiceInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:listQueryKeyBySearchService", args ?? new ListQueryKeyBySearchServiceInvokeArgs(), options.WithDefaults()); + + /// + /// Returns the list of query API keys for the given Azure AI Search service. + /// + public static Output Invoke(ListQueryKeyBySearchServiceInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("azure-native:search/v20250201preview:listQueryKeyBySearchService", args ?? new ListQueryKeyBySearchServiceInvokeArgs(), options.WithDefaults()); + } + + + public sealed class ListQueryKeyBySearchServiceArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public string ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public string SearchServiceName { get; set; } = null!; + + public ListQueryKeyBySearchServiceArgs() + { + } + public static new ListQueryKeyBySearchServiceArgs Empty => new ListQueryKeyBySearchServiceArgs(); + } + + public sealed class ListQueryKeyBySearchServiceInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + public ListQueryKeyBySearchServiceInvokeArgs() + { + } + public static new ListQueryKeyBySearchServiceInvokeArgs Empty => new ListQueryKeyBySearchServiceInvokeArgs(); + } + + + [OutputType] + public sealed class ListQueryKeyBySearchServiceResult + { + /// + /// Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size. + /// + public readonly string NextLink; + /// + /// The query keys for the Azure AI Search service. + /// + public readonly ImmutableArray Value; + + [OutputConstructor] + private ListQueryKeyBySearchServiceResult( + string nextLink, + + ImmutableArray value) + { + NextLink = nextLink; + Value = value; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/DataPlaneAadOrApiKeyAuthOptionResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/DataPlaneAadOrApiKeyAuthOptionResponse.cs new file mode 100644 index 000000000000..9ba49a9a058e --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/DataPlaneAadOrApiKeyAuthOptionResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + /// + [OutputType] + public sealed class DataPlaneAadOrApiKeyAuthOptionResponse + { + /// + /// Describes what response the data plane API of a search service would send for requests that failed authentication. + /// + public readonly string? AadAuthFailureMode; + + [OutputConstructor] + private DataPlaneAadOrApiKeyAuthOptionResponse(string? aadAuthFailureMode) + { + AadAuthFailureMode = aadAuthFailureMode; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/DataPlaneAuthOptionsResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/DataPlaneAuthOptionsResponse.cs new file mode 100644 index 000000000000..cdc4c9921828 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/DataPlaneAuthOptionsResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + /// + [OutputType] + public sealed class DataPlaneAuthOptionsResponse + { + /// + /// Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + /// + public readonly Outputs.DataPlaneAadOrApiKeyAuthOptionResponse? AadOrApiKey; + /// + /// Indicates that only the API key can be used for authentication. + /// + public readonly object? ApiKeyOnly; + + [OutputConstructor] + private DataPlaneAuthOptionsResponse( + Outputs.DataPlaneAadOrApiKeyAuthOptionResponse? aadOrApiKey, + + object? apiKeyOnly) + { + AadOrApiKey = aadOrApiKey; + ApiKeyOnly = apiKeyOnly; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/EncryptionWithCmkResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/EncryptionWithCmkResponse.cs new file mode 100644 index 000000000000..e7003a3d3efb --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/EncryptionWithCmkResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + /// + [OutputType] + public sealed class EncryptionWithCmkResponse + { + /// + /// Returns the status of search service compliance with respect to non-CMK-encrypted objects. If a service has more than one unencrypted object, and enforcement is enabled, the service is marked as noncompliant. + /// + public readonly string EncryptionComplianceStatus; + /// + /// Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + /// + public readonly string? Enforcement; + + [OutputConstructor] + private EncryptionWithCmkResponse( + string encryptionComplianceStatus, + + string? enforcement) + { + EncryptionComplianceStatus = encryptionComplianceStatus; + Enforcement = enforcement; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/IdentityResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/IdentityResponse.cs new file mode 100644 index 000000000000..707b698c5748 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/IdentityResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Details about the search service identity. A null value indicates that the search service has no identity assigned. + /// + [OutputType] + public sealed class IdentityResponse + { + /// + /// The principal ID of the system-assigned identity of the search service. + /// + public readonly string PrincipalId; + /// + /// The tenant ID of the system-assigned identity of the search service. + /// + public readonly string TenantId; + /// + /// The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + /// + public readonly string Type; + /// + /// The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + /// + public readonly ImmutableDictionary? UserAssignedIdentities; + + [OutputConstructor] + private IdentityResponse( + string principalId, + + string tenantId, + + string type, + + ImmutableDictionary? userAssignedIdentities) + { + PrincipalId = principalId; + TenantId = tenantId; + Type = type; + UserAssignedIdentities = userAssignedIdentities; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/IpRuleResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/IpRuleResponse.cs new file mode 100644 index 000000000000..282ffa24e546 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/IpRuleResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// The IP restriction rule of the Azure AI Search service. + /// + [OutputType] + public sealed class IpRuleResponse + { + /// + /// Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + /// + public readonly string? Value; + + [OutputConstructor] + private IpRuleResponse(string? value) + { + Value = value; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/NetworkRuleSetResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/NetworkRuleSetResponse.cs new file mode 100644 index 000000000000..0fdbc811681b --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/NetworkRuleSetResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Network specific rules that determine how the Azure AI Search service may be reached. + /// + [OutputType] + public sealed class NetworkRuleSetResponse + { + /// + /// Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + /// + public readonly string? Bypass; + /// + /// A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + /// + public readonly ImmutableArray IpRules; + + [OutputConstructor] + private NetworkRuleSetResponse( + string? bypass, + + ImmutableArray ipRules) + { + Bypass = bypass; + IpRules = ipRules; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponse.cs new file mode 100644 index 000000000000..02fcf4665f4c --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes the properties of an existing private endpoint connection to the search service. + /// + [OutputType] + public sealed class PrivateEndpointConnectionPropertiesResponse + { + /// + /// The group ID of the Azure resource for which the private link service is for. + /// + public readonly string? GroupId; + /// + /// The private endpoint resource from Microsoft.Network provider. + /// + public readonly Outputs.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint? PrivateEndpoint; + /// + /// Describes the current state of an existing Azure Private Link service connection to the private endpoint. + /// + public readonly Outputs.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState? PrivateLinkServiceConnectionState; + /// + /// The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + /// + public readonly string? ProvisioningState; + + [OutputConstructor] + private PrivateEndpointConnectionPropertiesResponse( + string? groupId, + + Outputs.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint? privateEndpoint, + + Outputs.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState? privateLinkServiceConnectionState, + + string? provisioningState) + { + GroupId = groupId; + PrivateEndpoint = privateEndpoint; + PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; + ProvisioningState = provisioningState; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateEndpoint.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateEndpoint.cs new file mode 100644 index 000000000000..57b3af31523f --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateEndpoint.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// The private endpoint resource from Microsoft.Network provider. + /// + [OutputType] + public sealed class PrivateEndpointConnectionPropertiesResponsePrivateEndpoint + { + /// + /// The resource ID of the private endpoint resource from Microsoft.Network provider. + /// + public readonly string? Id; + + [OutputConstructor] + private PrivateEndpointConnectionPropertiesResponsePrivateEndpoint(string? id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState.cs new file mode 100644 index 000000000000..7179c621676a --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes the current state of an existing Azure Private Link service connection to the private endpoint. + /// + [OutputType] + public sealed class PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState + { + /// + /// A description of any extra actions that may be required. + /// + public readonly string? ActionsRequired; + /// + /// The description for the private link service connection state. + /// + public readonly string? Description; + /// + /// Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + /// + public readonly string? Status; + + [OutputConstructor] + private PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState( + string? actionsRequired, + + string? description, + + string? status) + { + ActionsRequired = actionsRequired; + Description = description; + Status = status; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionResponse.cs new file mode 100644 index 000000000000..2a134014295b --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/PrivateEndpointConnectionResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes an existing private endpoint connection to the Azure AI Search service. + /// + [OutputType] + public sealed class PrivateEndpointConnectionResponse + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Describes the properties of an existing private endpoint connection to the Azure AI Search service. + /// + public readonly Outputs.PrivateEndpointConnectionPropertiesResponse? Properties; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private PrivateEndpointConnectionResponse( + string id, + + string name, + + Outputs.PrivateEndpointConnectionPropertiesResponse? properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/QueryKeyResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/QueryKeyResponse.cs new file mode 100644 index 000000000000..4e6cc70e0362 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/QueryKeyResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index. + /// + [OutputType] + public sealed class QueryKeyResponse + { + /// + /// The value of the query API key. + /// + public readonly string Key; + /// + /// The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used. + /// + public readonly string Name; + + [OutputConstructor] + private QueryKeyResponse( + string key, + + string name) + { + Key = key; + Name = name; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/SharedPrivateLinkResourcePropertiesResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/SharedPrivateLinkResourcePropertiesResponse.cs new file mode 100644 index 000000000000..35e6370a598a --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/SharedPrivateLinkResourcePropertiesResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + /// + [OutputType] + public sealed class SharedPrivateLinkResourcePropertiesResponse + { + /// + /// The group ID from the provider of resource the shared private link resource is for. + /// + public readonly string? GroupId; + /// + /// The resource ID of the resource the shared private link resource is for. + /// + public readonly string? PrivateLinkResourceId; + /// + /// The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + /// + public readonly string? ProvisioningState; + /// + /// The message for requesting approval of the shared private link resource. + /// + public readonly string? RequestMessage; + /// + /// Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + /// + public readonly string? ResourceRegion; + /// + /// Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + /// + public readonly string? Status; + + [OutputConstructor] + private SharedPrivateLinkResourcePropertiesResponse( + string? groupId, + + string? privateLinkResourceId, + + string? provisioningState, + + string? requestMessage, + + string? resourceRegion, + + string? status) + { + GroupId = groupId; + PrivateLinkResourceId = privateLinkResourceId; + ProvisioningState = provisioningState; + RequestMessage = requestMessage; + ResourceRegion = resourceRegion; + Status = status; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/SharedPrivateLinkResourceResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/SharedPrivateLinkResourceResponse.cs new file mode 100644 index 000000000000..1ea6e92ddd78 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/SharedPrivateLinkResourceResponse.cs @@ -0,0 +1,52 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Describes a shared private link resource managed by the Azure AI Search service. + /// + [OutputType] + public sealed class SharedPrivateLinkResourceResponse + { + /// + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + /// + public readonly string Id; + /// + /// The name of the resource + /// + public readonly string Name; + /// + /// Describes the properties of a shared private link resource managed by the Azure AI Search service. + /// + public readonly Outputs.SharedPrivateLinkResourcePropertiesResponse? Properties; + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + public readonly string Type; + + [OutputConstructor] + private SharedPrivateLinkResourceResponse( + string id, + + string name, + + Outputs.SharedPrivateLinkResourcePropertiesResponse? properties, + + string type) + { + Id = id; + Name = name; + Properties = properties; + Type = type; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/SkuResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/SkuResponse.cs new file mode 100644 index 000000000000..db7ff1231b57 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/SkuResponse.cs @@ -0,0 +1,30 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Defines the SKU of a search service, which determines billing rate and capacity limits. + /// + [OutputType] + public sealed class SkuResponse + { + /// + /// The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + /// + public readonly string? Name; + + [OutputConstructor] + private SkuResponse(string? name) + { + Name = name; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/SystemDataResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/SystemDataResponse.cs new file mode 100644 index 000000000000..de8a3c198399 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/SystemDataResponse.cs @@ -0,0 +1,66 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// Metadata pertaining to creation and last modification of the resource. + /// + [OutputType] + public sealed class SystemDataResponse + { + /// + /// The timestamp of resource creation (UTC). + /// + public readonly string? CreatedAt; + /// + /// The identity that created the resource. + /// + public readonly string? CreatedBy; + /// + /// The type of identity that created the resource. + /// + public readonly string? CreatedByType; + /// + /// The timestamp of resource last modification (UTC) + /// + public readonly string? LastModifiedAt; + /// + /// The identity that last modified the resource. + /// + public readonly string? LastModifiedBy; + /// + /// The type of identity that last modified the resource. + /// + public readonly string? LastModifiedByType; + + [OutputConstructor] + private SystemDataResponse( + string? createdAt, + + string? createdBy, + + string? createdByType, + + string? lastModifiedAt, + + string? lastModifiedBy, + + string? lastModifiedByType) + { + CreatedAt = createdAt; + CreatedBy = createdBy; + CreatedByType = createdByType; + LastModifiedAt = lastModifiedAt; + LastModifiedBy = lastModifiedBy; + LastModifiedByType = lastModifiedByType; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/Outputs/UserAssignedManagedIdentityResponse.cs b/sdk/dotnet/Search/V20250201Preview/Outputs/UserAssignedManagedIdentityResponse.cs new file mode 100644 index 000000000000..fb2f3e5f28fc --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Outputs/UserAssignedManagedIdentityResponse.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview.Outputs +{ + + /// + /// The details of the user assigned managed identity assigned to the search service. + /// + [OutputType] + public sealed class UserAssignedManagedIdentityResponse + { + /// + /// The client ID of user assigned identity. + /// + public readonly string ClientId; + /// + /// The principal ID of user assigned identity. + /// + public readonly string PrincipalId; + + [OutputConstructor] + private UserAssignedManagedIdentityResponse( + string clientId, + + string principalId) + { + ClientId = clientId; + PrincipalId = principalId; + } + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/PrivateEndpointConnection.cs b/sdk/dotnet/Search/V20250201Preview/PrivateEndpointConnection.cs new file mode 100644 index 000000000000..06f85af439e0 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/PrivateEndpointConnection.cs @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + /// + /// Describes an existing private endpoint connection to the Azure AI Search service. + /// + [AzureNativeResourceType("azure-native:search/v20250201preview:PrivateEndpointConnection")] + public partial class PrivateEndpointConnection : global::Pulumi.CustomResource + { + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Describes the properties of an existing private endpoint connection to the Azure AI Search service. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a PrivateEndpointConnection resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public PrivateEndpointConnection(string name, PrivateEndpointConnectionArgs args, CustomResourceOptions? options = null) + : base("azure-native:search/v20250201preview:PrivateEndpointConnection", name, args ?? new PrivateEndpointConnectionArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpointConnection(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:search/v20250201preview:PrivateEndpointConnection", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:search:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20191001preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200313:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200801:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200801preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20210401preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20220901:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20231101:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:PrivateEndpointConnection" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:PrivateEndpointConnection" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing PrivateEndpointConnection resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static PrivateEndpointConnection Get(string name, Input id, CustomResourceOptions? options = null) + { + return new PrivateEndpointConnection(name, id, options); + } + } + + public sealed class PrivateEndpointConnectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + /// + [Input("privateEndpointConnectionName")] + public Input? PrivateEndpointConnectionName { get; set; } + + /// + /// Describes the properties of an existing private endpoint connection to the Azure AI Search service. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + public PrivateEndpointConnectionArgs() + { + } + public static new PrivateEndpointConnectionArgs Empty => new PrivateEndpointConnectionArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/README.md b/sdk/dotnet/Search/V20250201Preview/README.md new file mode 100644 index 000000000000..b6e91921920b --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/README.md @@ -0,0 +1 @@ +A native Pulumi package for creating and managing Azure resources. diff --git a/sdk/dotnet/Search/V20250201Preview/Service.cs b/sdk/dotnet/Search/V20250201Preview/Service.cs new file mode 100644 index 000000000000..9c067ae58bc2 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/Service.cs @@ -0,0 +1,368 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + /// + /// Describes an Azure AI Search service and its current state. + /// + [AzureNativeResourceType("azure-native:search/v20250201preview:Service")] + public partial class Service : global::Pulumi.CustomResource + { + /// + /// Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + /// + [Output("authOptions")] + public Output AuthOptions { get; private set; } = null!; + + /// + /// Configure this property to support the search service using either the default compute or Azure Confidential Compute. + /// + [Output("computeType")] + public Output ComputeType { get; private set; } = null!; + + /// + /// When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + /// + [Output("disableLocalAuth")] + public Output DisableLocalAuth { get; private set; } = null!; + + /// + /// A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + /// + [Output("disabledDataExfiltrationOptions")] + public Output> DisabledDataExfiltrationOptions { get; private set; } = null!; + + /// + /// A system generated property representing the service's etag that can be for optimistic concurrency control during updates. + /// + [Output("eTag")] + public Output ETag { get; private set; } = null!; + + /// + /// Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + /// + [Output("encryptionWithCmk")] + public Output EncryptionWithCmk { get; private set; } = null!; + + /// + /// The endpoint of the Azure AI Search service. + /// + [Output("endpoint")] + public Output Endpoint { get; private set; } = null!; + + /// + /// Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + /// + [Output("hostingMode")] + public Output HostingMode { get; private set; } = null!; + + /// + /// The identity of the resource. + /// + [Output("identity")] + public Output Identity { get; private set; } = null!; + + /// + /// The geo-location where the resource lives + /// + [Output("location")] + public Output Location { get; private set; } = null!; + + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Network specific rules that determine how the Azure AI Search service may be reached. + /// + [Output("networkRuleSet")] + public Output NetworkRuleSet { get; private set; } = null!; + + /// + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// + [Output("partitionCount")] + public Output PartitionCount { get; private set; } = null!; + + /// + /// The list of private endpoint connections to the Azure AI Search service. + /// + [Output("privateEndpointConnections")] + public Output> PrivateEndpointConnections { get; private set; } = null!; + + /// + /// The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. + /// + [Output("provisioningState")] + public Output ProvisioningState { get; private set; } = null!; + + /// + /// This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + /// + [Output("publicNetworkAccess")] + public Output PublicNetworkAccess { get; private set; } = null!; + + /// + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// + [Output("replicaCount")] + public Output ReplicaCount { get; private set; } = null!; + + /// + /// Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + /// + [Output("semanticSearch")] + public Output SemanticSearch { get; private set; } = null!; + + /// + /// The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. + /// + [Output("serviceUpgradeDate")] + public Output ServiceUpgradeDate { get; private set; } = null!; + + /// + /// The list of shared private link resources managed by the Azure AI Search service. + /// + [Output("sharedPrivateLinkResources")] + public Output> SharedPrivateLinkResources { get; private set; } = null!; + + /// + /// The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + /// + [Output("sku")] + public Output Sku { get; private set; } = null!; + + /// + /// The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// The details of the search service status. + /// + [Output("statusDetails")] + public Output StatusDetails { get; private set; } = null!; + + /// + /// Azure Resource Manager metadata of the search service containing createdBy and modifiedBy information. + /// + [Output("systemData")] + public Output SystemData { get; private set; } = null!; + + /// + /// Resource tags. + /// + [Output("tags")] + public Output?> Tags { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + /// + /// Indicates whether or not the search service has an upgrade available. + /// + [Output("upgradeAvailable")] + public Output UpgradeAvailable { get; private set; } = null!; + + + /// + /// Create a Service resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public Service(string name, ServiceArgs args, CustomResourceOptions? options = null) + : base("azure-native:search/v20250201preview:Service", name, args ?? new ServiceArgs(), MakeResourceOptions(options, "")) + { + } + + private Service(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:search/v20250201preview:Service", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:search:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20150819:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20191001preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200313:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200801:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200801preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20210401preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20220901:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20231101:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:Service" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:Service" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing Service resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static Service Get(string name, Input id, CustomResourceOptions? options = null) + { + return new Service(name, id, options); + } + } + + public sealed class ServiceArgs : global::Pulumi.ResourceArgs + { + /// + /// Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + /// + [Input("authOptions")] + public Input? AuthOptions { get; set; } + + /// + /// Configure this property to support the search service using either the default compute or Azure Confidential Compute. + /// + [Input("computeType")] + public InputUnion? ComputeType { get; set; } + + /// + /// When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + /// + [Input("disableLocalAuth")] + public Input? DisableLocalAuth { get; set; } + + [Input("disabledDataExfiltrationOptions")] + private InputList>? _disabledDataExfiltrationOptions; + + /// + /// A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + /// + public InputList> DisabledDataExfiltrationOptions + { + get => _disabledDataExfiltrationOptions ?? (_disabledDataExfiltrationOptions = new InputList>()); + set => _disabledDataExfiltrationOptions = value; + } + + /// + /// Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + /// + [Input("encryptionWithCmk")] + public Input? EncryptionWithCmk { get; set; } + + /// + /// The endpoint of the Azure AI Search service. + /// + [Input("endpoint")] + public Input? Endpoint { get; set; } + + /// + /// Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + /// + [Input("hostingMode")] + public Input? HostingMode { get; set; } + + /// + /// The identity of the resource. + /// + [Input("identity")] + public Input? Identity { get; set; } + + /// + /// The geo-location where the resource lives + /// + [Input("location")] + public Input? Location { get; set; } + + /// + /// Network specific rules that determine how the Azure AI Search service may be reached. + /// + [Input("networkRuleSet")] + public Input? NetworkRuleSet { get; set; } + + /// + /// The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + /// + [Input("partitionCount")] + public Input? PartitionCount { get; set; } + + /// + /// This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + /// + [Input("publicNetworkAccess")] + public InputUnion? PublicNetworkAccess { get; set; } + + /// + /// The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + /// + [Input("replicaCount")] + public Input? ReplicaCount { get; set; } + + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://<name>.search.windows.net). You cannot change the service name after the service is created. + /// + [Input("searchServiceName")] + public Input? SearchServiceName { get; set; } + + /// + /// Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + /// + [Input("semanticSearch")] + public InputUnion? SemanticSearch { get; set; } + + /// + /// The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + /// + [Input("sku")] + public Input? Sku { get; set; } + + [Input("tags")] + private InputMap? _tags; + + /// + /// Resource tags. + /// + public InputMap Tags + { + get => _tags ?? (_tags = new InputMap()); + set => _tags = value; + } + + public ServiceArgs() + { + HostingMode = Pulumi.AzureNative.Search.V20250201Preview.HostingMode.Default; + PartitionCount = 1; + PublicNetworkAccess = "enabled"; + ReplicaCount = 1; + } + public static new ServiceArgs Empty => new ServiceArgs(); + } +} diff --git a/sdk/dotnet/Search/V20250201Preview/SharedPrivateLinkResource.cs b/sdk/dotnet/Search/V20250201Preview/SharedPrivateLinkResource.cs new file mode 100644 index 000000000000..224b55621a17 --- /dev/null +++ b/sdk/dotnet/Search/V20250201Preview/SharedPrivateLinkResource.cs @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.AzureNative.Search.V20250201Preview +{ + /// + /// Describes a shared private link resource managed by the Azure AI Search service. + /// + [AzureNativeResourceType("azure-native:search/v20250201preview:SharedPrivateLinkResource")] + public partial class SharedPrivateLinkResource : global::Pulumi.CustomResource + { + /// + /// The name of the resource + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + /// + /// Describes the properties of a shared private link resource managed by the Azure AI Search service. + /// + [Output("properties")] + public Output Properties { get; private set; } = null!; + + /// + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + /// + [Output("type")] + public Output Type { get; private set; } = null!; + + + /// + /// Create a SharedPrivateLinkResource resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public SharedPrivateLinkResource(string name, SharedPrivateLinkResourceArgs args, CustomResourceOptions? options = null) + : base("azure-native:search/v20250201preview:SharedPrivateLinkResource", name, args ?? new SharedPrivateLinkResourceArgs(), MakeResourceOptions(options, "")) + { + } + + private SharedPrivateLinkResource(string name, Input id, CustomResourceOptions? options = null) + : base("azure-native:search/v20250201preview:SharedPrivateLinkResource", name, null, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + Aliases = + { + new global::Pulumi.Alias { Type = "azure-native:search:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200801:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20220901:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20231101:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, + new global::Pulumi.Alias { Type = "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, + }, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing SharedPrivateLinkResource resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// A bag of options that control this resource's behavior + public static SharedPrivateLinkResource Get(string name, Input id, CustomResourceOptions? options = null) + { + return new SharedPrivateLinkResource(name, id, options); + } + } + + public sealed class SharedPrivateLinkResourceArgs : global::Pulumi.ResourceArgs + { + /// + /// Describes the properties of a shared private link resource managed by the Azure AI Search service. + /// + [Input("properties")] + public Input? Properties { get; set; } + + /// + /// The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + /// + [Input("resourceGroupName", required: true)] + public Input ResourceGroupName { get; set; } = null!; + + /// + /// The name of the Azure AI Search service associated with the specified resource group. + /// + [Input("searchServiceName", required: true)] + public Input SearchServiceName { get; set; } = null!; + + /// + /// The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + /// + [Input("sharedPrivateLinkResourceName")] + public Input? SharedPrivateLinkResourceName { get; set; } + + public SharedPrivateLinkResourceArgs() + { + } + public static new SharedPrivateLinkResourceArgs Empty => new SharedPrivateLinkResourceArgs(); + } +} diff --git a/sdk/nodejs/azurestackhci/galleryImage.ts b/sdk/nodejs/azurestackhci/galleryImage.ts index 0320890a3d14..41d830af9137 100644 --- a/sdk/nodejs/azurestackhci/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/galleryImage.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The gallery images resource definition. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class GalleryImage extends pulumi.CustomResource { /** @@ -150,7 +150,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/getGalleryImage.ts b/sdk/nodejs/azurestackhci/getGalleryImage.ts index 49ec7ba1a7a9..a88b1bfc2fed 100644 --- a/sdk/nodejs/azurestackhci/getGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/getGalleryImage.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets a gallery image * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getGalleryImage(args: GetGalleryImageArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -105,7 +105,7 @@ export interface GetGalleryImageResult { * Gets a gallery image * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getGalleryImageOutput(args: GetGalleryImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getGuestAgent.ts b/sdk/nodejs/azurestackhci/getGuestAgent.ts index da00cbb132c5..70acd2803f6c 100644 --- a/sdk/nodejs/azurestackhci/getGuestAgent.ts +++ b/sdk/nodejs/azurestackhci/getGuestAgent.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Implements GuestAgent GET method. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getGuestAgent(args: GetGuestAgentArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -82,7 +82,7 @@ export interface GetGuestAgentResult { * Implements GuestAgent GET method. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getGuestAgentOutput(args: GetGuestAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getLogicalNetwork.ts b/sdk/nodejs/azurestackhci/getLogicalNetwork.ts index b33a836339e4..08421125063e 100644 --- a/sdk/nodejs/azurestackhci/getLogicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/getLogicalNetwork.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The logical network resource definition. * Azure REST API version: 2023-09-01-preview. * - * Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getLogicalNetwork(args: GetLogicalNetworkArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -89,7 +89,7 @@ export interface GetLogicalNetworkResult { * The logical network resource definition. * Azure REST API version: 2023-09-01-preview. * - * Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getLogicalNetworkOutput(args: GetLogicalNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getMarketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/getMarketplaceGalleryImage.ts index 10c62e217c16..e193b9a145f6 100644 --- a/sdk/nodejs/azurestackhci/getMarketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/getMarketplaceGalleryImage.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets a marketplace gallery image * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getMarketplaceGalleryImage(args: GetMarketplaceGalleryImageArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -101,7 +101,7 @@ export interface GetMarketplaceGalleryImageResult { * Gets a marketplace gallery image * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getMarketplaceGalleryImageOutput(args: GetMarketplaceGalleryImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getNetworkInterface.ts b/sdk/nodejs/azurestackhci/getNetworkInterface.ts index 6f62a38bec6a..62a272cc589e 100644 --- a/sdk/nodejs/azurestackhci/getNetworkInterface.ts +++ b/sdk/nodejs/azurestackhci/getNetworkInterface.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets a network interface * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getNetworkInterface(args: GetNetworkInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -89,7 +89,7 @@ export interface GetNetworkInterfaceResult { * Gets a network interface * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getNetworkInterfaceOutput(args: GetNetworkInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getNetworkSecurityGroup.ts b/sdk/nodejs/azurestackhci/getNetworkSecurityGroup.ts index 0982489bcb88..68123692ea79 100644 --- a/sdk/nodejs/azurestackhci/getNetworkSecurityGroup.ts +++ b/sdk/nodejs/azurestackhci/getNetworkSecurityGroup.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets the specified network security group. * Azure REST API version: 2024-02-01-preview. * - * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getNetworkSecurityGroup(args: GetNetworkSecurityGroupArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -85,7 +85,7 @@ export interface GetNetworkSecurityGroupResult { * Gets the specified network security group. * Azure REST API version: 2024-02-01-preview. * - * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getNetworkSecurityGroupOutput(args: GetNetworkSecurityGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getSecurityRule.ts b/sdk/nodejs/azurestackhci/getSecurityRule.ts index b51e5c91e4f9..f40f5a23469f 100644 --- a/sdk/nodejs/azurestackhci/getSecurityRule.ts +++ b/sdk/nodejs/azurestackhci/getSecurityRule.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets the specified security rule. * Azure REST API version: 2024-02-01-preview. * - * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getSecurityRule(args: GetSecurityRuleArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -106,7 +106,7 @@ export interface GetSecurityRuleResult { * Gets the specified security rule. * Azure REST API version: 2024-02-01-preview. * - * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getSecurityRuleOutput(args: GetSecurityRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getStorageContainer.ts b/sdk/nodejs/azurestackhci/getStorageContainer.ts index 364d2f55f432..1a13802b0eeb 100644 --- a/sdk/nodejs/azurestackhci/getStorageContainer.ts +++ b/sdk/nodejs/azurestackhci/getStorageContainer.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets a storage container * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getStorageContainer(args: GetStorageContainerArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -81,7 +81,7 @@ export interface GetStorageContainerResult { * Gets a storage container * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getStorageContainerOutput(args: GetStorageContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getVirtualHardDisk.ts b/sdk/nodejs/azurestackhci/getVirtualHardDisk.ts index d16425eda8b8..7c7f7292a91d 100644 --- a/sdk/nodejs/azurestackhci/getVirtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/getVirtualHardDisk.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets a virtual hard disk * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getVirtualHardDisk(args: GetVirtualHardDiskArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -100,7 +100,7 @@ export interface GetVirtualHardDiskResult { * Gets a virtual hard disk * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getVirtualHardDiskOutput(args: GetVirtualHardDiskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/getVirtualMachineInstance.ts b/sdk/nodejs/azurestackhci/getVirtualMachineInstance.ts index 3a49c48cc48b..e4037cba3544 100644 --- a/sdk/nodejs/azurestackhci/getVirtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/getVirtualMachineInstance.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets a virtual machine instance * Azure REST API version: 2023-07-01-preview. * - * Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getVirtualMachineInstance(args: GetVirtualMachineInstanceArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -104,7 +104,7 @@ export interface GetVirtualMachineInstanceResult { * Gets a virtual machine instance * Azure REST API version: 2023-07-01-preview. * - * Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export function getVirtualMachineInstanceOutput(args: GetVirtualMachineInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/azurestackhci/guestAgent.ts b/sdk/nodejs/azurestackhci/guestAgent.ts index a252cf8750b5..4f154558c0aa 100644 --- a/sdk/nodejs/azurestackhci/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/guestAgent.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Defines the GuestAgent. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class GuestAgent extends pulumi.CustomResource { /** diff --git a/sdk/nodejs/azurestackhci/index.ts b/sdk/nodejs/azurestackhci/index.ts index 21850141a3d3..ab6596d09c94 100644 --- a/sdk/nodejs/azurestackhci/index.ts +++ b/sdk/nodejs/azurestackhci/index.ts @@ -269,6 +269,7 @@ import * as v20240501preview from "./v20240501preview"; import * as v20240715preview from "./v20240715preview"; import * as v20240801preview from "./v20240801preview"; import * as v20240901preview from "./v20240901preview"; +import * as v20241001preview from "./v20241001preview"; import * as v20241201preview from "./v20241201preview"; export { @@ -291,6 +292,7 @@ export { v20240715preview, v20240801preview, v20240901preview, + v20241001preview, v20241201preview, }; diff --git a/sdk/nodejs/azurestackhci/logicalNetwork.ts b/sdk/nodejs/azurestackhci/logicalNetwork.ts index 8bb337b5f5d1..8c45a37d3c32 100644 --- a/sdk/nodejs/azurestackhci/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/logicalNetwork.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The logical network resource definition. * Azure REST API version: 2023-09-01-preview. * - * Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class LogicalNetwork extends pulumi.CustomResource { /** @@ -126,7 +126,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/marketplaceGalleryImage.ts index 811c7b7bcf38..f244d07b618f 100644 --- a/sdk/nodejs/azurestackhci/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/marketplaceGalleryImage.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The marketplace gallery image resource definition. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class MarketplaceGalleryImage extends pulumi.CustomResource { /** @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/networkInterface.ts b/sdk/nodejs/azurestackhci/networkInterface.ts index 7affed08e98c..a3f55b488b5c 100644 --- a/sdk/nodejs/azurestackhci/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/networkInterface.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The network interface resource definition. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class NetworkInterface extends pulumi.CustomResource { /** @@ -126,7 +126,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/networkSecurityGroup.ts b/sdk/nodejs/azurestackhci/networkSecurityGroup.ts index d4d4e6136a4a..1f2e745a6450 100644 --- a/sdk/nodejs/azurestackhci/networkSecurityGroup.ts +++ b/sdk/nodejs/azurestackhci/networkSecurityGroup.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * NetworkSecurityGroup resource. * Azure REST API version: 2024-02-01-preview. * - * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class NetworkSecurityGroup extends pulumi.CustomResource { /** @@ -120,7 +120,7 @@ export class NetworkSecurityGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkSecurityGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/securityRule.ts b/sdk/nodejs/azurestackhci/securityRule.ts index 0c01c44e60b6..a42bd4c8570d 100644 --- a/sdk/nodejs/azurestackhci/securityRule.ts +++ b/sdk/nodejs/azurestackhci/securityRule.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Security Rule resource. * Azure REST API version: 2024-02-01-preview. * - * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class SecurityRule extends pulumi.CustomResource { /** @@ -160,7 +160,7 @@ export class SecurityRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20241001preview:SecurityRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/storageContainer.ts b/sdk/nodejs/azurestackhci/storageContainer.ts index 8345f9fb97bf..ede261345a3f 100644 --- a/sdk/nodejs/azurestackhci/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/storageContainer.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The storage container resource definition. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class StorageContainer extends pulumi.CustomResource { /** @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20210901preview/galleryimageRetrieve.ts b/sdk/nodejs/azurestackhci/v20210901preview/galleryimageRetrieve.ts index e3699645239f..2fc77fc20d74 100644 --- a/sdk/nodejs/azurestackhci/v20210901preview/galleryimageRetrieve.ts +++ b/sdk/nodejs/azurestackhci/v20210901preview/galleryimageRetrieve.ts @@ -153,7 +153,7 @@ export class GalleryimageRetrieve extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240101:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240101:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:galleryimageRetrieve" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240101:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240101:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:galleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryimageRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:galleryimageRetrieve" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryimageRetrieve.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20210901preview/marketplacegalleryimage.ts b/sdk/nodejs/azurestackhci/v20210901preview/marketplacegalleryimage.ts index 38d2b2db4f9e..e72259787b2c 100644 --- a/sdk/nodejs/azurestackhci/v20210901preview/marketplacegalleryimage.ts +++ b/sdk/nodejs/azurestackhci/v20210901preview/marketplacegalleryimage.ts @@ -147,7 +147,7 @@ export class Marketplacegalleryimage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20221215preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20221215preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230701preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230701preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230901preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230901preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240101:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240101:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240201preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240201preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240501preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240501preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240715preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240715preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240801preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240801preview:marketplacegalleryimage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20221215preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20221215preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230701preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230701preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230901preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20230901preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240101:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240101:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240201preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240201preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240501preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240501preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240715preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240715preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240801preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20240801preview:marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20241001preview:Marketplacegalleryimage" }, { type: "azure-native:azurestackhci/v20241001preview:marketplacegalleryimage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Marketplacegalleryimage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20210901preview/networkinterfaceRetrieve.ts b/sdk/nodejs/azurestackhci/v20210901preview/networkinterfaceRetrieve.ts index 98535536dbf2..dee24c729c8f 100644 --- a/sdk/nodejs/azurestackhci/v20210901preview/networkinterfaceRetrieve.ts +++ b/sdk/nodejs/azurestackhci/v20210901preview/networkinterfaceRetrieve.ts @@ -126,7 +126,7 @@ export class NetworkinterfaceRetrieve extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240101:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240101:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:networkinterfaceRetrieve" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240101:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240101:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:networkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkinterfaceRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:networkinterfaceRetrieve" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkinterfaceRetrieve.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20210901preview/storagecontainerRetrieve.ts b/sdk/nodejs/azurestackhci/v20210901preview/storagecontainerRetrieve.ts index 9547b4f4ebc0..257a6e869dc0 100644 --- a/sdk/nodejs/azurestackhci/v20210901preview/storagecontainerRetrieve.ts +++ b/sdk/nodejs/azurestackhci/v20210901preview/storagecontainerRetrieve.ts @@ -123,7 +123,7 @@ export class StoragecontainerRetrieve extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240101:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240101:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:storagecontainerRetrieve" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240101:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240101:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:storagecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:StoragecontainerRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:storagecontainerRetrieve" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StoragecontainerRetrieve.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20210901preview/virtualharddiskRetrieve.ts b/sdk/nodejs/azurestackhci/v20210901preview/virtualharddiskRetrieve.ts index 3ae72578ed2a..70b68e555f7e 100644 --- a/sdk/nodejs/azurestackhci/v20210901preview/virtualharddiskRetrieve.ts +++ b/sdk/nodejs/azurestackhci/v20210901preview/virtualharddiskRetrieve.ts @@ -147,7 +147,7 @@ export class VirtualharddiskRetrieve extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240101:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240101:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:virtualharddiskRetrieve" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210901preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20210701preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20221215preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230701preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20230901preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240101:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240101:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240201preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240501preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240715preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20240801preview:virtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualharddiskRetrieve" }, { type: "azure-native:azurestackhci/v20241001preview:virtualharddiskRetrieve" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualharddiskRetrieve.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20221215preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20221215preview/galleryImage.ts index 571208f3cfbc..11f398b200e0 100644 --- a/sdk/nodejs/azurestackhci/v20221215preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20221215preview/galleryImage.ts @@ -147,7 +147,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20221215preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20221215preview/marketplaceGalleryImage.ts index 4de58a48015b..00ea5356d6fc 100644 --- a/sdk/nodejs/azurestackhci/v20221215preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20221215preview/marketplaceGalleryImage.ts @@ -141,7 +141,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20221215preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20221215preview/networkInterface.ts index 9bbefd4c8a1c..09e56f48667b 100644 --- a/sdk/nodejs/azurestackhci/v20221215preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20221215preview/networkInterface.ts @@ -123,7 +123,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20221215preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20221215preview/storageContainer.ts index 99101522343f..4496849b4cb6 100644 --- a/sdk/nodejs/azurestackhci/v20221215preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20221215preview/storageContainer.ts @@ -111,7 +111,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20221215preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20221215preview/virtualHardDisk.ts index 8ee42d2f77d8..5bd2981c6286 100644 --- a/sdk/nodejs/azurestackhci/v20221215preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20221215preview/virtualHardDisk.ts @@ -144,7 +144,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20230701preview/galleryImage.ts index 07105a694925..b81bdd7e4ec2 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/galleryImage.ts @@ -150,7 +150,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20230701preview/guestAgent.ts index 451ccfd13956..7ebe956b44e7 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/guestAgent.ts @@ -104,7 +104,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20230701preview/marketplaceGalleryImage.ts index f0f4a816c41e..609df082384c 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20230701preview/networkInterface.ts index 675d532e4e85..61d2301a41ea 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/networkInterface.ts @@ -123,7 +123,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20230701preview/storageContainer.ts index 4cc3abfa3197..c5260ba8e548 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/storageContainer.ts @@ -111,7 +111,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20230701preview/virtualHardDisk.ts index a1f3386e45ce..3cd5af70479d 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/virtualHardDisk.ts @@ -144,7 +144,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230701preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20230701preview/virtualMachineInstance.ts index 7f7435cb88a7..f28e973b7ab3 100644 --- a/sdk/nodejs/azurestackhci/v20230701preview/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20230701preview/virtualMachineInstance.ts @@ -152,7 +152,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20230901preview/galleryImage.ts index f89cb3ffcc74..b9b81c5c1390 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/galleryImage.ts @@ -150,7 +150,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20230901preview/guestAgent.ts index 3877fdad38a0..91e67a714b49 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/guestAgent.ts @@ -98,7 +98,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20230901preview/logicalNetwork.ts index dc33795665e3..f1891af4f739 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/logicalNetwork.ts @@ -123,7 +123,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20230901preview/marketplaceGalleryImage.ts index bd51f0187d55..ee5cd90e97a3 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20230901preview/networkInterface.ts index f00ae11996eb..212af9c2cbe3 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/networkInterface.ts @@ -123,7 +123,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20230901preview/storageContainer.ts index 0a9b6b60429d..9bbe17b21336 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/storageContainer.ts @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20230901preview/virtualHardDisk.ts index f07bfdfdad55..2beb4380a1c1 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/virtualHardDisk.ts @@ -144,7 +144,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20230901preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20230901preview/virtualMachineInstance.ts index 034cbfd2f1a4..e5007d35df3e 100644 --- a/sdk/nodejs/azurestackhci/v20230901preview/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20230901preview/virtualMachineInstance.ts @@ -158,7 +158,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/galleryImage.ts b/sdk/nodejs/azurestackhci/v20240101/galleryImage.ts index 15487b714125..3e3530f84296 100644 --- a/sdk/nodejs/azurestackhci/v20240101/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240101/galleryImage.ts @@ -150,7 +150,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/guestAgent.ts b/sdk/nodejs/azurestackhci/v20240101/guestAgent.ts index b71fd972b6c5..46647f7c7236 100644 --- a/sdk/nodejs/azurestackhci/v20240101/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20240101/guestAgent.ts @@ -98,7 +98,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20240101/logicalNetwork.ts index 0902ba020e6e..d45f34edc6c2 100644 --- a/sdk/nodejs/azurestackhci/v20240101/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/v20240101/logicalNetwork.ts @@ -123,7 +123,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20240101/marketplaceGalleryImage.ts index d4b6f4c71ee1..ae5a7e8134ca 100644 --- a/sdk/nodejs/azurestackhci/v20240101/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240101/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/networkInterface.ts b/sdk/nodejs/azurestackhci/v20240101/networkInterface.ts index ad1a8d302640..c7bdb54e6e0c 100644 --- a/sdk/nodejs/azurestackhci/v20240101/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20240101/networkInterface.ts @@ -123,7 +123,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/storageContainer.ts b/sdk/nodejs/azurestackhci/v20240101/storageContainer.ts index 1688ab28d6dd..42d20d09296f 100644 --- a/sdk/nodejs/azurestackhci/v20240101/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20240101/storageContainer.ts @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20240101/virtualHardDisk.ts index 119a1820134f..c3c5c2261190 100644 --- a/sdk/nodejs/azurestackhci/v20240101/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20240101/virtualHardDisk.ts @@ -144,7 +144,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240101/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20240101/virtualMachineInstance.ts index 8ce2d645ed0e..3d20f90640bf 100644 --- a/sdk/nodejs/azurestackhci/v20240101/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20240101/virtualMachineInstance.ts @@ -158,7 +158,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20240201preview/galleryImage.ts index 35097b6cab86..1c1b4f987b5f 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/galleryImage.ts @@ -150,7 +150,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20240201preview/guestAgent.ts index eae6ff9834bd..57241207607d 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/guestAgent.ts @@ -98,7 +98,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20240201preview/logicalNetwork.ts index f51d0416cb84..865b38ef0daf 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/logicalNetwork.ts @@ -123,7 +123,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20240201preview/marketplaceGalleryImage.ts index c38a3dd0a634..efa0bc3a5439 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20240201preview/networkInterface.ts index 8894426f6a6a..679b048258af 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/networkInterface.ts @@ -129,7 +129,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/networkSecurityGroup.ts b/sdk/nodejs/azurestackhci/v20240201preview/networkSecurityGroup.ts index e2e19390d30d..41c3158ebb01 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/networkSecurityGroup.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/networkSecurityGroup.ts @@ -117,7 +117,7 @@ export class NetworkSecurityGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkSecurityGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/securityRule.ts b/sdk/nodejs/azurestackhci/v20240201preview/securityRule.ts index 92d272de38b7..fc2760fb1785 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/securityRule.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/securityRule.ts @@ -157,7 +157,7 @@ export class SecurityRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20241001preview:SecurityRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20240201preview/storageContainer.ts index 0a4e8089bcae..04b4cf1bf984 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/storageContainer.ts @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20240201preview/virtualHardDisk.ts index 39f3906a3ed1..c1c471da5e4c 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/virtualHardDisk.ts @@ -153,7 +153,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240201preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20240201preview/virtualMachineInstance.ts index 8cb493d6764a..108c950c2dbc 100644 --- a/sdk/nodejs/azurestackhci/v20240201preview/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20240201preview/virtualMachineInstance.ts @@ -158,7 +158,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20240501preview/galleryImage.ts index d7f0d26524f3..6c6d7ceac3bc 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/galleryImage.ts @@ -156,7 +156,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20240501preview/guestAgent.ts index b6d13934eaa6..f1c850265107 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/guestAgent.ts @@ -98,7 +98,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20240501preview/logicalNetwork.ts index 258d84c0dd9d..d0f807965062 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/logicalNetwork.ts @@ -123,7 +123,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20240501preview/marketplaceGalleryImage.ts index 71000480db4b..a8b223c931ce 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20240501preview/networkInterface.ts index f26e660d2a1a..c6fb0ec23fb1 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/networkInterface.ts @@ -129,7 +129,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/networkSecurityGroup.ts b/sdk/nodejs/azurestackhci/v20240501preview/networkSecurityGroup.ts index 3732292650d9..bb1f6c089b33 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/networkSecurityGroup.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/networkSecurityGroup.ts @@ -117,7 +117,7 @@ export class NetworkSecurityGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkSecurityGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/securityRule.ts b/sdk/nodejs/azurestackhci/v20240501preview/securityRule.ts index f967c0ac8f5c..4aed69e18c12 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/securityRule.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/securityRule.ts @@ -157,7 +157,7 @@ export class SecurityRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20241001preview:SecurityRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20240501preview/storageContainer.ts index fb4f8f1fc979..e67122aa468c 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/storageContainer.ts @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20240501preview/virtualHardDisk.ts index c78cf2a0a527..3d67ad552c66 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/virtualHardDisk.ts @@ -159,7 +159,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240501preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20240501preview/virtualMachineInstance.ts index 53bd0d7f4503..ef709b7beec6 100644 --- a/sdk/nodejs/azurestackhci/v20240501preview/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20240501preview/virtualMachineInstance.ts @@ -158,7 +158,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20240715preview/galleryImage.ts index 251d26d6bd05..c675723823d4 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/galleryImage.ts @@ -156,7 +156,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20240715preview/guestAgent.ts index 6de3ff27878e..127fae487d37 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/guestAgent.ts @@ -98,7 +98,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20240715preview/logicalNetwork.ts index 6b8730b38eaa..860ed295d52e 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/logicalNetwork.ts @@ -123,7 +123,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20240715preview/marketplaceGalleryImage.ts index 981cbb670150..b9039fb22360 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20240715preview/networkInterface.ts index f3a8e2942620..fba19f31def9 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/networkInterface.ts @@ -135,7 +135,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/networkSecurityGroup.ts b/sdk/nodejs/azurestackhci/v20240715preview/networkSecurityGroup.ts index 9132c021a544..785ac2fec499 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/networkSecurityGroup.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/networkSecurityGroup.ts @@ -117,7 +117,7 @@ export class NetworkSecurityGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkSecurityGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/securityRule.ts b/sdk/nodejs/azurestackhci/v20240715preview/securityRule.ts index 8e258072e0b4..0c2e4e1fa03c 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/securityRule.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/securityRule.ts @@ -157,7 +157,7 @@ export class SecurityRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20241001preview:SecurityRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20240715preview/storageContainer.ts index 354b43d3b817..073660c55e25 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/storageContainer.ts @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20240715preview/virtualHardDisk.ts index 4605f7cb5733..4d7c10d4df49 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/virtualHardDisk.ts @@ -171,7 +171,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240715preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20240715preview/virtualMachineInstance.ts index 8cedc1beaa43..d61ad734925e 100644 --- a/sdk/nodejs/azurestackhci/v20240715preview/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20240715preview/virtualMachineInstance.ts @@ -164,7 +164,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20240801preview/galleryImage.ts index 27b1e343686b..d6f8ea5820bd 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/galleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/galleryImage.ts @@ -162,7 +162,7 @@ export class GalleryImage extends pulumi.CustomResource { resourceInputs["vmImageRepositoryCredentials"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:GalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20240801preview/guestAgent.ts index bcf3aa10b4f0..df3ccc30cebd 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/guestAgent.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/guestAgent.ts @@ -98,7 +98,7 @@ export class GuestAgent extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20241001preview:GuestAgent" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(GuestAgent.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20240801preview/logicalNetwork.ts index f6e222a1c58d..58c7500ed1b4 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/logicalNetwork.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/logicalNetwork.ts @@ -123,7 +123,7 @@ export class LogicalNetwork extends pulumi.CustomResource { resourceInputs["vmSwitchName"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20241001preview:LogicalNetwork" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20240801preview/marketplaceGalleryImage.ts index 1dd4c8c8d5fd..df6ba3f128e0 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/marketplaceGalleryImage.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/marketplaceGalleryImage.ts @@ -144,7 +144,7 @@ export class MarketplaceGalleryImage extends pulumi.CustomResource { resourceInputs["version"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20240801preview/networkInterface.ts index cce40060e872..6f08371dab3d 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/networkInterface.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/networkInterface.ts @@ -129,7 +129,7 @@ export class NetworkInterface extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkInterface" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkInterface.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/networkSecurityGroup.ts b/sdk/nodejs/azurestackhci/v20240801preview/networkSecurityGroup.ts index c3b88835263d..39c55960af22 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/networkSecurityGroup.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/networkSecurityGroup.ts @@ -117,7 +117,7 @@ export class NetworkSecurityGroup extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(NetworkSecurityGroup.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/securityRule.ts b/sdk/nodejs/azurestackhci/v20240801preview/securityRule.ts index be00f02fd0aa..4b040813268e 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/securityRule.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/securityRule.ts @@ -157,7 +157,7 @@ export class SecurityRule extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20241001preview:SecurityRule" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SecurityRule.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20240801preview/storageContainer.ts index 737765b10de6..a28751d11854 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/storageContainer.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/storageContainer.ts @@ -114,7 +114,7 @@ export class StorageContainer extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20241001preview:StorageContainer" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(StorageContainer.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20240801preview/virtualHardDisk.ts index 19dbb6fbf3e8..225a042cc6d6 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/virtualHardDisk.ts @@ -159,7 +159,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20240801preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20240801preview/virtualMachineInstance.ts index 2e5a863d49fe..145aa7aafce0 100644 --- a/sdk/nodejs/azurestackhci/v20240801preview/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/v20240801preview/virtualMachineInstance.ts @@ -158,7 +158,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/v20241001preview/galleryImage.ts b/sdk/nodejs/azurestackhci/v20241001preview/galleryImage.ts new file mode 100644 index 000000000000..45e5caca036e --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/galleryImage.ts @@ -0,0 +1,231 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The gallery images resource definition. + */ +export class GalleryImage extends pulumi.CustomResource { + /** + * Get an existing GalleryImage resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GalleryImage { + return new GalleryImage(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:GalleryImage'; + + /** + * Returns true if the given object is an instance of GalleryImage. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is GalleryImage { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GalleryImage.__pulumiType; + } + + /** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ + public readonly cloudInitDataSource!: pulumi.Output; + /** + * Storage ContainerID of the storage container to be used for gallery image + */ + public readonly containerId!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + public readonly hyperVGeneration!: pulumi.Output; + /** + * This is the gallery image definition identifier. + */ + public readonly identifier!: pulumi.Output; + /** + * location of the image the gallery image should be created from + */ + public readonly imagePath!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Operating system type that the gallery image uses [Windows, Linux] + */ + public readonly osType!: pulumi.Output; + /** + * Provisioning state of the gallery image. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Resource ID of the source virtual machine from whose OS disk the gallery image is created. + */ + public readonly sourceVirtualMachineId!: pulumi.Output; + /** + * The observed state of gallery images + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Specifies information about the gallery image version that you want to create or update. + */ + public readonly version!: pulumi.Output; + /** + * The credentials used to login to the image repository that has access to the specified image + */ + public readonly vmImageRepositoryCredentials!: pulumi.Output; + + /** + * Create a GalleryImage resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: GalleryImageArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.osType === undefined) && !opts.urn) { + throw new Error("Missing required property 'osType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["cloudInitDataSource"] = args ? args.cloudInitDataSource : undefined; + resourceInputs["containerId"] = args ? args.containerId : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["galleryImageName"] = args ? args.galleryImageName : undefined; + resourceInputs["hyperVGeneration"] = args ? args.hyperVGeneration : undefined; + resourceInputs["identifier"] = args ? args.identifier : undefined; + resourceInputs["imagePath"] = args ? args.imagePath : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["osType"] = args ? args.osType : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["sourceVirtualMachineId"] = args ? args.sourceVirtualMachineId : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["vmImageRepositoryCredentials"] = args ? args.vmImageRepositoryCredentials : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["cloudInitDataSource"] = undefined /*out*/; + resourceInputs["containerId"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["hyperVGeneration"] = undefined /*out*/; + resourceInputs["identifier"] = undefined /*out*/; + resourceInputs["imagePath"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sourceVirtualMachineId"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + resourceInputs["vmImageRepositoryCredentials"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:GalleryImage" }, { type: "azure-native:azurestackhci/v20210701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240101:GalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:GalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:GalleryImage" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GalleryImage.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GalleryImage resource. + */ +export interface GalleryImageArgs { + /** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ + cloudInitDataSource?: pulumi.Input; + /** + * Storage ContainerID of the storage container to be used for gallery image + */ + containerId?: pulumi.Input; + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * Name of the gallery image + */ + galleryImageName?: pulumi.Input; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + hyperVGeneration?: pulumi.Input; + /** + * This is the gallery image definition identifier. + */ + identifier?: pulumi.Input; + /** + * location of the image the gallery image should be created from + */ + imagePath?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Operating system type that the gallery image uses [Windows, Linux] + */ + osType: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource ID of the source virtual machine from whose OS disk the gallery image is created. + */ + sourceVirtualMachineId?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Specifies information about the gallery image version that you want to create or update. + */ + version?: pulumi.Input; + /** + * The credentials used to login to the image repository that has access to the specified image + */ + vmImageRepositoryCredentials?: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getGalleryImage.ts b/sdk/nodejs/azurestackhci/v20241001preview/getGalleryImage.ts new file mode 100644 index 000000000000..c27192c26ec5 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getGalleryImage.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a gallery image + */ +export function getGalleryImage(args: GetGalleryImageArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getGalleryImage", { + "galleryImageName": args.galleryImageName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGalleryImageArgs { + /** + * Name of the gallery image + */ + galleryImageName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The gallery images resource definition. + */ +export interface GetGalleryImageResult { + /** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ + readonly cloudInitDataSource?: string; + /** + * Storage ContainerID of the storage container to be used for gallery image + */ + readonly containerId?: string; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + readonly hyperVGeneration?: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * This is the gallery image definition identifier. + */ + readonly identifier?: outputs.azurestackhci.v20241001preview.GalleryImageIdentifierResponse; + /** + * location of the image the gallery image should be created from + */ + readonly imagePath?: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Operating system type that the gallery image uses [Windows, Linux] + */ + readonly osType: string; + /** + * Provisioning state of the gallery image. + */ + readonly provisioningState: string; + /** + * Resource ID of the source virtual machine from whose OS disk the gallery image is created. + */ + readonly sourceVirtualMachineId?: string; + /** + * The observed state of gallery images + */ + readonly status: outputs.azurestackhci.v20241001preview.GalleryImageStatusResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Specifies information about the gallery image version that you want to create or update. + */ + readonly version?: outputs.azurestackhci.v20241001preview.GalleryImageVersionResponse; + /** + * The credentials used to login to the image repository that has access to the specified image + */ + readonly vmImageRepositoryCredentials?: outputs.azurestackhci.v20241001preview.VmImageRepositoryCredentialsResponse; +} +/** + * Gets a gallery image + */ +export function getGalleryImageOutput(args: GetGalleryImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getGalleryImage", { + "galleryImageName": args.galleryImageName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetGalleryImageOutputArgs { + /** + * Name of the gallery image + */ + galleryImageName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getGuestAgent.ts b/sdk/nodejs/azurestackhci/v20241001preview/getGuestAgent.ts new file mode 100644 index 000000000000..e45ece35cd3f --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getGuestAgent.ts @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Implements GuestAgent GET method. + */ +export function getGuestAgent(args: GetGuestAgentArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getGuestAgent", { + "resourceUri": args.resourceUri, + }, opts); +} + +export interface GetGuestAgentArgs { + /** + * The fully qualified Azure Resource manager identifier of the resource. + */ + resourceUri: string; +} + +/** + * Defines the GuestAgent. + */ +export interface GetGuestAgentResult { + /** + * Username / Password Credentials to provision guest agent. + */ + readonly credentials?: outputs.azurestackhci.v20241001preview.GuestCredentialResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * The guest agent provisioning action. + */ + readonly provisioningAction?: string; + /** + * Provisioning state of the virtual machine instance. + */ + readonly provisioningState: string; + /** + * The guest agent status. + */ + readonly status: string; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Implements GuestAgent GET method. + */ +export function getGuestAgentOutput(args: GetGuestAgentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getGuestAgent", { + "resourceUri": args.resourceUri, + }, opts); +} + +export interface GetGuestAgentOutputArgs { + /** + * The fully qualified Azure Resource manager identifier of the resource. + */ + resourceUri: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getLogicalNetwork.ts b/sdk/nodejs/azurestackhci/v20241001preview/getLogicalNetwork.ts new file mode 100644 index 000000000000..ecab1e578b4b --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getLogicalNetwork.ts @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The operation to get a logical network. + */ +export function getLogicalNetwork(args: GetLogicalNetworkArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getLogicalNetwork", { + "logicalNetworkName": args.logicalNetworkName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetLogicalNetworkArgs { + /** + * Name of the logical network + */ + logicalNetworkName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The logical network resource definition. + */ +export interface GetLogicalNetworkResult { + /** + * DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + */ + readonly dhcpOptions?: outputs.azurestackhci.v20241001preview.LogicalNetworkPropertiesDhcpOptionsResponse; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Provisioning state of the logical network. + */ + readonly provisioningState: string; + /** + * The observed state of logical networks + */ + readonly status: outputs.azurestackhci.v20241001preview.LogicalNetworkStatusResponse; + /** + * Subnet - list of subnets under the logical network + */ + readonly subnets?: outputs.azurestackhci.v20241001preview.SubnetResponse[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * name of the network switch to be used for VMs + */ + readonly vmSwitchName?: string; +} +/** + * The operation to get a logical network. + */ +export function getLogicalNetworkOutput(args: GetLogicalNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getLogicalNetwork", { + "logicalNetworkName": args.logicalNetworkName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetLogicalNetworkOutputArgs { + /** + * Name of the logical network + */ + logicalNetworkName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getMarketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20241001preview/getMarketplaceGalleryImage.ts new file mode 100644 index 000000000000..f2d3fac41401 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getMarketplaceGalleryImage.ts @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a marketplace gallery image + */ +export function getMarketplaceGalleryImage(args: GetMarketplaceGalleryImageArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage", { + "marketplaceGalleryImageName": args.marketplaceGalleryImageName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMarketplaceGalleryImageArgs { + /** + * Name of the marketplace gallery image + */ + marketplaceGalleryImageName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The marketplace gallery image resource definition. + */ +export interface GetMarketplaceGalleryImageResult { + /** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ + readonly cloudInitDataSource?: string; + /** + * Storage ContainerID of the storage container to be used for marketplace gallery image + */ + readonly containerId?: string; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + readonly hyperVGeneration?: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * This is the gallery image definition identifier. + */ + readonly identifier?: outputs.azurestackhci.v20241001preview.GalleryImageIdentifierResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Operating system type that the gallery image uses [Windows, Linux] + */ + readonly osType: string; + /** + * Provisioning state of the marketplace gallery image. + */ + readonly provisioningState: string; + /** + * The observed state of marketplace gallery images + */ + readonly status: outputs.azurestackhci.v20241001preview.MarketplaceGalleryImageStatusResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Specifies information about the gallery image version that you want to create or update. + */ + readonly version?: outputs.azurestackhci.v20241001preview.GalleryImageVersionResponse; +} +/** + * Gets a marketplace gallery image + */ +export function getMarketplaceGalleryImageOutput(args: GetMarketplaceGalleryImageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage", { + "marketplaceGalleryImageName": args.marketplaceGalleryImageName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetMarketplaceGalleryImageOutputArgs { + /** + * Name of the marketplace gallery image + */ + marketplaceGalleryImageName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getNetworkInterface.ts b/sdk/nodejs/azurestackhci/v20241001preview/getNetworkInterface.ts new file mode 100644 index 000000000000..0debc8c755cb --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getNetworkInterface.ts @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a network interface + */ +export function getNetworkInterface(args: GetNetworkInterfaceArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getNetworkInterface", { + "networkInterfaceName": args.networkInterfaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNetworkInterfaceArgs { + /** + * Name of the network interface + */ + networkInterfaceName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * The network interface resource definition. + */ +export interface GetNetworkInterfaceResult { + /** + * DNS Settings for the interface + */ + readonly dnsSettings?: outputs.azurestackhci.v20241001preview.InterfaceDNSSettingsResponse; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * IPConfigurations - A list of IPConfigurations of the network interface. + */ + readonly ipConfigurations?: outputs.azurestackhci.v20241001preview.IPConfigurationResponse[]; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * MacAddress - The MAC address of the network interface. + */ + readonly macAddress?: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * NetworkSecurityGroup - Network Security Group attached to the network interface. + */ + readonly networkSecurityGroup?: outputs.azurestackhci.v20241001preview.NetworkSecurityGroupArmReferenceResponse; + /** + * Provisioning state of the network interface. + */ + readonly provisioningState: string; + /** + * The observed state of network interfaces + */ + readonly status: outputs.azurestackhci.v20241001preview.NetworkInterfaceStatusResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a network interface + */ +export function getNetworkInterfaceOutput(args: GetNetworkInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getNetworkInterface", { + "networkInterfaceName": args.networkInterfaceName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNetworkInterfaceOutputArgs { + /** + * Name of the network interface + */ + networkInterfaceName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getNetworkSecurityGroup.ts b/sdk/nodejs/azurestackhci/v20241001preview/getNetworkSecurityGroup.ts new file mode 100644 index 000000000000..4131e1316d31 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getNetworkSecurityGroup.ts @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the specified network security group. + */ +export function getNetworkSecurityGroup(args: GetNetworkSecurityGroupArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup", { + "networkSecurityGroupName": args.networkSecurityGroupName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNetworkSecurityGroupArgs { + /** + * Name of the network security group + */ + networkSecurityGroupName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; +} + +/** + * NetworkSecurityGroup resource. + */ +export interface GetNetworkSecurityGroupResult { + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + readonly eTag: string; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * A collection of references to network interfaces that are currently using this NSG. + */ + readonly networkInterfaces: outputs.azurestackhci.v20241001preview.NetworkInterfaceArmReferenceResponse[]; + /** + * The provisioning state of the network security group resource. + */ + readonly provisioningState: string; + /** + * A collection of references to logical networks that are currently using this NSG + */ + readonly subnets: outputs.azurestackhci.v20241001preview.LogicalNetworkArmReferenceResponse[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the specified network security group. + */ +export function getNetworkSecurityGroupOutput(args: GetNetworkSecurityGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup", { + "networkSecurityGroupName": args.networkSecurityGroupName, + "resourceGroupName": args.resourceGroupName, + }, opts); +} + +export interface GetNetworkSecurityGroupOutputArgs { + /** + * Name of the network security group + */ + networkSecurityGroupName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getSecurityRule.ts b/sdk/nodejs/azurestackhci/v20241001preview/getSecurityRule.ts new file mode 100644 index 000000000000..920bac152e97 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getSecurityRule.ts @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the specified security rule. + */ +export function getSecurityRule(args: GetSecurityRuleArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getSecurityRule", { + "networkSecurityGroupName": args.networkSecurityGroupName, + "resourceGroupName": args.resourceGroupName, + "securityRuleName": args.securityRuleName, + }, opts); +} + +export interface GetSecurityRuleArgs { + /** + * Name of the network security group + */ + networkSecurityGroupName: string; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Name of the security rule. + */ + securityRuleName: string; +} + +/** + * Security Rule resource. + */ +export interface GetSecurityRuleResult { + /** + * The network traffic is allowed or denied. + */ + readonly access: string; + /** + * A description for this rule. Restricted to 140 chars. + */ + readonly description?: string; + /** + * The destination address prefixes. CIDR or destination IP ranges. + */ + readonly destinationAddressPrefixes?: string[]; + /** + * The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + */ + readonly destinationPortRanges?: string[]; + /** + * The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + */ + readonly direction: string; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * 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. + */ + readonly priority: number; + /** + * Network protocol this rule applies to. + */ + readonly protocol: string; + /** + * Provisioning state of the SR + */ + readonly provisioningState: string; + /** + * The CIDR or source IP ranges. + */ + readonly sourceAddressPrefixes?: string[]; + /** + * The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + */ + readonly sourcePortRanges?: string[]; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the specified security rule. + */ +export function getSecurityRuleOutput(args: GetSecurityRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getSecurityRule", { + "networkSecurityGroupName": args.networkSecurityGroupName, + "resourceGroupName": args.resourceGroupName, + "securityRuleName": args.securityRuleName, + }, opts); +} + +export interface GetSecurityRuleOutputArgs { + /** + * Name of the network security group + */ + networkSecurityGroupName: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the security rule. + */ + securityRuleName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getStorageContainer.ts b/sdk/nodejs/azurestackhci/v20241001preview/getStorageContainer.ts new file mode 100644 index 000000000000..60bb0c9293b9 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getStorageContainer.ts @@ -0,0 +1,97 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a storage container + */ +export function getStorageContainer(args: GetStorageContainerArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getStorageContainer", { + "resourceGroupName": args.resourceGroupName, + "storageContainerName": args.storageContainerName, + }, opts); +} + +export interface GetStorageContainerArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Name of the storage container + */ + storageContainerName: string; +} + +/** + * The storage container resource definition. + */ +export interface GetStorageContainerResult { + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Path of the storage container on the disk + */ + readonly path: string; + /** + * Provisioning state of the storage container. + */ + readonly provisioningState: string; + /** + * The observed state of storage containers + */ + readonly status: outputs.azurestackhci.v20241001preview.StorageContainerStatusResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a storage container + */ +export function getStorageContainerOutput(args: GetStorageContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getStorageContainer", { + "resourceGroupName": args.resourceGroupName, + "storageContainerName": args.storageContainerName, + }, opts); +} + +export interface GetStorageContainerOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the storage container + */ + storageContainerName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getVirtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20241001preview/getVirtualHardDisk.ts new file mode 100644 index 000000000000..6dd413572d2b --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getVirtualHardDisk.ts @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a virtual hard disk + */ +export function getVirtualHardDisk(args: GetVirtualHardDiskArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getVirtualHardDisk", { + "resourceGroupName": args.resourceGroupName, + "virtualHardDiskName": args.virtualHardDiskName, + }, opts); +} + +export interface GetVirtualHardDiskArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: string; + /** + * Name of the virtual hard disk + */ + virtualHardDiskName: string; +} + +/** + * The virtual hard disk resource definition. + */ +export interface GetVirtualHardDiskResult { + /** + * Block size in bytes + */ + readonly blockSizeBytes?: number; + /** + * Storage ContainerID of the storage container to be used for VHD + */ + readonly containerId?: string; + /** + * The format of the actual VHD file [vhd, vhdx] + */ + readonly diskFileFormat?: string; + /** + * Size of the disk in GB + */ + readonly diskSizeGB?: number; + /** + * URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + */ + readonly downloadUrl?: string; + /** + * Boolean for enabling dynamic sizing on the virtual hard disk + */ + readonly dynamic?: boolean; + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + readonly hyperVGeneration?: string; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * Logical sector in bytes + */ + readonly logicalSectorBytes?: number; + /** + * The name of the resource + */ + readonly name: string; + /** + * Physical sector in bytes + */ + readonly physicalSectorBytes?: number; + /** + * Provisioning state of the virtual hard disk. + */ + readonly provisioningState: string; + /** + * The observed state of virtual hard disks + */ + readonly status: outputs.azurestackhci.v20241001preview.VirtualHardDiskStatusResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets a virtual hard disk + */ +export function getVirtualHardDiskOutput(args: GetVirtualHardDiskOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getVirtualHardDisk", { + "resourceGroupName": args.resourceGroupName, + "virtualHardDiskName": args.virtualHardDiskName, + }, opts); +} + +export interface GetVirtualHardDiskOutputArgs { + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the virtual hard disk + */ + virtualHardDiskName: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/getVirtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20241001preview/getVirtualMachineInstance.ts new file mode 100644 index 000000000000..fdaa09f37ae9 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/getVirtualMachineInstance.ts @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets a virtual machine instance + */ +export function getVirtualMachineInstance(args: GetVirtualMachineInstanceArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance", { + "resourceUri": args.resourceUri, + }, opts); +} + +export interface GetVirtualMachineInstanceArgs { + /** + * The fully qualified Azure Resource manager identifier of the resource. + */ + resourceUri: string; +} + +/** + * The virtual machine instance resource definition. + */ +export interface GetVirtualMachineInstanceResult { + /** + * The extendedLocation of the resource. + */ + readonly extendedLocation?: outputs.azurestackhci.v20241001preview.ExtendedLocationResponse; + /** + * Guest agent install status. + */ + readonly guestAgentInstallStatus?: outputs.azurestackhci.v20241001preview.GuestAgentInstallStatusResponse; + /** + * HardwareProfile - Specifies the hardware settings for the virtual machine instance. + */ + readonly hardwareProfile?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesHardwareProfileResponse; + /** + * HTTP Proxy configuration for the VM. + */ + readonly httpProxyConfig?: outputs.azurestackhci.v20241001preview.HttpProxyConfigurationResponse; + /** + * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + */ + readonly id: string; + /** + * The managed service identities assigned to this resource. + */ + readonly identity?: outputs.azurestackhci.v20241001preview.ManagedServiceIdentityResponse; + /** + * The virtual machine instance view. + */ + readonly instanceView: outputs.azurestackhci.v20241001preview.VirtualMachineInstanceViewResponse; + /** + * The name of the resource + */ + readonly name: string; + /** + * NetworkProfile - describes the network configuration the virtual machine instance + */ + readonly networkProfile?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesNetworkProfileResponse; + /** + * OsProfile - describes the configuration of the operating system and sets login data + */ + readonly osProfile?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesOsProfileResponse; + /** + * Provisioning state of the virtual machine instance. + */ + readonly provisioningState: string; + /** + * Unique identifier defined by ARC to identify the guest of the VM. + */ + readonly resourceUid?: string; + /** + * SecurityProfile - Specifies the security settings for the virtual machine instance. + */ + readonly securityProfile?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesSecurityProfileResponse; + /** + * The observed state of virtual machine instances + */ + readonly status: outputs.azurestackhci.v20241001preview.VirtualMachineInstanceStatusResponse; + /** + * StorageProfile - contains information about the disks and storage information for the virtual machine instance + */ + readonly storageProfile?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesStorageProfileResponse; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.azurestackhci.v20241001preview.SystemDataResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Unique identifier for the vm resource. + */ + readonly vmId: string; +} +/** + * Gets a virtual machine instance + */ +export function getVirtualMachineInstanceOutput(args: GetVirtualMachineInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance", { + "resourceUri": args.resourceUri, + }, opts); +} + +export interface GetVirtualMachineInstanceOutputArgs { + /** + * The fully qualified Azure Resource manager identifier of the resource. + */ + resourceUri: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/guestAgent.ts b/sdk/nodejs/azurestackhci/v20241001preview/guestAgent.ts new file mode 100644 index 000000000000..60d42f43e1bc --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/guestAgent.ts @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Defines the GuestAgent. + */ +export class GuestAgent extends pulumi.CustomResource { + /** + * Get an existing GuestAgent resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): GuestAgent { + return new GuestAgent(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:GuestAgent'; + + /** + * Returns true if the given object is an instance of GuestAgent. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is GuestAgent { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === GuestAgent.__pulumiType; + } + + /** + * Username / Password Credentials to provision guest agent. + */ + public readonly credentials!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * The guest agent provisioning action. + */ + public readonly provisioningAction!: pulumi.Output; + /** + * Provisioning state of the virtual machine instance. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The guest agent status. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a GuestAgent resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: GuestAgentArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceUri === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceUri'"); + } + resourceInputs["credentials"] = args ? args.credentials : undefined; + resourceInputs["provisioningAction"] = args ? args.provisioningAction : undefined; + resourceInputs["resourceUri"] = args ? args.resourceUri : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["credentials"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningAction"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20230901preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240101:GuestAgent" }, { type: "azure-native:azurestackhci/v20240201preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240501preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240715preview:GuestAgent" }, { type: "azure-native:azurestackhci/v20240801preview:GuestAgent" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(GuestAgent.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a GuestAgent resource. + */ +export interface GuestAgentArgs { + /** + * Username / Password Credentials to provision guest agent. + */ + credentials?: pulumi.Input; + /** + * The guest agent provisioning action. + */ + provisioningAction?: pulumi.Input; + /** + * The fully qualified Azure Resource manager identifier of the resource. + */ + resourceUri: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/index.ts b/sdk/nodejs/azurestackhci/v20241001preview/index.ts new file mode 100644 index 000000000000..1ba09d28420f --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/index.ts @@ -0,0 +1,141 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { GalleryImageArgs } from "./galleryImage"; +export type GalleryImage = import("./galleryImage").GalleryImage; +export const GalleryImage: typeof import("./galleryImage").GalleryImage = null as any; +utilities.lazyLoad(exports, ["GalleryImage"], () => require("./galleryImage")); + +export { GetGalleryImageArgs, GetGalleryImageResult, GetGalleryImageOutputArgs } from "./getGalleryImage"; +export const getGalleryImage: typeof import("./getGalleryImage").getGalleryImage = null as any; +export const getGalleryImageOutput: typeof import("./getGalleryImage").getGalleryImageOutput = null as any; +utilities.lazyLoad(exports, ["getGalleryImage","getGalleryImageOutput"], () => require("./getGalleryImage")); + +export { GetGuestAgentArgs, GetGuestAgentResult, GetGuestAgentOutputArgs } from "./getGuestAgent"; +export const getGuestAgent: typeof import("./getGuestAgent").getGuestAgent = null as any; +export const getGuestAgentOutput: typeof import("./getGuestAgent").getGuestAgentOutput = null as any; +utilities.lazyLoad(exports, ["getGuestAgent","getGuestAgentOutput"], () => require("./getGuestAgent")); + +export { GetLogicalNetworkArgs, GetLogicalNetworkResult, GetLogicalNetworkOutputArgs } from "./getLogicalNetwork"; +export const getLogicalNetwork: typeof import("./getLogicalNetwork").getLogicalNetwork = null as any; +export const getLogicalNetworkOutput: typeof import("./getLogicalNetwork").getLogicalNetworkOutput = null as any; +utilities.lazyLoad(exports, ["getLogicalNetwork","getLogicalNetworkOutput"], () => require("./getLogicalNetwork")); + +export { GetMarketplaceGalleryImageArgs, GetMarketplaceGalleryImageResult, GetMarketplaceGalleryImageOutputArgs } from "./getMarketplaceGalleryImage"; +export const getMarketplaceGalleryImage: typeof import("./getMarketplaceGalleryImage").getMarketplaceGalleryImage = null as any; +export const getMarketplaceGalleryImageOutput: typeof import("./getMarketplaceGalleryImage").getMarketplaceGalleryImageOutput = null as any; +utilities.lazyLoad(exports, ["getMarketplaceGalleryImage","getMarketplaceGalleryImageOutput"], () => require("./getMarketplaceGalleryImage")); + +export { GetNetworkInterfaceArgs, GetNetworkInterfaceResult, GetNetworkInterfaceOutputArgs } from "./getNetworkInterface"; +export const getNetworkInterface: typeof import("./getNetworkInterface").getNetworkInterface = null as any; +export const getNetworkInterfaceOutput: typeof import("./getNetworkInterface").getNetworkInterfaceOutput = null as any; +utilities.lazyLoad(exports, ["getNetworkInterface","getNetworkInterfaceOutput"], () => require("./getNetworkInterface")); + +export { GetNetworkSecurityGroupArgs, GetNetworkSecurityGroupResult, GetNetworkSecurityGroupOutputArgs } from "./getNetworkSecurityGroup"; +export const getNetworkSecurityGroup: typeof import("./getNetworkSecurityGroup").getNetworkSecurityGroup = null as any; +export const getNetworkSecurityGroupOutput: typeof import("./getNetworkSecurityGroup").getNetworkSecurityGroupOutput = null as any; +utilities.lazyLoad(exports, ["getNetworkSecurityGroup","getNetworkSecurityGroupOutput"], () => require("./getNetworkSecurityGroup")); + +export { GetSecurityRuleArgs, GetSecurityRuleResult, GetSecurityRuleOutputArgs } from "./getSecurityRule"; +export const getSecurityRule: typeof import("./getSecurityRule").getSecurityRule = null as any; +export const getSecurityRuleOutput: typeof import("./getSecurityRule").getSecurityRuleOutput = null as any; +utilities.lazyLoad(exports, ["getSecurityRule","getSecurityRuleOutput"], () => require("./getSecurityRule")); + +export { GetStorageContainerArgs, GetStorageContainerResult, GetStorageContainerOutputArgs } from "./getStorageContainer"; +export const getStorageContainer: typeof import("./getStorageContainer").getStorageContainer = null as any; +export const getStorageContainerOutput: typeof import("./getStorageContainer").getStorageContainerOutput = null as any; +utilities.lazyLoad(exports, ["getStorageContainer","getStorageContainerOutput"], () => require("./getStorageContainer")); + +export { GetVirtualHardDiskArgs, GetVirtualHardDiskResult, GetVirtualHardDiskOutputArgs } from "./getVirtualHardDisk"; +export const getVirtualHardDisk: typeof import("./getVirtualHardDisk").getVirtualHardDisk = null as any; +export const getVirtualHardDiskOutput: typeof import("./getVirtualHardDisk").getVirtualHardDiskOutput = null as any; +utilities.lazyLoad(exports, ["getVirtualHardDisk","getVirtualHardDiskOutput"], () => require("./getVirtualHardDisk")); + +export { GetVirtualMachineInstanceArgs, GetVirtualMachineInstanceResult, GetVirtualMachineInstanceOutputArgs } from "./getVirtualMachineInstance"; +export const getVirtualMachineInstance: typeof import("./getVirtualMachineInstance").getVirtualMachineInstance = null as any; +export const getVirtualMachineInstanceOutput: typeof import("./getVirtualMachineInstance").getVirtualMachineInstanceOutput = null as any; +utilities.lazyLoad(exports, ["getVirtualMachineInstance","getVirtualMachineInstanceOutput"], () => require("./getVirtualMachineInstance")); + +export { GuestAgentArgs } from "./guestAgent"; +export type GuestAgent = import("./guestAgent").GuestAgent; +export const GuestAgent: typeof import("./guestAgent").GuestAgent = null as any; +utilities.lazyLoad(exports, ["GuestAgent"], () => require("./guestAgent")); + +export { LogicalNetworkArgs } from "./logicalNetwork"; +export type LogicalNetwork = import("./logicalNetwork").LogicalNetwork; +export const LogicalNetwork: typeof import("./logicalNetwork").LogicalNetwork = null as any; +utilities.lazyLoad(exports, ["LogicalNetwork"], () => require("./logicalNetwork")); + +export { MarketplaceGalleryImageArgs } from "./marketplaceGalleryImage"; +export type MarketplaceGalleryImage = import("./marketplaceGalleryImage").MarketplaceGalleryImage; +export const MarketplaceGalleryImage: typeof import("./marketplaceGalleryImage").MarketplaceGalleryImage = null as any; +utilities.lazyLoad(exports, ["MarketplaceGalleryImage"], () => require("./marketplaceGalleryImage")); + +export { NetworkInterfaceArgs } from "./networkInterface"; +export type NetworkInterface = import("./networkInterface").NetworkInterface; +export const NetworkInterface: typeof import("./networkInterface").NetworkInterface = null as any; +utilities.lazyLoad(exports, ["NetworkInterface"], () => require("./networkInterface")); + +export { NetworkSecurityGroupArgs } from "./networkSecurityGroup"; +export type NetworkSecurityGroup = import("./networkSecurityGroup").NetworkSecurityGroup; +export const NetworkSecurityGroup: typeof import("./networkSecurityGroup").NetworkSecurityGroup = null as any; +utilities.lazyLoad(exports, ["NetworkSecurityGroup"], () => require("./networkSecurityGroup")); + +export { SecurityRuleArgs } from "./securityRule"; +export type SecurityRule = import("./securityRule").SecurityRule; +export const SecurityRule: typeof import("./securityRule").SecurityRule = null as any; +utilities.lazyLoad(exports, ["SecurityRule"], () => require("./securityRule")); + +export { StorageContainerArgs } from "./storageContainer"; +export type StorageContainer = import("./storageContainer").StorageContainer; +export const StorageContainer: typeof import("./storageContainer").StorageContainer = null as any; +utilities.lazyLoad(exports, ["StorageContainer"], () => require("./storageContainer")); + +export { VirtualHardDiskArgs } from "./virtualHardDisk"; +export type VirtualHardDisk = import("./virtualHardDisk").VirtualHardDisk; +export const VirtualHardDisk: typeof import("./virtualHardDisk").VirtualHardDisk = null as any; +utilities.lazyLoad(exports, ["VirtualHardDisk"], () => require("./virtualHardDisk")); + +export { VirtualMachineInstanceArgs } from "./virtualMachineInstance"; +export type VirtualMachineInstance = import("./virtualMachineInstance").VirtualMachineInstance; +export const VirtualMachineInstance: typeof import("./virtualMachineInstance").VirtualMachineInstance = null as any; +utilities.lazyLoad(exports, ["VirtualMachineInstance"], () => require("./virtualMachineInstance")); + + +// Export enums: +export * from "../../types/enums/azurestackhci/v20241001preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:azurestackhci/v20241001preview:GalleryImage": + return new GalleryImage(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:GuestAgent": + return new GuestAgent(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:LogicalNetwork": + return new LogicalNetwork(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage": + return new MarketplaceGalleryImage(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:NetworkInterface": + return new NetworkInterface(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup": + return new NetworkSecurityGroup(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:SecurityRule": + return new SecurityRule(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:StorageContainer": + return new StorageContainer(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:VirtualHardDisk": + return new VirtualHardDisk(name, undefined, { urn }) + case "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance": + return new VirtualMachineInstance(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "azurestackhci/v20241001preview", _module) diff --git a/sdk/nodejs/azurestackhci/v20241001preview/logicalNetwork.ts b/sdk/nodejs/azurestackhci/v20241001preview/logicalNetwork.ts new file mode 100644 index 000000000000..7f81caca0b7a --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/logicalNetwork.ts @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The logical network resource definition. + */ +export class LogicalNetwork extends pulumi.CustomResource { + /** + * Get an existing LogicalNetwork resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): LogicalNetwork { + return new LogicalNetwork(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:LogicalNetwork'; + + /** + * Returns true if the given object is an instance of LogicalNetwork. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is LogicalNetwork { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === LogicalNetwork.__pulumiType; + } + + /** + * DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + */ + public readonly dhcpOptions!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Provisioning state of the logical network. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The observed state of logical networks + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Subnet - list of subnets under the logical network + */ + public readonly subnets!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * name of the network switch to be used for VMs + */ + public readonly vmSwitchName!: pulumi.Output; + + /** + * Create a LogicalNetwork resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: LogicalNetworkArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["dhcpOptions"] = args ? args.dhcpOptions : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["logicalNetworkName"] = args ? args.logicalNetworkName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["subnets"] = args ? args.subnets : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["vmSwitchName"] = args ? args.vmSwitchName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dhcpOptions"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["subnets"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["vmSwitchName"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20230901preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240101:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240201preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240501preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240715preview:LogicalNetwork" }, { type: "azure-native:azurestackhci/v20240801preview:LogicalNetwork" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(LogicalNetwork.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a LogicalNetwork resource. + */ +export interface LogicalNetworkArgs { + /** + * DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + */ + dhcpOptions?: pulumi.Input; + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Name of the logical network + */ + logicalNetworkName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Subnet - list of subnets under the logical network + */ + subnets?: pulumi.Input[]>; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * name of the network switch to be used for VMs + */ + vmSwitchName?: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/marketplaceGalleryImage.ts b/sdk/nodejs/azurestackhci/v20241001preview/marketplaceGalleryImage.ts new file mode 100644 index 000000000000..74cfa2dbb430 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/marketplaceGalleryImage.ts @@ -0,0 +1,201 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The marketplace gallery image resource definition. + */ +export class MarketplaceGalleryImage extends pulumi.CustomResource { + /** + * Get an existing MarketplaceGalleryImage resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): MarketplaceGalleryImage { + return new MarketplaceGalleryImage(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage'; + + /** + * Returns true if the given object is an instance of MarketplaceGalleryImage. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is MarketplaceGalleryImage { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MarketplaceGalleryImage.__pulumiType; + } + + /** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ + public readonly cloudInitDataSource!: pulumi.Output; + /** + * Storage ContainerID of the storage container to be used for marketplace gallery image + */ + public readonly containerId!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + public readonly hyperVGeneration!: pulumi.Output; + /** + * This is the gallery image definition identifier. + */ + public readonly identifier!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Operating system type that the gallery image uses [Windows, Linux] + */ + public readonly osType!: pulumi.Output; + /** + * Provisioning state of the marketplace gallery image. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The observed state of marketplace gallery images + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Specifies information about the gallery image version that you want to create or update. + */ + public readonly version!: pulumi.Output; + + /** + * Create a MarketplaceGalleryImage resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: MarketplaceGalleryImageArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.osType === undefined) && !opts.urn) { + throw new Error("Missing required property 'osType'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["cloudInitDataSource"] = args ? args.cloudInitDataSource : undefined; + resourceInputs["containerId"] = args ? args.containerId : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["hyperVGeneration"] = args ? args.hyperVGeneration : undefined; + resourceInputs["identifier"] = args ? args.identifier : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["marketplaceGalleryImageName"] = args ? args.marketplaceGalleryImageName : undefined; + resourceInputs["osType"] = args ? args.osType : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["version"] = args ? args.version : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["cloudInitDataSource"] = undefined /*out*/; + resourceInputs["containerId"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["hyperVGeneration"] = undefined /*out*/; + resourceInputs["identifier"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["osType"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["version"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240101:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage" }, { type: "azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(MarketplaceGalleryImage.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a MarketplaceGalleryImage resource. + */ +export interface MarketplaceGalleryImageArgs { + /** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ + cloudInitDataSource?: pulumi.Input; + /** + * Storage ContainerID of the storage container to be used for marketplace gallery image + */ + containerId?: pulumi.Input; + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + hyperVGeneration?: pulumi.Input; + /** + * This is the gallery image definition identifier. + */ + identifier?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Name of the marketplace gallery image + */ + marketplaceGalleryImageName?: pulumi.Input; + /** + * Operating system type that the gallery image uses [Windows, Linux] + */ + osType: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Specifies information about the gallery image version that you want to create or update. + */ + version?: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/networkInterface.ts b/sdk/nodejs/azurestackhci/v20241001preview/networkInterface.ts new file mode 100644 index 000000000000..ba1d4e61b3eb --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/networkInterface.ts @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The network interface resource definition. + */ +export class NetworkInterface extends pulumi.CustomResource { + /** + * Get an existing NetworkInterface resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NetworkInterface { + return new NetworkInterface(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:NetworkInterface'; + + /** + * Returns true if the given object is an instance of NetworkInterface. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is NetworkInterface { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === NetworkInterface.__pulumiType; + } + + /** + * DNS Settings for the interface + */ + public readonly dnsSettings!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * IPConfigurations - A list of IPConfigurations of the network interface. + */ + public readonly ipConfigurations!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * MacAddress - The MAC address of the network interface. + */ + public readonly macAddress!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * NetworkSecurityGroup - Network Security Group attached to the network interface. + */ + public readonly networkSecurityGroup!: pulumi.Output; + /** + * Provisioning state of the network interface. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The observed state of network interfaces + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a NetworkInterface resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: NetworkInterfaceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["dnsSettings"] = args ? args.dnsSettings : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["ipConfigurations"] = args ? args.ipConfigurations : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["macAddress"] = args ? args.macAddress : undefined; + resourceInputs["networkInterfaceName"] = args ? args.networkInterfaceName : undefined; + resourceInputs["networkSecurityGroup"] = args ? args.networkSecurityGroup : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["dnsSettings"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["ipConfigurations"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["macAddress"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkSecurityGroup"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20210901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20221215preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230701preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20230901preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240101:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkInterface" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkInterface" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(NetworkInterface.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a NetworkInterface resource. + */ +export interface NetworkInterfaceArgs { + /** + * DNS Settings for the interface + */ + dnsSettings?: pulumi.Input; + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * IPConfigurations - A list of IPConfigurations of the network interface. + */ + ipConfigurations?: pulumi.Input[]>; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * MacAddress - The MAC address of the network interface. + */ + macAddress?: pulumi.Input; + /** + * Name of the network interface + */ + networkInterfaceName?: pulumi.Input; + /** + * NetworkSecurityGroup - Network Security Group attached to the network interface. + */ + networkSecurityGroup?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/networkSecurityGroup.ts b/sdk/nodejs/azurestackhci/v20241001preview/networkSecurityGroup.ts new file mode 100644 index 000000000000..9cac5475c7b6 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/networkSecurityGroup.ts @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * NetworkSecurityGroup resource. + */ +export class NetworkSecurityGroup extends pulumi.CustomResource { + /** + * Get an existing NetworkSecurityGroup resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): NetworkSecurityGroup { + return new NetworkSecurityGroup(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup'; + + /** + * Returns true if the given object is an instance of NetworkSecurityGroup. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is NetworkSecurityGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === NetworkSecurityGroup.__pulumiType; + } + + /** + * If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * A collection of references to network interfaces that are currently using this NSG. + */ + public /*out*/ readonly networkInterfaces!: pulumi.Output; + /** + * The provisioning state of the network security group resource. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * A collection of references to logical networks that are currently using this NSG + */ + public /*out*/ readonly subnets!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a NetworkSecurityGroup resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: NetworkSecurityGroupArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["networkSecurityGroupName"] = args ? args.networkSecurityGroupName : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkInterfaces"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["subnets"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkInterfaces"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["subnets"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup" }, { type: "azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(NetworkSecurityGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a NetworkSecurityGroup resource. + */ +export interface NetworkSecurityGroupArgs { + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Name of the network security group + */ + networkSecurityGroupName?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/securityRule.ts b/sdk/nodejs/azurestackhci/v20241001preview/securityRule.ts new file mode 100644 index 000000000000..2856768f8a22 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/securityRule.ts @@ -0,0 +1,222 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Security Rule resource. + */ +export class SecurityRule extends pulumi.CustomResource { + /** + * Get an existing SecurityRule resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SecurityRule { + return new SecurityRule(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:SecurityRule'; + + /** + * Returns true if the given object is an instance of SecurityRule. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SecurityRule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SecurityRule.__pulumiType; + } + + /** + * The network traffic is allowed or denied. + */ + public readonly access!: pulumi.Output; + /** + * A description for this rule. Restricted to 140 chars. + */ + public readonly description!: pulumi.Output; + /** + * The destination address prefixes. CIDR or destination IP ranges. + */ + public readonly destinationAddressPrefixes!: pulumi.Output; + /** + * The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + */ + public readonly destinationPortRanges!: pulumi.Output; + /** + * The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + */ + public readonly direction!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * 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. + */ + public readonly priority!: pulumi.Output; + /** + * Network protocol this rule applies to. + */ + public readonly protocol!: pulumi.Output; + /** + * Provisioning state of the SR + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The CIDR or source IP ranges. + */ + public readonly sourceAddressPrefixes!: pulumi.Output; + /** + * The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + */ + public readonly sourcePortRanges!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SecurityRule resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: SecurityRuleArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.access === undefined) && !opts.urn) { + throw new Error("Missing required property 'access'"); + } + if ((!args || args.direction === undefined) && !opts.urn) { + throw new Error("Missing required property 'direction'"); + } + if ((!args || args.networkSecurityGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'networkSecurityGroupName'"); + } + if ((!args || args.priority === undefined) && !opts.urn) { + throw new Error("Missing required property 'priority'"); + } + if ((!args || args.protocol === undefined) && !opts.urn) { + throw new Error("Missing required property 'protocol'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["access"] = args ? args.access : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["destinationAddressPrefixes"] = args ? args.destinationAddressPrefixes : undefined; + resourceInputs["destinationPortRanges"] = args ? args.destinationPortRanges : undefined; + resourceInputs["direction"] = args ? args.direction : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["networkSecurityGroupName"] = args ? args.networkSecurityGroupName : undefined; + resourceInputs["priority"] = args ? args.priority : undefined; + resourceInputs["protocol"] = args ? args.protocol : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["securityRuleName"] = args ? args.securityRuleName : undefined; + resourceInputs["sourceAddressPrefixes"] = args ? args.sourceAddressPrefixes : undefined; + resourceInputs["sourcePortRanges"] = args ? args.sourcePortRanges : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["access"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["destinationAddressPrefixes"] = undefined /*out*/; + resourceInputs["destinationPortRanges"] = undefined /*out*/; + resourceInputs["direction"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["priority"] = undefined /*out*/; + resourceInputs["protocol"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["sourceAddressPrefixes"] = undefined /*out*/; + resourceInputs["sourcePortRanges"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:SecurityRule" }, { type: "azure-native:azurestackhci/v20240201preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240501preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240715preview:SecurityRule" }, { type: "azure-native:azurestackhci/v20240801preview:SecurityRule" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SecurityRule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SecurityRule resource. + */ +export interface SecurityRuleArgs { + /** + * The network traffic is allowed or denied. + */ + access: pulumi.Input; + /** + * A description for this rule. Restricted to 140 chars. + */ + description?: pulumi.Input; + /** + * The destination address prefixes. CIDR or destination IP ranges. + */ + destinationAddressPrefixes?: pulumi.Input[]>; + /** + * The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + */ + destinationPortRanges?: pulumi.Input[]>; + /** + * The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + */ + direction: pulumi.Input; + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * Name of the network security group + */ + networkSecurityGroupName: pulumi.Input; + /** + * 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. + */ + priority: pulumi.Input; + /** + * Network protocol this rule applies to. + */ + protocol: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the security rule. + */ + securityRuleName?: pulumi.Input; + /** + * The CIDR or source IP ranges. + */ + sourceAddressPrefixes?: pulumi.Input[]>; + /** + * The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + */ + sourcePortRanges?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/storageContainer.ts b/sdk/nodejs/azurestackhci/v20241001preview/storageContainer.ts new file mode 100644 index 000000000000..f0ca9e4cc750 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/storageContainer.ts @@ -0,0 +1,151 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The storage container resource definition. + */ +export class StorageContainer extends pulumi.CustomResource { + /** + * Get an existing StorageContainer resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): StorageContainer { + return new StorageContainer(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:StorageContainer'; + + /** + * Returns true if the given object is an instance of StorageContainer. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is StorageContainer { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === StorageContainer.__pulumiType; + } + + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Path of the storage container on the disk + */ + public readonly path!: pulumi.Output; + /** + * Provisioning state of the storage container. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The observed state of storage containers + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a StorageContainer resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: StorageContainerArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.path === undefined) && !opts.urn) { + throw new Error("Missing required property 'path'"); + } + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["path"] = args ? args.path : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["storageContainerName"] = args ? args.storageContainerName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["path"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:StorageContainer" }, { type: "azure-native:azurestackhci/v20210901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20221215preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230701preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20230901preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240101:StorageContainer" }, { type: "azure-native:azurestackhci/v20240201preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240501preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240715preview:StorageContainer" }, { type: "azure-native:azurestackhci/v20240801preview:StorageContainer" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(StorageContainer.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a StorageContainer resource. + */ +export interface StorageContainerArgs { + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Path of the storage container on the disk + */ + path: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Name of the storage container + */ + storageContainerName?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/v20241001preview/virtualHardDisk.ts new file mode 100644 index 000000000000..5278093cdce0 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/virtualHardDisk.ts @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The virtual hard disk resource definition. + */ +export class VirtualHardDisk extends pulumi.CustomResource { + /** + * Get an existing VirtualHardDisk resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VirtualHardDisk { + return new VirtualHardDisk(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:VirtualHardDisk'; + + /** + * Returns true if the given object is an instance of VirtualHardDisk. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is VirtualHardDisk { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VirtualHardDisk.__pulumiType; + } + + /** + * Block size in bytes + */ + public readonly blockSizeBytes!: pulumi.Output; + /** + * Storage ContainerID of the storage container to be used for VHD + */ + public readonly containerId!: pulumi.Output; + /** + * The format of the actual VHD file [vhd, vhdx] + */ + public readonly diskFileFormat!: pulumi.Output; + /** + * Size of the disk in GB + */ + public readonly diskSizeGB!: pulumi.Output; + /** + * URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + */ + public readonly downloadUrl!: pulumi.Output; + /** + * Boolean for enabling dynamic sizing on the virtual hard disk + */ + public readonly dynamic!: pulumi.Output; + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + public readonly hyperVGeneration!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * Logical sector in bytes + */ + public readonly logicalSectorBytes!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Physical sector in bytes + */ + public readonly physicalSectorBytes!: pulumi.Output; + /** + * Provisioning state of the virtual hard disk. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * The observed state of virtual hard disks + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a VirtualHardDisk resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: VirtualHardDiskArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["blockSizeBytes"] = args ? args.blockSizeBytes : undefined; + resourceInputs["containerId"] = args ? args.containerId : undefined; + resourceInputs["diskFileFormat"] = args ? args.diskFileFormat : undefined; + resourceInputs["diskSizeGB"] = args ? args.diskSizeGB : undefined; + resourceInputs["downloadUrl"] = args ? args.downloadUrl : undefined; + resourceInputs["dynamic"] = args ? args.dynamic : undefined; + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["hyperVGeneration"] = args ? args.hyperVGeneration : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["logicalSectorBytes"] = args ? args.logicalSectorBytes : undefined; + resourceInputs["physicalSectorBytes"] = args ? args.physicalSectorBytes : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["virtualHardDiskName"] = args ? args.virtualHardDiskName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["blockSizeBytes"] = undefined /*out*/; + resourceInputs["containerId"] = undefined /*out*/; + resourceInputs["diskFileFormat"] = undefined /*out*/; + resourceInputs["diskSizeGB"] = undefined /*out*/; + resourceInputs["downloadUrl"] = undefined /*out*/; + resourceInputs["dynamic"] = undefined /*out*/; + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["hyperVGeneration"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["logicalSectorBytes"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["physicalSectorBytes"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VirtualHardDisk resource. + */ +export interface VirtualHardDiskArgs { + /** + * Block size in bytes + */ + blockSizeBytes?: pulumi.Input; + /** + * Storage ContainerID of the storage container to be used for VHD + */ + containerId?: pulumi.Input; + /** + * The format of the actual VHD file [vhd, vhdx] + */ + diskFileFormat?: pulumi.Input; + /** + * Size of the disk in GB + */ + diskSizeGB?: pulumi.Input; + /** + * URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + */ + downloadUrl?: pulumi.Input; + /** + * Boolean for enabling dynamic sizing on the virtual hard disk + */ + dynamic?: pulumi.Input; + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ + hyperVGeneration?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Logical sector in bytes + */ + logicalSectorBytes?: pulumi.Input; + /** + * Physical sector in bytes + */ + physicalSectorBytes?: pulumi.Input; + /** + * The name of the resource group. The name is case insensitive. + */ + resourceGroupName: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Name of the virtual hard disk + */ + virtualHardDiskName?: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/v20241001preview/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/v20241001preview/virtualMachineInstance.ts new file mode 100644 index 000000000000..dc735ee35cc8 --- /dev/null +++ b/sdk/nodejs/azurestackhci/v20241001preview/virtualMachineInstance.ts @@ -0,0 +1,211 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * The virtual machine instance resource definition. + */ +export class VirtualMachineInstance extends pulumi.CustomResource { + /** + * Get an existing VirtualMachineInstance resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VirtualMachineInstance { + return new VirtualMachineInstance(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:azurestackhci/v20241001preview:VirtualMachineInstance'; + + /** + * Returns true if the given object is an instance of VirtualMachineInstance. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is VirtualMachineInstance { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === VirtualMachineInstance.__pulumiType; + } + + /** + * The extendedLocation of the resource. + */ + public readonly extendedLocation!: pulumi.Output; + /** + * Guest agent install status. + */ + public /*out*/ readonly guestAgentInstallStatus!: pulumi.Output; + /** + * HardwareProfile - Specifies the hardware settings for the virtual machine instance. + */ + public readonly hardwareProfile!: pulumi.Output; + /** + * HTTP Proxy configuration for the VM. + */ + public readonly httpProxyConfig!: pulumi.Output; + /** + * The managed service identities assigned to this resource. + */ + public readonly identity!: pulumi.Output; + /** + * The virtual machine instance view. + */ + public /*out*/ readonly instanceView!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * NetworkProfile - describes the network configuration the virtual machine instance + */ + public readonly networkProfile!: pulumi.Output; + /** + * OsProfile - describes the configuration of the operating system and sets login data + */ + public readonly osProfile!: pulumi.Output; + /** + * Provisioning state of the virtual machine instance. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * Unique identifier defined by ARC to identify the guest of the VM. + */ + public readonly resourceUid!: pulumi.Output; + /** + * SecurityProfile - Specifies the security settings for the virtual machine instance. + */ + public readonly securityProfile!: pulumi.Output; + /** + * The observed state of virtual machine instances + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * StorageProfile - contains information about the disks and storage information for the virtual machine instance + */ + public readonly storageProfile!: pulumi.Output; + /** + * Azure Resource Manager metadata containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Unique identifier for the vm resource. + */ + public /*out*/ readonly vmId!: pulumi.Output; + + /** + * Create a VirtualMachineInstance resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: VirtualMachineInstanceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceUri === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceUri'"); + } + resourceInputs["extendedLocation"] = args ? args.extendedLocation : undefined; + resourceInputs["hardwareProfile"] = args ? (args.hardwareProfile ? pulumi.output(args.hardwareProfile).apply(inputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesHardwareProfileArgsProvideDefaults) : undefined) : undefined; + resourceInputs["httpProxyConfig"] = args ? args.httpProxyConfig : undefined; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["networkProfile"] = args ? args.networkProfile : undefined; + resourceInputs["osProfile"] = args ? (args.osProfile ? pulumi.output(args.osProfile).apply(inputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesOsProfileArgsProvideDefaults) : undefined) : undefined; + resourceInputs["resourceUid"] = args ? args.resourceUid : undefined; + resourceInputs["resourceUri"] = args ? args.resourceUri : undefined; + resourceInputs["securityProfile"] = args ? (args.securityProfile ? pulumi.output(args.securityProfile).apply(inputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesSecurityProfileArgsProvideDefaults) : undefined) : undefined; + resourceInputs["storageProfile"] = args ? args.storageProfile : undefined; + resourceInputs["guestAgentInstallStatus"] = undefined /*out*/; + resourceInputs["instanceView"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["vmId"] = undefined /*out*/; + } else { + resourceInputs["extendedLocation"] = undefined /*out*/; + resourceInputs["guestAgentInstallStatus"] = undefined /*out*/; + resourceInputs["hardwareProfile"] = undefined /*out*/; + resourceInputs["httpProxyConfig"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["instanceView"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkProfile"] = undefined /*out*/; + resourceInputs["osProfile"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["resourceUid"] = undefined /*out*/; + resourceInputs["securityProfile"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["storageProfile"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["vmId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a VirtualMachineInstance resource. + */ +export interface VirtualMachineInstanceArgs { + /** + * The extendedLocation of the resource. + */ + extendedLocation?: pulumi.Input; + /** + * HardwareProfile - Specifies the hardware settings for the virtual machine instance. + */ + hardwareProfile?: pulumi.Input; + /** + * HTTP Proxy configuration for the VM. + */ + httpProxyConfig?: pulumi.Input; + /** + * The managed service identities assigned to this resource. + */ + identity?: pulumi.Input; + /** + * NetworkProfile - describes the network configuration the virtual machine instance + */ + networkProfile?: pulumi.Input; + /** + * OsProfile - describes the configuration of the operating system and sets login data + */ + osProfile?: pulumi.Input; + /** + * Unique identifier defined by ARC to identify the guest of the VM. + */ + resourceUid?: pulumi.Input; + /** + * The fully qualified Azure Resource manager identifier of the resource. + */ + resourceUri: pulumi.Input; + /** + * SecurityProfile - Specifies the security settings for the virtual machine instance. + */ + securityProfile?: pulumi.Input; + /** + * StorageProfile - contains information about the disks and storage information for the virtual machine instance + */ + storageProfile?: pulumi.Input; +} diff --git a/sdk/nodejs/azurestackhci/virtualHardDisk.ts b/sdk/nodejs/azurestackhci/virtualHardDisk.ts index 80fc9069565b..437167bfc1a8 100644 --- a/sdk/nodejs/azurestackhci/virtualHardDisk.ts +++ b/sdk/nodejs/azurestackhci/virtualHardDisk.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The virtual hard disk resource definition. * Azure REST API version: 2022-12-15-preview. * - * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class VirtualHardDisk extends pulumi.CustomResource { /** @@ -147,7 +147,7 @@ export class VirtualHardDisk extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20210701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20210901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20221215preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230701preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240101:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualHardDisk" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualHardDisk" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualHardDisk.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/azurestackhci/virtualMachineInstance.ts b/sdk/nodejs/azurestackhci/virtualMachineInstance.ts index d95675660436..6b57347ec20a 100644 --- a/sdk/nodejs/azurestackhci/virtualMachineInstance.ts +++ b/sdk/nodejs/azurestackhci/virtualMachineInstance.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * The virtual machine instance resource definition. * Azure REST API version: 2023-07-01-preview. * - * Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + * Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. */ export class VirtualMachineInstance extends pulumi.CustomResource { /** @@ -155,7 +155,7 @@ export class VirtualMachineInstance extends pulumi.CustomResource { resourceInputs["vmId"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:azurestackhci/v20230701preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20230901preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240101:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240201preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240501preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240715preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20240801preview:VirtualMachineInstance" }, { type: "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(VirtualMachineInstance.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/network/ipamPool.ts b/sdk/nodejs/network/ipamPool.ts index 8123d29453fa..614cf12af2f7 100644 --- a/sdk/nodejs/network/ipamPool.ts +++ b/sdk/nodejs/network/ipamPool.ts @@ -79,6 +79,9 @@ export class IpamPool extends pulumi.CustomResource { if ((!args || args.networkManagerName === undefined) && !opts.urn) { throw new Error("Missing required property 'networkManagerName'"); } + if ((!args || args.properties === undefined) && !opts.urn) { + throw new Error("Missing required property 'properties'"); + } if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } @@ -125,7 +128,7 @@ export interface IpamPoolArgs { /** * Properties of IpamPool resource properties which are specific to the Pool resource. */ - properties?: pulumi.Input; + properties: pulumi.Input; /** * The name of the resource group. */ diff --git a/sdk/nodejs/network/v20240101preview/ipamPool.ts b/sdk/nodejs/network/v20240101preview/ipamPool.ts index 9f05e6c86033..1c7f0252f0c6 100644 --- a/sdk/nodejs/network/v20240101preview/ipamPool.ts +++ b/sdk/nodejs/network/v20240101preview/ipamPool.ts @@ -76,6 +76,9 @@ export class IpamPool extends pulumi.CustomResource { if ((!args || args.networkManagerName === undefined) && !opts.urn) { throw new Error("Missing required property 'networkManagerName'"); } + if ((!args || args.properties === undefined) && !opts.urn) { + throw new Error("Missing required property 'properties'"); + } if ((!args || args.resourceGroupName === undefined) && !opts.urn) { throw new Error("Missing required property 'resourceGroupName'"); } @@ -122,7 +125,7 @@ export interface IpamPoolArgs { /** * Properties of IpamPool resource properties which are specific to the Pool resource. */ - properties?: pulumi.Input; + properties: pulumi.Input; /** * The name of the resource group. */ diff --git a/sdk/nodejs/search/getPrivateEndpointConnection.ts b/sdk/nodejs/search/getPrivateEndpointConnection.ts index d59794395a87..ddbe9fbe8be8 100644 --- a/sdk/nodejs/search/getPrivateEndpointConnection.ts +++ b/sdk/nodejs/search/getPrivateEndpointConnection.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets the details of the private endpoint connection to the search service in the given resource group. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -62,7 +62,7 @@ export interface GetPrivateEndpointConnectionResult { * Gets the details of the private endpoint connection to the search service in the given resource group. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/search/getService.ts b/sdk/nodejs/search/getService.ts index b473e7d43111..5b273aa9d296 100644 --- a/sdk/nodejs/search/getService.ts +++ b/sdk/nodejs/search/getService.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets the search service with the given name in the given resource group. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -121,7 +121,7 @@ export interface GetServiceResult { * Gets the search service with the given name in the given resource group. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/search/getSharedPrivateLinkResource.ts b/sdk/nodejs/search/getSharedPrivateLinkResource.ts index c94e5ce3350c..340e5b145ff1 100644 --- a/sdk/nodejs/search/getSharedPrivateLinkResource.ts +++ b/sdk/nodejs/search/getSharedPrivateLinkResource.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Gets the details of the shared private link resource managed by the search service in the given resource group. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function getSharedPrivateLinkResource(args: GetSharedPrivateLinkResourceArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -62,7 +62,7 @@ export interface GetSharedPrivateLinkResourceResult { * Gets the details of the shared private link resource managed by the search service in the given resource group. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function getSharedPrivateLinkResourceOutput(args: GetSharedPrivateLinkResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/search/index.ts b/sdk/nodejs/search/index.ts index bf8df8f9d922..7d6ff9aebd5a 100644 --- a/sdk/nodejs/search/index.ts +++ b/sdk/nodejs/search/index.ts @@ -55,6 +55,7 @@ import * as v20220901 from "./v20220901"; import * as v20231101 from "./v20231101"; import * as v20240301preview from "./v20240301preview"; import * as v20240601preview from "./v20240601preview"; +import * as v20250201preview from "./v20250201preview"; export { v20210401preview, @@ -62,6 +63,7 @@ export { v20231101, v20240301preview, v20240601preview, + v20250201preview, }; const _module = { diff --git a/sdk/nodejs/search/listAdminKey.ts b/sdk/nodejs/search/listAdminKey.ts index 53f7496bd6e5..66a677d85f77 100644 --- a/sdk/nodejs/search/listAdminKey.ts +++ b/sdk/nodejs/search/listAdminKey.ts @@ -8,7 +8,7 @@ import * as utilities from "../utilities"; * Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function listAdminKey(args: ListAdminKeyArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -46,7 +46,7 @@ export interface ListAdminKeyResult { * Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function listAdminKeyOutput(args: ListAdminKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/search/listQueryKeyBySearchService.ts b/sdk/nodejs/search/listQueryKeyBySearchService.ts index b4868d137f9b..9073a7e5b173 100644 --- a/sdk/nodejs/search/listQueryKeyBySearchService.ts +++ b/sdk/nodejs/search/listQueryKeyBySearchService.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Returns the list of query API keys for the given Azure Cognitive Search service. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function listQueryKeyBySearchService(args: ListQueryKeyBySearchServiceArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -49,7 +49,7 @@ export interface ListQueryKeyBySearchServiceResult { * Returns the list of query API keys for the given Azure Cognitive Search service. * Azure REST API version: 2022-09-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export function listQueryKeyBySearchServiceOutput(args: ListQueryKeyBySearchServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/search/privateEndpointConnection.ts b/sdk/nodejs/search/privateEndpointConnection.ts index 951870ad3af8..d57981777b51 100644 --- a/sdk/nodejs/search/privateEndpointConnection.ts +++ b/sdk/nodejs/search/privateEndpointConnection.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Describes an existing Private Endpoint connection to the Azure Cognitive Search service. * Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. * - * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export class PrivateEndpointConnection extends pulumi.CustomResource { /** @@ -82,7 +82,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20250201preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/service.ts b/sdk/nodejs/search/service.ts index 7fd3b5b1bf75..9dbc6e9e6e51 100644 --- a/sdk/nodejs/search/service.ts +++ b/sdk/nodejs/search/service.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Describes an Azure Cognitive Search service and its current state. * Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. * - * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export class Service extends pulumi.CustomResource { /** @@ -174,7 +174,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }, { type: "azure-native:search/v20250201preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/sharedPrivateLinkResource.ts b/sdk/nodejs/search/sharedPrivateLinkResource.ts index e8dfef538799..6446ab88f007 100644 --- a/sdk/nodejs/search/sharedPrivateLinkResource.ts +++ b/sdk/nodejs/search/sharedPrivateLinkResource.ts @@ -11,7 +11,7 @@ import * as utilities from "../utilities"; * Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. * Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. * - * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + * Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. */ export class SharedPrivateLinkResource extends pulumi.CustomResource { /** @@ -82,7 +82,7 @@ export class SharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20250201preview:SharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20210401preview/service.ts b/sdk/nodejs/search/v20210401preview/service.ts index f18133ff8151..31a2bccab999 100644 --- a/sdk/nodejs/search/v20210401preview/service.ts +++ b/sdk/nodejs/search/v20210401preview/service.ts @@ -189,7 +189,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }, { type: "azure-native:search/v20250201preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20220901/privateEndpointConnection.ts b/sdk/nodejs/search/v20220901/privateEndpointConnection.ts index ae380f301620..c97e68dfebab 100644 --- a/sdk/nodejs/search/v20220901/privateEndpointConnection.ts +++ b/sdk/nodejs/search/v20220901/privateEndpointConnection.ts @@ -79,7 +79,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20250201preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20220901/service.ts b/sdk/nodejs/search/v20220901/service.ts index a539288bd62f..3fc5734cf4e0 100644 --- a/sdk/nodejs/search/v20220901/service.ts +++ b/sdk/nodejs/search/v20220901/service.ts @@ -171,7 +171,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }, { type: "azure-native:search/v20250201preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20220901/sharedPrivateLinkResource.ts b/sdk/nodejs/search/v20220901/sharedPrivateLinkResource.ts index 46d0cd38a991..9e7b48ec09f4 100644 --- a/sdk/nodejs/search/v20220901/sharedPrivateLinkResource.ts +++ b/sdk/nodejs/search/v20220901/sharedPrivateLinkResource.ts @@ -79,7 +79,7 @@ export class SharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20250201preview:SharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20231101/privateEndpointConnection.ts b/sdk/nodejs/search/v20231101/privateEndpointConnection.ts index 40ab72bef27c..c74af33babdc 100644 --- a/sdk/nodejs/search/v20231101/privateEndpointConnection.ts +++ b/sdk/nodejs/search/v20231101/privateEndpointConnection.ts @@ -79,7 +79,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20250201preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20231101/service.ts b/sdk/nodejs/search/v20231101/service.ts index 4c2129b56f09..0562a30c2db1 100644 --- a/sdk/nodejs/search/v20231101/service.ts +++ b/sdk/nodejs/search/v20231101/service.ts @@ -177,7 +177,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }, { type: "azure-native:search/v20250201preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20231101/sharedPrivateLinkResource.ts b/sdk/nodejs/search/v20231101/sharedPrivateLinkResource.ts index 1a97ca531e1c..800493369b55 100644 --- a/sdk/nodejs/search/v20231101/sharedPrivateLinkResource.ts +++ b/sdk/nodejs/search/v20231101/sharedPrivateLinkResource.ts @@ -79,7 +79,7 @@ export class SharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20250201preview:SharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20240301preview/privateEndpointConnection.ts b/sdk/nodejs/search/v20240301preview/privateEndpointConnection.ts index ce466d975559..95b1bbdf2773 100644 --- a/sdk/nodejs/search/v20240301preview/privateEndpointConnection.ts +++ b/sdk/nodejs/search/v20240301preview/privateEndpointConnection.ts @@ -79,7 +79,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20250201preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20240301preview/service.ts b/sdk/nodejs/search/v20240301preview/service.ts index bcaa6109ca94..f96a4ce3e048 100644 --- a/sdk/nodejs/search/v20240301preview/service.ts +++ b/sdk/nodejs/search/v20240301preview/service.ts @@ -189,7 +189,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240601preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240601preview:Service" }, { type: "azure-native:search/v20250201preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20240301preview/sharedPrivateLinkResource.ts b/sdk/nodejs/search/v20240301preview/sharedPrivateLinkResource.ts index ea1e1b175c8a..998748c54982 100644 --- a/sdk/nodejs/search/v20240301preview/sharedPrivateLinkResource.ts +++ b/sdk/nodejs/search/v20240301preview/sharedPrivateLinkResource.ts @@ -79,7 +79,7 @@ export class SharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20250201preview:SharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20240601preview/privateEndpointConnection.ts b/sdk/nodejs/search/v20240601preview/privateEndpointConnection.ts index ad18fdb62c03..6602bbc555d1 100644 --- a/sdk/nodejs/search/v20240601preview/privateEndpointConnection.ts +++ b/sdk/nodejs/search/v20240601preview/privateEndpointConnection.ts @@ -79,7 +79,7 @@ export class PrivateEndpointConnection extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20250201preview:PrivateEndpointConnection" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20240601preview/service.ts b/sdk/nodejs/search/v20240601preview/service.ts index 11e654c920b4..18b589a82f5d 100644 --- a/sdk/nodejs/search/v20240601preview/service.ts +++ b/sdk/nodejs/search/v20240601preview/service.ts @@ -189,7 +189,7 @@ export class Service extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20250201preview:Service" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(Service.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20240601preview/sharedPrivateLinkResource.ts b/sdk/nodejs/search/v20240601preview/sharedPrivateLinkResource.ts index 2712449ef54a..00a4be86705f 100644 --- a/sdk/nodejs/search/v20240601preview/sharedPrivateLinkResource.ts +++ b/sdk/nodejs/search/v20240601preview/sharedPrivateLinkResource.ts @@ -79,7 +79,7 @@ export class SharedPrivateLinkResource extends pulumi.CustomResource { resourceInputs["type"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }] }; + const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20250201preview:SharedPrivateLinkResource" }] }; opts = pulumi.mergeOptions(opts, aliasOpts); super(SharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); } diff --git a/sdk/nodejs/search/v20250201preview/getPrivateEndpointConnection.ts b/sdk/nodejs/search/v20250201preview/getPrivateEndpointConnection.ts new file mode 100644 index 000000000000..a22b4e1def4c --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/getPrivateEndpointConnection.ts @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the details of the private endpoint connection to the search service in the given resource group. + */ +export function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:search/v20250201preview:getPrivateEndpointConnection", { + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface GetPrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + */ + privateEndpointConnectionName: string; + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: string; +} + +/** + * Describes an existing private endpoint connection to the Azure AI Search service. + */ +export interface GetPrivateEndpointConnectionResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Describes the properties of an existing private endpoint connection to the Azure AI Search service. + */ + readonly properties: outputs.search.v20250201preview.PrivateEndpointConnectionPropertiesResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the details of the private endpoint connection to the search service in the given resource group. + */ +export function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:search/v20250201preview:getPrivateEndpointConnection", { + "privateEndpointConnectionName": args.privateEndpointConnectionName, + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface GetPrivateEndpointConnectionOutputArgs { + /** + * The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + */ + privateEndpointConnectionName: pulumi.Input; + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; +} diff --git a/sdk/nodejs/search/v20250201preview/getService.ts b/sdk/nodejs/search/v20250201preview/getService.ts new file mode 100644 index 000000000000..f80b8c5bc500 --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/getService.ts @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the search service with the given name in the given resource group. + */ +export function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:search/v20250201preview:getService", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface GetServiceArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: string; +} + +/** + * Describes an Azure AI Search service and its current state. + */ +export interface GetServiceResult { + /** + * Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + */ + readonly authOptions?: outputs.search.v20250201preview.DataPlaneAuthOptionsResponse; + /** + * Configure this property to support the search service using either the default compute or Azure Confidential Compute. + */ + readonly computeType?: string; + /** + * When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + */ + readonly disableLocalAuth?: boolean; + /** + * A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + */ + readonly disabledDataExfiltrationOptions?: string[]; + /** + * A system generated property representing the service's etag that can be for optimistic concurrency control during updates. + */ + readonly eTag: string; + /** + * Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + */ + readonly encryptionWithCmk?: outputs.search.v20250201preview.EncryptionWithCmkResponse; + /** + * The endpoint of the Azure AI Search service. + */ + readonly endpoint?: string; + /** + * Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + */ + readonly hostingMode?: string; + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The identity of the resource. + */ + readonly identity?: outputs.search.v20250201preview.IdentityResponse; + /** + * The geo-location where the resource lives + */ + readonly location: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Network specific rules that determine how the Azure AI Search service may be reached. + */ + readonly networkRuleSet?: outputs.search.v20250201preview.NetworkRuleSetResponse; + /** + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + */ + readonly partitionCount?: number; + /** + * The list of private endpoint connections to the Azure AI Search service. + */ + readonly privateEndpointConnections: outputs.search.v20250201preview.PrivateEndpointConnectionResponse[]; + /** + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. + */ + readonly provisioningState: string; + /** + * This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + */ + readonly publicNetworkAccess?: string; + /** + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + */ + readonly replicaCount?: number; + /** + * Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + */ + readonly semanticSearch?: string; + /** + * The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. + */ + readonly serviceUpgradeDate: string; + /** + * The list of shared private link resources managed by the Azure AI Search service. + */ + readonly sharedPrivateLinkResources: outputs.search.v20250201preview.SharedPrivateLinkResourceResponse[]; + /** + * The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + */ + readonly sku?: outputs.search.v20250201preview.SkuResponse; + /** + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + */ + readonly status: string; + /** + * The details of the search service status. + */ + readonly statusDetails: string; + /** + * Azure Resource Manager metadata of the search service containing createdBy and modifiedBy information. + */ + readonly systemData: outputs.search.v20250201preview.SystemDataResponse; + /** + * Resource tags. + */ + readonly tags?: {[key: string]: string}; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; + /** + * Indicates whether or not the search service has an upgrade available. + */ + readonly upgradeAvailable: boolean; +} +/** + * Gets the search service with the given name in the given resource group. + */ +export function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:search/v20250201preview:getService", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface GetServiceOutputArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; +} diff --git a/sdk/nodejs/search/v20250201preview/getSharedPrivateLinkResource.ts b/sdk/nodejs/search/v20250201preview/getSharedPrivateLinkResource.ts new file mode 100644 index 000000000000..d51e4546f22c --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/getSharedPrivateLinkResource.ts @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Gets the details of the shared private link resource managed by the search service in the given resource group. + */ +export function getSharedPrivateLinkResource(args: GetSharedPrivateLinkResourceArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:search/v20250201preview:getSharedPrivateLinkResource", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + "sharedPrivateLinkResourceName": args.sharedPrivateLinkResourceName, + }, opts); +} + +export interface GetSharedPrivateLinkResourceArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: string; + /** + * The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + */ + sharedPrivateLinkResourceName: string; +} + +/** + * Describes a shared private link resource managed by the Azure AI Search service. + */ +export interface GetSharedPrivateLinkResourceResult { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + readonly id: string; + /** + * The name of the resource + */ + readonly name: string; + /** + * Describes the properties of a shared private link resource managed by the Azure AI Search service. + */ + readonly properties: outputs.search.v20250201preview.SharedPrivateLinkResourcePropertiesResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + readonly type: string; +} +/** + * Gets the details of the shared private link resource managed by the search service in the given resource group. + */ +export function getSharedPrivateLinkResourceOutput(args: GetSharedPrivateLinkResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:search/v20250201preview:getSharedPrivateLinkResource", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + "sharedPrivateLinkResourceName": args.sharedPrivateLinkResourceName, + }, opts); +} + +export interface GetSharedPrivateLinkResourceOutputArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; + /** + * The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + */ + sharedPrivateLinkResourceName: pulumi.Input; +} diff --git a/sdk/nodejs/search/v20250201preview/index.ts b/sdk/nodejs/search/v20250201preview/index.ts new file mode 100644 index 000000000000..d7a157a67f30 --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/index.ts @@ -0,0 +1,67 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +// Export members: +export { GetPrivateEndpointConnectionArgs, GetPrivateEndpointConnectionResult, GetPrivateEndpointConnectionOutputArgs } from "./getPrivateEndpointConnection"; +export const getPrivateEndpointConnection: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnection = null as any; +export const getPrivateEndpointConnectionOutput: typeof import("./getPrivateEndpointConnection").getPrivateEndpointConnectionOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpointConnection","getPrivateEndpointConnectionOutput"], () => require("./getPrivateEndpointConnection")); + +export { GetServiceArgs, GetServiceResult, GetServiceOutputArgs } from "./getService"; +export const getService: typeof import("./getService").getService = null as any; +export const getServiceOutput: typeof import("./getService").getServiceOutput = null as any; +utilities.lazyLoad(exports, ["getService","getServiceOutput"], () => require("./getService")); + +export { GetSharedPrivateLinkResourceArgs, GetSharedPrivateLinkResourceResult, GetSharedPrivateLinkResourceOutputArgs } from "./getSharedPrivateLinkResource"; +export const getSharedPrivateLinkResource: typeof import("./getSharedPrivateLinkResource").getSharedPrivateLinkResource = null as any; +export const getSharedPrivateLinkResourceOutput: typeof import("./getSharedPrivateLinkResource").getSharedPrivateLinkResourceOutput = null as any; +utilities.lazyLoad(exports, ["getSharedPrivateLinkResource","getSharedPrivateLinkResourceOutput"], () => require("./getSharedPrivateLinkResource")); + +export { ListAdminKeyArgs, ListAdminKeyResult, ListAdminKeyOutputArgs } from "./listAdminKey"; +export const listAdminKey: typeof import("./listAdminKey").listAdminKey = null as any; +export const listAdminKeyOutput: typeof import("./listAdminKey").listAdminKeyOutput = null as any; +utilities.lazyLoad(exports, ["listAdminKey","listAdminKeyOutput"], () => require("./listAdminKey")); + +export { ListQueryKeyBySearchServiceArgs, ListQueryKeyBySearchServiceResult, ListQueryKeyBySearchServiceOutputArgs } from "./listQueryKeyBySearchService"; +export const listQueryKeyBySearchService: typeof import("./listQueryKeyBySearchService").listQueryKeyBySearchService = null as any; +export const listQueryKeyBySearchServiceOutput: typeof import("./listQueryKeyBySearchService").listQueryKeyBySearchServiceOutput = null as any; +utilities.lazyLoad(exports, ["listQueryKeyBySearchService","listQueryKeyBySearchServiceOutput"], () => require("./listQueryKeyBySearchService")); + +export { PrivateEndpointConnectionArgs } from "./privateEndpointConnection"; +export type PrivateEndpointConnection = import("./privateEndpointConnection").PrivateEndpointConnection; +export const PrivateEndpointConnection: typeof import("./privateEndpointConnection").PrivateEndpointConnection = null as any; +utilities.lazyLoad(exports, ["PrivateEndpointConnection"], () => require("./privateEndpointConnection")); + +export { ServiceArgs } from "./service"; +export type Service = import("./service").Service; +export const Service: typeof import("./service").Service = null as any; +utilities.lazyLoad(exports, ["Service"], () => require("./service")); + +export { SharedPrivateLinkResourceArgs } from "./sharedPrivateLinkResource"; +export type SharedPrivateLinkResource = import("./sharedPrivateLinkResource").SharedPrivateLinkResource; +export const SharedPrivateLinkResource: typeof import("./sharedPrivateLinkResource").SharedPrivateLinkResource = null as any; +utilities.lazyLoad(exports, ["SharedPrivateLinkResource"], () => require("./sharedPrivateLinkResource")); + + +// Export enums: +export * from "../../types/enums/search/v20250201preview"; + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "azure-native:search/v20250201preview:PrivateEndpointConnection": + return new PrivateEndpointConnection(name, undefined, { urn }) + case "azure-native:search/v20250201preview:Service": + return new Service(name, undefined, { urn }) + case "azure-native:search/v20250201preview:SharedPrivateLinkResource": + return new SharedPrivateLinkResource(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("azure-native", "search/v20250201preview", _module) diff --git a/sdk/nodejs/search/v20250201preview/listAdminKey.ts b/sdk/nodejs/search/v20250201preview/listAdminKey.ts new file mode 100644 index 000000000000..59123908b76d --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/listAdminKey.ts @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../../utilities"; + +/** + * Gets the primary and secondary admin API keys for the specified Azure AI Search service. + */ +export function listAdminKey(args: ListAdminKeyArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:search/v20250201preview:listAdminKey", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface ListAdminKeyArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: string; +} + +/** + * Response containing the primary and secondary admin API keys for a given Azure AI Search service. + */ +export interface ListAdminKeyResult { + /** + * The primary admin API key of the search service. + */ + readonly primaryKey: string; + /** + * The secondary admin API key of the search service. + */ + readonly secondaryKey: string; +} +/** + * Gets the primary and secondary admin API keys for the specified Azure AI Search service. + */ +export function listAdminKeyOutput(args: ListAdminKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:search/v20250201preview:listAdminKey", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface ListAdminKeyOutputArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; +} diff --git a/sdk/nodejs/search/v20250201preview/listQueryKeyBySearchService.ts b/sdk/nodejs/search/v20250201preview/listQueryKeyBySearchService.ts new file mode 100644 index 000000000000..e6917a2f4a87 --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/listQueryKeyBySearchService.ts @@ -0,0 +1,65 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Returns the list of query API keys for the given Azure AI Search service. + */ +export function listQueryKeyBySearchService(args: ListQueryKeyBySearchServiceArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("azure-native:search/v20250201preview:listQueryKeyBySearchService", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface ListQueryKeyBySearchServiceArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: string; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: string; +} + +/** + * Response containing the query API keys for a given Azure AI Search service. + */ +export interface ListQueryKeyBySearchServiceResult { + /** + * Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size. + */ + readonly nextLink: string; + /** + * The query keys for the Azure AI Search service. + */ + readonly value: outputs.search.v20250201preview.QueryKeyResponse[]; +} +/** + * Returns the list of query API keys for the given Azure AI Search service. + */ +export function listQueryKeyBySearchServiceOutput(args: ListQueryKeyBySearchServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("azure-native:search/v20250201preview:listQueryKeyBySearchService", { + "resourceGroupName": args.resourceGroupName, + "searchServiceName": args.searchServiceName, + }, opts); +} + +export interface ListQueryKeyBySearchServiceOutputArgs { + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; +} diff --git a/sdk/nodejs/search/v20250201preview/privateEndpointConnection.ts b/sdk/nodejs/search/v20250201preview/privateEndpointConnection.ts new file mode 100644 index 000000000000..3ce2b98a6b44 --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/privateEndpointConnection.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Describes an existing private endpoint connection to the Azure AI Search service. + */ +export class PrivateEndpointConnection extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpointConnection resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): PrivateEndpointConnection { + return new PrivateEndpointConnection(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:search/v20250201preview:PrivateEndpointConnection'; + + /** + * Returns true if the given object is an instance of PrivateEndpointConnection. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is PrivateEndpointConnection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpointConnection.__pulumiType; + } + + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Describes the properties of an existing private endpoint connection to the Azure AI Search service. + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a PrivateEndpointConnection resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: PrivateEndpointConnectionArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.searchServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'searchServiceName'"); + } + resourceInputs["privateEndpointConnectionName"] = args ? args.privateEndpointConnectionName : undefined; + resourceInputs["properties"] = args ? (args.properties ? pulumi.output(args.properties).apply(inputs.search.v20250201preview.privateEndpointConnectionPropertiesArgsProvideDefaults) : undefined) : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["searchServiceName"] = args ? args.searchServiceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:search:PrivateEndpointConnection" }, { type: "azure-native:search/v20191001preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20200313:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801:PrivateEndpointConnection" }, { type: "azure-native:search/v20200801preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20210401preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20220901:PrivateEndpointConnection" }, { type: "azure-native:search/v20231101:PrivateEndpointConnection" }, { type: "azure-native:search/v20240301preview:PrivateEndpointConnection" }, { type: "azure-native:search/v20240601preview:PrivateEndpointConnection" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(PrivateEndpointConnection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a PrivateEndpointConnection resource. + */ +export interface PrivateEndpointConnectionArgs { + /** + * The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + */ + privateEndpointConnectionName?: pulumi.Input; + /** + * Describes the properties of an existing private endpoint connection to the Azure AI Search service. + */ + properties?: pulumi.Input; + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; +} diff --git a/sdk/nodejs/search/v20250201preview/service.ts b/sdk/nodejs/search/v20250201preview/service.ts new file mode 100644 index 000000000000..37d2fc097122 --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/service.ts @@ -0,0 +1,304 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Describes an Azure AI Search service and its current state. + */ +export class Service extends pulumi.CustomResource { + /** + * Get an existing Service resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Service { + return new Service(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:search/v20250201preview:Service'; + + /** + * Returns true if the given object is an instance of Service. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is Service { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === Service.__pulumiType; + } + + /** + * Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + */ + public readonly authOptions!: pulumi.Output; + /** + * Configure this property to support the search service using either the default compute or Azure Confidential Compute. + */ + public readonly computeType!: pulumi.Output; + /** + * When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + */ + public readonly disableLocalAuth!: pulumi.Output; + /** + * A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + */ + public readonly disabledDataExfiltrationOptions!: pulumi.Output; + /** + * A system generated property representing the service's etag that can be for optimistic concurrency control during updates. + */ + public /*out*/ readonly eTag!: pulumi.Output; + /** + * Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + */ + public readonly encryptionWithCmk!: pulumi.Output; + /** + * The endpoint of the Azure AI Search service. + */ + public readonly endpoint!: pulumi.Output; + /** + * Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + */ + public readonly hostingMode!: pulumi.Output; + /** + * The identity of the resource. + */ + public readonly identity!: pulumi.Output; + /** + * The geo-location where the resource lives + */ + public readonly location!: pulumi.Output; + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Network specific rules that determine how the Azure AI Search service may be reached. + */ + public readonly networkRuleSet!: pulumi.Output; + /** + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + */ + public readonly partitionCount!: pulumi.Output; + /** + * The list of private endpoint connections to the Azure AI Search service. + */ + public /*out*/ readonly privateEndpointConnections!: pulumi.Output; + /** + * The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. + */ + public /*out*/ readonly provisioningState!: pulumi.Output; + /** + * This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + */ + public readonly publicNetworkAccess!: pulumi.Output; + /** + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + */ + public readonly replicaCount!: pulumi.Output; + /** + * Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + */ + public readonly semanticSearch!: pulumi.Output; + /** + * The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. + */ + public /*out*/ readonly serviceUpgradeDate!: pulumi.Output; + /** + * The list of shared private link resources managed by the Azure AI Search service. + */ + public /*out*/ readonly sharedPrivateLinkResources!: pulumi.Output; + /** + * The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + */ + public readonly sku!: pulumi.Output; + /** + * The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + */ + public /*out*/ readonly status!: pulumi.Output; + /** + * The details of the search service status. + */ + public /*out*/ readonly statusDetails!: pulumi.Output; + /** + * Azure Resource Manager metadata of the search service containing createdBy and modifiedBy information. + */ + public /*out*/ readonly systemData!: pulumi.Output; + /** + * Resource tags. + */ + public readonly tags!: pulumi.Output<{[key: string]: string} | undefined>; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + /** + * Indicates whether or not the search service has an upgrade available. + */ + public /*out*/ readonly upgradeAvailable!: pulumi.Output; + + /** + * Create a Service resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: ServiceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + resourceInputs["authOptions"] = args ? args.authOptions : undefined; + resourceInputs["computeType"] = args ? args.computeType : undefined; + resourceInputs["disableLocalAuth"] = args ? args.disableLocalAuth : undefined; + resourceInputs["disabledDataExfiltrationOptions"] = args ? args.disabledDataExfiltrationOptions : undefined; + resourceInputs["encryptionWithCmk"] = args ? args.encryptionWithCmk : undefined; + resourceInputs["endpoint"] = args ? args.endpoint : undefined; + resourceInputs["hostingMode"] = (args ? args.hostingMode : undefined) ?? "default"; + resourceInputs["identity"] = args ? args.identity : undefined; + resourceInputs["location"] = args ? args.location : undefined; + resourceInputs["networkRuleSet"] = args ? args.networkRuleSet : undefined; + resourceInputs["partitionCount"] = (args ? args.partitionCount : undefined) ?? 1; + resourceInputs["publicNetworkAccess"] = (args ? args.publicNetworkAccess : undefined) ?? "enabled"; + resourceInputs["replicaCount"] = (args ? args.replicaCount : undefined) ?? 1; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["searchServiceName"] = args ? args.searchServiceName : undefined; + resourceInputs["semanticSearch"] = args ? args.semanticSearch : undefined; + resourceInputs["sku"] = args ? args.sku : undefined; + resourceInputs["tags"] = args ? args.tags : undefined; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["serviceUpgradeDate"] = undefined /*out*/; + resourceInputs["sharedPrivateLinkResources"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["statusDetails"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["upgradeAvailable"] = undefined /*out*/; + } else { + resourceInputs["authOptions"] = undefined /*out*/; + resourceInputs["computeType"] = undefined /*out*/; + resourceInputs["disableLocalAuth"] = undefined /*out*/; + resourceInputs["disabledDataExfiltrationOptions"] = undefined /*out*/; + resourceInputs["eTag"] = undefined /*out*/; + resourceInputs["encryptionWithCmk"] = undefined /*out*/; + resourceInputs["endpoint"] = undefined /*out*/; + resourceInputs["hostingMode"] = undefined /*out*/; + resourceInputs["identity"] = undefined /*out*/; + resourceInputs["location"] = undefined /*out*/; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["networkRuleSet"] = undefined /*out*/; + resourceInputs["partitionCount"] = undefined /*out*/; + resourceInputs["privateEndpointConnections"] = undefined /*out*/; + resourceInputs["provisioningState"] = undefined /*out*/; + resourceInputs["publicNetworkAccess"] = undefined /*out*/; + resourceInputs["replicaCount"] = undefined /*out*/; + resourceInputs["semanticSearch"] = undefined /*out*/; + resourceInputs["serviceUpgradeDate"] = undefined /*out*/; + resourceInputs["sharedPrivateLinkResources"] = undefined /*out*/; + resourceInputs["sku"] = undefined /*out*/; + resourceInputs["status"] = undefined /*out*/; + resourceInputs["statusDetails"] = undefined /*out*/; + resourceInputs["systemData"] = undefined /*out*/; + resourceInputs["tags"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + resourceInputs["upgradeAvailable"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:search:Service" }, { type: "azure-native:search/v20150819:Service" }, { type: "azure-native:search/v20191001preview:Service" }, { type: "azure-native:search/v20200313:Service" }, { type: "azure-native:search/v20200801:Service" }, { type: "azure-native:search/v20200801preview:Service" }, { type: "azure-native:search/v20210401preview:Service" }, { type: "azure-native:search/v20220901:Service" }, { type: "azure-native:search/v20231101:Service" }, { type: "azure-native:search/v20240301preview:Service" }, { type: "azure-native:search/v20240601preview:Service" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(Service.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a Service resource. + */ +export interface ServiceArgs { + /** + * Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + */ + authOptions?: pulumi.Input; + /** + * Configure this property to support the search service using either the default compute or Azure Confidential Compute. + */ + computeType?: pulumi.Input; + /** + * When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + */ + disableLocalAuth?: pulumi.Input; + /** + * A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + */ + disabledDataExfiltrationOptions?: pulumi.Input[]>; + /** + * Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + */ + encryptionWithCmk?: pulumi.Input; + /** + * The endpoint of the Azure AI Search service. + */ + endpoint?: pulumi.Input; + /** + * Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + */ + hostingMode?: pulumi.Input; + /** + * The identity of the resource. + */ + identity?: pulumi.Input; + /** + * The geo-location where the resource lives + */ + location?: pulumi.Input; + /** + * Network specific rules that determine how the Azure AI Search service may be reached. + */ + networkRuleSet?: pulumi.Input; + /** + * The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + */ + partitionCount?: pulumi.Input; + /** + * This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + */ + publicNetworkAccess?: pulumi.Input; + /** + * The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + */ + replicaCount?: pulumi.Input; + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. + */ + searchServiceName?: pulumi.Input; + /** + * Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + */ + semanticSearch?: pulumi.Input; + /** + * The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + */ + sku?: pulumi.Input; + /** + * Resource tags. + */ + tags?: pulumi.Input<{[key: string]: pulumi.Input}>; +} diff --git a/sdk/nodejs/search/v20250201preview/sharedPrivateLinkResource.ts b/sdk/nodejs/search/v20250201preview/sharedPrivateLinkResource.ts new file mode 100644 index 000000000000..6a6647514e8c --- /dev/null +++ b/sdk/nodejs/search/v20250201preview/sharedPrivateLinkResource.ts @@ -0,0 +1,108 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../../types/input"; +import * as outputs from "../../types/output"; +import * as enums from "../../types/enums"; +import * as utilities from "../../utilities"; + +/** + * Describes a shared private link resource managed by the Azure AI Search service. + */ +export class SharedPrivateLinkResource extends pulumi.CustomResource { + /** + * Get an existing SharedPrivateLinkResource resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SharedPrivateLinkResource { + return new SharedPrivateLinkResource(name, undefined as any, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'azure-native:search/v20250201preview:SharedPrivateLinkResource'; + + /** + * Returns true if the given object is an instance of SharedPrivateLinkResource. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is SharedPrivateLinkResource { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SharedPrivateLinkResource.__pulumiType; + } + + /** + * The name of the resource + */ + public /*out*/ readonly name!: pulumi.Output; + /** + * Describes the properties of a shared private link resource managed by the Azure AI Search service. + */ + public readonly properties!: pulumi.Output; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + public /*out*/ readonly type!: pulumi.Output; + + /** + * Create a SharedPrivateLinkResource resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: SharedPrivateLinkResourceArgs, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (!opts.id) { + if ((!args || args.resourceGroupName === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceGroupName'"); + } + if ((!args || args.searchServiceName === undefined) && !opts.urn) { + throw new Error("Missing required property 'searchServiceName'"); + } + resourceInputs["properties"] = args ? args.properties : undefined; + resourceInputs["resourceGroupName"] = args ? args.resourceGroupName : undefined; + resourceInputs["searchServiceName"] = args ? args.searchServiceName : undefined; + resourceInputs["sharedPrivateLinkResourceName"] = args ? args.sharedPrivateLinkResourceName : undefined; + resourceInputs["name"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } else { + resourceInputs["name"] = undefined /*out*/; + resourceInputs["properties"] = undefined /*out*/; + resourceInputs["type"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + const aliasOpts = { aliases: [{ type: "azure-native:search:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801:SharedPrivateLinkResource" }, { type: "azure-native:search/v20200801preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20210401preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20220901:SharedPrivateLinkResource" }, { type: "azure-native:search/v20231101:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240301preview:SharedPrivateLinkResource" }, { type: "azure-native:search/v20240601preview:SharedPrivateLinkResource" }] }; + opts = pulumi.mergeOptions(opts, aliasOpts); + super(SharedPrivateLinkResource.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * The set of arguments for constructing a SharedPrivateLinkResource resource. + */ +export interface SharedPrivateLinkResourceArgs { + /** + * Describes the properties of a shared private link resource managed by the Azure AI Search service. + */ + properties?: pulumi.Input; + /** + * The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + */ + resourceGroupName: pulumi.Input; + /** + * The name of the Azure AI Search service associated with the specified resource group. + */ + searchServiceName: pulumi.Input; + /** + * The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + */ + sharedPrivateLinkResourceName?: pulumi.Input; +} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 361f5a716b0a..d3dd3dfadb09 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -4665,6 +4665,27 @@ "azurestackhci/v20240901preview/update.ts", "azurestackhci/v20240901preview/updateRun.ts", "azurestackhci/v20240901preview/updateSummary.ts", + "azurestackhci/v20241001preview/galleryImage.ts", + "azurestackhci/v20241001preview/getGalleryImage.ts", + "azurestackhci/v20241001preview/getGuestAgent.ts", + "azurestackhci/v20241001preview/getLogicalNetwork.ts", + "azurestackhci/v20241001preview/getMarketplaceGalleryImage.ts", + "azurestackhci/v20241001preview/getNetworkInterface.ts", + "azurestackhci/v20241001preview/getNetworkSecurityGroup.ts", + "azurestackhci/v20241001preview/getSecurityRule.ts", + "azurestackhci/v20241001preview/getStorageContainer.ts", + "azurestackhci/v20241001preview/getVirtualHardDisk.ts", + "azurestackhci/v20241001preview/getVirtualMachineInstance.ts", + "azurestackhci/v20241001preview/guestAgent.ts", + "azurestackhci/v20241001preview/index.ts", + "azurestackhci/v20241001preview/logicalNetwork.ts", + "azurestackhci/v20241001preview/marketplaceGalleryImage.ts", + "azurestackhci/v20241001preview/networkInterface.ts", + "azurestackhci/v20241001preview/networkSecurityGroup.ts", + "azurestackhci/v20241001preview/securityRule.ts", + "azurestackhci/v20241001preview/storageContainer.ts", + "azurestackhci/v20241001preview/virtualHardDisk.ts", + "azurestackhci/v20241001preview/virtualMachineInstance.ts", "azurestackhci/v20241201preview/arcSetting.ts", "azurestackhci/v20241201preview/cluster.ts", "azurestackhci/v20241201preview/deploymentSetting.ts", @@ -20909,6 +20930,15 @@ "search/v20240601preview/privateEndpointConnection.ts", "search/v20240601preview/service.ts", "search/v20240601preview/sharedPrivateLinkResource.ts", + "search/v20250201preview/getPrivateEndpointConnection.ts", + "search/v20250201preview/getService.ts", + "search/v20250201preview/getSharedPrivateLinkResource.ts", + "search/v20250201preview/index.ts", + "search/v20250201preview/listAdminKey.ts", + "search/v20250201preview/listQueryKeyBySearchService.ts", + "search/v20250201preview/privateEndpointConnection.ts", + "search/v20250201preview/service.ts", + "search/v20250201preview/sharedPrivateLinkResource.ts", "secretsynccontroller/azureKeyVaultSecretProviderClass.ts", "secretsynccontroller/getAzureKeyVaultSecretProviderClass.ts", "secretsynccontroller/getSecretSync.ts", @@ -25272,6 +25302,7 @@ "types/enums/azurestackhci/v20240715preview/index.ts", "types/enums/azurestackhci/v20240801preview/index.ts", "types/enums/azurestackhci/v20240901preview/index.ts", + "types/enums/azurestackhci/v20241001preview/index.ts", "types/enums/azurestackhci/v20241201preview/index.ts", "types/enums/baremetalinfrastructure/index.ts", "types/enums/baremetalinfrastructure/v20230406/index.ts", @@ -26160,6 +26191,7 @@ "types/enums/search/v20231101/index.ts", "types/enums/search/v20240301preview/index.ts", "types/enums/search/v20240601preview/index.ts", + "types/enums/search/v20250201preview/index.ts", "types/enums/secretsynccontroller/index.ts", "types/enums/secretsynccontroller/v20240821preview/index.ts", "types/enums/security/index.ts", diff --git a/sdk/nodejs/types/enums/azurestackhci/index.ts b/sdk/nodejs/types/enums/azurestackhci/index.ts index 7630eb059db1..5c4ecc570e79 100644 --- a/sdk/nodejs/types/enums/azurestackhci/index.ts +++ b/sdk/nodejs/types/enums/azurestackhci/index.ts @@ -21,6 +21,7 @@ import * as v20240501preview from "./v20240501preview"; import * as v20240715preview from "./v20240715preview"; import * as v20240801preview from "./v20240801preview"; import * as v20240901preview from "./v20240901preview"; +import * as v20241001preview from "./v20241001preview"; import * as v20241201preview from "./v20241201preview"; export { @@ -43,6 +44,7 @@ export { v20240715preview, v20240801preview, v20240901preview, + v20241001preview, v20241201preview, }; diff --git a/sdk/nodejs/types/enums/azurestackhci/v20241001preview/index.ts b/sdk/nodejs/types/enums/azurestackhci/v20241001preview/index.ts new file mode 100644 index 000000000000..b5e1373827a0 --- /dev/null +++ b/sdk/nodejs/types/enums/azurestackhci/v20241001preview/index.ts @@ -0,0 +1,343 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const CloudInitDataSource = { + /** + * NoCloud is used as the datasource + */ + NoCloud: "NoCloud", + /** + * Azure is used as the datasource + */ + Azure: "Azure", +} as const; + +/** + * Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + */ +export type CloudInitDataSource = (typeof CloudInitDataSource)[keyof typeof CloudInitDataSource]; + +export const DiskFileFormat = { + /** + * VHDX file format + */ + Vhdx: "vhdx", + /** + * VHD file format + */ + Vhd: "vhd", +} as const; + +/** + * The format of the actual VHD file [vhd, vhdx] + */ +export type DiskFileFormat = (typeof DiskFileFormat)[keyof typeof DiskFileFormat]; + +export const ExtendedLocationTypes = { + /** + * Custom extended location type + */ + CustomLocation: "CustomLocation", +} as const; + +/** + * The type of the extended location. + */ +export type ExtendedLocationTypes = (typeof ExtendedLocationTypes)[keyof typeof ExtendedLocationTypes]; + +export const GpuAssignmentTypeEnum = { + /** + * Attach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA) + */ + GpuDDA: "GpuDDA", + /** + * Attach Graphics Processing Unit (GPU) using GPU Partitioning + */ + GpuP: "GpuP", +} as const; + +/** + * GPU assignment type + */ +export type GpuAssignmentTypeEnum = (typeof GpuAssignmentTypeEnum)[keyof typeof GpuAssignmentTypeEnum]; + +export const HyperVGeneration = { + /** + * Generation 1 (V1) hypervisor + */ + V1: "V1", + /** + * Generation 2 (V2) hypervisor + */ + V2: "V2", +} as const; + +/** + * The hypervisor generation of the Virtual Machine [V1, V2] + */ +export type HyperVGeneration = (typeof HyperVGeneration)[keyof typeof HyperVGeneration]; + +export const IPPoolTypeEnum = { + /** + * Virtual Machine IP Pool + */ + Vm: "vm", + /** + * VIP Pool + */ + Vippool: "vippool", +} as const; + +/** + * Type of the IP Pool [vm, vippool] + */ +export type IPPoolTypeEnum = (typeof IPPoolTypeEnum)[keyof typeof IPPoolTypeEnum]; + +export const IpAllocationMethodEnum = { + /** + * Dynamic IP allocation method + */ + Dynamic: "Dynamic", + /** + * Static IP allocation method + */ + Static: "Static", +} as const; + +/** + * IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + */ +export type IpAllocationMethodEnum = (typeof IpAllocationMethodEnum)[keyof typeof IpAllocationMethodEnum]; + +export const ManagedServiceIdentityType = { + None: "None", + SystemAssigned: "SystemAssigned", + UserAssigned: "UserAssigned", + SystemAssigned_UserAssigned: "SystemAssigned,UserAssigned", +} as const; + +/** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ +export type ManagedServiceIdentityType = (typeof ManagedServiceIdentityType)[keyof typeof ManagedServiceIdentityType]; + +export const OperatingSystemTypes = { + /** + * Windows operating system + */ + Windows: "Windows", + /** + * Linux operating system + */ + Linux: "Linux", +} as const; + +/** + * 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. Possible values are: Windows, Linux. + */ +export type OperatingSystemTypes = (typeof OperatingSystemTypes)[keyof typeof OperatingSystemTypes]; + +export const ProvisioningAction = { + /** + * Install guest agent + */ + Install: "install", + /** + * Uninstall guest agent + */ + Uninstall: "uninstall", + /** + * Repair guest agent + */ + Repair: "repair", +} as const; + +/** + * The guest agent provisioning action. + */ +export type ProvisioningAction = (typeof ProvisioningAction)[keyof typeof ProvisioningAction]; + +export const SecurityEncryptionType = { + /** + * Non-persisted TPM encryption type + */ + NonPersistedTPM: "NonPersistedTPM", +} as const; + +/** + * Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + */ +export type SecurityEncryptionType = (typeof SecurityEncryptionType)[keyof typeof SecurityEncryptionType]; + +export const SecurityRuleAccess = { + /** + * Network traffic is allowed + */ + Allow: "Allow", + /** + * Network traffic is denied + */ + Deny: "Deny", +} as const; + +/** + * The network traffic is allowed or denied. + */ +export type SecurityRuleAccess = (typeof SecurityRuleAccess)[keyof typeof SecurityRuleAccess]; + +export const SecurityRuleDirection = { + /** + * Rule is evaluated on incoming traffic + */ + Inbound: "Inbound", + /** + * Rule is evaluated on outgoing traffic + */ + Outbound: "Outbound", +} as const; + +/** + * The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + */ +export type SecurityRuleDirection = (typeof SecurityRuleDirection)[keyof typeof SecurityRuleDirection]; + +export const SecurityRuleProtocol = { + /** + * Transmission Control Protocol + */ + Tcp: "Tcp", + /** + * User Datagram Protocol + */ + Udp: "Udp", + /** + * Internet Control Message Protocol + */ + Icmp: "Icmp", + /** + * Wildcard rule for all protocols + */ + Asterisk: "*", +} as const; + +/** + * Network protocol this rule applies to. + */ +export type SecurityRuleProtocol = (typeof SecurityRuleProtocol)[keyof typeof SecurityRuleProtocol]; + +export const SecurityTypes = { + /** + * Trusted Launch security type + */ + TrustedLaunch: "TrustedLaunch", + /** + * Confidential VM security type + */ + ConfidentialVM: "ConfidentialVM", +} as const; + +/** + * Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + */ +export type SecurityTypes = (typeof SecurityTypes)[keyof typeof SecurityTypes]; + +export const VmSizeEnum = { + /** + * Default virtual machine size + */ + Default: "Default", + /** + * Standard A2 v2 virtual machine size + */ + Standard_A2_v2: "Standard_A2_v2", + /** + * Standard A4 v2 virtual machine size + */ + Standard_A4_v2: "Standard_A4_v2", + /** + * Standard D2s v3 virtual machine size + */ + Standard_D2s_v3: "Standard_D2s_v3", + /** + * Standard D4s v3 virtual machine size + */ + Standard_D4s_v3: "Standard_D4s_v3", + /** + * Standard D8s v3 virtual machine size + */ + Standard_D8s_v3: "Standard_D8s_v3", + /** + * Standard D16s v3 virtual machine size + */ + Standard_D16s_v3: "Standard_D16s_v3", + /** + * Standard D32s v3 virtual machine size + */ + Standard_D32s_v3: "Standard_D32s_v3", + /** + * Standard DS2 v2 virtual machine size + */ + Standard_DS2_v2: "Standard_DS2_v2", + /** + * Standard DS3 v2 virtual machine size + */ + Standard_DS3_v2: "Standard_DS3_v2", + /** + * Standard DS4 v2 virtual machine size + */ + Standard_DS4_v2: "Standard_DS4_v2", + /** + * Standard DS5 v2 virtual machine size + */ + Standard_DS5_v2: "Standard_DS5_v2", + /** + * Standard DS13 v2 virtual machine size + */ + Standard_DS13_v2: "Standard_DS13_v2", + /** + * Standard K8S v1 virtual machine size + */ + Standard_K8S_v1: "Standard_K8S_v1", + /** + * Standard K8S2 v1 virtual machine size + */ + Standard_K8S2_v1: "Standard_K8S2_v1", + /** + * Standard K8S3 v1 virtual machine size + */ + Standard_K8S3_v1: "Standard_K8S3_v1", + /** + * Standard K8S4 v1 virtual machine size + */ + Standard_K8S4_v1: "Standard_K8S4_v1", + /** + * Standard NK6 virtual machine size + */ + Standard_NK6: "Standard_NK6", + /** + * Standard NK12 virtual machine size + */ + Standard_NK12: "Standard_NK12", + /** + * Standard NV6 virtual machine size + */ + Standard_NV6: "Standard_NV6", + /** + * Standard NV12 virtual machine size + */ + Standard_NV12: "Standard_NV12", + /** + * Standard K8S5 v1 virtual machine size + */ + Standard_K8S5_v1: "Standard_K8S5_v1", + /** + * Custom virtual machine size + */ + Custom: "Custom", +} as const; + +/** + * Enum of VM Sizes + */ +export type VmSizeEnum = (typeof VmSizeEnum)[keyof typeof VmSizeEnum]; diff --git a/sdk/nodejs/types/enums/search/index.ts b/sdk/nodejs/types/enums/search/index.ts index 206a5fc10735..f9cfb5efca38 100644 --- a/sdk/nodejs/types/enums/search/index.ts +++ b/sdk/nodejs/types/enums/search/index.ts @@ -7,6 +7,7 @@ import * as v20220901 from "./v20220901"; import * as v20231101 from "./v20231101"; import * as v20240301preview from "./v20240301preview"; import * as v20240601preview from "./v20240601preview"; +import * as v20250201preview from "./v20250201preview"; export { v20210401preview, @@ -14,6 +15,7 @@ export { v20231101, v20240301preview, v20240601preview, + v20250201preview, }; export const AadAuthFailureMode = { diff --git a/sdk/nodejs/types/enums/search/v20250201preview/index.ts b/sdk/nodejs/types/enums/search/v20250201preview/index.ts new file mode 100644 index 000000000000..7b4e911ab705 --- /dev/null +++ b/sdk/nodejs/types/enums/search/v20250201preview/index.ts @@ -0,0 +1,307 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + + +export const AadAuthFailureMode = { + /** + * Indicates that requests that failed authentication should be presented with an HTTP status code of 403 (Forbidden). + */ + Http403: "http403", + /** + * Indicates that requests that failed authentication should be presented with an HTTP status code of 401 (Unauthorized) and present a Bearer Challenge. + */ + Http401WithBearerChallenge: "http401WithBearerChallenge", +} as const; + +/** + * Describes what response the data plane API of a search service would send for requests that failed authentication. + */ +export type AadAuthFailureMode = (typeof AadAuthFailureMode)[keyof typeof AadAuthFailureMode]; + +export const ComputeType = { + /** + * Create the service with the default compute. + */ + Default: "default", + /** + * Create the service with Azure Confidential Compute. + */ + Confidential: "confidential", +} as const; + +/** + * Configure this property to support the search service using either the default compute or Azure Confidential Compute. + */ +export type ComputeType = (typeof ComputeType)[keyof typeof ComputeType]; + +export const HostingMode = { + /** + * The limit on number of indexes is determined by the default limits for the SKU. + */ + Default: "default", + /** + * Only application for standard3 SKU, where the search service can have up to 1000 indexes. + */ + HighDensity: "highDensity", +} as const; + +/** + * Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + */ +export type HostingMode = (typeof HostingMode)[keyof typeof HostingMode]; + +export const IdentityType = { + /** + * Indicates that any identity associated with the search service needs to be removed. + */ + None: "None", + /** + * Indicates that system-assigned identity for the search service will be enabled. + */ + SystemAssigned: "SystemAssigned", + /** + * Indicates that one or more user assigned identities will be assigned to the search service. + */ + UserAssigned: "UserAssigned", + /** + * Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities. + */ + SystemAssigned_UserAssigned: "SystemAssigned, UserAssigned", +} as const; + +/** + * The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + */ +export type IdentityType = (typeof IdentityType)[keyof typeof IdentityType]; + +export const PrivateLinkServiceConnectionProvisioningState = { + /** + * The private link service connection is in the process of being created along with other resources for it to be fully functional. + */ + Updating: "Updating", + /** + * The private link service connection is in the process of being deleted. + */ + Deleting: "Deleting", + /** + * The private link service connection has failed to be provisioned or deleted. + */ + Failed: "Failed", + /** + * The private link service connection has finished provisioning and is ready for approval. + */ + Succeeded: "Succeeded", + /** + * Provisioning request for the private link service connection resource has been accepted but the process of creation has not commenced yet. + */ + Incomplete: "Incomplete", + /** + * Provisioning request for the private link service connection resource has been canceled. + */ + Canceled: "Canceled", +} as const; + +/** + * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + */ +export type PrivateLinkServiceConnectionProvisioningState = (typeof PrivateLinkServiceConnectionProvisioningState)[keyof typeof PrivateLinkServiceConnectionProvisioningState]; + +export const PrivateLinkServiceConnectionStatus = { + /** + * The private endpoint connection has been created and is pending approval. + */ + Pending: "Pending", + /** + * The private endpoint connection is approved and is ready for use. + */ + Approved: "Approved", + /** + * The private endpoint connection has been rejected and cannot be used. + */ + Rejected: "Rejected", + /** + * The private endpoint connection has been removed from the service. + */ + Disconnected: "Disconnected", +} as const; + +/** + * Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + */ +export type PrivateLinkServiceConnectionStatus = (typeof PrivateLinkServiceConnectionStatus)[keyof typeof PrivateLinkServiceConnectionStatus]; + +export const PublicNetworkAccess = { + /** + * The search service is accessible from traffic originating from the public internet. + */ + Enabled: "enabled", + /** + * The search service is not accessible from traffic originating from the public internet. Access is only permitted over approved private endpoint connections. + */ + Disabled: "disabled", +} as const; + +/** + * This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + */ +export type PublicNetworkAccess = (typeof PublicNetworkAccess)[keyof typeof PublicNetworkAccess]; + +export const SearchBypass = { + /** + * Indicates that no origin can bypass the rules defined in the 'ipRules' section. This is the default. + */ + None: "None", + /** + * Indicates that requests originating from the Azure portal can bypass the rules defined in the 'ipRules' section. + */ + AzurePortal: "AzurePortal", + /** + * Indicates that requests originating from Azure trusted services can bypass the rules defined in the 'ipRules' section. + */ + AzureServices: "AzureServices", +} as const; + +/** + * Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + */ +export type SearchBypass = (typeof SearchBypass)[keyof typeof SearchBypass]; + +export const SearchDisabledDataExfiltrationOption = { + /** + * Indicates that all data exfiltration scenarios are disabled. + */ + All: "All", +} as const; + +/** + * A specific data exfiltration scenario that is disabled for the service. + */ +export type SearchDisabledDataExfiltrationOption = (typeof SearchDisabledDataExfiltrationOption)[keyof typeof SearchDisabledDataExfiltrationOption]; + +export const SearchEncryptionWithCmk = { + /** + * No enforcement of customer-managed key encryption will be made. Only the built-in service-managed encryption is used. + */ + Disabled: "Disabled", + /** + * Search service will be marked as non-compliant if one or more objects aren't encrypted with a customer-managed key. + */ + Enabled: "Enabled", + /** + * Enforcement policy is not explicitly specified, with the behavior being the same as if it were set to 'Disabled'. + */ + Unspecified: "Unspecified", +} as const; + +/** + * Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + */ +export type SearchEncryptionWithCmk = (typeof SearchEncryptionWithCmk)[keyof typeof SearchEncryptionWithCmk]; + +export const SearchSemanticSearch = { + /** + * Indicates that semantic reranker is disabled for the search service. This is the default. + */ + Disabled: "disabled", + /** + * Enables semantic reranker on a search service and indicates that it is to be used within the limits of the free plan. The free plan would cap the volume of semantic ranking requests and is offered at no extra charge. This is the default for newly provisioned search services. + */ + Free: "free", + /** + * Enables semantic reranker on a search service as a billable feature, with higher throughput and volume of semantically reranked queries. + */ + Standard: "standard", +} as const; + +/** + * Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + */ +export type SearchSemanticSearch = (typeof SearchSemanticSearch)[keyof typeof SearchSemanticSearch]; + +export const SharedPrivateLinkResourceProvisioningState = { + /** + * The shared private link resource is in the process of being created along with other resources for it to be fully functional. + */ + Updating: "Updating", + /** + * The shared private link resource is in the process of being deleted. + */ + Deleting: "Deleting", + /** + * The shared private link resource has failed to be provisioned or deleted. + */ + Failed: "Failed", + /** + * The shared private link resource has finished provisioning and is ready for approval. + */ + Succeeded: "Succeeded", + /** + * Provisioning request for the shared private link resource has been accepted but the process of creation has not commenced yet. + */ + Incomplete: "Incomplete", +} as const; + +/** + * The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + */ +export type SharedPrivateLinkResourceProvisioningState = (typeof SharedPrivateLinkResourceProvisioningState)[keyof typeof SharedPrivateLinkResourceProvisioningState]; + +export const SharedPrivateLinkResourceStatus = { + /** + * The shared private link resource has been created and is pending approval. + */ + Pending: "Pending", + /** + * The shared private link resource is approved and is ready for use. + */ + Approved: "Approved", + /** + * The shared private link resource has been rejected and cannot be used. + */ + Rejected: "Rejected", + /** + * The shared private link resource has been removed from the service. + */ + Disconnected: "Disconnected", +} as const; + +/** + * Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + */ +export type SharedPrivateLinkResourceStatus = (typeof SharedPrivateLinkResourceStatus)[keyof typeof SharedPrivateLinkResourceStatus]; + +export const SkuName = { + /** + * Free tier, with no SLA guarantees and a subset of the features offered on billable tiers. + */ + Free: "free", + /** + * Billable tier for a dedicated service having up to 3 replicas. + */ + Basic: "basic", + /** + * Billable tier for a dedicated service having up to 12 partitions and 12 replicas. + */ + Standard: "standard", + /** + * Similar to 'standard', but with more capacity per search unit. + */ + Standard2: "standard2", + /** + * The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). + */ + Standard3: "standard3", + /** + * Billable tier for a dedicated service that supports 1TB per partition, up to 12 partitions. + */ + StorageOptimizedL1: "storage_optimized_l1", + /** + * Billable tier for a dedicated service that supports 2TB per partition, up to 12 partitions. + */ + StorageOptimizedL2: "storage_optimized_l2", +} as const; + +/** + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ +export type SkuName = (typeof SkuName)[keyof typeof SkuName]; diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 93f327564233..4f4ce5f75c15 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -130699,6 +130699,631 @@ export namespace azurestackhci { } + export namespace v20241001preview { + /** + * The complex type of the extended location. + */ + export interface ExtendedLocationArgs { + /** + * The name of the extended location. + */ + name?: pulumi.Input; + /** + * The type of the extended location. + */ + type?: pulumi.Input; + } + + /** + * This is the gallery image definition identifier. + */ + export interface GalleryImageIdentifierArgs { + /** + * The name of the gallery image definition offer. + */ + offer: pulumi.Input; + /** + * The name of the gallery image definition publisher. + */ + publisher: pulumi.Input; + /** + * The name of the gallery image definition SKU. + */ + sku: pulumi.Input; + } + + /** + * Specifies information about the gallery image version that you want to create or update. + */ + export interface GalleryImageVersionArgs { + /** + * This is the version of the gallery image. + */ + name?: pulumi.Input; + } + + /** + * Username / Password Credentials to connect to guest. + */ + export interface GuestCredentialArgs { + /** + * The password to connect with the guest. + */ + password?: pulumi.Input; + /** + * The username to connect with the guest. + */ + username?: pulumi.Input; + } + + /** + * HTTP Proxy configuration for the VM. + */ + export interface HttpProxyConfigurationArgs { + /** + * The HTTP proxy server endpoint to use. + */ + httpProxy?: pulumi.Input; + /** + * The HTTPS proxy server endpoint to use. + */ + httpsProxy?: pulumi.Input; + /** + * The endpoints that should not go through proxy. + */ + noProxy?: pulumi.Input[]>; + /** + * Alternative CA cert to use for connecting to proxy servers. + */ + trustedCa?: pulumi.Input; + } + + /** + * InterfaceIPConfiguration IPConfiguration in a network interface. + */ + export interface IPConfigurationArgs { + /** + * Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + name?: pulumi.Input; + /** + * InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + */ + properties?: pulumi.Input; + } + + /** + * InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + */ + export interface IPConfigurationPropertiesArgs { + /** + * PrivateIPAddress - Private IP address of the IP configuration. + */ + privateIPAddress?: pulumi.Input; + /** + * Subnet - Name of Subnet bound to the IP configuration. + */ + subnet?: pulumi.Input; + } + + /** + * Describes IPPool + */ + export interface IPPoolArgs { + /** + * End of the IP address pool + */ + end?: pulumi.Input; + /** + * Type of the IP Pool [vm, vippool] + */ + ipPoolType?: pulumi.Input; + /** + * Name of the IP-Pool + */ + name?: pulumi.Input; + /** + * Start of the IP address pool + */ + start?: pulumi.Input; + } + + /** + * The ARM ID for a Gallery Image. + */ + export interface ImageArmReferenceArgs { + /** + * The ARM ID for an image resource used by the virtual machine instance. + */ + id?: pulumi.Input; + } + + /** + * DNS Settings of the interface + */ + export interface InterfaceDNSSettingsArgs { + /** + * List of DNS server IP Addresses for the interface + */ + dnsServers?: pulumi.Input[]>; + } + + /** + * The ARM ID for a Logical Network. + */ + export interface LogicalNetworkArmReferenceArgs { + /** + * The ARM ID for a Logical Network. + */ + id?: pulumi.Input; + } + + /** + * DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + */ + export interface LogicalNetworkPropertiesDhcpOptionsArgs { + /** + * The list of DNS servers IP addresses. + */ + dnsServers?: pulumi.Input[]>; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityArgs { + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: pulumi.Input; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The ARM ID for a Network Interface. + */ + export interface NetworkInterfaceArmReferenceArgs { + /** + * The ARM ID for a Network Interface. + */ + id?: pulumi.Input; + } + + /** + * The ARM ID for a Network Security Group. + */ + export interface NetworkSecurityGroupArmReferenceArgs { + /** + * The ARM ID for a Network Security Group. + */ + id?: pulumi.Input; + } + + /** + * Route - Route resource. + */ + export interface RouteArgs { + /** + * The destination CIDR to which the route applies. + */ + addressPrefix?: pulumi.Input; + /** + * Name - name of the subnet + */ + name?: pulumi.Input; + /** + * The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + */ + nextHopIpAddress?: pulumi.Input; + } + + /** + * Route table resource. + */ + export interface RouteTableArgs { + /** + * Collection of routes contained within a route table. + */ + routes?: pulumi.Input[]>; + } + + /** + * SSH configuration for Linux based VMs running on Azure + */ + export interface SshConfigurationArgs { + /** + * The list of SSH public keys used to authenticate with linux based VMs. + */ + publicKeys?: pulumi.Input[]>; + } + + /** + * Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + */ + export interface SshPublicKeyArgs { + /** + * 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + */ + keyData?: pulumi.Input; + /** + * 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 + */ + path?: pulumi.Input; + } + + /** + * Properties of the subnet. + */ + export interface SubnetArgs { + /** + * The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + */ + addressPrefix?: pulumi.Input; + /** + * List of address prefixes for the subnet. + */ + addressPrefixes?: pulumi.Input[]>; + /** + * IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + */ + ipAllocationMethod?: pulumi.Input; + /** + * IPConfigurationReferences - list of IPConfigurationReferences + */ + ipConfigurationReferences?: pulumi.Input[]>; + /** + * network associated pool of IP Addresses + */ + ipPools?: pulumi.Input[]>; + /** + * Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + name?: pulumi.Input; + /** + * NetworkSecurityGroup - Network Security Group attached to the logical network. + */ + networkSecurityGroup?: pulumi.Input; + /** + * Route table resource. + */ + routeTable?: pulumi.Input; + /** + * Vlan to use for the subnet + */ + vlan?: pulumi.Input; + } + + /** + * The ARM ID for a Network Interface. + */ + export interface SubnetIpConfigurationReferenceArgs { + /** + * The ARM ID for a Network Interface. + */ + id?: pulumi.Input; + } + + /** + * Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + */ + export interface VMDiskSecurityProfileArgs { + /** + * Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + */ + securityEncryptionType?: pulumi.Input; + } + + /** + * The ARM ID for a Virtual Hard Disk. + */ + export interface VirtualHardDiskArmReferenceArgs { + /** + * The ARM ID for a Virtual Hard Disk. + */ + id?: pulumi.Input; + } + + /** + * The parameters of a managed disk. + */ + export interface VirtualMachineInstanceManagedDiskParametersArgs { + /** + * Specifies the security profile for the managed disk. + */ + securityProfile?: pulumi.Input; + } + + /** + * HardwareProfile - Specifies the hardware settings for the virtual machine instance. + */ + export interface VirtualMachineInstancePropertiesHardwareProfileArgs { + /** + * Dynamic memory config + */ + dynamicMemoryConfig?: pulumi.Input; + /** + * RAM in MB for the virtual machine instance + */ + memoryMB?: pulumi.Input; + /** + * number of processors for the virtual machine instance + */ + processors?: pulumi.Input; + /** + * virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + */ + virtualMachineGPUs?: pulumi.Input[]>; + /** + * Enum of VM Sizes + */ + vmSize?: pulumi.Input; + } + /** + * virtualMachineInstancePropertiesHardwareProfileArgsProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesHardwareProfileArgs + */ + export function virtualMachineInstancePropertiesHardwareProfileArgsProvideDefaults(val: VirtualMachineInstancePropertiesHardwareProfileArgs): VirtualMachineInstancePropertiesHardwareProfileArgs { + return { + ...val, + vmSize: (val.vmSize) ?? "Default", + }; + } + + /** + * Dynamic memory config + */ + export interface VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs { + /** + * Maximum memory in MB + */ + maximumMemoryMB?: pulumi.Input; + /** + * Minimum memory in MB + */ + minimumMemoryMB?: pulumi.Input; + /** + * Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + */ + targetMemoryBuffer?: pulumi.Input; + } + + /** + * GPU properties - describes the GPU configuration. + */ + export interface VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs { + /** + * GPU assignment type + */ + assignmentType: pulumi.Input; + /** + * Name of the GPU + */ + gpuName?: pulumi.Input; + /** + * Size of gpu partition in MB for GPU-P + */ + partitionSizeMB?: pulumi.Input; + } + + /** + * NetworkProfile - describes the network configuration the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesNetworkProfileArgs { + /** + * NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + */ + networkInterfaces?: pulumi.Input[]>; + } + + /** + * OsProfile - describes the configuration of the operating system and sets login data + */ + export interface VirtualMachineInstancePropertiesOsProfileArgs { + /** + * AdminPassword - admin password + */ + adminPassword?: pulumi.Input; + /** + * AdminUsername - admin username + */ + adminUsername?: pulumi.Input; + /** + * ComputerName - name of the compute + */ + computerName?: pulumi.Input; + /** + * LinuxConfiguration - linux specific configuration values for the virtual machine instance + */ + linuxConfiguration?: pulumi.Input; + /** + * Windows Configuration for the virtual machine instance + */ + windowsConfiguration?: pulumi.Input; + } + /** + * virtualMachineInstancePropertiesOsProfileArgsProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesOsProfileArgs + */ + export function virtualMachineInstancePropertiesOsProfileArgsProvideDefaults(val: VirtualMachineInstancePropertiesOsProfileArgs): VirtualMachineInstancePropertiesOsProfileArgs { + return { + ...val, + linuxConfiguration: (val.linuxConfiguration ? pulumi.output(val.linuxConfiguration).apply(inputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsProvideDefaults) : undefined), + windowsConfiguration: (val.windowsConfiguration ? pulumi.output(val.windowsConfiguration).apply(inputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsProvideDefaults) : undefined), + }; + } + + /** + * LinuxConfiguration - linux specific configuration values for the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs { + /** + * DisablePasswordAuthentication - whether password authentication should be disabled + */ + disablePasswordAuthentication?: pulumi.Input; + /** + * Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + */ + provisionVMAgent?: pulumi.Input; + /** + * Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + */ + provisionVMConfigAgent?: pulumi.Input; + /** + * Specifies the ssh key configuration for a Linux OS. + */ + ssh?: pulumi.Input; + } + /** + * virtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs + */ + export function virtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsProvideDefaults(val: VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs): VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs { + return { + ...val, + provisionVMAgent: (val.provisionVMAgent) ?? true, + provisionVMConfigAgent: (val.provisionVMConfigAgent) ?? true, + }; + } + + /** + * Windows Configuration for the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs { + /** + * Whether to EnableAutomaticUpdates on the machine + */ + enableAutomaticUpdates?: pulumi.Input; + /** + * Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + */ + provisionVMAgent?: pulumi.Input; + /** + * Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + */ + provisionVMConfigAgent?: pulumi.Input; + /** + * Specifies the ssh key configuration for Windows OS. + */ + ssh?: pulumi.Input; + /** + * TimeZone for the virtual machine instance + */ + timeZone?: pulumi.Input; + } + /** + * virtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs + */ + export function virtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsProvideDefaults(val: VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs): VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs { + return { + ...val, + provisionVMAgent: (val.provisionVMAgent) ?? true, + provisionVMConfigAgent: (val.provisionVMConfigAgent) ?? true, + }; + } + + /** + * SecurityProfile - Specifies the security settings for the virtual machine instance. + */ + export interface VirtualMachineInstancePropertiesSecurityProfileArgs { + /** + * Enable TPM flag + */ + enableTPM?: pulumi.Input; + /** + * Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + */ + securityType?: pulumi.Input; + /** + * Uefi settings of the virtual machine instance + */ + uefiSettings?: pulumi.Input; + } + /** + * virtualMachineInstancePropertiesSecurityProfileArgsProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesSecurityProfileArgs + */ + export function virtualMachineInstancePropertiesSecurityProfileArgsProvideDefaults(val: VirtualMachineInstancePropertiesSecurityProfileArgs): VirtualMachineInstancePropertiesSecurityProfileArgs { + return { + ...val, + enableTPM: (val.enableTPM) ?? false, + uefiSettings: (val.uefiSettings ? pulumi.output(val.uefiSettings).apply(inputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsProvideDefaults) : undefined), + }; + } + + /** + * Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + */ + export interface VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs { + /** + * Specifies whether secure boot should be enabled on the virtual machine instance. + */ + secureBootEnabled?: pulumi.Input; + } + /** + * virtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs + */ + export function virtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsProvideDefaults(val: VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs): VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs { + return { + ...val, + secureBootEnabled: (val.secureBootEnabled) ?? false, + }; + } + + /** + * StorageProfile - contains information about the disks and storage information for the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesStorageProfileArgs { + /** + * adds data disks to the virtual machine instance + */ + dataDisks?: pulumi.Input[]>; + /** + * Which Image to use for the virtual machine instance + */ + imageReference?: pulumi.Input; + /** + * VHD to attach as OS disk + */ + osDisk?: pulumi.Input; + /** + * Id of the storage container that hosts the VM configuration file + */ + vmConfigStoragePathId?: pulumi.Input; + } + + /** + * VHD to attach as OS disk + */ + export interface VirtualMachineInstancePropertiesStorageProfileOsDiskArgs { + /** + * The ARM ID for a Virtual Hard Disk. + */ + id?: pulumi.Input; + /** + * The managed disk parameters. + */ + managedDisk?: pulumi.Input; + /** + * 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. Possible values are: Windows, Linux. + */ + osType?: pulumi.Input; + } + + /** + * The credentials used to login to the image repository that has access to the specified image + */ + export interface VmImageRepositoryCredentialsArgs { + /** + * Password for accessing image repository + */ + password: pulumi.Input; + /** + * Username for accessing image repository + */ + username: pulumi.Input; + } + + } + export namespace v20241201preview { /** * The AdapterPropertyOverrides of a cluster. @@ -786295,6 +786920,189 @@ export namespace search { } } + + export namespace v20250201preview { + /** + * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + */ + export interface DataPlaneAadOrApiKeyAuthOptionArgs { + /** + * Describes what response the data plane API of a search service would send for requests that failed authentication. + */ + aadAuthFailureMode?: pulumi.Input; + } + + /** + * Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + */ + export interface DataPlaneAuthOptionsArgs { + /** + * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + */ + aadOrApiKey?: pulumi.Input; + /** + * Indicates that only the API key can be used for authentication. + */ + apiKeyOnly?: any; + } + + /** + * Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + */ + export interface EncryptionWithCmkArgs { + /** + * Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + */ + enforcement?: pulumi.Input; + } + + /** + * Details about the search service identity. A null value indicates that the search service has no identity assigned. + */ + export interface IdentityArgs { + /** + * The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + */ + type: pulumi.Input; + /** + * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: pulumi.Input[]>; + } + + /** + * The IP restriction rule of the Azure AI Search service. + */ + export interface IpRuleArgs { + /** + * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + */ + value?: pulumi.Input; + } + + /** + * Network specific rules that determine how the Azure AI Search service may be reached. + */ + export interface NetworkRuleSetArgs { + /** + * Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + */ + bypass?: pulumi.Input; + /** + * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + */ + ipRules?: pulumi.Input[]>; + } + + /** + * Describes the properties of an existing private endpoint connection to the search service. + */ + export interface PrivateEndpointConnectionPropertiesArgs { + /** + * The group ID of the Azure resource for which the private link service is for. + */ + groupId?: pulumi.Input; + /** + * The private endpoint resource from Microsoft.Network provider. + */ + privateEndpoint?: pulumi.Input; + /** + * Describes the current state of an existing Azure Private Link service connection to the private endpoint. + */ + privateLinkServiceConnectionState?: pulumi.Input; + /** + * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + */ + provisioningState?: pulumi.Input; + } + /** + * privateEndpointConnectionPropertiesArgsProvideDefaults sets the appropriate defaults for PrivateEndpointConnectionPropertiesArgs + */ + export function privateEndpointConnectionPropertiesArgsProvideDefaults(val: PrivateEndpointConnectionPropertiesArgs): PrivateEndpointConnectionPropertiesArgs { + return { + ...val, + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? pulumi.output(val.privateLinkServiceConnectionState).apply(inputs.search.v20250201preview.privateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsProvideDefaults) : undefined), + }; + } + + /** + * The private endpoint resource from Microsoft.Network provider. + */ + export interface PrivateEndpointConnectionPropertiesPrivateEndpointArgs { + /** + * The resource ID of the private endpoint resource from Microsoft.Network provider. + */ + id?: pulumi.Input; + } + + /** + * Describes the current state of an existing Azure Private Link service connection to the private endpoint. + */ + export interface PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs { + /** + * A description of any extra actions that may be required. + */ + actionsRequired?: pulumi.Input; + /** + * The description for the private link service connection state. + */ + description?: pulumi.Input; + /** + * Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + */ + status?: pulumi.Input; + } + /** + * privateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsProvideDefaults sets the appropriate defaults for PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs + */ + export function privateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsProvideDefaults(val: PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs): PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs { + return { + ...val, + actionsRequired: (val.actionsRequired) ?? "None", + }; + } + + /** + * Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + */ + export interface SharedPrivateLinkResourcePropertiesArgs { + /** + * The group ID from the provider of resource the shared private link resource is for. + */ + groupId?: pulumi.Input; + /** + * The resource ID of the resource the shared private link resource is for. + */ + privateLinkResourceId?: pulumi.Input; + /** + * The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + */ + provisioningState?: pulumi.Input; + /** + * The message for requesting approval of the shared private link resource. + */ + requestMessage?: pulumi.Input; + /** + * Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + */ + resourceRegion?: pulumi.Input; + /** + * Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + */ + status?: pulumi.Input; + } + + /** + * Defines the SKU of a search service, which determines billing rate and capacity limits. + */ + export interface SkuArgs { + /** + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ + name?: pulumi.Input; + } + + } } export namespace secretsynccontroller { diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 65137c095ac2..57d58c5143a8 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -164417,6 +164417,1177 @@ export namespace azurestackhci { } + export namespace v20241001preview { + /** + * The resource management error additional info. + */ + export interface ErrorAdditionalInfoResponse { + /** + * The additional info. + */ + info: any; + /** + * The additional info type. + */ + type: string; + } + + /** + * The error detail. + */ + export interface ErrorDetailResponse { + /** + * The error additional info. + */ + additionalInfo: outputs.azurestackhci.v20241001preview.ErrorAdditionalInfoResponse[]; + /** + * The error code. + */ + code: string; + /** + * The error details. + */ + details: outputs.azurestackhci.v20241001preview.ErrorDetailResponse[]; + /** + * The error message. + */ + message: string; + /** + * The error target. + */ + target: string; + } + + /** + * The complex type of the extended location. + */ + export interface ExtendedLocationResponse { + /** + * The name of the extended location. + */ + name?: string; + /** + * The type of the extended location. + */ + type?: string; + } + + /** + * This is the gallery image definition identifier. + */ + export interface GalleryImageIdentifierResponse { + /** + * The name of the gallery image definition offer. + */ + offer: string; + /** + * The name of the gallery image definition publisher. + */ + publisher: string; + /** + * The name of the gallery image definition SKU. + */ + sku: string; + } + + /** + * The download status of the gallery image + */ + export interface GalleryImageStatusDownloadStatusResponse { + /** + * The downloaded sized of the image in MB + */ + downloadSizeInMB?: number; + } + + /** + * The status of the operation performed on the gallery image + */ + export interface GalleryImageStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the gallery image + */ + operationId?: string; + /** + * The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of gallery images + */ + export interface GalleryImageStatusResponse { + /** + * The download status of the gallery image + */ + downloadStatus?: outputs.azurestackhci.v20241001preview.GalleryImageStatusDownloadStatusResponse; + /** + * GalleryImage provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * The progress of the operation in percentage + */ + progressPercentage?: number; + /** + * provisioning status of the gallery image + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.GalleryImageStatusProvisioningStatusResponse; + } + + /** + * Specifies information about the gallery image version that you want to create or update. + */ + export interface GalleryImageVersionResponse { + /** + * This is the version of the gallery image. + */ + name?: string; + /** + * This is the storage profile of a Gallery Image Version. + */ + storageProfile: outputs.azurestackhci.v20241001preview.GalleryImageVersionStorageProfileResponse; + } + + /** + * This is the storage profile of a Gallery Image Version. + */ + export interface GalleryImageVersionStorageProfileResponse { + /** + * This is the OS disk image. + */ + osDiskImage?: outputs.azurestackhci.v20241001preview.GalleryOSDiskImageResponse; + } + + /** + * This is the OS disk image. + */ + export interface GalleryOSDiskImageResponse { + /** + * This property indicates the size of the VHD to be created. + */ + sizeInMB: number; + } + + /** + * Defines the status of a guest agent installation. + */ + export interface GuestAgentInstallStatusResponse { + /** + * The hybrid machine agent full version. + */ + agentVersion: string; + /** + * Details about the error state. + */ + errorDetails: outputs.azurestackhci.v20241001preview.ErrorDetailResponse[]; + /** + * The time of the last status change. + */ + lastStatusChange: string; + /** + * The installation status of the hybrid machine agent installation. + */ + status: string; + /** + * Specifies the VM's unique SMBIOS ID. + */ + vmUuid: string; + } + + /** + * Username / Password Credentials to connect to guest. + */ + export interface GuestCredentialResponse { + /** + * The username to connect with the guest. + */ + username?: string; + } + + /** + * HTTP Proxy configuration for the VM. + */ + export interface HttpProxyConfigurationResponse { + /** + * The HTTP proxy server endpoint to use. + */ + httpProxy?: string; + /** + * The HTTPS proxy server endpoint to use. + */ + httpsProxy?: string; + /** + * The endpoints that should not go through proxy. + */ + noProxy?: string[]; + /** + * Alternative CA cert to use for connecting to proxy servers. + */ + trustedCa?: string; + } + + /** + * InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + */ + export interface IPConfigurationPropertiesResponse { + /** + * Gateway for network interface + */ + gateway: string; + /** + * prefixLength for network interface + */ + prefixLength: string; + /** + * PrivateIPAddress - Private IP address of the IP configuration. + */ + privateIPAddress?: string; + /** + * Subnet - Name of Subnet bound to the IP configuration. + */ + subnet?: outputs.azurestackhci.v20241001preview.LogicalNetworkArmReferenceResponse; + } + + /** + * InterfaceIPConfiguration IPConfiguration in a network interface. + */ + export interface IPConfigurationResponse { + /** + * Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + name?: string; + /** + * InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + */ + properties?: outputs.azurestackhci.v20241001preview.IPConfigurationPropertiesResponse; + } + + /** + * IP Pool info + */ + export interface IPPoolInfoResponse { + /** + * Number of IP addresses available in the IP Pool + */ + available: string; + /** + * Number of IP addresses allocated from the IP Pool + */ + used: string; + } + + /** + * Describes IPPool + */ + export interface IPPoolResponse { + /** + * End of the IP address pool + */ + end?: string; + /** + * IPPool info + */ + info?: outputs.azurestackhci.v20241001preview.IPPoolInfoResponse; + /** + * Type of the IP Pool [vm, vippool] + */ + ipPoolType?: string; + /** + * Name of the IP-Pool + */ + name?: string; + /** + * Start of the IP address pool + */ + start?: string; + } + + /** + * The ARM ID for a Gallery Image. + */ + export interface ImageArmReferenceResponse { + /** + * The ARM ID for an image resource used by the virtual machine instance. + */ + id?: string; + } + + /** + * Instance view status. + */ + export interface InstanceViewStatusResponse { + /** + * The status code. + */ + code?: string; + /** + * The short localizable label for the status. + */ + displayStatus?: string; + /** + * The level code. + */ + level?: string; + /** + * The detailed status message, including for alerts and error messages. + */ + message?: string; + /** + * The time of the status. + */ + time?: string; + } + + /** + * DNS Settings of the interface + */ + export interface InterfaceDNSSettingsResponse { + /** + * List of DNS server IP Addresses for the interface + */ + dnsServers?: string[]; + } + + /** + * The ARM ID for a Logical Network. + */ + export interface LogicalNetworkArmReferenceResponse { + /** + * The ARM ID for a Logical Network. + */ + id?: string; + } + + /** + * DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + */ + export interface LogicalNetworkPropertiesDhcpOptionsResponse { + /** + * The list of DNS servers IP addresses. + */ + dnsServers?: string[]; + } + + /** + * Describes the status of the provisioning. + */ + export interface LogicalNetworkStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the logical network + */ + operationId?: string; + /** + * The status of the operation performed on the logical network [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of logical networks + */ + export interface LogicalNetworkStatusResponse { + /** + * LogicalNetwork provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * Logical network provisioning status + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.LogicalNetworkStatusProvisioningStatusResponse; + } + + /** + * Managed service identity (system assigned and/or user assigned identities) + */ + export interface ManagedServiceIdentityResponse { + /** + * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + principalId: string; + /** + * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + */ + tenantId: string; + /** + * Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + */ + type: string; + /** + * The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + */ + userAssignedIdentities?: {[key: string]: outputs.azurestackhci.v20241001preview.UserAssignedIdentityResponse}; + } + + /** + * The download status of the gallery image + */ + export interface MarketplaceGalleryImageStatusDownloadStatusResponse { + /** + * The downloaded sized of the image in MB + */ + downloadSizeInMB?: number; + } + + /** + * Marketplace GalleryImage provisioning status + */ + export interface MarketplaceGalleryImageStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the gallery image + */ + operationId?: string; + /** + * The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of marketplace gallery images + */ + export interface MarketplaceGalleryImageStatusResponse { + /** + * The download status of the gallery image + */ + downloadStatus?: outputs.azurestackhci.v20241001preview.MarketplaceGalleryImageStatusDownloadStatusResponse; + /** + * MarketplaceGalleryImage provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * The progress of the operation in percentage + */ + progressPercentage?: number; + /** + * Provisioning status of marketplace gallery image + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.MarketplaceGalleryImageStatusProvisioningStatusResponse; + } + + /** + * The ARM ID for a Network Interface. + */ + export interface NetworkInterfaceArmReferenceResponse { + /** + * The ARM ID for a Network Interface. + */ + id?: string; + } + + /** + * Network interface provisioning status + */ + export interface NetworkInterfaceStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the network interface + */ + operationId?: string; + /** + * The status of the operation performed on the network interface [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of network interfaces + */ + export interface NetworkInterfaceStatusResponse { + /** + * NetworkInterface provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * Network interface provisioning status + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.NetworkInterfaceStatusProvisioningStatusResponse; + } + + /** + * The ARM ID for a Network Security Group. + */ + export interface NetworkSecurityGroupArmReferenceResponse { + /** + * The ARM ID for a Network Security Group. + */ + id?: string; + } + + /** + * Route - Route resource. + */ + export interface RouteResponse { + /** + * The destination CIDR to which the route applies. + */ + addressPrefix?: string; + /** + * Name - name of the subnet + */ + name?: string; + /** + * The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + */ + nextHopIpAddress?: string; + } + + /** + * Route table resource. + */ + export interface RouteTableResponse { + /** + * A unique read-only string that changes whenever the resource is updated. + */ + etag: string; + /** + * Resource name. + */ + name: string; + /** + * Collection of routes contained within a route table. + */ + routes?: outputs.azurestackhci.v20241001preview.RouteResponse[]; + /** + * Resource type. + */ + type: string; + } + + /** + * SSH configuration for Linux based VMs running on Azure + */ + export interface SshConfigurationResponse { + /** + * The list of SSH public keys used to authenticate with linux based VMs. + */ + publicKeys?: outputs.azurestackhci.v20241001preview.SshPublicKeyResponse[]; + } + + /** + * Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + */ + export interface SshPublicKeyResponse { + /** + * 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + */ + keyData?: string; + /** + * 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 + */ + path?: string; + } + + /** + * Storage container provisioning status + */ + export interface StorageContainerStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the storage container + */ + operationId?: string; + /** + * The status of the operation performed on the storage container [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of storage containers + */ + export interface StorageContainerStatusResponse { + /** + * Amount of space available on the disk in MB + */ + availableSizeMB?: number; + /** + * Total size of the disk in MB + */ + containerSizeMB?: number; + /** + * StorageContainer provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * Storage container's provisioning status + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.StorageContainerStatusProvisioningStatusResponse; + } + + /** + * The ARM ID for a Network Interface. + */ + export interface SubnetIpConfigurationReferenceResponse { + /** + * The ARM ID for a Network Interface. + */ + id?: string; + } + + /** + * Properties of the subnet. + */ + export interface SubnetResponse { + /** + * The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + */ + addressPrefix?: string; + /** + * List of address prefixes for the subnet. + */ + addressPrefixes?: string[]; + /** + * IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + */ + ipAllocationMethod?: string; + /** + * IPConfigurationReferences - list of IPConfigurationReferences + */ + ipConfigurationReferences?: outputs.azurestackhci.v20241001preview.SubnetIpConfigurationReferenceResponse[]; + /** + * network associated pool of IP Addresses + */ + ipPools?: outputs.azurestackhci.v20241001preview.IPPoolResponse[]; + /** + * Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + */ + name?: string; + /** + * NetworkSecurityGroup - Network Security Group attached to the logical network. + */ + networkSecurityGroup?: outputs.azurestackhci.v20241001preview.NetworkSecurityGroupArmReferenceResponse; + /** + * Route table resource. + */ + routeTable?: outputs.azurestackhci.v20241001preview.RouteTableResponse; + /** + * Vlan to use for the subnet + */ + vlan?: number; + } + + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + + /** + * User assigned identity properties + */ + export interface UserAssignedIdentityResponse { + /** + * The client ID of the assigned identity. + */ + clientId: string; + /** + * The principal ID of the assigned identity. + */ + principalId: string; + } + + /** + * Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + */ + export interface VMDiskSecurityProfileResponse { + /** + * Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + */ + securityEncryptionType?: string; + } + + /** + * The ARM ID for a Virtual Hard Disk. + */ + export interface VirtualHardDiskArmReferenceResponse { + /** + * The ARM ID for a Virtual Hard Disk. + */ + id?: string; + } + + /** + * The download status of the virtual hard disk + */ + export interface VirtualHardDiskDownloadStatusResponse { + /** + * The downloaded sized of the virtual hard disk in MB + */ + downloadedSizeInMB?: number; + /** + * The progress of the operation in percentage + */ + progressPercentage?: number; + /** + * The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * VHD Status provisioning status + */ + export interface VirtualHardDiskStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the virtual hard disk + */ + operationId?: string; + /** + * The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of virtual hard disks + */ + export interface VirtualHardDiskStatusResponse { + /** + * The download status of the virtual hard disk + */ + downloadStatus?: outputs.azurestackhci.v20241001preview.VirtualHardDiskDownloadStatusResponse; + /** + * VirtualHardDisk provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * Provisioning status of the vhd + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.VirtualHardDiskStatusProvisioningStatusResponse; + /** + * The upload status of the virtual hard disk + */ + uploadStatus?: outputs.azurestackhci.v20241001preview.VirtualHardDiskUploadStatusResponse; + } + + /** + * The upload status of the virtual hard disk + */ + export interface VirtualHardDiskUploadStatusResponse { + /** + * VirtualHardDisk upload error code + */ + errorCode?: string; + /** + * Descriptive upload error message + */ + errorMessage?: string; + /** + * The progress of the operation in percentage + */ + progressPercentage?: number; + /** + * The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + */ + status: string; + /** + * The uploaded sized of the virtual hard disk in MB + */ + uploadedSizeInMB?: number; + } + + /** + * The instance view of the VM Config Agent running on the virtual machine. + */ + export interface VirtualMachineConfigAgentInstanceViewResponse { + /** + * The resource status information. + */ + statuses?: outputs.azurestackhci.v20241001preview.InstanceViewStatusResponse[]; + /** + * The VM Config Agent full version. + */ + vmConfigAgentVersion?: string; + } + + /** + * The parameters of a managed disk. + */ + export interface VirtualMachineInstanceManagedDiskParametersResponse { + /** + * Specifies the security profile for the managed disk. + */ + securityProfile?: outputs.azurestackhci.v20241001preview.VMDiskSecurityProfileResponse; + } + + /** + * Dynamic memory config + */ + export interface VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse { + /** + * Maximum memory in MB + */ + maximumMemoryMB?: number; + /** + * Minimum memory in MB + */ + minimumMemoryMB?: number; + /** + * Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + */ + targetMemoryBuffer?: number; + } + + /** + * HardwareProfile - Specifies the hardware settings for the virtual machine instance. + */ + export interface VirtualMachineInstancePropertiesHardwareProfileResponse { + /** + * Dynamic memory config + */ + dynamicMemoryConfig?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse; + /** + * RAM in MB for the virtual machine instance + */ + memoryMB?: number; + /** + * number of processors for the virtual machine instance + */ + processors?: number; + /** + * virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + */ + virtualMachineGPUs?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse[]; + /** + * Enum of VM Sizes + */ + vmSize?: string; + } + /** + * virtualMachineInstancePropertiesHardwareProfileResponseProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesHardwareProfileResponse + */ + export function virtualMachineInstancePropertiesHardwareProfileResponseProvideDefaults(val: VirtualMachineInstancePropertiesHardwareProfileResponse): VirtualMachineInstancePropertiesHardwareProfileResponse { + return { + ...val, + vmSize: (val.vmSize) ?? "Default", + }; + } + + /** + * GPU properties - describes the GPU configuration. + */ + export interface VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse { + /** + * GPU assignment type + */ + assignmentType: string; + /** + * Name of the GPU + */ + gpuName?: string; + /** + * Size of gpu partition in MB for GPU-P + */ + partitionSizeMB?: number; + } + + /** + * NetworkProfile - describes the network configuration the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesNetworkProfileResponse { + /** + * NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + */ + networkInterfaces?: outputs.azurestackhci.v20241001preview.NetworkInterfaceArmReferenceResponse[]; + } + + /** + * LinuxConfiguration - linux specific configuration values for the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse { + /** + * DisablePasswordAuthentication - whether password authentication should be disabled + */ + disablePasswordAuthentication?: boolean; + /** + * Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + */ + provisionVMAgent?: boolean; + /** + * Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + */ + provisionVMConfigAgent?: boolean; + /** + * Specifies the ssh key configuration for a Linux OS. + */ + ssh?: outputs.azurestackhci.v20241001preview.SshConfigurationResponse; + } + /** + * virtualMachineInstancePropertiesOsProfileLinuxConfigurationResponseProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse + */ + export function virtualMachineInstancePropertiesOsProfileLinuxConfigurationResponseProvideDefaults(val: VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse): VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse { + return { + ...val, + provisionVMAgent: (val.provisionVMAgent) ?? true, + provisionVMConfigAgent: (val.provisionVMConfigAgent) ?? true, + }; + } + + /** + * OsProfile - describes the configuration of the operating system and sets login data + */ + export interface VirtualMachineInstancePropertiesOsProfileResponse { + /** + * AdminUsername - admin username + */ + adminUsername?: string; + /** + * ComputerName - name of the compute + */ + computerName?: string; + /** + * LinuxConfiguration - linux specific configuration values for the virtual machine instance + */ + linuxConfiguration?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse; + /** + * Windows Configuration for the virtual machine instance + */ + windowsConfiguration?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse; + } + /** + * virtualMachineInstancePropertiesOsProfileResponseProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesOsProfileResponse + */ + export function virtualMachineInstancePropertiesOsProfileResponseProvideDefaults(val: VirtualMachineInstancePropertiesOsProfileResponse): VirtualMachineInstancePropertiesOsProfileResponse { + return { + ...val, + linuxConfiguration: (val.linuxConfiguration ? outputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesOsProfileLinuxConfigurationResponseProvideDefaults(val.linuxConfiguration) : undefined), + windowsConfiguration: (val.windowsConfiguration ? outputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesOsProfileWindowsConfigurationResponseProvideDefaults(val.windowsConfiguration) : undefined), + }; + } + + /** + * Windows Configuration for the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse { + /** + * Whether to EnableAutomaticUpdates on the machine + */ + enableAutomaticUpdates?: boolean; + /** + * Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + */ + provisionVMAgent?: boolean; + /** + * Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + */ + provisionVMConfigAgent?: boolean; + /** + * Specifies the ssh key configuration for Windows OS. + */ + ssh?: outputs.azurestackhci.v20241001preview.SshConfigurationResponse; + /** + * TimeZone for the virtual machine instance + */ + timeZone?: string; + } + /** + * virtualMachineInstancePropertiesOsProfileWindowsConfigurationResponseProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse + */ + export function virtualMachineInstancePropertiesOsProfileWindowsConfigurationResponseProvideDefaults(val: VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse): VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse { + return { + ...val, + provisionVMAgent: (val.provisionVMAgent) ?? true, + provisionVMConfigAgent: (val.provisionVMConfigAgent) ?? true, + }; + } + + /** + * SecurityProfile - Specifies the security settings for the virtual machine instance. + */ + export interface VirtualMachineInstancePropertiesSecurityProfileResponse { + /** + * Enable TPM flag + */ + enableTPM?: boolean; + /** + * Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + */ + securityType?: string; + /** + * Uefi settings of the virtual machine instance + */ + uefiSettings?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse; + } + /** + * virtualMachineInstancePropertiesSecurityProfileResponseProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesSecurityProfileResponse + */ + export function virtualMachineInstancePropertiesSecurityProfileResponseProvideDefaults(val: VirtualMachineInstancePropertiesSecurityProfileResponse): VirtualMachineInstancePropertiesSecurityProfileResponse { + return { + ...val, + enableTPM: (val.enableTPM) ?? false, + uefiSettings: (val.uefiSettings ? outputs.azurestackhci.v20241001preview.virtualMachineInstancePropertiesSecurityProfileUefiSettingsResponseProvideDefaults(val.uefiSettings) : undefined), + }; + } + + /** + * Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + */ + export interface VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse { + /** + * Specifies whether secure boot should be enabled on the virtual machine instance. + */ + secureBootEnabled?: boolean; + } + /** + * virtualMachineInstancePropertiesSecurityProfileUefiSettingsResponseProvideDefaults sets the appropriate defaults for VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse + */ + export function virtualMachineInstancePropertiesSecurityProfileUefiSettingsResponseProvideDefaults(val: VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse): VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse { + return { + ...val, + secureBootEnabled: (val.secureBootEnabled) ?? false, + }; + } + + /** + * VHD to attach as OS disk + */ + export interface VirtualMachineInstancePropertiesStorageProfileOsDiskResponse { + /** + * The ARM ID for a Virtual Hard Disk. + */ + id?: string; + /** + * The managed disk parameters. + */ + managedDisk?: outputs.azurestackhci.v20241001preview.VirtualMachineInstanceManagedDiskParametersResponse; + /** + * 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. Possible values are: Windows, Linux. + */ + osType?: string; + } + + /** + * StorageProfile - contains information about the disks and storage information for the virtual machine instance + */ + export interface VirtualMachineInstancePropertiesStorageProfileResponse { + /** + * adds data disks to the virtual machine instance + */ + dataDisks?: outputs.azurestackhci.v20241001preview.VirtualHardDiskArmReferenceResponse[]; + /** + * Which Image to use for the virtual machine instance + */ + imageReference?: outputs.azurestackhci.v20241001preview.ImageArmReferenceResponse; + /** + * VHD to attach as OS disk + */ + osDisk?: outputs.azurestackhci.v20241001preview.VirtualMachineInstancePropertiesStorageProfileOsDiskResponse; + /** + * Id of the storage container that hosts the VM configuration file + */ + vmConfigStoragePathId?: string; + } + + /** + * Virtual machine instance provisioning status. + */ + export interface VirtualMachineInstanceStatusProvisioningStatusResponse { + /** + * The ID of the operation performed on the virtual machine instance + */ + operationId?: string; + /** + * The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress] + */ + status: string; + } + + /** + * The observed state of virtual machine instances + */ + export interface VirtualMachineInstanceStatusResponse { + /** + * VirtualMachine provisioning error code + */ + errorCode?: string; + /** + * Descriptive error message + */ + errorMessage?: string; + /** + * The power state of the virtual machine instance + */ + powerState?: string; + /** + * Provisioning status of the virtual machine instance + */ + provisioningStatus?: outputs.azurestackhci.v20241001preview.VirtualMachineInstanceStatusProvisioningStatusResponse; + } + + /** + * The instance view of a virtual machine. + */ + export interface VirtualMachineInstanceViewResponse { + /** + * The VM Config Agent running on the virtual machine. + */ + vmAgent?: outputs.azurestackhci.v20241001preview.VirtualMachineConfigAgentInstanceViewResponse; + } + + /** + * The credentials used to login to the image repository that has access to the specified image + */ + export interface VmImageRepositoryCredentialsResponse { + /** + * Password for accessing image repository + */ + password: string; + /** + * Username for accessing image repository + */ + username: string; + } + + } + export namespace v20241201preview { /** * The AdapterPropertyOverrides of a cluster. @@ -1073493,7 +1074664,275 @@ export namespace search { } /** - * Details about the search service identity. A null value indicates that the search service has no identity assigned. + * Details about the search service identity. A null value indicates that the search service has no identity assigned. + */ + export interface IdentityResponse { + /** + * The principal ID of the system-assigned identity of the search service. + */ + principalId: string; + /** + * The tenant ID of the system-assigned identity of the search service. + */ + tenantId: string; + /** + * The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + */ + type: string; + /** + * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.search.v20210401preview.UserAssignedManagedIdentityResponse}; + } + + /** + * The IP restriction rule of the Azure Cognitive Search service. + */ + export interface IpRuleResponse { + /** + * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + */ + value?: string; + } + + /** + * Network specific rules that determine how the Azure Cognitive Search service may be reached. + */ + export interface NetworkRuleSetResponse { + /** + * Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + */ + bypass?: string; + /** + * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + */ + ipRules?: outputs.search.v20210401preview.IpRuleResponse[]; + } + + /** + * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + */ + export interface PrivateEndpointConnectionPropertiesResponse { + /** + * The private endpoint resource from Microsoft.Network provider. + */ + privateEndpoint?: outputs.search.v20210401preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + privateLinkServiceConnectionState?: outputs.search.v20210401preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + } + /** + * privateEndpointConnectionPropertiesResponseProvideDefaults sets the appropriate defaults for PrivateEndpointConnectionPropertiesResponse + */ + export function privateEndpointConnectionPropertiesResponseProvideDefaults(val: PrivateEndpointConnectionPropertiesResponse): PrivateEndpointConnectionPropertiesResponse { + return { + ...val, + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20210401preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), + }; + } + + /** + * The private endpoint resource from Microsoft.Network provider. + */ + export interface PrivateEndpointConnectionPropertiesResponsePrivateEndpoint { + /** + * The resource id of the private endpoint resource from Microsoft.Network provider. + */ + id?: string; + } + + /** + * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + */ + export interface PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState { + /** + * A description of any extra actions that may be required. + */ + actionsRequired?: string; + /** + * The description for the private link service connection state. + */ + description?: string; + /** + * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. + */ + status?: string; + } + /** + * privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults sets the appropriate defaults for PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState + */ + export function privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val: PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState): PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState { + return { + ...val, + actionsRequired: (val.actionsRequired) ?? "None", + }; + } + + /** + * Describes an existing Private Endpoint connection to the Azure Cognitive Search service. + */ + export interface PrivateEndpointConnectionResponse { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + */ + properties?: outputs.search.v20210401preview.PrivateEndpointConnectionPropertiesResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + /** + * privateEndpointConnectionResponseProvideDefaults sets the appropriate defaults for PrivateEndpointConnectionResponse + */ + export function privateEndpointConnectionResponseProvideDefaults(val: PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse { + return { + ...val, + properties: (val.properties ? outputs.search.v20210401preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), + }; + } + + /** + * Describes an API key for a given Azure Cognitive Search service that has permissions for query operations only. + */ + export interface QueryKeyResponse { + /** + * The value of the query API key. + */ + key: string; + /** + * The name of the query API key; may be empty. + */ + name: string; + } + + /** + * Describes the properties of an existing Shared Private Link Resource managed by the Azure Cognitive Search service. + */ + export interface SharedPrivateLinkResourcePropertiesResponse { + /** + * The group id from the provider of resource the shared private link resource is for. + */ + groupId?: string; + /** + * The resource id of the resource the shared private link resource is for. + */ + privateLinkResourceId?: string; + /** + * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded, Incomplete or other yet to be documented value. + */ + provisioningState?: string; + /** + * The request message for requesting approval of the shared private link resource. + */ + requestMessage?: string; + /** + * Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + */ + resourceRegion?: string; + /** + * Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected or other yet to be documented value. + */ + status?: string; + } + + /** + * Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. + */ + export interface SharedPrivateLinkResourceResponse { + /** + * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + */ + id: string; + /** + * The name of the resource + */ + name: string; + /** + * Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service. + */ + properties?: outputs.search.v20210401preview.SharedPrivateLinkResourcePropertiesResponse; + /** + * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + */ + type: string; + } + + /** + * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. + */ + export interface SkuResponse { + /** + * The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + */ + name?: string; + } + + /** + * The details of the user assigned managed identity assigned to the search service. + */ + export interface UserAssignedManagedIdentityResponse { + /** + * The client ID of user assigned identity. + */ + clientId: string; + /** + * The principal ID of user assigned identity. + */ + principalId: string; + } + + } + + export namespace v20220901 { + /** + * Indicates that either the API key or an access token from Azure Active Directory can be used for authentication. + */ + export interface DataPlaneAadOrApiKeyAuthOptionResponse { + /** + * Describes what response the data plane API of a Search service would send for requests that failed authentication. + */ + aadAuthFailureMode?: string; + } + + /** + * Defines the options for how the data plane API of a Search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + */ + export interface DataPlaneAuthOptionsResponse { + /** + * Indicates that either the API key or an access token from Azure Active Directory can be used for authentication. + */ + aadOrApiKey?: outputs.search.v20220901.DataPlaneAadOrApiKeyAuthOptionResponse; + /** + * Indicates that only the API key needs to be used for authentication. + */ + apiKeyOnly?: any; + } + + /** + * Describes a policy that determines how resources within the search service are to be encrypted with Customer Managed Keys. + */ + export interface EncryptionWithCmkResponse { + /** + * Describes whether the search service is compliant or not with respect to having non customer encrypted resources. If a service has more than one non customer encrypted resource and 'Enforcement' is 'enabled' then the service will be marked as 'nonCompliant'. + */ + encryptionComplianceStatus: string; + /** + * Describes how a search service should enforce having one or more non customer encrypted resources. + */ + enforcement?: string; + } + + /** + * Identity for the resource. */ export interface IdentityResponse { /** @@ -1073505,13 +1074944,9 @@ export namespace search { */ tenantId: string; /** - * The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + * The identity type. */ type: string; - /** - * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - */ - userAssignedIdentities?: {[key: string]: outputs.search.v20210401preview.UserAssignedManagedIdentityResponse}; } /** @@ -1073528,28 +1074963,32 @@ export namespace search { * Network specific rules that determine how the Azure Cognitive Search service may be reached. */ export interface NetworkRuleSetResponse { - /** - * Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. - */ - bypass?: string; /** * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. */ - ipRules?: outputs.search.v20210401preview.IpRuleResponse[]; + ipRules?: outputs.search.v20220901.IpRuleResponse[]; } /** * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. */ export interface PrivateEndpointConnectionPropertiesResponse { + /** + * The group id from the provider of resource the private link service connection is for. + */ + groupId?: string; /** * The private endpoint resource from Microsoft.Network provider. */ - privateEndpoint?: outputs.search.v20210401preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; + privateEndpoint?: outputs.search.v20220901.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; /** * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. */ - privateLinkServiceConnectionState?: outputs.search.v20210401preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + privateLinkServiceConnectionState?: outputs.search.v20220901.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + /** + * The provisioning state of the private link service connection. Can be Updating, Deleting, Failed, Succeeded, or Incomplete + */ + provisioningState?: string; } /** * privateEndpointConnectionPropertiesResponseProvideDefaults sets the appropriate defaults for PrivateEndpointConnectionPropertiesResponse @@ -1073557,7 +1074996,7 @@ export namespace search { export function privateEndpointConnectionPropertiesResponseProvideDefaults(val: PrivateEndpointConnectionPropertiesResponse): PrivateEndpointConnectionPropertiesResponse { return { ...val, - privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20210401preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20220901.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), }; } @@ -1073613,7 +1075052,7 @@ export namespace search { /** * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. */ - properties?: outputs.search.v20210401preview.PrivateEndpointConnectionPropertiesResponse; + properties?: outputs.search.v20220901.PrivateEndpointConnectionPropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1073625,7 +1075064,7 @@ export namespace search { export function privateEndpointConnectionResponseProvideDefaults(val: PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse { return { ...val, - properties: (val.properties ? outputs.search.v20210401preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), + properties: (val.properties ? outputs.search.v20220901.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), }; } @@ -1073656,7 +1075095,7 @@ export namespace search { */ privateLinkResourceId?: string; /** - * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded, Incomplete or other yet to be documented value. + * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete. */ provisioningState?: string; /** @@ -1073668,7 +1075107,7 @@ export namespace search { */ resourceRegion?: string; /** - * Status of the shared private link resource. Can be Pending, Approved, Rejected, Disconnected or other yet to be documented value. + * Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. */ status?: string; } @@ -1073688,7 +1075127,7 @@ export namespace search { /** * Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service. */ - properties?: outputs.search.v20210401preview.SharedPrivateLinkResourcePropertiesResponse; + properties?: outputs.search.v20220901.SharedPrivateLinkResourcePropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1073705,57 +1075144,43 @@ export namespace search { name?: string; } - /** - * The details of the user assigned managed identity assigned to the search service. - */ - export interface UserAssignedManagedIdentityResponse { - /** - * The client ID of user assigned identity. - */ - clientId: string; - /** - * The principal ID of user assigned identity. - */ - principalId: string; - } - } - export namespace v20220901 { + export namespace v20231101 { /** - * Indicates that either the API key or an access token from Azure Active Directory can be used for authentication. + * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ export interface DataPlaneAadOrApiKeyAuthOptionResponse { /** - * Describes what response the data plane API of a Search service would send for requests that failed authentication. + * Describes what response the data plane API of a search service would send for requests that failed authentication. */ aadAuthFailureMode?: string; } /** - * Defines the options for how the data plane API of a Search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + * Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. */ export interface DataPlaneAuthOptionsResponse { /** - * Indicates that either the API key or an access token from Azure Active Directory can be used for authentication. + * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ - aadOrApiKey?: outputs.search.v20220901.DataPlaneAadOrApiKeyAuthOptionResponse; + aadOrApiKey?: outputs.search.v20231101.DataPlaneAadOrApiKeyAuthOptionResponse; /** - * Indicates that only the API key needs to be used for authentication. + * Indicates that only the API key can be used for authentication. */ apiKeyOnly?: any; } /** - * Describes a policy that determines how resources within the search service are to be encrypted with Customer Managed Keys. + * Describes a policy that determines how resources within the search service are to be encrypted with customer=managed keys. */ export interface EncryptionWithCmkResponse { /** - * Describes whether the search service is compliant or not with respect to having non customer encrypted resources. If a service has more than one non customer encrypted resource and 'Enforcement' is 'enabled' then the service will be marked as 'nonCompliant'. + * Describes whether the search service is compliant or not with respect to having non-customer-encrypted resources. If a service has more than one non-customer-encrypted resource and 'Enforcement' is 'enabled' then the service will be marked as 'nonCompliant'. */ encryptionComplianceStatus: string; /** - * Describes how a search service should enforce having one or more non customer encrypted resources. + * Describes how a search service should enforce having one or more non-customer-encrypted resources. */ enforcement?: string; } @@ -1073779,27 +1075204,27 @@ export namespace search { } /** - * The IP restriction rule of the Azure Cognitive Search service. + * The IP restriction rule of the search service. */ export interface IpRuleResponse { /** - * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + * Value corresponding to a single IPv4 address (for example, 123.1.2.3) or an IP range in CIDR format (for example, 123.1.2.3/24) to be allowed. */ value?: string; } /** - * Network specific rules that determine how the Azure Cognitive Search service may be reached. + * Network-specific rules that determine how the search service can be reached. */ export interface NetworkRuleSetResponse { /** - * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + * A list of IP restriction rules used for an IP firewall. Any IPs that do not match the rules are blocked by the firewall. These rules are only applied when the 'publicNetworkAccess' of the search service is 'enabled'. */ - ipRules?: outputs.search.v20220901.IpRuleResponse[]; + ipRules?: outputs.search.v20231101.IpRuleResponse[]; } /** - * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + * Describes the properties of an existing Private Endpoint connection to the search service. */ export interface PrivateEndpointConnectionPropertiesResponse { /** @@ -1073809,13 +1075234,13 @@ export namespace search { /** * The private endpoint resource from Microsoft.Network provider. */ - privateEndpoint?: outputs.search.v20220901.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; + privateEndpoint?: outputs.search.v20231101.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; /** * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. */ - privateLinkServiceConnectionState?: outputs.search.v20220901.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + privateLinkServiceConnectionState?: outputs.search.v20231101.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; /** - * The provisioning state of the private link service connection. Can be Updating, Deleting, Failed, Succeeded, or Incomplete + * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, or Incomplete */ provisioningState?: string; } @@ -1073825,7 +1075250,7 @@ export namespace search { export function privateEndpointConnectionPropertiesResponseProvideDefaults(val: PrivateEndpointConnectionPropertiesResponse): PrivateEndpointConnectionPropertiesResponse { return { ...val, - privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20220901.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20231101.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), }; } @@ -1073852,7 +1075277,7 @@ export namespace search { */ description?: string; /** - * Status of the the private link service connection. Can be Pending, Approved, Rejected, or Disconnected. + * Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. */ status?: string; } @@ -1073867,7 +1075292,7 @@ export namespace search { } /** - * Describes an existing Private Endpoint connection to the Azure Cognitive Search service. + * Describes an existing private endpoint connection to the search service. */ export interface PrivateEndpointConnectionResponse { /** @@ -1073879,9 +1075304,9 @@ export namespace search { */ name: string; /** - * Describes the properties of an existing Private Endpoint connection to the Azure Cognitive Search service. + * Describes the properties of an existing private endpoint connection to the search service. */ - properties?: outputs.search.v20220901.PrivateEndpointConnectionPropertiesResponse; + properties?: outputs.search.v20231101.PrivateEndpointConnectionPropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1073893,12 +1075318,12 @@ export namespace search { export function privateEndpointConnectionResponseProvideDefaults(val: PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse { return { ...val, - properties: (val.properties ? outputs.search.v20220901.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), + properties: (val.properties ? outputs.search.v20231101.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), }; } /** - * Describes an API key for a given Azure Cognitive Search service that has permissions for query operations only. + * Describes an API key for a given search service that has permissions for query operations only. */ export interface QueryKeyResponse { /** @@ -1073912,7 +1075337,7 @@ export namespace search { } /** - * Describes the properties of an existing Shared Private Link Resource managed by the Azure Cognitive Search service. + * Describes the properties of an existing Shared Private Link Resource managed by the search service. */ export interface SharedPrivateLinkResourcePropertiesResponse { /** @@ -1073924,7 +1075349,7 @@ export namespace search { */ privateLinkResourceId?: string; /** - * The provisioning state of the shared private link resource. Can be Updating, Deleting, Failed, Succeeded or Incomplete. + * The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. */ provisioningState?: string; /** @@ -1073936,13 +1075361,13 @@ export namespace search { */ resourceRegion?: string; /** - * Status of the shared private link resource. Can be Pending, Approved, Rejected or Disconnected. + * Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. */ status?: string; } /** - * Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. + * Describes a Shared Private Link Resource managed by the search service. */ export interface SharedPrivateLinkResourceResponse { /** @@ -1073954,9 +1075379,9 @@ export namespace search { */ name: string; /** - * Describes the properties of a Shared Private Link Resource managed by the Azure Cognitive Search service. + * Describes the properties of a Shared Private Link Resource managed by the search service. */ - properties?: outputs.search.v20220901.SharedPrivateLinkResourcePropertiesResponse; + properties?: outputs.search.v20231101.SharedPrivateLinkResourcePropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1073964,7 +1075389,7 @@ export namespace search { } /** - * Defines the SKU of an Azure Cognitive Search Service, which determines price tier and capacity limits. + * Defines the SKU of a search service, which determines billing rate and capacity limits. */ export interface SkuResponse { /** @@ -1073975,7 +1075400,7 @@ export namespace search { } - export namespace v20231101 { + export namespace v20240301preview { /** * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ @@ -1073993,7 +1075418,7 @@ export namespace search { /** * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ - aadOrApiKey?: outputs.search.v20231101.DataPlaneAadOrApiKeyAuthOptionResponse; + aadOrApiKey?: outputs.search.v20240301preview.DataPlaneAadOrApiKeyAuthOptionResponse; /** * Indicates that only the API key can be used for authentication. */ @@ -1074001,21 +1075426,21 @@ export namespace search { } /** - * Describes a policy that determines how resources within the search service are to be encrypted with customer=managed keys. + * Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. */ export interface EncryptionWithCmkResponse { /** - * Describes whether the search service is compliant or not with respect to having non-customer-encrypted resources. If a service has more than one non-customer-encrypted resource and 'Enforcement' is 'enabled' then the service will be marked as 'nonCompliant'. + * Returns the status of search service compliance with respect to non-CMK-encrypted objects. If a service has more than one unencrypted object, and enforcement is enabled, the service is marked as noncompliant. */ encryptionComplianceStatus: string; /** - * Describes how a search service should enforce having one or more non-customer-encrypted resources. + * Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. */ enforcement?: string; } /** - * Identity for the resource. + * Details about the search service identity. A null value indicates that the search service has no identity assigned. */ export interface IdentityResponse { /** @@ -1074027,49 +1075452,57 @@ export namespace search { */ tenantId: string; /** - * The identity type. + * The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. */ type: string; + /** + * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + */ + userAssignedIdentities?: {[key: string]: outputs.search.v20240301preview.UserAssignedManagedIdentityResponse}; } /** - * The IP restriction rule of the search service. + * The IP restriction rule of the Azure AI Search service. */ export interface IpRuleResponse { /** - * Value corresponding to a single IPv4 address (for example, 123.1.2.3) or an IP range in CIDR format (for example, 123.1.2.3/24) to be allowed. + * Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. */ value?: string; } /** - * Network-specific rules that determine how the search service can be reached. + * Network specific rules that determine how the Azure AI Search service may be reached. */ export interface NetworkRuleSetResponse { /** - * A list of IP restriction rules used for an IP firewall. Any IPs that do not match the rules are blocked by the firewall. These rules are only applied when the 'publicNetworkAccess' of the search service is 'enabled'. + * Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. */ - ipRules?: outputs.search.v20231101.IpRuleResponse[]; + bypass?: string; + /** + * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + */ + ipRules?: outputs.search.v20240301preview.IpRuleResponse[]; } /** - * Describes the properties of an existing Private Endpoint connection to the search service. + * Describes the properties of an existing private endpoint connection to the search service. */ export interface PrivateEndpointConnectionPropertiesResponse { /** - * The group id from the provider of resource the private link service connection is for. + * The group ID of the Azure resource for which the private link service is for. */ groupId?: string; /** * The private endpoint resource from Microsoft.Network provider. */ - privateEndpoint?: outputs.search.v20231101.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; + privateEndpoint?: outputs.search.v20240301preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + * Describes the current state of an existing Azure Private Link service connection to the private endpoint. */ - privateLinkServiceConnectionState?: outputs.search.v20231101.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + privateLinkServiceConnectionState?: outputs.search.v20240301preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; /** - * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, or Incomplete + * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. */ provisioningState?: string; } @@ -1074079,7 +1075512,7 @@ export namespace search { export function privateEndpointConnectionPropertiesResponseProvideDefaults(val: PrivateEndpointConnectionPropertiesResponse): PrivateEndpointConnectionPropertiesResponse { return { ...val, - privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20231101.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20240301preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), }; } @@ -1074088,13 +1075521,13 @@ export namespace search { */ export interface PrivateEndpointConnectionPropertiesResponsePrivateEndpoint { /** - * The resource id of the private endpoint resource from Microsoft.Network provider. + * The resource ID of the private endpoint resource from Microsoft.Network provider. */ id?: string; } /** - * Describes the current state of an existing Private Link Service connection to the Azure Private Endpoint. + * Describes the current state of an existing Azure Private Link service connection to the private endpoint. */ export interface PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState { /** @@ -1074121,7 +1075554,7 @@ export namespace search { } /** - * Describes an existing private endpoint connection to the search service. + * Describes an existing private endpoint connection to the Azure AI Search service. */ export interface PrivateEndpointConnectionResponse { /** @@ -1074133,9 +1075566,9 @@ export namespace search { */ name: string; /** - * Describes the properties of an existing private endpoint connection to the search service. + * Describes the properties of an existing private endpoint connection to the Azure AI Search service. */ - properties?: outputs.search.v20231101.PrivateEndpointConnectionPropertiesResponse; + properties?: outputs.search.v20240301preview.PrivateEndpointConnectionPropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1074147,12 +1075580,12 @@ export namespace search { export function privateEndpointConnectionResponseProvideDefaults(val: PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse { return { ...val, - properties: (val.properties ? outputs.search.v20231101.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), + properties: (val.properties ? outputs.search.v20240301preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), }; } /** - * Describes an API key for a given search service that has permissions for query operations only. + * Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index. */ export interface QueryKeyResponse { /** @@ -1074160,21 +1075593,21 @@ export namespace search { */ key: string; /** - * The name of the query API key; may be empty. + * The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used. */ name: string; } /** - * Describes the properties of an existing Shared Private Link Resource managed by the search service. + * Describes the properties of an existing shared private link resource managed by the Azure AI Search service. */ export interface SharedPrivateLinkResourcePropertiesResponse { /** - * The group id from the provider of resource the shared private link resource is for. + * The group ID from the provider of resource the shared private link resource is for. */ groupId?: string; /** - * The resource id of the resource the shared private link resource is for. + * The resource ID of the resource the shared private link resource is for. */ privateLinkResourceId?: string; /** @@ -1074182,11 +1075615,11 @@ export namespace search { */ provisioningState?: string; /** - * The request message for requesting approval of the shared private link resource. + * The message for requesting approval of the shared private link resource. */ requestMessage?: string; /** - * Optional. Can be used to specify the Azure Resource Manager location of the resource to which a shared private link is to be created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + * Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). */ resourceRegion?: string; /** @@ -1074196,7 +1075629,7 @@ export namespace search { } /** - * Describes a Shared Private Link Resource managed by the search service. + * Describes a shared private link resource managed by the Azure AI Search service. */ export interface SharedPrivateLinkResourceResponse { /** @@ -1074208,9 +1075641,9 @@ export namespace search { */ name: string; /** - * Describes the properties of a Shared Private Link Resource managed by the search service. + * Describes the properties of a shared private link resource managed by the Azure AI Search service. */ - properties?: outputs.search.v20231101.SharedPrivateLinkResourcePropertiesResponse; + properties?: outputs.search.v20240301preview.SharedPrivateLinkResourcePropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1074227,9 +1075660,23 @@ export namespace search { name?: string; } + /** + * The details of the user assigned managed identity assigned to the search service. + */ + export interface UserAssignedManagedIdentityResponse { + /** + * The client ID of user assigned identity. + */ + clientId: string; + /** + * The principal ID of user assigned identity. + */ + principalId: string; + } + } - export namespace v20240301preview { + export namespace v20240601preview { /** * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ @@ -1074247,7 +1075694,7 @@ export namespace search { /** * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ - aadOrApiKey?: outputs.search.v20240301preview.DataPlaneAadOrApiKeyAuthOptionResponse; + aadOrApiKey?: outputs.search.v20240601preview.DataPlaneAadOrApiKeyAuthOptionResponse; /** * Indicates that only the API key can be used for authentication. */ @@ -1074287,7 +1075734,7 @@ export namespace search { /** * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.search.v20240301preview.UserAssignedManagedIdentityResponse}; + userAssignedIdentities?: {[key: string]: outputs.search.v20240601preview.UserAssignedManagedIdentityResponse}; } /** @@ -1074311,7 +1075758,7 @@ export namespace search { /** * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. */ - ipRules?: outputs.search.v20240301preview.IpRuleResponse[]; + ipRules?: outputs.search.v20240601preview.IpRuleResponse[]; } /** @@ -1074325,11 +1075772,11 @@ export namespace search { /** * The private endpoint resource from Microsoft.Network provider. */ - privateEndpoint?: outputs.search.v20240301preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; + privateEndpoint?: outputs.search.v20240601preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; /** * Describes the current state of an existing Azure Private Link service connection to the private endpoint. */ - privateLinkServiceConnectionState?: outputs.search.v20240301preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + privateLinkServiceConnectionState?: outputs.search.v20240601preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; /** * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. */ @@ -1074341,7 +1075788,7 @@ export namespace search { export function privateEndpointConnectionPropertiesResponseProvideDefaults(val: PrivateEndpointConnectionPropertiesResponse): PrivateEndpointConnectionPropertiesResponse { return { ...val, - privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20240301preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20240601preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), }; } @@ -1074397,7 +1075844,7 @@ export namespace search { /** * Describes the properties of an existing private endpoint connection to the Azure AI Search service. */ - properties?: outputs.search.v20240301preview.PrivateEndpointConnectionPropertiesResponse; + properties?: outputs.search.v20240601preview.PrivateEndpointConnectionPropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1074409,7 +1075856,7 @@ export namespace search { export function privateEndpointConnectionResponseProvideDefaults(val: PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse { return { ...val, - properties: (val.properties ? outputs.search.v20240301preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), + properties: (val.properties ? outputs.search.v20240601preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), }; } @@ -1074472,7 +1075919,7 @@ export namespace search { /** * Describes the properties of a shared private link resource managed by the Azure AI Search service. */ - properties?: outputs.search.v20240301preview.SharedPrivateLinkResourcePropertiesResponse; + properties?: outputs.search.v20240601preview.SharedPrivateLinkResourcePropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1074505,7 +1075952,7 @@ export namespace search { } - export namespace v20240601preview { + export namespace v20250201preview { /** * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ @@ -1074523,7 +1075970,7 @@ export namespace search { /** * Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. */ - aadOrApiKey?: outputs.search.v20240601preview.DataPlaneAadOrApiKeyAuthOptionResponse; + aadOrApiKey?: outputs.search.v20250201preview.DataPlaneAadOrApiKeyAuthOptionResponse; /** * Indicates that only the API key can be used for authentication. */ @@ -1074563,7 +1076010,7 @@ export namespace search { /** * The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ - userAssignedIdentities?: {[key: string]: outputs.search.v20240601preview.UserAssignedManagedIdentityResponse}; + userAssignedIdentities?: {[key: string]: outputs.search.v20250201preview.UserAssignedManagedIdentityResponse}; } /** @@ -1074587,7 +1076034,7 @@ export namespace search { /** * A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. */ - ipRules?: outputs.search.v20240601preview.IpRuleResponse[]; + ipRules?: outputs.search.v20250201preview.IpRuleResponse[]; } /** @@ -1074601,11 +1076048,11 @@ export namespace search { /** * The private endpoint resource from Microsoft.Network provider. */ - privateEndpoint?: outputs.search.v20240601preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; + privateEndpoint?: outputs.search.v20250201preview.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint; /** * Describes the current state of an existing Azure Private Link service connection to the private endpoint. */ - privateLinkServiceConnectionState?: outputs.search.v20240601preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; + privateLinkServiceConnectionState?: outputs.search.v20250201preview.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState; /** * The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. */ @@ -1074617,7 +1076064,7 @@ export namespace search { export function privateEndpointConnectionPropertiesResponseProvideDefaults(val: PrivateEndpointConnectionPropertiesResponse): PrivateEndpointConnectionPropertiesResponse { return { ...val, - privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20240601preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), + privateLinkServiceConnectionState: (val.privateLinkServiceConnectionState ? outputs.search.v20250201preview.privateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionStateProvideDefaults(val.privateLinkServiceConnectionState) : undefined), }; } @@ -1074673,7 +1076120,7 @@ export namespace search { /** * Describes the properties of an existing private endpoint connection to the Azure AI Search service. */ - properties?: outputs.search.v20240601preview.PrivateEndpointConnectionPropertiesResponse; + properties?: outputs.search.v20250201preview.PrivateEndpointConnectionPropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1074685,7 +1076132,7 @@ export namespace search { export function privateEndpointConnectionResponseProvideDefaults(val: PrivateEndpointConnectionResponse): PrivateEndpointConnectionResponse { return { ...val, - properties: (val.properties ? outputs.search.v20240601preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), + properties: (val.properties ? outputs.search.v20250201preview.privateEndpointConnectionPropertiesResponseProvideDefaults(val.properties) : undefined), }; } @@ -1074748,7 +1076195,7 @@ export namespace search { /** * Describes the properties of a shared private link resource managed by the Azure AI Search service. */ - properties?: outputs.search.v20240601preview.SharedPrivateLinkResourcePropertiesResponse; + properties?: outputs.search.v20250201preview.SharedPrivateLinkResourcePropertiesResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ @@ -1074765,6 +1076212,36 @@ export namespace search { name?: string; } + /** + * Metadata pertaining to creation and last modification of the resource. + */ + export interface SystemDataResponse { + /** + * The timestamp of resource creation (UTC). + */ + createdAt?: string; + /** + * The identity that created the resource. + */ + createdBy?: string; + /** + * The type of identity that created the resource. + */ + createdByType?: string; + /** + * The timestamp of resource last modification (UTC) + */ + lastModifiedAt?: string; + /** + * The identity that last modified the resource. + */ + lastModifiedBy?: string; + /** + * The type of identity that last modified the resource. + */ + lastModifiedByType?: string; + } + /** * The details of the user assigned managed identity assigned to the search service. */ diff --git a/sdk/python/pulumi_azure_native/__init__.py b/sdk/python/pulumi_azure_native/__init__.py index 788589e7f042..3c291c3f2f89 100644 --- a/sdk/python/pulumi_azure_native/__init__.py +++ b/sdk/python/pulumi_azure_native/__init__.py @@ -4016,6 +4016,23 @@ "azure-native:azurestackhci/v20240901preview:UpdateSummary": "UpdateSummary" } }, + { + "pkg": "azure-native", + "mod": "azurestackhci/v20241001preview", + "fqn": "pulumi_azure_native.azurestackhci.v20241001preview", + "classes": { + "azure-native:azurestackhci/v20241001preview:GalleryImage": "GalleryImage", + "azure-native:azurestackhci/v20241001preview:GuestAgent": "GuestAgent", + "azure-native:azurestackhci/v20241001preview:LogicalNetwork": "LogicalNetwork", + "azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage": "MarketplaceGalleryImage", + "azure-native:azurestackhci/v20241001preview:NetworkInterface": "NetworkInterface", + "azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup": "NetworkSecurityGroup", + "azure-native:azurestackhci/v20241001preview:SecurityRule": "SecurityRule", + "azure-native:azurestackhci/v20241001preview:StorageContainer": "StorageContainer", + "azure-native:azurestackhci/v20241001preview:VirtualHardDisk": "VirtualHardDisk", + "azure-native:azurestackhci/v20241001preview:VirtualMachineInstance": "VirtualMachineInstance" + } + }, { "pkg": "azure-native", "mod": "azurestackhci/v20241201preview", @@ -17462,6 +17479,16 @@ "azure-native:search/v20240601preview:SharedPrivateLinkResource": "SharedPrivateLinkResource" } }, + { + "pkg": "azure-native", + "mod": "search/v20250201preview", + "fqn": "pulumi_azure_native.search.v20250201preview", + "classes": { + "azure-native:search/v20250201preview:PrivateEndpointConnection": "PrivateEndpointConnection", + "azure-native:search/v20250201preview:Service": "Service", + "azure-native:search/v20250201preview:SharedPrivateLinkResource": "SharedPrivateLinkResource" + } + }, { "pkg": "azure-native", "mod": "secretsynccontroller", diff --git a/sdk/python/pulumi_azure_native/azurestackhci/__init__.py b/sdk/python/pulumi_azure_native/azurestackhci/__init__.py index 2febcdbf361b..9ad295b99374 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/__init__.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/__init__.py @@ -97,6 +97,8 @@ v20240801preview = __v20240801preview import pulumi_azure_native.azurestackhci.v20240901preview as __v20240901preview v20240901preview = __v20240901preview + import pulumi_azure_native.azurestackhci.v20241001preview as __v20241001preview + v20241001preview = __v20241001preview import pulumi_azure_native.azurestackhci.v20241201preview as __v20241201preview v20241201preview = __v20241201preview else: @@ -119,5 +121,6 @@ v20240715preview = _utilities.lazy_import('pulumi_azure_native.azurestackhci.v20240715preview') v20240801preview = _utilities.lazy_import('pulumi_azure_native.azurestackhci.v20240801preview') v20240901preview = _utilities.lazy_import('pulumi_azure_native.azurestackhci.v20240901preview') + v20241001preview = _utilities.lazy_import('pulumi_azure_native.azurestackhci.v20241001preview') v20241201preview = _utilities.lazy_import('pulumi_azure_native.azurestackhci.v20241201preview') diff --git a/sdk/python/pulumi_azure_native/azurestackhci/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/gallery_image.py index 4673c1b9ffb4..631a57ae3c6a 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/gallery_image.py @@ -240,7 +240,7 @@ def __init__(__self__, The gallery images resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -267,7 +267,7 @@ def __init__(__self__, The gallery images resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param GalleryImageArgs args: The arguments to use to populate this resource's properties. @@ -324,7 +324,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/get_gallery_image.py index bbddd1a3a9f7..5cca244a9e94 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_gallery_image.py @@ -237,7 +237,7 @@ def get_gallery_image(gallery_image_name: Optional[str] = None, Gets a gallery image Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str gallery_image_name: Name of the gallery image @@ -273,7 +273,7 @@ def get_gallery_image_output(gallery_image_name: Optional[pulumi.Input[str]] = N Gets a gallery image Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str gallery_image_name: Name of the gallery image diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/get_guest_agent.py index 4c88ba3c6b3b..07dc14f126a6 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_guest_agent.py @@ -154,7 +154,7 @@ def get_guest_agent(name: Optional[str] = None, Implements GuestAgent GET method. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str name: Name of the GuestAgent. @@ -186,7 +186,7 @@ def get_guest_agent_output(name: Optional[pulumi.Input[str]] = None, Implements GuestAgent GET method. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str name: Name of the GuestAgent. diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/get_logical_network.py index a58ba0f3bd19..77a1b42d7f53 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_logical_network.py @@ -189,7 +189,7 @@ def get_logical_network(logical_network_name: Optional[str] = None, The logical network resource definition. Azure REST API version: 2023-09-01-preview. - Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str logical_network_name: Name of the logical network @@ -221,7 +221,7 @@ def get_logical_network_output(logical_network_name: Optional[pulumi.Input[str]] The logical network resource definition. Azure REST API version: 2023-09-01-preview. - Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str logical_network_name: Name of the logical network diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/get_marketplace_gallery_image.py index 92986e9dddad..48992123d02f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_marketplace_gallery_image.py @@ -225,7 +225,7 @@ def get_marketplace_gallery_image(marketplace_gallery_image_name: Optional[str] Gets a marketplace gallery image Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str marketplace_gallery_image_name: Name of the marketplace gallery image @@ -260,7 +260,7 @@ def get_marketplace_gallery_image_output(marketplace_gallery_image_name: Optiona Gets a marketplace gallery image Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str marketplace_gallery_image_name: Name of the marketplace gallery image diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/get_network_interface.py index db731ca35bb3..541434df4b52 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_network_interface.py @@ -189,7 +189,7 @@ def get_network_interface(network_interface_name: Optional[str] = None, Gets a network interface Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str network_interface_name: Name of the network interface @@ -221,7 +221,7 @@ def get_network_interface_output(network_interface_name: Optional[pulumi.Input[s Gets a network interface Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str network_interface_name: Name of the network interface diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/get_network_security_group.py index 1f0908b9ae7e..71cf937faac1 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_network_security_group.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_network_security_group.py @@ -177,7 +177,7 @@ def get_network_security_group(network_security_group_name: Optional[str] = None Gets the specified network security group. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str network_security_group_name: Name of the network security group @@ -208,7 +208,7 @@ def get_network_security_group_output(network_security_group_name: Optional[pulu Gets the specified network security group. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str network_security_group_name: Name of the network security group diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/get_security_rule.py index 03db0252276b..e46f98f2d528 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_security_rule.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_security_rule.py @@ -226,7 +226,7 @@ def get_security_rule(network_security_group_name: Optional[str] = None, Gets the specified security rule. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str network_security_group_name: Name of the network security group @@ -264,7 +264,7 @@ def get_security_rule_output(network_security_group_name: Optional[pulumi.Input[ Gets the specified security rule. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str network_security_group_name: Name of the network security group diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/get_storage_container.py index 993f14f09a20..f3a403020015 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_storage_container.py @@ -165,7 +165,7 @@ def get_storage_container(resource_group_name: Optional[str] = None, Gets a storage container Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_group_name: The name of the resource group. The name is case insensitive. @@ -195,7 +195,7 @@ def get_storage_container_output(resource_group_name: Optional[pulumi.Input[str] Gets a storage container Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_group_name: The name of the resource group. The name is case insensitive. diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_hard_disk.py index 631defa107c8..b24f1ffdc4ad 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_hard_disk.py @@ -240,7 +240,7 @@ def get_virtual_hard_disk(resource_group_name: Optional[str] = None, Gets a virtual hard disk Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_group_name: The name of the resource group. The name is case insensitive. @@ -277,7 +277,7 @@ def get_virtual_hard_disk_output(resource_group_name: Optional[pulumi.Input[str] Gets a virtual hard disk Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_group_name: The name of the resource group. The name is case insensitive. diff --git a/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_machine_instance.py index 54d783639f19..e728d1f9a7ef 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/get_virtual_machine_instance.py @@ -248,7 +248,7 @@ def get_virtual_machine_instance(resource_uri: Optional[str] = None, Gets a virtual machine instance Azure REST API version: 2023-07-01-preview. - Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. @@ -282,7 +282,7 @@ def get_virtual_machine_instance_output(resource_uri: Optional[pulumi.Input[str] Gets a virtual machine instance Azure REST API version: 2023-07-01-preview. - Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_uri: The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended. diff --git a/sdk/python/pulumi_azure_native/azurestackhci/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/guest_agent.py index c5062fcb4e7e..9d82c59e8649 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/guest_agent.py @@ -137,7 +137,7 @@ def __init__(__self__, Defines the GuestAgent. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -158,7 +158,7 @@ def __init__(__self__, Defines the GuestAgent. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param GuestAgentArgs args: The arguments to use to populate this resource's properties. diff --git a/sdk/python/pulumi_azure_native/azurestackhci/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/logical_network.py index f8237e89dc37..4edea6cd209a 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/logical_network.py @@ -172,7 +172,7 @@ def __init__(__self__, The logical network resource definition. Azure REST API version: 2023-09-01-preview. - Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -195,7 +195,7 @@ def __init__(__self__, The logical network resource definition. Azure REST API version: 2023-09-01-preview. - Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param LogicalNetworkArgs args: The arguments to use to populate this resource's properties. @@ -244,7 +244,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/marketplace_gallery_image.py index 56dae4761e6d..78a87922ebf3 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/marketplace_gallery_image.py @@ -223,7 +223,7 @@ def __init__(__self__, The marketplace gallery image resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -249,7 +249,7 @@ def __init__(__self__, The marketplace gallery image resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param MarketplaceGalleryImageArgs args: The arguments to use to populate this resource's properties. @@ -304,7 +304,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/network_interface.py index e675bc39c06d..1b57cc394df8 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/network_interface.py @@ -172,7 +172,7 @@ def __init__(__self__, The network interface resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -195,7 +195,7 @@ def __init__(__self__, The network interface resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param NetworkInterfaceArgs args: The arguments to use to populate this resource's properties. @@ -244,7 +244,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/network_security_group.py index 3a2aece6129b..8745a13e3ecd 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/network_security_group.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/network_security_group.py @@ -121,7 +121,7 @@ def __init__(__self__, NetworkSecurityGroup resource. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -141,7 +141,7 @@ def __init__(__self__, NetworkSecurityGroup resource. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param NetworkSecurityGroupArgs args: The arguments to use to populate this resource's properties. @@ -186,7 +186,7 @@ def _internal_init(__self__, __props__.__dict__["subnets"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkSecurityGroup, __self__).__init__( 'azure-native:azurestackhci:NetworkSecurityGroup', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/security_rule.py index c5b2a1550cc3..c8674cc19e5e 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/security_rule.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/security_rule.py @@ -252,7 +252,7 @@ def __init__(__self__, Security Rule resource. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -280,7 +280,7 @@ def __init__(__self__, Security Rule resource. Azure REST API version: 2024-02-01-preview. - Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param SecurityRuleArgs args: The arguments to use to populate this resource's properties. @@ -348,7 +348,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:SecurityRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityRule, __self__).__init__( 'azure-native:azurestackhci:SecurityRule', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/storage_container.py index d4cb4dfd7d0e..38cda9fb64c4 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/storage_container.py @@ -138,7 +138,7 @@ def __init__(__self__, The storage container resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -159,7 +159,7 @@ def __init__(__self__, The storage container resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param StorageContainerArgs args: The arguments to use to populate this resource's properties. @@ -204,7 +204,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/galleryimage_retrieve.py b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/galleryimage_retrieve.py index 1685cfb2ceb1..daac9f26ec80 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/galleryimage_retrieve.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/galleryimage_retrieve.py @@ -338,7 +338,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:galleryimageRetrieve")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:galleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryimageRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:galleryimageRetrieve")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryimageRetrieve, __self__).__init__( 'azure-native:azurestackhci/v20210901preview:GalleryimageRetrieve', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/marketplacegalleryimage.py b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/marketplacegalleryimage.py index 1e1262281381..a6ea6bfe5ea0 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/marketplacegalleryimage.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/marketplacegalleryimage.py @@ -318,7 +318,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:marketplacegalleryimage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:Marketplacegalleryimage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:marketplacegalleryimage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Marketplacegalleryimage, __self__).__init__( 'azure-native:azurestackhci/v20210901preview:Marketplacegalleryimage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/networkinterface_retrieve.py b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/networkinterface_retrieve.py index 07c2a6ed6432..d8b0421c62c8 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/networkinterface_retrieve.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/networkinterface_retrieve.py @@ -253,7 +253,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:networkinterfaceRetrieve")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:networkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkinterfaceRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:networkinterfaceRetrieve")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkinterfaceRetrieve, __self__).__init__( 'azure-native:azurestackhci/v20210901preview:NetworkinterfaceRetrieve', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/storagecontainer_retrieve.py b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/storagecontainer_retrieve.py index bd16d39c0b6d..ef75e2d2b197 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/storagecontainer_retrieve.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/storagecontainer_retrieve.py @@ -223,7 +223,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:storagecontainerRetrieve")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:storagecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StoragecontainerRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:storagecontainerRetrieve")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StoragecontainerRetrieve, __self__).__init__( 'azure-native:azurestackhci/v20210901preview:StoragecontainerRetrieve', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/virtualharddisk_retrieve.py b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/virtualharddisk_retrieve.py index 7e134915dabb..8b149851d6c5 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/virtualharddisk_retrieve.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20210901preview/virtualharddisk_retrieve.py @@ -338,7 +338,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:virtualharddiskRetrieve")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:virtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualharddiskRetrieve"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:virtualharddiskRetrieve")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualharddiskRetrieve, __self__).__init__( 'azure-native:azurestackhci/v20210901preview:VirtualharddiskRetrieve', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/gallery_image.py index ee1c96cbf540..8afabb8ea5d0 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/gallery_image.py @@ -318,7 +318,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20221215preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/marketplace_gallery_image.py index 219c4962cf19..cff6e59ca41a 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/marketplace_gallery_image.py @@ -298,7 +298,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/network_interface.py index 5a7e191d934b..e3a9fbe578d7 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/network_interface.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20221215preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/storage_container.py index d4d0eb2abda9..a98c725753c8 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/storage_container.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20221215preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/virtual_hard_disk.py index f991d5221eea..35a2906fdb0b 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20221215preview/virtual_hard_disk.py @@ -323,7 +323,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20221215preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/gallery_image.py index 9baa750c2829..20b78c3cf47e 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/gallery_image.py @@ -319,7 +319,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/guest_agent.py index 850a837302e4..b02c4be68d01 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/guest_agent.py @@ -158,7 +158,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/marketplace_gallery_image.py index 865e296532b4..f70518c7282f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/network_interface.py index f7a6de75978b..2ce403c1244a 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/network_interface.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/storage_container.py index 371a971013a6..c1bfab745c18 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/storage_container.py @@ -198,7 +198,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_hard_disk.py index 6449be0790f5..1720f9e09d62 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_hard_disk.py @@ -323,7 +323,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_machine_instance.py index 324e1c4bfc85..a85126ce935e 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230701preview/virtual_machine_instance.py @@ -261,7 +261,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20230701preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/gallery_image.py index e7db26e5ea52..cdef60e63329 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/gallery_image.py @@ -319,7 +319,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/guest_agent.py index 842235d0b9bb..73361bab0b4a 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/guest_agent.py @@ -138,7 +138,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/logical_network.py index 04925f2c8a98..7a949ea88732 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/logical_network.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/marketplace_gallery_image.py index e0ea32fbe992..76c8c342d937 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/network_interface.py index a0a69edcc457..240c2ba1a338 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/network_interface.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/storage_container.py index 666b04741362..bef1c386b1ea 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/storage_container.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_hard_disk.py index c8999b437d82..509b2619542f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_hard_disk.py @@ -323,7 +323,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_machine_instance.py index 985e89e813e6..1906210bbc2f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20230901preview/virtual_machine_instance.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20230901preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/gallery_image.py index 70d7641b1f7a..c09498307d0a 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/gallery_image.py @@ -319,7 +319,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240101:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/guest_agent.py index 07cafb7255d1..9a060c38874f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/guest_agent.py @@ -138,7 +138,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20240101:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/logical_network.py index b9993acf3980..91ac66b661b5 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/logical_network.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci/v20240101:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/marketplace_gallery_image.py index e3f2bb50bfd1..8dbdf9972bb7 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240101:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/network_interface.py index bfbed9446cd1..c35361916cf1 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/network_interface.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20240101:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/storage_container.py index d2f66a3cdf3a..96082c85eb7d 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/storage_container.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20240101:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_hard_disk.py index ba78c635093a..f37c04f04dfa 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_hard_disk.py @@ -323,7 +323,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20240101:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_machine_instance.py index 14f421bce2dd..391fca746ec7 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240101/virtual_machine_instance.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20240101:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/gallery_image.py index 886a66e1c64f..86e5331151c9 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/gallery_image.py @@ -319,7 +319,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/guest_agent.py index 92bc41f85fec..9562a0dc0dfd 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/guest_agent.py @@ -138,7 +138,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/logical_network.py index 9c20a4985932..e35eb53c6365 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/logical_network.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/marketplace_gallery_image.py index bcd9b05e548d..eb0937014a29 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_interface.py index 3c0297c30189..78f7f6b630dd 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_interface.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_security_group.py index 96cc6a37d7b3..04248d2786f2 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_security_group.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/network_security_group.py @@ -180,7 +180,7 @@ def _internal_init(__self__, __props__.__dict__["subnets"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkSecurityGroup, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/security_rule.py index 16dcc6e086ee..6f021aa1f010 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/security_rule.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/security_rule.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:SecurityRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityRule, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:SecurityRule', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/storage_container.py index cef0d7ad40cc..cde9525b9758 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/storage_container.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_hard_disk.py index 77b85a079aa6..799ee872a7f0 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_hard_disk.py @@ -338,7 +338,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_machine_instance.py index 71ddea5c107b..b1445d1e8b39 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240201preview/virtual_machine_instance.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20240201preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/gallery_image.py index 47c5cc0e09fb..fadb11366c61 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/gallery_image.py @@ -339,7 +339,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/guest_agent.py index bb164beb7b48..cfea0f23ddca 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/guest_agent.py @@ -138,7 +138,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/logical_network.py index 2837a5cb6ae5..22982f08e189 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/logical_network.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/marketplace_gallery_image.py index 33e407585564..06f5137def8e 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_interface.py index 163808c5f5ec..6cb5fbc79a2d 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_interface.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_security_group.py index 3aa0d77dd0c8..34fc2b93d4d5 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_security_group.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/network_security_group.py @@ -180,7 +180,7 @@ def _internal_init(__self__, __props__.__dict__["subnets"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkSecurityGroup, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/security_rule.py index 64c5d8896b58..0330a85edd37 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/security_rule.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/security_rule.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:SecurityRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityRule, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:SecurityRule', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/storage_container.py index a1d5fae9bcca..9548324ee696 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/storage_container.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_hard_disk.py index 46636ca733c0..cbda07550e9f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_hard_disk.py @@ -358,7 +358,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_machine_instance.py index 5313cb2ca83c..30692e792680 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240501preview/virtual_machine_instance.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20240501preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/gallery_image.py index 0d179200072e..e46b4b73fc29 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/gallery_image.py @@ -339,7 +339,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/guest_agent.py index 8b1f0c2ea490..e6c9d7cdb06b 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/guest_agent.py @@ -138,7 +138,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/logical_network.py index d4dc6d0cda29..204a8c6544df 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/logical_network.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/marketplace_gallery_image.py index 1dd94cf39157..8a584aea6c4f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_interface.py index 1fde5b6a63d8..7d3df5cbca80 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_interface.py @@ -282,7 +282,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_security_group.py index 7365cf595e7b..7792f62a142b 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_security_group.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/network_security_group.py @@ -180,7 +180,7 @@ def _internal_init(__self__, __props__.__dict__["subnets"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkSecurityGroup, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/security_rule.py index db2c39a473ce..543cc1f2c372 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/security_rule.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/security_rule.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:SecurityRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityRule, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:SecurityRule', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/storage_container.py index 62fb60afcab2..6a92c8a0653f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/storage_container.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_hard_disk.py index 34ef7ce6c78f..338a75fb36a1 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_hard_disk.py @@ -402,7 +402,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_machine_instance.py index 891bcca2440f..a01af5aa0728 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240715preview/virtual_machine_instance.py @@ -305,7 +305,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20240715preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/gallery_image.py index 8b24490370d7..05fbafaeb466 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/gallery_image.py @@ -359,7 +359,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:GalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/guest_agent.py index a5c8b6968a52..b7e2ec397795 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/guest_agent.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/guest_agent.py @@ -138,7 +138,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:GuestAgent")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(GuestAgent, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:GuestAgent', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/logical_network.py index f056f96678e3..bdf8746e1e4f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/logical_network.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/logical_network.py @@ -238,7 +238,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:LogicalNetwork")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(LogicalNetwork, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:LogicalNetwork', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/marketplace_gallery_image.py index ee8b080fdbdc..02cd8785f856 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/marketplace_gallery_image.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/marketplace_gallery_image.py @@ -299,7 +299,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(MarketplaceGalleryImage, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_interface.py index a0b81ac660d0..8fed43c71b46 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_interface.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_interface.py @@ -258,7 +258,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkInterface")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkInterface, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:NetworkInterface', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_security_group.py index 3fd5b9aaecc3..81476f30faa7 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_security_group.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/network_security_group.py @@ -180,7 +180,7 @@ def _internal_init(__self__, __props__.__dict__["subnets"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(NetworkSecurityGroup, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/security_rule.py index 05c2ef57d614..986f4797650f 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/security_rule.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/security_rule.py @@ -342,7 +342,7 @@ def _internal_init(__self__, __props__.__dict__["provisioning_state"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:SecurityRule")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SecurityRule, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:SecurityRule', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/storage_container.py index 4742b3eebaae..243c3f47f280 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/storage_container.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/storage_container.py @@ -199,7 +199,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:StorageContainer")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(StorageContainer, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:StorageContainer', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_hard_disk.py index 7b508ac79f7c..da9635f80c65 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_hard_disk.py @@ -358,7 +358,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_machine_instance.py index 908f317aabd4..99c42cb297e7 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20240801preview/virtual_machine_instance.py @@ -281,7 +281,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci/v20240801preview:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/__init__.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/__init__.py new file mode 100644 index 000000000000..10d6feeb3c20 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/__init__.py @@ -0,0 +1,30 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .gallery_image import * +from .get_gallery_image import * +from .get_guest_agent import * +from .get_logical_network import * +from .get_marketplace_gallery_image import * +from .get_network_interface import * +from .get_network_security_group import * +from .get_security_rule import * +from .get_storage_container import * +from .get_virtual_hard_disk import * +from .get_virtual_machine_instance import * +from .guest_agent import * +from .logical_network import * +from .marketplace_gallery_image import * +from .network_interface import * +from .network_security_group import * +from .security_rule import * +from .storage_container import * +from .virtual_hard_disk import * +from .virtual_machine_instance import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/_enums.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/_enums.py new file mode 100644 index 000000000000..fc3084973207 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/_enums.py @@ -0,0 +1,332 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'CloudInitDataSource', + 'DiskFileFormat', + 'ExtendedLocationTypes', + 'GpuAssignmentTypeEnum', + 'HyperVGeneration', + 'IPPoolTypeEnum', + 'IpAllocationMethodEnum', + 'ManagedServiceIdentityType', + 'OperatingSystemTypes', + 'ProvisioningAction', + 'SecurityEncryptionType', + 'SecurityRuleAccess', + 'SecurityRuleDirection', + 'SecurityRuleProtocol', + 'SecurityTypes', + 'VmSizeEnum', +] + + +class CloudInitDataSource(str, Enum): + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + NO_CLOUD = "NoCloud" + """ + NoCloud is used as the datasource + """ + AZURE = "Azure" + """ + Azure is used as the datasource + """ + + +class DiskFileFormat(str, Enum): + """ + The format of the actual VHD file [vhd, vhdx] + """ + VHDX = "vhdx" + """ + VHDX file format + """ + VHD = "vhd" + """ + VHD file format + """ + + +class ExtendedLocationTypes(str, Enum): + """ + The type of the extended location. + """ + CUSTOM_LOCATION = "CustomLocation" + """ + Custom extended location type + """ + + +class GpuAssignmentTypeEnum(str, Enum): + """ + GPU assignment type + """ + GPU_DDA = "GpuDDA" + """ + Attach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA) + """ + GPU_P = "GpuP" + """ + Attach Graphics Processing Unit (GPU) using GPU Partitioning + """ + + +class HyperVGeneration(str, Enum): + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + V1 = "V1" + """ + Generation 1 (V1) hypervisor + """ + V2 = "V2" + """ + Generation 2 (V2) hypervisor + """ + + +class IPPoolTypeEnum(str, Enum): + """ + Type of the IP Pool [vm, vippool] + """ + VM = "vm" + """ + Virtual Machine IP Pool + """ + VIPPOOL = "vippool" + """ + VIP Pool + """ + + +class IpAllocationMethodEnum(str, Enum): + """ + IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + """ + DYNAMIC = "Dynamic" + """ + Dynamic IP allocation method + """ + STATIC = "Static" + """ + Static IP allocation method + """ + + +class ManagedServiceIdentityType(str, Enum): + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + NONE = "None" + SYSTEM_ASSIGNED = "SystemAssigned" + USER_ASSIGNED = "UserAssigned" + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned" + + +class OperatingSystemTypes(str, Enum): + """ + 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. Possible values are: Windows, Linux. + """ + WINDOWS = "Windows" + """ + Windows operating system + """ + LINUX = "Linux" + """ + Linux operating system + """ + + +class ProvisioningAction(str, Enum): + """ + The guest agent provisioning action. + """ + INSTALL = "install" + """ + Install guest agent + """ + UNINSTALL = "uninstall" + """ + Uninstall guest agent + """ + REPAIR = "repair" + """ + Repair guest agent + """ + + +class SecurityEncryptionType(str, Enum): + """ + Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + """ + NON_PERSISTED_TPM = "NonPersistedTPM" + """ + Non-persisted TPM encryption type + """ + + +class SecurityRuleAccess(str, Enum): + """ + The network traffic is allowed or denied. + """ + ALLOW = "Allow" + """ + Network traffic is allowed + """ + DENY = "Deny" + """ + Network traffic is denied + """ + + +class SecurityRuleDirection(str, Enum): + """ + The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + """ + INBOUND = "Inbound" + """ + Rule is evaluated on incoming traffic + """ + OUTBOUND = "Outbound" + """ + Rule is evaluated on outgoing traffic + """ + + +class SecurityRuleProtocol(str, Enum): + """ + Network protocol this rule applies to. + """ + TCP = "Tcp" + """ + Transmission Control Protocol + """ + UDP = "Udp" + """ + User Datagram Protocol + """ + ICMP = "Icmp" + """ + Internet Control Message Protocol + """ + ASTERISK = "*" + """ + Wildcard rule for all protocols + """ + + +class SecurityTypes(str, Enum): + """ + Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + """ + TRUSTED_LAUNCH = "TrustedLaunch" + """ + Trusted Launch security type + """ + CONFIDENTIAL_VM = "ConfidentialVM" + """ + Confidential VM security type + """ + + +class VmSizeEnum(str, Enum): + """ + Enum of VM Sizes + """ + DEFAULT = "Default" + """ + Default virtual machine size + """ + STANDARD_A2_V2 = "Standard_A2_v2" + """ + Standard A2 v2 virtual machine size + """ + STANDARD_A4_V2 = "Standard_A4_v2" + """ + Standard A4 v2 virtual machine size + """ + STANDARD_D2S_V3 = "Standard_D2s_v3" + """ + Standard D2s v3 virtual machine size + """ + STANDARD_D4S_V3 = "Standard_D4s_v3" + """ + Standard D4s v3 virtual machine size + """ + STANDARD_D8S_V3 = "Standard_D8s_v3" + """ + Standard D8s v3 virtual machine size + """ + STANDARD_D16S_V3 = "Standard_D16s_v3" + """ + Standard D16s v3 virtual machine size + """ + STANDARD_D32S_V3 = "Standard_D32s_v3" + """ + Standard D32s v3 virtual machine size + """ + STANDARD_DS2_V2 = "Standard_DS2_v2" + """ + Standard DS2 v2 virtual machine size + """ + STANDARD_DS3_V2 = "Standard_DS3_v2" + """ + Standard DS3 v2 virtual machine size + """ + STANDARD_DS4_V2 = "Standard_DS4_v2" + """ + Standard DS4 v2 virtual machine size + """ + STANDARD_DS5_V2 = "Standard_DS5_v2" + """ + Standard DS5 v2 virtual machine size + """ + STANDARD_DS13_V2 = "Standard_DS13_v2" + """ + Standard DS13 v2 virtual machine size + """ + STANDARD_K8_S_V1 = "Standard_K8S_v1" + """ + Standard K8S v1 virtual machine size + """ + STANDARD_K8_S2_V1 = "Standard_K8S2_v1" + """ + Standard K8S2 v1 virtual machine size + """ + STANDARD_K8_S3_V1 = "Standard_K8S3_v1" + """ + Standard K8S3 v1 virtual machine size + """ + STANDARD_K8_S4_V1 = "Standard_K8S4_v1" + """ + Standard K8S4 v1 virtual machine size + """ + STANDARD_NK6 = "Standard_NK6" + """ + Standard NK6 virtual machine size + """ + STANDARD_NK12 = "Standard_NK12" + """ + Standard NK12 virtual machine size + """ + STANDARD_NV6 = "Standard_NV6" + """ + Standard NV6 virtual machine size + """ + STANDARD_NV12 = "Standard_NV12" + """ + Standard NV12 virtual machine size + """ + STANDARD_K8_S5_V1 = "Standard_K8S5_v1" + """ + Standard K8S5 v1 virtual machine size + """ + CUSTOM = "Custom" + """ + Custom virtual machine size + """ diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/_inputs.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/_inputs.py new file mode 100644 index 000000000000..20bd4efe5874 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/_inputs.py @@ -0,0 +1,2417 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from ._enums import * + +__all__ = [ + 'ExtendedLocationArgs', + 'ExtendedLocationArgsDict', + 'GalleryImageIdentifierArgs', + 'GalleryImageIdentifierArgsDict', + 'GalleryImageVersionArgs', + 'GalleryImageVersionArgsDict', + 'GuestCredentialArgs', + 'GuestCredentialArgsDict', + 'HttpProxyConfigurationArgs', + 'HttpProxyConfigurationArgsDict', + 'IPConfigurationPropertiesArgs', + 'IPConfigurationPropertiesArgsDict', + 'IPConfigurationArgs', + 'IPConfigurationArgsDict', + 'IPPoolArgs', + 'IPPoolArgsDict', + 'ImageArmReferenceArgs', + 'ImageArmReferenceArgsDict', + 'InterfaceDNSSettingsArgs', + 'InterfaceDNSSettingsArgsDict', + 'LogicalNetworkArmReferenceArgs', + 'LogicalNetworkArmReferenceArgsDict', + 'LogicalNetworkPropertiesDhcpOptionsArgs', + 'LogicalNetworkPropertiesDhcpOptionsArgsDict', + 'ManagedServiceIdentityArgs', + 'ManagedServiceIdentityArgsDict', + 'NetworkInterfaceArmReferenceArgs', + 'NetworkInterfaceArmReferenceArgsDict', + 'NetworkSecurityGroupArmReferenceArgs', + 'NetworkSecurityGroupArmReferenceArgsDict', + 'RouteTableArgs', + 'RouteTableArgsDict', + 'RouteArgs', + 'RouteArgsDict', + 'SshConfigurationArgs', + 'SshConfigurationArgsDict', + 'SshPublicKeyArgs', + 'SshPublicKeyArgsDict', + 'SubnetIpConfigurationReferenceArgs', + 'SubnetIpConfigurationReferenceArgsDict', + 'SubnetArgs', + 'SubnetArgsDict', + 'VMDiskSecurityProfileArgs', + 'VMDiskSecurityProfileArgsDict', + 'VirtualHardDiskArmReferenceArgs', + 'VirtualHardDiskArmReferenceArgsDict', + 'VirtualMachineInstanceManagedDiskParametersArgs', + 'VirtualMachineInstanceManagedDiskParametersArgsDict', + 'VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs', + 'VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgsDict', + 'VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs', + 'VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgsDict', + 'VirtualMachineInstancePropertiesHardwareProfileArgs', + 'VirtualMachineInstancePropertiesHardwareProfileArgsDict', + 'VirtualMachineInstancePropertiesNetworkProfileArgs', + 'VirtualMachineInstancePropertiesNetworkProfileArgsDict', + 'VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs', + 'VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsDict', + 'VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs', + 'VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsDict', + 'VirtualMachineInstancePropertiesOsProfileArgs', + 'VirtualMachineInstancePropertiesOsProfileArgsDict', + 'VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs', + 'VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsDict', + 'VirtualMachineInstancePropertiesSecurityProfileArgs', + 'VirtualMachineInstancePropertiesSecurityProfileArgsDict', + 'VirtualMachineInstancePropertiesStorageProfileOsDiskArgs', + 'VirtualMachineInstancePropertiesStorageProfileOsDiskArgsDict', + 'VirtualMachineInstancePropertiesStorageProfileArgs', + 'VirtualMachineInstancePropertiesStorageProfileArgsDict', + 'VmImageRepositoryCredentialsArgs', + 'VmImageRepositoryCredentialsArgsDict', +] + +MYPY = False + +if not MYPY: + class ExtendedLocationArgsDict(TypedDict): + """ + The complex type of the extended location. + """ + name: NotRequired[pulumi.Input[str]] + """ + The name of the extended location. + """ + type: NotRequired[pulumi.Input[Union[str, 'ExtendedLocationTypes']]] + """ + The type of the extended location. + """ +elif False: + ExtendedLocationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ExtendedLocationArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[Union[str, 'ExtendedLocationTypes']]] = None): + """ + The complex type of the extended location. + :param pulumi.Input[str] name: The name of the extended location. + :param pulumi.Input[Union[str, 'ExtendedLocationTypes']] type: The type of the extended location. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the extended location. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def type(self) -> Optional[pulumi.Input[Union[str, 'ExtendedLocationTypes']]]: + """ + The type of the extended location. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: Optional[pulumi.Input[Union[str, 'ExtendedLocationTypes']]]): + pulumi.set(self, "type", value) + + +if not MYPY: + class GalleryImageIdentifierArgsDict(TypedDict): + """ + This is the gallery image definition identifier. + """ + offer: pulumi.Input[str] + """ + The name of the gallery image definition offer. + """ + publisher: pulumi.Input[str] + """ + The name of the gallery image definition publisher. + """ + sku: pulumi.Input[str] + """ + The name of the gallery image definition SKU. + """ +elif False: + GalleryImageIdentifierArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GalleryImageIdentifierArgs: + def __init__(__self__, *, + offer: pulumi.Input[str], + publisher: pulumi.Input[str], + sku: pulumi.Input[str]): + """ + This is the gallery image definition identifier. + :param pulumi.Input[str] offer: The name of the gallery image definition offer. + :param pulumi.Input[str] publisher: The name of the gallery image definition publisher. + :param pulumi.Input[str] sku: The name of the gallery image definition SKU. + """ + pulumi.set(__self__, "offer", offer) + pulumi.set(__self__, "publisher", publisher) + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter + def offer(self) -> pulumi.Input[str]: + """ + The name of the gallery image definition offer. + """ + return pulumi.get(self, "offer") + + @offer.setter + def offer(self, value: pulumi.Input[str]): + pulumi.set(self, "offer", value) + + @property + @pulumi.getter + def publisher(self) -> pulumi.Input[str]: + """ + The name of the gallery image definition publisher. + """ + return pulumi.get(self, "publisher") + + @publisher.setter + def publisher(self, value: pulumi.Input[str]): + pulumi.set(self, "publisher", value) + + @property + @pulumi.getter + def sku(self) -> pulumi.Input[str]: + """ + The name of the gallery image definition SKU. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: pulumi.Input[str]): + pulumi.set(self, "sku", value) + + +if not MYPY: + class GalleryImageVersionArgsDict(TypedDict): + """ + Specifies information about the gallery image version that you want to create or update. + """ + name: NotRequired[pulumi.Input[str]] + """ + This is the version of the gallery image. + """ +elif False: + GalleryImageVersionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GalleryImageVersionArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None): + """ + Specifies information about the gallery image version that you want to create or update. + :param pulumi.Input[str] name: This is the version of the gallery image. + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + This is the version of the gallery image. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + +if not MYPY: + class GuestCredentialArgsDict(TypedDict): + """ + Username / Password Credentials to connect to guest. + """ + password: NotRequired[pulumi.Input[str]] + """ + The password to connect with the guest. + """ + username: NotRequired[pulumi.Input[str]] + """ + The username to connect with the guest. + """ +elif False: + GuestCredentialArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class GuestCredentialArgs: + def __init__(__self__, *, + password: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None): + """ + Username / Password Credentials to connect to guest. + :param pulumi.Input[str] password: The password to connect with the guest. + :param pulumi.Input[str] username: The username to connect with the guest. + """ + if password is not None: + pulumi.set(__self__, "password", password) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> Optional[pulumi.Input[str]]: + """ + The password to connect with the guest. + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def username(self) -> Optional[pulumi.Input[str]]: + """ + The username to connect with the guest. + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "username", value) + + +if not MYPY: + class HttpProxyConfigurationArgsDict(TypedDict): + """ + HTTP Proxy configuration for the VM. + """ + http_proxy: NotRequired[pulumi.Input[str]] + """ + The HTTP proxy server endpoint to use. + """ + https_proxy: NotRequired[pulumi.Input[str]] + """ + The HTTPS proxy server endpoint to use. + """ + no_proxy: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The endpoints that should not go through proxy. + """ + trusted_ca: NotRequired[pulumi.Input[str]] + """ + Alternative CA cert to use for connecting to proxy servers. + """ +elif False: + HttpProxyConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class HttpProxyConfigurationArgs: + def __init__(__self__, *, + http_proxy: Optional[pulumi.Input[str]] = None, + https_proxy: Optional[pulumi.Input[str]] = None, + no_proxy: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + trusted_ca: Optional[pulumi.Input[str]] = None): + """ + HTTP Proxy configuration for the VM. + :param pulumi.Input[str] http_proxy: The HTTP proxy server endpoint to use. + :param pulumi.Input[str] https_proxy: The HTTPS proxy server endpoint to use. + :param pulumi.Input[Sequence[pulumi.Input[str]]] no_proxy: The endpoints that should not go through proxy. + :param pulumi.Input[str] trusted_ca: Alternative CA cert to use for connecting to proxy servers. + """ + if http_proxy is not None: + pulumi.set(__self__, "http_proxy", http_proxy) + if https_proxy is not None: + pulumi.set(__self__, "https_proxy", https_proxy) + if no_proxy is not None: + pulumi.set(__self__, "no_proxy", no_proxy) + if trusted_ca is not None: + pulumi.set(__self__, "trusted_ca", trusted_ca) + + @property + @pulumi.getter(name="httpProxy") + def http_proxy(self) -> Optional[pulumi.Input[str]]: + """ + The HTTP proxy server endpoint to use. + """ + return pulumi.get(self, "http_proxy") + + @http_proxy.setter + def http_proxy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "http_proxy", value) + + @property + @pulumi.getter(name="httpsProxy") + def https_proxy(self) -> Optional[pulumi.Input[str]]: + """ + The HTTPS proxy server endpoint to use. + """ + return pulumi.get(self, "https_proxy") + + @https_proxy.setter + def https_proxy(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "https_proxy", value) + + @property + @pulumi.getter(name="noProxy") + def no_proxy(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The endpoints that should not go through proxy. + """ + return pulumi.get(self, "no_proxy") + + @no_proxy.setter + def no_proxy(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "no_proxy", value) + + @property + @pulumi.getter(name="trustedCa") + def trusted_ca(self) -> Optional[pulumi.Input[str]]: + """ + Alternative CA cert to use for connecting to proxy servers. + """ + return pulumi.get(self, "trusted_ca") + + @trusted_ca.setter + def trusted_ca(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "trusted_ca", value) + + +if not MYPY: + class IPConfigurationPropertiesArgsDict(TypedDict): + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ + private_ip_address: NotRequired[pulumi.Input[str]] + """ + PrivateIPAddress - Private IP address of the IP configuration. + """ + subnet: NotRequired[pulumi.Input['LogicalNetworkArmReferenceArgsDict']] + """ + Subnet - Name of Subnet bound to the IP configuration. + """ +elif False: + IPConfigurationPropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class IPConfigurationPropertiesArgs: + def __init__(__self__, *, + private_ip_address: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input['LogicalNetworkArmReferenceArgs']] = None): + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + :param pulumi.Input[str] private_ip_address: PrivateIPAddress - Private IP address of the IP configuration. + :param pulumi.Input['LogicalNetworkArmReferenceArgs'] subnet: Subnet - Name of Subnet bound to the IP configuration. + """ + if private_ip_address is not None: + pulumi.set(__self__, "private_ip_address", private_ip_address) + if subnet is not None: + pulumi.set(__self__, "subnet", subnet) + + @property + @pulumi.getter(name="privateIPAddress") + def private_ip_address(self) -> Optional[pulumi.Input[str]]: + """ + PrivateIPAddress - Private IP address of the IP configuration. + """ + return pulumi.get(self, "private_ip_address") + + @private_ip_address.setter + def private_ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_ip_address", value) + + @property + @pulumi.getter + def subnet(self) -> Optional[pulumi.Input['LogicalNetworkArmReferenceArgs']]: + """ + Subnet - Name of Subnet bound to the IP configuration. + """ + return pulumi.get(self, "subnet") + + @subnet.setter + def subnet(self, value: Optional[pulumi.Input['LogicalNetworkArmReferenceArgs']]): + pulumi.set(self, "subnet", value) + + +if not MYPY: + class IPConfigurationArgsDict(TypedDict): + """ + InterfaceIPConfiguration IPConfiguration in a network interface. + """ + name: NotRequired[pulumi.Input[str]] + """ + Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + properties: NotRequired[pulumi.Input['IPConfigurationPropertiesArgsDict']] + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ +elif False: + IPConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class IPConfigurationArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['IPConfigurationPropertiesArgs']] = None): + """ + InterfaceIPConfiguration IPConfiguration in a network interface. + :param pulumi.Input[str] name: Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + :param pulumi.Input['IPConfigurationPropertiesArgs'] properties: InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['IPConfigurationPropertiesArgs']]: + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['IPConfigurationPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +if not MYPY: + class IPPoolArgsDict(TypedDict): + """ + Describes IPPool + """ + end: NotRequired[pulumi.Input[str]] + """ + End of the IP address pool + """ + ip_pool_type: NotRequired[pulumi.Input[Union[str, 'IPPoolTypeEnum']]] + """ + Type of the IP Pool [vm, vippool] + """ + name: NotRequired[pulumi.Input[str]] + """ + Name of the IP-Pool + """ + start: NotRequired[pulumi.Input[str]] + """ + Start of the IP address pool + """ +elif False: + IPPoolArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class IPPoolArgs: + def __init__(__self__, *, + end: Optional[pulumi.Input[str]] = None, + ip_pool_type: Optional[pulumi.Input[Union[str, 'IPPoolTypeEnum']]] = None, + name: Optional[pulumi.Input[str]] = None, + start: Optional[pulumi.Input[str]] = None): + """ + Describes IPPool + :param pulumi.Input[str] end: End of the IP address pool + :param pulumi.Input[Union[str, 'IPPoolTypeEnum']] ip_pool_type: Type of the IP Pool [vm, vippool] + :param pulumi.Input[str] name: Name of the IP-Pool + :param pulumi.Input[str] start: Start of the IP address pool + """ + if end is not None: + pulumi.set(__self__, "end", end) + if ip_pool_type is not None: + pulumi.set(__self__, "ip_pool_type", ip_pool_type) + if name is not None: + pulumi.set(__self__, "name", name) + if start is not None: + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> Optional[pulumi.Input[str]]: + """ + End of the IP address pool + """ + return pulumi.get(self, "end") + + @end.setter + def end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "end", value) + + @property + @pulumi.getter(name="ipPoolType") + def ip_pool_type(self) -> Optional[pulumi.Input[Union[str, 'IPPoolTypeEnum']]]: + """ + Type of the IP Pool [vm, vippool] + """ + return pulumi.get(self, "ip_pool_type") + + @ip_pool_type.setter + def ip_pool_type(self, value: Optional[pulumi.Input[Union[str, 'IPPoolTypeEnum']]]): + pulumi.set(self, "ip_pool_type", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the IP-Pool + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def start(self) -> Optional[pulumi.Input[str]]: + """ + Start of the IP address pool + """ + return pulumi.get(self, "start") + + @start.setter + def start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "start", value) + + +if not MYPY: + class ImageArmReferenceArgsDict(TypedDict): + """ + The ARM ID for a Gallery Image. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for an image resource used by the virtual machine instance. + """ +elif False: + ImageArmReferenceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ImageArmReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The ARM ID for a Gallery Image. + :param pulumi.Input[str] id: The ARM ID for an image resource used by the virtual machine instance. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for an image resource used by the virtual machine instance. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class InterfaceDNSSettingsArgsDict(TypedDict): + """ + DNS Settings of the interface + """ + dns_servers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of DNS server IP Addresses for the interface + """ +elif False: + InterfaceDNSSettingsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class InterfaceDNSSettingsArgs: + def __init__(__self__, *, + dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + DNS Settings of the interface + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers: List of DNS server IP Addresses for the interface + """ + if dns_servers is not None: + pulumi.set(__self__, "dns_servers", dns_servers) + + @property + @pulumi.getter(name="dnsServers") + def dns_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of DNS server IP Addresses for the interface + """ + return pulumi.get(self, "dns_servers") + + @dns_servers.setter + def dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dns_servers", value) + + +if not MYPY: + class LogicalNetworkArmReferenceArgsDict(TypedDict): + """ + The ARM ID for a Logical Network. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for a Logical Network. + """ +elif False: + LogicalNetworkArmReferenceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LogicalNetworkArmReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The ARM ID for a Logical Network. + :param pulumi.Input[str] id: The ARM ID for a Logical Network. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for a Logical Network. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class LogicalNetworkPropertiesDhcpOptionsArgsDict(TypedDict): + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + """ + dns_servers: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of DNS servers IP addresses. + """ +elif False: + LogicalNetworkPropertiesDhcpOptionsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class LogicalNetworkPropertiesDhcpOptionsArgs: + def __init__(__self__, *, + dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_servers: The list of DNS servers IP addresses. + """ + if dns_servers is not None: + pulumi.set(__self__, "dns_servers", dns_servers) + + @property + @pulumi.getter(name="dnsServers") + def dns_servers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of DNS servers IP addresses. + """ + return pulumi.get(self, "dns_servers") + + @dns_servers.setter + def dns_servers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dns_servers", value) + + +if not MYPY: + class ManagedServiceIdentityArgsDict(TypedDict): + """ + Managed service identity (system assigned and/or user assigned identities) + """ + type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']] + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + user_assigned_identities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ +elif False: + ManagedServiceIdentityArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class ManagedServiceIdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'ManagedServiceIdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param pulumi.Input[Union[str, 'ManagedServiceIdentityType']] type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'ManagedServiceIdentityType']]: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'ManagedServiceIdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +if not MYPY: + class NetworkInterfaceArmReferenceArgsDict(TypedDict): + """ + The ARM ID for a Network Interface. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for a Network Interface. + """ +elif False: + NetworkInterfaceArmReferenceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NetworkInterfaceArmReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The ARM ID for a Network Interface. + :param pulumi.Input[str] id: The ARM ID for a Network Interface. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for a Network Interface. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class NetworkSecurityGroupArmReferenceArgsDict(TypedDict): + """ + The ARM ID for a Network Security Group. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for a Network Security Group. + """ +elif False: + NetworkSecurityGroupArmReferenceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NetworkSecurityGroupArmReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The ARM ID for a Network Security Group. + :param pulumi.Input[str] id: The ARM ID for a Network Security Group. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for a Network Security Group. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class RouteTableArgsDict(TypedDict): + """ + Route table resource. + """ + routes: NotRequired[pulumi.Input[Sequence[pulumi.Input['RouteArgsDict']]]] + """ + Collection of routes contained within a route table. + """ +elif False: + RouteTableArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class RouteTableArgs: + def __init__(__self__, *, + routes: Optional[pulumi.Input[Sequence[pulumi.Input['RouteArgs']]]] = None): + """ + Route table resource. + :param pulumi.Input[Sequence[pulumi.Input['RouteArgs']]] routes: Collection of routes contained within a route table. + """ + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter + def routes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['RouteArgs']]]]: + """ + Collection of routes contained within a route table. + """ + return pulumi.get(self, "routes") + + @routes.setter + def routes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['RouteArgs']]]]): + pulumi.set(self, "routes", value) + + +if not MYPY: + class RouteArgsDict(TypedDict): + """ + Route - Route resource. + """ + address_prefix: NotRequired[pulumi.Input[str]] + """ + The destination CIDR to which the route applies. + """ + name: NotRequired[pulumi.Input[str]] + """ + Name - name of the subnet + """ + next_hop_ip_address: NotRequired[pulumi.Input[str]] + """ + The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + """ +elif False: + RouteArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class RouteArgs: + def __init__(__self__, *, + address_prefix: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + next_hop_ip_address: Optional[pulumi.Input[str]] = None): + """ + Route - Route resource. + :param pulumi.Input[str] address_prefix: The destination CIDR to which the route applies. + :param pulumi.Input[str] name: Name - name of the subnet + :param pulumi.Input[str] next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + """ + if address_prefix is not None: + pulumi.set(__self__, "address_prefix", address_prefix) + if name is not None: + pulumi.set(__self__, "name", name) + if next_hop_ip_address is not None: + pulumi.set(__self__, "next_hop_ip_address", next_hop_ip_address) + + @property + @pulumi.getter(name="addressPrefix") + def address_prefix(self) -> Optional[pulumi.Input[str]]: + """ + The destination CIDR to which the route applies. + """ + return pulumi.get(self, "address_prefix") + + @address_prefix.setter + def address_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "address_prefix", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name - name of the subnet + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="nextHopIpAddress") + def next_hop_ip_address(self) -> Optional[pulumi.Input[str]]: + """ + The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + """ + return pulumi.get(self, "next_hop_ip_address") + + @next_hop_ip_address.setter + def next_hop_ip_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "next_hop_ip_address", value) + + +if not MYPY: + class SshConfigurationArgsDict(TypedDict): + """ + SSH configuration for Linux based VMs running on Azure + """ + public_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgsDict']]]] + """ + The list of SSH public keys used to authenticate with linux based VMs. + """ +elif False: + SshConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SshConfigurationArgs: + def __init__(__self__, *, + public_keys: Optional[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]]] = None): + """ + SSH configuration for Linux based VMs running on Azure + :param pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]] public_keys: The list of SSH public keys used to authenticate with linux based VMs. + """ + if public_keys is not None: + pulumi.set(__self__, "public_keys", public_keys) + + @property + @pulumi.getter(name="publicKeys") + def public_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]]]: + """ + The list of SSH public keys used to authenticate with linux based VMs. + """ + return pulumi.get(self, "public_keys") + + @public_keys.setter + def public_keys(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SshPublicKeyArgs']]]]): + pulumi.set(self, "public_keys", value) + + +if not MYPY: + class SshPublicKeyArgsDict(TypedDict): + """ + Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + """ + key_data: NotRequired[pulumi.Input[str]] + """ + 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + """ + path: NotRequired[pulumi.Input[str]] + """ + 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 + """ +elif False: + SshPublicKeyArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SshPublicKeyArgs: + def __init__(__self__, *, + key_data: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None): + """ + Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + :param pulumi.Input[str] key_data: 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + :param pulumi.Input[str] path: 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 + """ + if key_data is not None: + pulumi.set(__self__, "key_data", key_data) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="keyData") + def key_data(self) -> Optional[pulumi.Input[str]]: + """ + 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + """ + return pulumi.get(self, "key_data") + + @key_data.setter + def key_data(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key_data", value) + + @property + @pulumi.getter + def path(self) -> Optional[pulumi.Input[str]]: + """ + 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 + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "path", value) + + +if not MYPY: + class SubnetIpConfigurationReferenceArgsDict(TypedDict): + """ + The ARM ID for a Network Interface. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for a Network Interface. + """ +elif False: + SubnetIpConfigurationReferenceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SubnetIpConfigurationReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The ARM ID for a Network Interface. + :param pulumi.Input[str] id: The ARM ID for a Network Interface. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for a Network Interface. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class SubnetArgsDict(TypedDict): + """ + Properties of the subnet. + """ + address_prefix: NotRequired[pulumi.Input[str]] + """ + The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + """ + address_prefixes: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + List of address prefixes for the subnet. + """ + ip_allocation_method: NotRequired[pulumi.Input[Union[str, 'IpAllocationMethodEnum']]] + """ + IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + """ + ip_configuration_references: NotRequired[pulumi.Input[Sequence[pulumi.Input['SubnetIpConfigurationReferenceArgsDict']]]] + """ + IPConfigurationReferences - list of IPConfigurationReferences + """ + ip_pools: NotRequired[pulumi.Input[Sequence[pulumi.Input['IPPoolArgsDict']]]] + """ + network associated pool of IP Addresses + """ + name: NotRequired[pulumi.Input[str]] + """ + Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + network_security_group: NotRequired[pulumi.Input['NetworkSecurityGroupArmReferenceArgsDict']] + """ + NetworkSecurityGroup - Network Security Group attached to the logical network. + """ + route_table: NotRequired[pulumi.Input['RouteTableArgsDict']] + """ + Route table resource. + """ + vlan: NotRequired[pulumi.Input[int]] + """ + Vlan to use for the subnet + """ +elif False: + SubnetArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SubnetArgs: + def __init__(__self__, *, + address_prefix: Optional[pulumi.Input[str]] = None, + address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ip_allocation_method: Optional[pulumi.Input[Union[str, 'IpAllocationMethodEnum']]] = None, + ip_configuration_references: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetIpConfigurationReferenceArgs']]]] = None, + ip_pools: Optional[pulumi.Input[Sequence[pulumi.Input['IPPoolArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + network_security_group: Optional[pulumi.Input['NetworkSecurityGroupArmReferenceArgs']] = None, + route_table: Optional[pulumi.Input['RouteTableArgs']] = None, + vlan: Optional[pulumi.Input[int]] = None): + """ + Properties of the subnet. + :param pulumi.Input[str] address_prefix: The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + :param pulumi.Input[Sequence[pulumi.Input[str]]] address_prefixes: List of address prefixes for the subnet. + :param pulumi.Input[Union[str, 'IpAllocationMethodEnum']] ip_allocation_method: IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + :param pulumi.Input[Sequence[pulumi.Input['SubnetIpConfigurationReferenceArgs']]] ip_configuration_references: IPConfigurationReferences - list of IPConfigurationReferences + :param pulumi.Input[Sequence[pulumi.Input['IPPoolArgs']]] ip_pools: network associated pool of IP Addresses + :param pulumi.Input[str] name: Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + :param pulumi.Input['NetworkSecurityGroupArmReferenceArgs'] network_security_group: NetworkSecurityGroup - Network Security Group attached to the logical network. + :param pulumi.Input['RouteTableArgs'] route_table: Route table resource. + :param pulumi.Input[int] vlan: Vlan to use for the subnet + """ + if address_prefix is not None: + pulumi.set(__self__, "address_prefix", address_prefix) + if address_prefixes is not None: + pulumi.set(__self__, "address_prefixes", address_prefixes) + if ip_allocation_method is not None: + pulumi.set(__self__, "ip_allocation_method", ip_allocation_method) + if ip_configuration_references is not None: + pulumi.set(__self__, "ip_configuration_references", ip_configuration_references) + if ip_pools is not None: + pulumi.set(__self__, "ip_pools", ip_pools) + if name is not None: + pulumi.set(__self__, "name", name) + if network_security_group is not None: + pulumi.set(__self__, "network_security_group", network_security_group) + if route_table is not None: + pulumi.set(__self__, "route_table", route_table) + if vlan is not None: + pulumi.set(__self__, "vlan", vlan) + + @property + @pulumi.getter(name="addressPrefix") + def address_prefix(self) -> Optional[pulumi.Input[str]]: + """ + The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + """ + return pulumi.get(self, "address_prefix") + + @address_prefix.setter + def address_prefix(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "address_prefix", value) + + @property + @pulumi.getter(name="addressPrefixes") + def address_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of address prefixes for the subnet. + """ + return pulumi.get(self, "address_prefixes") + + @address_prefixes.setter + def address_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "address_prefixes", value) + + @property + @pulumi.getter(name="ipAllocationMethod") + def ip_allocation_method(self) -> Optional[pulumi.Input[Union[str, 'IpAllocationMethodEnum']]]: + """ + IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + """ + return pulumi.get(self, "ip_allocation_method") + + @ip_allocation_method.setter + def ip_allocation_method(self, value: Optional[pulumi.Input[Union[str, 'IpAllocationMethodEnum']]]): + pulumi.set(self, "ip_allocation_method", value) + + @property + @pulumi.getter(name="ipConfigurationReferences") + def ip_configuration_references(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubnetIpConfigurationReferenceArgs']]]]: + """ + IPConfigurationReferences - list of IPConfigurationReferences + """ + return pulumi.get(self, "ip_configuration_references") + + @ip_configuration_references.setter + def ip_configuration_references(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetIpConfigurationReferenceArgs']]]]): + pulumi.set(self, "ip_configuration_references", value) + + @property + @pulumi.getter(name="ipPools") + def ip_pools(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IPPoolArgs']]]]: + """ + network associated pool of IP Addresses + """ + return pulumi.get(self, "ip_pools") + + @ip_pools.setter + def ip_pools(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IPPoolArgs']]]]): + pulumi.set(self, "ip_pools", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="networkSecurityGroup") + def network_security_group(self) -> Optional[pulumi.Input['NetworkSecurityGroupArmReferenceArgs']]: + """ + NetworkSecurityGroup - Network Security Group attached to the logical network. + """ + return pulumi.get(self, "network_security_group") + + @network_security_group.setter + def network_security_group(self, value: Optional[pulumi.Input['NetworkSecurityGroupArmReferenceArgs']]): + pulumi.set(self, "network_security_group", value) + + @property + @pulumi.getter(name="routeTable") + def route_table(self) -> Optional[pulumi.Input['RouteTableArgs']]: + """ + Route table resource. + """ + return pulumi.get(self, "route_table") + + @route_table.setter + def route_table(self, value: Optional[pulumi.Input['RouteTableArgs']]): + pulumi.set(self, "route_table", value) + + @property + @pulumi.getter + def vlan(self) -> Optional[pulumi.Input[int]]: + """ + Vlan to use for the subnet + """ + return pulumi.get(self, "vlan") + + @vlan.setter + def vlan(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "vlan", value) + + +if not MYPY: + class VMDiskSecurityProfileArgsDict(TypedDict): + """ + Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + """ + security_encryption_type: NotRequired[pulumi.Input[Union[str, 'SecurityEncryptionType']]] + """ + Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + """ +elif False: + VMDiskSecurityProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VMDiskSecurityProfileArgs: + def __init__(__self__, *, + security_encryption_type: Optional[pulumi.Input[Union[str, 'SecurityEncryptionType']]] = None): + """ + Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + :param pulumi.Input[Union[str, 'SecurityEncryptionType']] security_encryption_type: Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + """ + if security_encryption_type is not None: + pulumi.set(__self__, "security_encryption_type", security_encryption_type) + + @property + @pulumi.getter(name="securityEncryptionType") + def security_encryption_type(self) -> Optional[pulumi.Input[Union[str, 'SecurityEncryptionType']]]: + """ + Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + """ + return pulumi.get(self, "security_encryption_type") + + @security_encryption_type.setter + def security_encryption_type(self, value: Optional[pulumi.Input[Union[str, 'SecurityEncryptionType']]]): + pulumi.set(self, "security_encryption_type", value) + + +if not MYPY: + class VirtualHardDiskArmReferenceArgsDict(TypedDict): + """ + The ARM ID for a Virtual Hard Disk. + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for a Virtual Hard Disk. + """ +elif False: + VirtualHardDiskArmReferenceArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualHardDiskArmReferenceArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The ARM ID for a Virtual Hard Disk. + :param pulumi.Input[str] id: The ARM ID for a Virtual Hard Disk. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for a Virtual Hard Disk. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class VirtualMachineInstanceManagedDiskParametersArgsDict(TypedDict): + """ + The parameters of a managed disk. + """ + security_profile: NotRequired[pulumi.Input['VMDiskSecurityProfileArgsDict']] + """ + Specifies the security profile for the managed disk. + """ +elif False: + VirtualMachineInstanceManagedDiskParametersArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstanceManagedDiskParametersArgs: + def __init__(__self__, *, + security_profile: Optional[pulumi.Input['VMDiskSecurityProfileArgs']] = None): + """ + The parameters of a managed disk. + :param pulumi.Input['VMDiskSecurityProfileArgs'] security_profile: Specifies the security profile for the managed disk. + """ + if security_profile is not None: + pulumi.set(__self__, "security_profile", security_profile) + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional[pulumi.Input['VMDiskSecurityProfileArgs']]: + """ + Specifies the security profile for the managed disk. + """ + return pulumi.get(self, "security_profile") + + @security_profile.setter + def security_profile(self, value: Optional[pulumi.Input['VMDiskSecurityProfileArgs']]): + pulumi.set(self, "security_profile", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgsDict(TypedDict): + """ + Dynamic memory config + """ + maximum_memory_mb: NotRequired[pulumi.Input[float]] + """ + Maximum memory in MB + """ + minimum_memory_mb: NotRequired[pulumi.Input[float]] + """ + Minimum memory in MB + """ + target_memory_buffer: NotRequired[pulumi.Input[int]] + """ + Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + """ +elif False: + VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs: + def __init__(__self__, *, + maximum_memory_mb: Optional[pulumi.Input[float]] = None, + minimum_memory_mb: Optional[pulumi.Input[float]] = None, + target_memory_buffer: Optional[pulumi.Input[int]] = None): + """ + Dynamic memory config + :param pulumi.Input[float] maximum_memory_mb: Maximum memory in MB + :param pulumi.Input[float] minimum_memory_mb: Minimum memory in MB + :param pulumi.Input[int] target_memory_buffer: Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + """ + if maximum_memory_mb is not None: + pulumi.set(__self__, "maximum_memory_mb", maximum_memory_mb) + if minimum_memory_mb is not None: + pulumi.set(__self__, "minimum_memory_mb", minimum_memory_mb) + if target_memory_buffer is not None: + pulumi.set(__self__, "target_memory_buffer", target_memory_buffer) + + @property + @pulumi.getter(name="maximumMemoryMB") + def maximum_memory_mb(self) -> Optional[pulumi.Input[float]]: + """ + Maximum memory in MB + """ + return pulumi.get(self, "maximum_memory_mb") + + @maximum_memory_mb.setter + def maximum_memory_mb(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "maximum_memory_mb", value) + + @property + @pulumi.getter(name="minimumMemoryMB") + def minimum_memory_mb(self) -> Optional[pulumi.Input[float]]: + """ + Minimum memory in MB + """ + return pulumi.get(self, "minimum_memory_mb") + + @minimum_memory_mb.setter + def minimum_memory_mb(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "minimum_memory_mb", value) + + @property + @pulumi.getter(name="targetMemoryBuffer") + def target_memory_buffer(self) -> Optional[pulumi.Input[int]]: + """ + Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + """ + return pulumi.get(self, "target_memory_buffer") + + @target_memory_buffer.setter + def target_memory_buffer(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "target_memory_buffer", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgsDict(TypedDict): + """ + GPU properties - describes the GPU configuration. + """ + assignment_type: pulumi.Input[Union[str, 'GpuAssignmentTypeEnum']] + """ + GPU assignment type + """ + gpu_name: NotRequired[pulumi.Input[str]] + """ + Name of the GPU + """ + partition_size_mb: NotRequired[pulumi.Input[float]] + """ + Size of gpu partition in MB for GPU-P + """ +elif False: + VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs: + def __init__(__self__, *, + assignment_type: pulumi.Input[Union[str, 'GpuAssignmentTypeEnum']], + gpu_name: Optional[pulumi.Input[str]] = None, + partition_size_mb: Optional[pulumi.Input[float]] = None): + """ + GPU properties - describes the GPU configuration. + :param pulumi.Input[Union[str, 'GpuAssignmentTypeEnum']] assignment_type: GPU assignment type + :param pulumi.Input[str] gpu_name: Name of the GPU + :param pulumi.Input[float] partition_size_mb: Size of gpu partition in MB for GPU-P + """ + pulumi.set(__self__, "assignment_type", assignment_type) + if gpu_name is not None: + pulumi.set(__self__, "gpu_name", gpu_name) + if partition_size_mb is not None: + pulumi.set(__self__, "partition_size_mb", partition_size_mb) + + @property + @pulumi.getter(name="assignmentType") + def assignment_type(self) -> pulumi.Input[Union[str, 'GpuAssignmentTypeEnum']]: + """ + GPU assignment type + """ + return pulumi.get(self, "assignment_type") + + @assignment_type.setter + def assignment_type(self, value: pulumi.Input[Union[str, 'GpuAssignmentTypeEnum']]): + pulumi.set(self, "assignment_type", value) + + @property + @pulumi.getter(name="gpuName") + def gpu_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the GPU + """ + return pulumi.get(self, "gpu_name") + + @gpu_name.setter + def gpu_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gpu_name", value) + + @property + @pulumi.getter(name="partitionSizeMB") + def partition_size_mb(self) -> Optional[pulumi.Input[float]]: + """ + Size of gpu partition in MB for GPU-P + """ + return pulumi.get(self, "partition_size_mb") + + @partition_size_mb.setter + def partition_size_mb(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "partition_size_mb", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesHardwareProfileArgsDict(TypedDict): + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + """ + dynamic_memory_config: NotRequired[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgsDict']] + """ + Dynamic memory config + """ + memory_mb: NotRequired[pulumi.Input[float]] + """ + RAM in MB for the virtual machine instance + """ + processors: NotRequired[pulumi.Input[int]] + """ + number of processors for the virtual machine instance + """ + virtual_machine_gpus: NotRequired[pulumi.Input[Sequence[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgsDict']]]] + """ + virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + """ + vm_size: NotRequired[pulumi.Input[Union[str, 'VmSizeEnum']]] + """ + Enum of VM Sizes + """ +elif False: + VirtualMachineInstancePropertiesHardwareProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesHardwareProfileArgs: + def __init__(__self__, *, + dynamic_memory_config: Optional[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs']] = None, + memory_mb: Optional[pulumi.Input[float]] = None, + processors: Optional[pulumi.Input[int]] = None, + virtual_machine_gpus: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs']]]] = None, + vm_size: Optional[pulumi.Input[Union[str, 'VmSizeEnum']]] = None): + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + :param pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs'] dynamic_memory_config: Dynamic memory config + :param pulumi.Input[float] memory_mb: RAM in MB for the virtual machine instance + :param pulumi.Input[int] processors: number of processors for the virtual machine instance + :param pulumi.Input[Sequence[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs']]] virtual_machine_gpus: virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + :param pulumi.Input[Union[str, 'VmSizeEnum']] vm_size: Enum of VM Sizes + """ + if dynamic_memory_config is not None: + pulumi.set(__self__, "dynamic_memory_config", dynamic_memory_config) + if memory_mb is not None: + pulumi.set(__self__, "memory_mb", memory_mb) + if processors is not None: + pulumi.set(__self__, "processors", processors) + if virtual_machine_gpus is not None: + pulumi.set(__self__, "virtual_machine_gpus", virtual_machine_gpus) + if vm_size is None: + vm_size = 'Default' + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + + @property + @pulumi.getter(name="dynamicMemoryConfig") + def dynamic_memory_config(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs']]: + """ + Dynamic memory config + """ + return pulumi.get(self, "dynamic_memory_config") + + @dynamic_memory_config.setter + def dynamic_memory_config(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs']]): + pulumi.set(self, "dynamic_memory_config", value) + + @property + @pulumi.getter(name="memoryMB") + def memory_mb(self) -> Optional[pulumi.Input[float]]: + """ + RAM in MB for the virtual machine instance + """ + return pulumi.get(self, "memory_mb") + + @memory_mb.setter + def memory_mb(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "memory_mb", value) + + @property + @pulumi.getter + def processors(self) -> Optional[pulumi.Input[int]]: + """ + number of processors for the virtual machine instance + """ + return pulumi.get(self, "processors") + + @processors.setter + def processors(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "processors", value) + + @property + @pulumi.getter(name="virtualMachineGPUs") + def virtual_machine_gpus(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs']]]]: + """ + virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + """ + return pulumi.get(self, "virtual_machine_gpus") + + @virtual_machine_gpus.setter + def virtual_machine_gpus(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs']]]]): + pulumi.set(self, "virtual_machine_gpus", value) + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[pulumi.Input[Union[str, 'VmSizeEnum']]]: + """ + Enum of VM Sizes + """ + return pulumi.get(self, "vm_size") + + @vm_size.setter + def vm_size(self, value: Optional[pulumi.Input[Union[str, 'VmSizeEnum']]]): + pulumi.set(self, "vm_size", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesNetworkProfileArgsDict(TypedDict): + """ + NetworkProfile - describes the network configuration the virtual machine instance + """ + network_interfaces: NotRequired[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArmReferenceArgsDict']]]] + """ + NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + """ +elif False: + VirtualMachineInstancePropertiesNetworkProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesNetworkProfileArgs: + def __init__(__self__, *, + network_interfaces: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArmReferenceArgs']]]] = None): + """ + NetworkProfile - describes the network configuration the virtual machine instance + :param pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArmReferenceArgs']]] network_interfaces: NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + """ + if network_interfaces is not None: + pulumi.set(__self__, "network_interfaces", network_interfaces) + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArmReferenceArgs']]]]: + """ + NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + """ + return pulumi.get(self, "network_interfaces") + + @network_interfaces.setter + def network_interfaces(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkInterfaceArmReferenceArgs']]]]): + pulumi.set(self, "network_interfaces", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsDict(TypedDict): + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + """ + disable_password_authentication: NotRequired[pulumi.Input[bool]] + """ + DisablePasswordAuthentication - whether password authentication should be disabled + """ + provision_vm_agent: NotRequired[pulumi.Input[bool]] + """ + Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + """ + provision_vm_config_agent: NotRequired[pulumi.Input[bool]] + """ + Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + """ + ssh: NotRequired[pulumi.Input['SshConfigurationArgsDict']] + """ + Specifies the ssh key configuration for a Linux OS. + """ +elif False: + VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs: + def __init__(__self__, *, + disable_password_authentication: Optional[pulumi.Input[bool]] = None, + provision_vm_agent: Optional[pulumi.Input[bool]] = None, + provision_vm_config_agent: Optional[pulumi.Input[bool]] = None, + ssh: Optional[pulumi.Input['SshConfigurationArgs']] = None): + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + :param pulumi.Input[bool] disable_password_authentication: DisablePasswordAuthentication - whether password authentication should be disabled + :param pulumi.Input[bool] provision_vm_agent: Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + :param pulumi.Input[bool] provision_vm_config_agent: Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + :param pulumi.Input['SshConfigurationArgs'] ssh: Specifies the ssh key configuration for a Linux OS. + """ + if disable_password_authentication is not None: + pulumi.set(__self__, "disable_password_authentication", disable_password_authentication) + if provision_vm_agent is None: + provision_vm_agent = True + if provision_vm_agent is not None: + pulumi.set(__self__, "provision_vm_agent", provision_vm_agent) + if provision_vm_config_agent is None: + provision_vm_config_agent = True + if provision_vm_config_agent is not None: + pulumi.set(__self__, "provision_vm_config_agent", provision_vm_config_agent) + if ssh is not None: + pulumi.set(__self__, "ssh", ssh) + + @property + @pulumi.getter(name="disablePasswordAuthentication") + def disable_password_authentication(self) -> Optional[pulumi.Input[bool]]: + """ + DisablePasswordAuthentication - whether password authentication should be disabled + """ + return pulumi.get(self, "disable_password_authentication") + + @disable_password_authentication.setter + def disable_password_authentication(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_password_authentication", value) + + @property + @pulumi.getter(name="provisionVMAgent") + def provision_vm_agent(self) -> Optional[pulumi.Input[bool]]: + """ + Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + """ + return pulumi.get(self, "provision_vm_agent") + + @provision_vm_agent.setter + def provision_vm_agent(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "provision_vm_agent", value) + + @property + @pulumi.getter(name="provisionVMConfigAgent") + def provision_vm_config_agent(self) -> Optional[pulumi.Input[bool]]: + """ + Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + """ + return pulumi.get(self, "provision_vm_config_agent") + + @provision_vm_config_agent.setter + def provision_vm_config_agent(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "provision_vm_config_agent", value) + + @property + @pulumi.getter + def ssh(self) -> Optional[pulumi.Input['SshConfigurationArgs']]: + """ + Specifies the ssh key configuration for a Linux OS. + """ + return pulumi.get(self, "ssh") + + @ssh.setter + def ssh(self, value: Optional[pulumi.Input['SshConfigurationArgs']]): + pulumi.set(self, "ssh", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsDict(TypedDict): + """ + Windows Configuration for the virtual machine instance + """ + enable_automatic_updates: NotRequired[pulumi.Input[bool]] + """ + Whether to EnableAutomaticUpdates on the machine + """ + provision_vm_agent: NotRequired[pulumi.Input[bool]] + """ + Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + """ + provision_vm_config_agent: NotRequired[pulumi.Input[bool]] + """ + Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + """ + ssh: NotRequired[pulumi.Input['SshConfigurationArgsDict']] + """ + Specifies the ssh key configuration for Windows OS. + """ + time_zone: NotRequired[pulumi.Input[str]] + """ + TimeZone for the virtual machine instance + """ +elif False: + VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs: + def __init__(__self__, *, + enable_automatic_updates: Optional[pulumi.Input[bool]] = None, + provision_vm_agent: Optional[pulumi.Input[bool]] = None, + provision_vm_config_agent: Optional[pulumi.Input[bool]] = None, + ssh: Optional[pulumi.Input['SshConfigurationArgs']] = None, + time_zone: Optional[pulumi.Input[str]] = None): + """ + Windows Configuration for the virtual machine instance + :param pulumi.Input[bool] enable_automatic_updates: Whether to EnableAutomaticUpdates on the machine + :param pulumi.Input[bool] provision_vm_agent: Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + :param pulumi.Input[bool] provision_vm_config_agent: Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + :param pulumi.Input['SshConfigurationArgs'] ssh: Specifies the ssh key configuration for Windows OS. + :param pulumi.Input[str] time_zone: TimeZone for the virtual machine instance + """ + if enable_automatic_updates is not None: + pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates) + if provision_vm_agent is None: + provision_vm_agent = True + if provision_vm_agent is not None: + pulumi.set(__self__, "provision_vm_agent", provision_vm_agent) + if provision_vm_config_agent is None: + provision_vm_config_agent = True + if provision_vm_config_agent is not None: + pulumi.set(__self__, "provision_vm_config_agent", provision_vm_config_agent) + if ssh is not None: + pulumi.set(__self__, "ssh", ssh) + if time_zone is not None: + pulumi.set(__self__, "time_zone", time_zone) + + @property + @pulumi.getter(name="enableAutomaticUpdates") + def enable_automatic_updates(self) -> Optional[pulumi.Input[bool]]: + """ + Whether to EnableAutomaticUpdates on the machine + """ + return pulumi.get(self, "enable_automatic_updates") + + @enable_automatic_updates.setter + def enable_automatic_updates(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_automatic_updates", value) + + @property + @pulumi.getter(name="provisionVMAgent") + def provision_vm_agent(self) -> Optional[pulumi.Input[bool]]: + """ + Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + """ + return pulumi.get(self, "provision_vm_agent") + + @provision_vm_agent.setter + def provision_vm_agent(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "provision_vm_agent", value) + + @property + @pulumi.getter(name="provisionVMConfigAgent") + def provision_vm_config_agent(self) -> Optional[pulumi.Input[bool]]: + """ + Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + """ + return pulumi.get(self, "provision_vm_config_agent") + + @provision_vm_config_agent.setter + def provision_vm_config_agent(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "provision_vm_config_agent", value) + + @property + @pulumi.getter + def ssh(self) -> Optional[pulumi.Input['SshConfigurationArgs']]: + """ + Specifies the ssh key configuration for Windows OS. + """ + return pulumi.get(self, "ssh") + + @ssh.setter + def ssh(self, value: Optional[pulumi.Input['SshConfigurationArgs']]): + pulumi.set(self, "ssh", value) + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> Optional[pulumi.Input[str]]: + """ + TimeZone for the virtual machine instance + """ + return pulumi.get(self, "time_zone") + + @time_zone.setter + def time_zone(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_zone", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesOsProfileArgsDict(TypedDict): + """ + OsProfile - describes the configuration of the operating system and sets login data + """ + admin_password: NotRequired[pulumi.Input[str]] + """ + AdminPassword - admin password + """ + admin_username: NotRequired[pulumi.Input[str]] + """ + AdminUsername - admin username + """ + computer_name: NotRequired[pulumi.Input[str]] + """ + ComputerName - name of the compute + """ + linux_configuration: NotRequired[pulumi.Input['VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgsDict']] + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + """ + windows_configuration: NotRequired[pulumi.Input['VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgsDict']] + """ + Windows Configuration for the virtual machine instance + """ +elif False: + VirtualMachineInstancePropertiesOsProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesOsProfileArgs: + def __init__(__self__, *, + admin_password: Optional[pulumi.Input[str]] = None, + admin_username: Optional[pulumi.Input[str]] = None, + computer_name: Optional[pulumi.Input[str]] = None, + linux_configuration: Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs']] = None, + windows_configuration: Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs']] = None): + """ + OsProfile - describes the configuration of the operating system and sets login data + :param pulumi.Input[str] admin_password: AdminPassword - admin password + :param pulumi.Input[str] admin_username: AdminUsername - admin username + :param pulumi.Input[str] computer_name: ComputerName - name of the compute + :param pulumi.Input['VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs'] linux_configuration: LinuxConfiguration - linux specific configuration values for the virtual machine instance + :param pulumi.Input['VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs'] windows_configuration: Windows Configuration for the virtual machine instance + """ + if admin_password is not None: + pulumi.set(__self__, "admin_password", admin_password) + if admin_username is not None: + pulumi.set(__self__, "admin_username", admin_username) + if computer_name is not None: + pulumi.set(__self__, "computer_name", computer_name) + if linux_configuration is not None: + pulumi.set(__self__, "linux_configuration", linux_configuration) + if windows_configuration is not None: + pulumi.set(__self__, "windows_configuration", windows_configuration) + + @property + @pulumi.getter(name="adminPassword") + def admin_password(self) -> Optional[pulumi.Input[str]]: + """ + AdminPassword - admin password + """ + return pulumi.get(self, "admin_password") + + @admin_password.setter + def admin_password(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "admin_password", value) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> Optional[pulumi.Input[str]]: + """ + AdminUsername - admin username + """ + return pulumi.get(self, "admin_username") + + @admin_username.setter + def admin_username(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "admin_username", value) + + @property + @pulumi.getter(name="computerName") + def computer_name(self) -> Optional[pulumi.Input[str]]: + """ + ComputerName - name of the compute + """ + return pulumi.get(self, "computer_name") + + @computer_name.setter + def computer_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "computer_name", value) + + @property + @pulumi.getter(name="linuxConfiguration") + def linux_configuration(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs']]: + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + """ + return pulumi.get(self, "linux_configuration") + + @linux_configuration.setter + def linux_configuration(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs']]): + pulumi.set(self, "linux_configuration", value) + + @property + @pulumi.getter(name="windowsConfiguration") + def windows_configuration(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs']]: + """ + Windows Configuration for the virtual machine instance + """ + return pulumi.get(self, "windows_configuration") + + @windows_configuration.setter + def windows_configuration(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs']]): + pulumi.set(self, "windows_configuration", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsDict(TypedDict): + """ + Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + """ + secure_boot_enabled: NotRequired[pulumi.Input[bool]] + """ + Specifies whether secure boot should be enabled on the virtual machine instance. + """ +elif False: + VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs: + def __init__(__self__, *, + secure_boot_enabled: Optional[pulumi.Input[bool]] = None): + """ + Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + :param pulumi.Input[bool] secure_boot_enabled: Specifies whether secure boot should be enabled on the virtual machine instance. + """ + if secure_boot_enabled is None: + secure_boot_enabled = False + if secure_boot_enabled is not None: + pulumi.set(__self__, "secure_boot_enabled", secure_boot_enabled) + + @property + @pulumi.getter(name="secureBootEnabled") + def secure_boot_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies whether secure boot should be enabled on the virtual machine instance. + """ + return pulumi.get(self, "secure_boot_enabled") + + @secure_boot_enabled.setter + def secure_boot_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "secure_boot_enabled", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesSecurityProfileArgsDict(TypedDict): + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + """ + enable_tpm: NotRequired[pulumi.Input[bool]] + """ + Enable TPM flag + """ + security_type: NotRequired[pulumi.Input[Union[str, 'SecurityTypes']]] + """ + Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + """ + uefi_settings: NotRequired[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgsDict']] + """ + Uefi settings of the virtual machine instance + """ +elif False: + VirtualMachineInstancePropertiesSecurityProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesSecurityProfileArgs: + def __init__(__self__, *, + enable_tpm: Optional[pulumi.Input[bool]] = None, + security_type: Optional[pulumi.Input[Union[str, 'SecurityTypes']]] = None, + uefi_settings: Optional[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs']] = None): + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + :param pulumi.Input[bool] enable_tpm: Enable TPM flag + :param pulumi.Input[Union[str, 'SecurityTypes']] security_type: Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + :param pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs'] uefi_settings: Uefi settings of the virtual machine instance + """ + if enable_tpm is None: + enable_tpm = False + if enable_tpm is not None: + pulumi.set(__self__, "enable_tpm", enable_tpm) + if security_type is not None: + pulumi.set(__self__, "security_type", security_type) + if uefi_settings is not None: + pulumi.set(__self__, "uefi_settings", uefi_settings) + + @property + @pulumi.getter(name="enableTPM") + def enable_tpm(self) -> Optional[pulumi.Input[bool]]: + """ + Enable TPM flag + """ + return pulumi.get(self, "enable_tpm") + + @enable_tpm.setter + def enable_tpm(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_tpm", value) + + @property + @pulumi.getter(name="securityType") + def security_type(self) -> Optional[pulumi.Input[Union[str, 'SecurityTypes']]]: + """ + Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + """ + return pulumi.get(self, "security_type") + + @security_type.setter + def security_type(self, value: Optional[pulumi.Input[Union[str, 'SecurityTypes']]]): + pulumi.set(self, "security_type", value) + + @property + @pulumi.getter(name="uefiSettings") + def uefi_settings(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs']]: + """ + Uefi settings of the virtual machine instance + """ + return pulumi.get(self, "uefi_settings") + + @uefi_settings.setter + def uefi_settings(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs']]): + pulumi.set(self, "uefi_settings", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesStorageProfileOsDiskArgsDict(TypedDict): + """ + VHD to attach as OS disk + """ + id: NotRequired[pulumi.Input[str]] + """ + The ARM ID for a Virtual Hard Disk. + """ + managed_disk: NotRequired[pulumi.Input['VirtualMachineInstanceManagedDiskParametersArgsDict']] + """ + The managed disk parameters. + """ + os_type: NotRequired[pulumi.Input[Union[str, 'OperatingSystemTypes']]] + """ + 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. Possible values are: Windows, Linux. + """ +elif False: + VirtualMachineInstancePropertiesStorageProfileOsDiskArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesStorageProfileOsDiskArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None, + managed_disk: Optional[pulumi.Input['VirtualMachineInstanceManagedDiskParametersArgs']] = None, + os_type: Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]] = None): + """ + VHD to attach as OS disk + :param pulumi.Input[str] id: The ARM ID for a Virtual Hard Disk. + :param pulumi.Input['VirtualMachineInstanceManagedDiskParametersArgs'] managed_disk: The managed disk parameters. + :param pulumi.Input[Union[str, 'OperatingSystemTypes']] os_type: 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. Possible values are: Windows, Linux. + """ + if id is not None: + pulumi.set(__self__, "id", id) + if managed_disk is not None: + pulumi.set(__self__, "managed_disk", managed_disk) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The ARM ID for a Virtual Hard Disk. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + @property + @pulumi.getter(name="managedDisk") + def managed_disk(self) -> Optional[pulumi.Input['VirtualMachineInstanceManagedDiskParametersArgs']]: + """ + The managed disk parameters. + """ + return pulumi.get(self, "managed_disk") + + @managed_disk.setter + def managed_disk(self, value: Optional[pulumi.Input['VirtualMachineInstanceManagedDiskParametersArgs']]): + pulumi.set(self, "managed_disk", value) + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]]: + """ + 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. Possible values are: Windows, Linux. + """ + return pulumi.get(self, "os_type") + + @os_type.setter + def os_type(self, value: Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]]): + pulumi.set(self, "os_type", value) + + +if not MYPY: + class VirtualMachineInstancePropertiesStorageProfileArgsDict(TypedDict): + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + data_disks: NotRequired[pulumi.Input[Sequence[pulumi.Input['VirtualHardDiskArmReferenceArgsDict']]]] + """ + adds data disks to the virtual machine instance + """ + image_reference: NotRequired[pulumi.Input['ImageArmReferenceArgsDict']] + """ + Which Image to use for the virtual machine instance + """ + os_disk: NotRequired[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileOsDiskArgsDict']] + """ + VHD to attach as OS disk + """ + vm_config_storage_path_id: NotRequired[pulumi.Input[str]] + """ + Id of the storage container that hosts the VM configuration file + """ +elif False: + VirtualMachineInstancePropertiesStorageProfileArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VirtualMachineInstancePropertiesStorageProfileArgs: + def __init__(__self__, *, + data_disks: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualHardDiskArmReferenceArgs']]]] = None, + image_reference: Optional[pulumi.Input['ImageArmReferenceArgs']] = None, + os_disk: Optional[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileOsDiskArgs']] = None, + vm_config_storage_path_id: Optional[pulumi.Input[str]] = None): + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + :param pulumi.Input[Sequence[pulumi.Input['VirtualHardDiskArmReferenceArgs']]] data_disks: adds data disks to the virtual machine instance + :param pulumi.Input['ImageArmReferenceArgs'] image_reference: Which Image to use for the virtual machine instance + :param pulumi.Input['VirtualMachineInstancePropertiesStorageProfileOsDiskArgs'] os_disk: VHD to attach as OS disk + :param pulumi.Input[str] vm_config_storage_path_id: Id of the storage container that hosts the VM configuration file + """ + if data_disks is not None: + pulumi.set(__self__, "data_disks", data_disks) + if image_reference is not None: + pulumi.set(__self__, "image_reference", image_reference) + if os_disk is not None: + pulumi.set(__self__, "os_disk", os_disk) + if vm_config_storage_path_id is not None: + pulumi.set(__self__, "vm_config_storage_path_id", vm_config_storage_path_id) + + @property + @pulumi.getter(name="dataDisks") + def data_disks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VirtualHardDiskArmReferenceArgs']]]]: + """ + adds data disks to the virtual machine instance + """ + return pulumi.get(self, "data_disks") + + @data_disks.setter + def data_disks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualHardDiskArmReferenceArgs']]]]): + pulumi.set(self, "data_disks", value) + + @property + @pulumi.getter(name="imageReference") + def image_reference(self) -> Optional[pulumi.Input['ImageArmReferenceArgs']]: + """ + Which Image to use for the virtual machine instance + """ + return pulumi.get(self, "image_reference") + + @image_reference.setter + def image_reference(self, value: Optional[pulumi.Input['ImageArmReferenceArgs']]): + pulumi.set(self, "image_reference", value) + + @property + @pulumi.getter(name="osDisk") + def os_disk(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileOsDiskArgs']]: + """ + VHD to attach as OS disk + """ + return pulumi.get(self, "os_disk") + + @os_disk.setter + def os_disk(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileOsDiskArgs']]): + pulumi.set(self, "os_disk", value) + + @property + @pulumi.getter(name="vmConfigStoragePathId") + def vm_config_storage_path_id(self) -> Optional[pulumi.Input[str]]: + """ + Id of the storage container that hosts the VM configuration file + """ + return pulumi.get(self, "vm_config_storage_path_id") + + @vm_config_storage_path_id.setter + def vm_config_storage_path_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_config_storage_path_id", value) + + +if not MYPY: + class VmImageRepositoryCredentialsArgsDict(TypedDict): + """ + The credentials used to login to the image repository that has access to the specified image + """ + password: pulumi.Input[str] + """ + Password for accessing image repository + """ + username: pulumi.Input[str] + """ + Username for accessing image repository + """ +elif False: + VmImageRepositoryCredentialsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class VmImageRepositoryCredentialsArgs: + def __init__(__self__, *, + password: pulumi.Input[str], + username: pulumi.Input[str]): + """ + The credentials used to login to the image repository that has access to the specified image + :param pulumi.Input[str] password: Password for accessing image repository + :param pulumi.Input[str] username: Username for accessing image repository + """ + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> pulumi.Input[str]: + """ + Password for accessing image repository + """ + return pulumi.get(self, "password") + + @password.setter + def password(self, value: pulumi.Input[str]): + pulumi.set(self, "password", value) + + @property + @pulumi.getter + def username(self) -> pulumi.Input[str]: + """ + Username for accessing image repository + """ + return pulumi.get(self, "username") + + @username.setter + def username(self, value: pulumi.Input[str]): + pulumi.set(self, "username", value) + + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/gallery_image.py new file mode 100644 index 000000000000..2fac655b4c42 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/gallery_image.py @@ -0,0 +1,540 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['GalleryImageArgs', 'GalleryImage'] + +@pulumi.input_type +class GalleryImageArgs: + def __init__(__self__, *, + os_type: pulumi.Input[Union[str, 'OperatingSystemTypes']], + resource_group_name: pulumi.Input[str], + cloud_init_data_source: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]] = None, + container_id: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + gallery_image_name: Optional[pulumi.Input[str]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + identifier: Optional[pulumi.Input['GalleryImageIdentifierArgs']] = None, + image_path: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + source_virtual_machine_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input['GalleryImageVersionArgs']] = None, + vm_image_repository_credentials: Optional[pulumi.Input['VmImageRepositoryCredentialsArgs']] = None): + """ + The set of arguments for constructing a GalleryImage resource. + :param pulumi.Input[Union[str, 'OperatingSystemTypes']] os_type: Operating system type that the gallery image uses [Windows, Linux] + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'CloudInitDataSource']] cloud_init_data_source: Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + :param pulumi.Input[str] container_id: Storage ContainerID of the storage container to be used for gallery image + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] gallery_image_name: Name of the gallery image + :param pulumi.Input[Union[str, 'HyperVGeneration']] hyper_v_generation: The hypervisor generation of the Virtual Machine [V1, V2] + :param pulumi.Input['GalleryImageIdentifierArgs'] identifier: This is the gallery image definition identifier. + :param pulumi.Input[str] image_path: location of the image the gallery image should be created from + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] source_virtual_machine_id: Resource ID of the source virtual machine from whose OS disk the gallery image is created. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input['GalleryImageVersionArgs'] version: Specifies information about the gallery image version that you want to create or update. + :param pulumi.Input['VmImageRepositoryCredentialsArgs'] vm_image_repository_credentials: The credentials used to login to the image repository that has access to the specified image + """ + pulumi.set(__self__, "os_type", os_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if cloud_init_data_source is not None: + pulumi.set(__self__, "cloud_init_data_source", cloud_init_data_source) + if container_id is not None: + pulumi.set(__self__, "container_id", container_id) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if gallery_image_name is not None: + pulumi.set(__self__, "gallery_image_name", gallery_image_name) + if hyper_v_generation is not None: + pulumi.set(__self__, "hyper_v_generation", hyper_v_generation) + if identifier is not None: + pulumi.set(__self__, "identifier", identifier) + if image_path is not None: + pulumi.set(__self__, "image_path", image_path) + if location is not None: + pulumi.set(__self__, "location", location) + if source_virtual_machine_id is not None: + pulumi.set(__self__, "source_virtual_machine_id", source_virtual_machine_id) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if version is not None: + pulumi.set(__self__, "version", version) + if vm_image_repository_credentials is not None: + pulumi.set(__self__, "vm_image_repository_credentials", vm_image_repository_credentials) + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Input[Union[str, 'OperatingSystemTypes']]: + """ + Operating system type that the gallery image uses [Windows, Linux] + """ + return pulumi.get(self, "os_type") + + @os_type.setter + def os_type(self, value: pulumi.Input[Union[str, 'OperatingSystemTypes']]): + pulumi.set(self, "os_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="cloudInitDataSource") + def cloud_init_data_source(self) -> Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]]: + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + return pulumi.get(self, "cloud_init_data_source") + + @cloud_init_data_source.setter + def cloud_init_data_source(self, value: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]]): + pulumi.set(self, "cloud_init_data_source", value) + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[pulumi.Input[str]]: + """ + Storage ContainerID of the storage container to be used for gallery image + """ + return pulumi.get(self, "container_id") + + @container_id.setter + def container_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_id", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="galleryImageName") + def gallery_image_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the gallery image + """ + return pulumi.get(self, "gallery_image_name") + + @gallery_image_name.setter + def gallery_image_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "gallery_image_name", value) + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> Optional[pulumi.Input[Union[str, 'HyperVGeneration']]]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @hyper_v_generation.setter + def hyper_v_generation(self, value: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]]): + pulumi.set(self, "hyper_v_generation", value) + + @property + @pulumi.getter + def identifier(self) -> Optional[pulumi.Input['GalleryImageIdentifierArgs']]: + """ + This is the gallery image definition identifier. + """ + return pulumi.get(self, "identifier") + + @identifier.setter + def identifier(self, value: Optional[pulumi.Input['GalleryImageIdentifierArgs']]): + pulumi.set(self, "identifier", value) + + @property + @pulumi.getter(name="imagePath") + def image_path(self) -> Optional[pulumi.Input[str]]: + """ + location of the image the gallery image should be created from + """ + return pulumi.get(self, "image_path") + + @image_path.setter + def image_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "image_path", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="sourceVirtualMachineId") + def source_virtual_machine_id(self) -> Optional[pulumi.Input[str]]: + """ + Resource ID of the source virtual machine from whose OS disk the gallery image is created. + """ + return pulumi.get(self, "source_virtual_machine_id") + + @source_virtual_machine_id.setter + def source_virtual_machine_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "source_virtual_machine_id", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input['GalleryImageVersionArgs']]: + """ + Specifies information about the gallery image version that you want to create or update. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input['GalleryImageVersionArgs']]): + pulumi.set(self, "version", value) + + @property + @pulumi.getter(name="vmImageRepositoryCredentials") + def vm_image_repository_credentials(self) -> Optional[pulumi.Input['VmImageRepositoryCredentialsArgs']]: + """ + The credentials used to login to the image repository that has access to the specified image + """ + return pulumi.get(self, "vm_image_repository_credentials") + + @vm_image_repository_credentials.setter + def vm_image_repository_credentials(self, value: Optional[pulumi.Input['VmImageRepositoryCredentialsArgs']]): + pulumi.set(self, "vm_image_repository_credentials", value) + + +class GalleryImage(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cloud_init_data_source: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]] = None, + container_id: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + gallery_image_name: Optional[pulumi.Input[str]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + identifier: Optional[pulumi.Input[Union['GalleryImageIdentifierArgs', 'GalleryImageIdentifierArgsDict']]] = None, + image_path: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source_virtual_machine_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union['GalleryImageVersionArgs', 'GalleryImageVersionArgsDict']]] = None, + vm_image_repository_credentials: Optional[pulumi.Input[Union['VmImageRepositoryCredentialsArgs', 'VmImageRepositoryCredentialsArgsDict']]] = None, + __props__=None): + """ + The gallery images resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'CloudInitDataSource']] cloud_init_data_source: Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + :param pulumi.Input[str] container_id: Storage ContainerID of the storage container to be used for gallery image + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] gallery_image_name: Name of the gallery image + :param pulumi.Input[Union[str, 'HyperVGeneration']] hyper_v_generation: The hypervisor generation of the Virtual Machine [V1, V2] + :param pulumi.Input[Union['GalleryImageIdentifierArgs', 'GalleryImageIdentifierArgsDict']] identifier: This is the gallery image definition identifier. + :param pulumi.Input[str] image_path: location of the image the gallery image should be created from + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[Union[str, 'OperatingSystemTypes']] os_type: Operating system type that the gallery image uses [Windows, Linux] + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] source_virtual_machine_id: Resource ID of the source virtual machine from whose OS disk the gallery image is created. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Union['GalleryImageVersionArgs', 'GalleryImageVersionArgsDict']] version: Specifies information about the gallery image version that you want to create or update. + :param pulumi.Input[Union['VmImageRepositoryCredentialsArgs', 'VmImageRepositoryCredentialsArgsDict']] vm_image_repository_credentials: The credentials used to login to the image repository that has access to the specified image + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GalleryImageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The gallery images resource definition. + + :param str resource_name: The name of the resource. + :param GalleryImageArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(GalleryImageArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cloud_init_data_source: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]] = None, + container_id: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + gallery_image_name: Optional[pulumi.Input[str]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + identifier: Optional[pulumi.Input[Union['GalleryImageIdentifierArgs', 'GalleryImageIdentifierArgsDict']]] = None, + image_path: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + source_virtual_machine_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union['GalleryImageVersionArgs', 'GalleryImageVersionArgsDict']]] = None, + vm_image_repository_credentials: Optional[pulumi.Input[Union['VmImageRepositoryCredentialsArgs', 'VmImageRepositoryCredentialsArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GalleryImageArgs.__new__(GalleryImageArgs) + + __props__.__dict__["cloud_init_data_source"] = cloud_init_data_source + __props__.__dict__["container_id"] = container_id + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["gallery_image_name"] = gallery_image_name + __props__.__dict__["hyper_v_generation"] = hyper_v_generation + __props__.__dict__["identifier"] = identifier + __props__.__dict__["image_path"] = image_path + __props__.__dict__["location"] = location + if os_type is None and not opts.urn: + raise TypeError("Missing required property 'os_type'") + __props__.__dict__["os_type"] = os_type + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["source_virtual_machine_id"] = source_virtual_machine_id + __props__.__dict__["tags"] = tags + __props__.__dict__["version"] = version + __props__.__dict__["vm_image_repository_credentials"] = vm_image_repository_credentials + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GalleryImage")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GalleryImage, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:GalleryImage', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GalleryImage': + """ + Get an existing GalleryImage resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GalleryImageArgs.__new__(GalleryImageArgs) + + __props__.__dict__["cloud_init_data_source"] = None + __props__.__dict__["container_id"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["hyper_v_generation"] = None + __props__.__dict__["identifier"] = None + __props__.__dict__["image_path"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["source_virtual_machine_id"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + __props__.__dict__["vm_image_repository_credentials"] = None + return GalleryImage(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cloudInitDataSource") + def cloud_init_data_source(self) -> pulumi.Output[Optional[str]]: + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + return pulumi.get(self, "cloud_init_data_source") + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> pulumi.Output[Optional[str]]: + """ + Storage ContainerID of the storage container to be used for gallery image + """ + return pulumi.get(self, "container_id") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> pulumi.Output[Optional[str]]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @property + @pulumi.getter + def identifier(self) -> pulumi.Output[Optional['outputs.GalleryImageIdentifierResponse']]: + """ + This is the gallery image definition identifier. + """ + return pulumi.get(self, "identifier") + + @property + @pulumi.getter(name="imagePath") + def image_path(self) -> pulumi.Output[Optional[str]]: + """ + location of the image the gallery image should be created from + """ + return pulumi.get(self, "image_path") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Output[str]: + """ + Operating system type that the gallery image uses [Windows, Linux] + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the gallery image. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceVirtualMachineId") + def source_virtual_machine_id(self) -> pulumi.Output[Optional[str]]: + """ + Resource ID of the source virtual machine from whose OS disk the gallery image is created. + """ + return pulumi.get(self, "source_virtual_machine_id") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.GalleryImageStatusResponse']: + """ + The observed state of gallery images + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[Optional['outputs.GalleryImageVersionResponse']]: + """ + Specifies information about the gallery image version that you want to create or update. + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="vmImageRepositoryCredentials") + def vm_image_repository_credentials(self) -> pulumi.Output[Optional['outputs.VmImageRepositoryCredentialsResponse']]: + """ + The credentials used to login to the image repository that has access to the specified image + """ + return pulumi.get(self, "vm_image_repository_credentials") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_gallery_image.py new file mode 100644 index 000000000000..048fc57db1f2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_gallery_image.py @@ -0,0 +1,325 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGalleryImageResult', + 'AwaitableGetGalleryImageResult', + 'get_gallery_image', + 'get_gallery_image_output', +] + +@pulumi.output_type +class GetGalleryImageResult: + """ + The gallery images resource definition. + """ + def __init__(__self__, cloud_init_data_source=None, container_id=None, extended_location=None, hyper_v_generation=None, id=None, identifier=None, image_path=None, location=None, name=None, os_type=None, provisioning_state=None, source_virtual_machine_id=None, status=None, system_data=None, tags=None, type=None, version=None, vm_image_repository_credentials=None): + if cloud_init_data_source and not isinstance(cloud_init_data_source, str): + raise TypeError("Expected argument 'cloud_init_data_source' to be a str") + pulumi.set(__self__, "cloud_init_data_source", cloud_init_data_source) + if container_id and not isinstance(container_id, str): + raise TypeError("Expected argument 'container_id' to be a str") + pulumi.set(__self__, "container_id", container_id) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if hyper_v_generation and not isinstance(hyper_v_generation, str): + raise TypeError("Expected argument 'hyper_v_generation' to be a str") + pulumi.set(__self__, "hyper_v_generation", hyper_v_generation) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identifier and not isinstance(identifier, dict): + raise TypeError("Expected argument 'identifier' to be a dict") + pulumi.set(__self__, "identifier", identifier) + if image_path and not isinstance(image_path, str): + raise TypeError("Expected argument 'image_path' to be a str") + pulumi.set(__self__, "image_path", image_path) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if os_type and not isinstance(os_type, str): + raise TypeError("Expected argument 'os_type' to be a str") + pulumi.set(__self__, "os_type", os_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if source_virtual_machine_id and not isinstance(source_virtual_machine_id, str): + raise TypeError("Expected argument 'source_virtual_machine_id' to be a str") + pulumi.set(__self__, "source_virtual_machine_id", source_virtual_machine_id) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, dict): + raise TypeError("Expected argument 'version' to be a dict") + pulumi.set(__self__, "version", version) + if vm_image_repository_credentials and not isinstance(vm_image_repository_credentials, dict): + raise TypeError("Expected argument 'vm_image_repository_credentials' to be a dict") + pulumi.set(__self__, "vm_image_repository_credentials", vm_image_repository_credentials) + + @property + @pulumi.getter(name="cloudInitDataSource") + def cloud_init_data_source(self) -> Optional[str]: + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + return pulumi.get(self, "cloud_init_data_source") + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[str]: + """ + Storage ContainerID of the storage container to be used for gallery image + """ + return pulumi.get(self, "container_id") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> Optional[str]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identifier(self) -> Optional['outputs.GalleryImageIdentifierResponse']: + """ + This is the gallery image definition identifier. + """ + return pulumi.get(self, "identifier") + + @property + @pulumi.getter(name="imagePath") + def image_path(self) -> Optional[str]: + """ + location of the image the gallery image should be created from + """ + return pulumi.get(self, "image_path") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> str: + """ + Operating system type that the gallery image uses [Windows, Linux] + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the gallery image. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceVirtualMachineId") + def source_virtual_machine_id(self) -> Optional[str]: + """ + Resource ID of the source virtual machine from whose OS disk the gallery image is created. + """ + return pulumi.get(self, "source_virtual_machine_id") + + @property + @pulumi.getter + def status(self) -> 'outputs.GalleryImageStatusResponse': + """ + The observed state of gallery images + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> Optional['outputs.GalleryImageVersionResponse']: + """ + Specifies information about the gallery image version that you want to create or update. + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="vmImageRepositoryCredentials") + def vm_image_repository_credentials(self) -> Optional['outputs.VmImageRepositoryCredentialsResponse']: + """ + The credentials used to login to the image repository that has access to the specified image + """ + return pulumi.get(self, "vm_image_repository_credentials") + + +class AwaitableGetGalleryImageResult(GetGalleryImageResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGalleryImageResult( + cloud_init_data_source=self.cloud_init_data_source, + container_id=self.container_id, + extended_location=self.extended_location, + hyper_v_generation=self.hyper_v_generation, + id=self.id, + identifier=self.identifier, + image_path=self.image_path, + location=self.location, + name=self.name, + os_type=self.os_type, + provisioning_state=self.provisioning_state, + source_virtual_machine_id=self.source_virtual_machine_id, + status=self.status, + system_data=self.system_data, + tags=self.tags, + type=self.type, + version=self.version, + vm_image_repository_credentials=self.vm_image_repository_credentials) + + +def get_gallery_image(gallery_image_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGalleryImageResult: + """ + Gets a gallery image + + + :param str gallery_image_name: Name of the gallery image + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['galleryImageName'] = gallery_image_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getGalleryImage', __args__, opts=opts, typ=GetGalleryImageResult).value + + return AwaitableGetGalleryImageResult( + cloud_init_data_source=pulumi.get(__ret__, 'cloud_init_data_source'), + container_id=pulumi.get(__ret__, 'container_id'), + extended_location=pulumi.get(__ret__, 'extended_location'), + hyper_v_generation=pulumi.get(__ret__, 'hyper_v_generation'), + id=pulumi.get(__ret__, 'id'), + identifier=pulumi.get(__ret__, 'identifier'), + image_path=pulumi.get(__ret__, 'image_path'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + os_type=pulumi.get(__ret__, 'os_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + source_virtual_machine_id=pulumi.get(__ret__, 'source_virtual_machine_id'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version'), + vm_image_repository_credentials=pulumi.get(__ret__, 'vm_image_repository_credentials')) +def get_gallery_image_output(gallery_image_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGalleryImageResult]: + """ + Gets a gallery image + + + :param str gallery_image_name: Name of the gallery image + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['galleryImageName'] = gallery_image_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getGalleryImage', __args__, opts=opts, typ=GetGalleryImageResult) + return __ret__.apply(lambda __response__: GetGalleryImageResult( + cloud_init_data_source=pulumi.get(__response__, 'cloud_init_data_source'), + container_id=pulumi.get(__response__, 'container_id'), + extended_location=pulumi.get(__response__, 'extended_location'), + hyper_v_generation=pulumi.get(__response__, 'hyper_v_generation'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + image_path=pulumi.get(__response__, 'image_path'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + os_type=pulumi.get(__response__, 'os_type'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + source_virtual_machine_id=pulumi.get(__response__, 'source_virtual_machine_id'), + status=pulumi.get(__response__, 'status'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + version=pulumi.get(__response__, 'version'), + vm_image_repository_credentials=pulumi.get(__response__, 'vm_image_repository_credentials'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_guest_agent.py new file mode 100644 index 000000000000..e9a78f1aa5ed --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_guest_agent.py @@ -0,0 +1,179 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetGuestAgentResult', + 'AwaitableGetGuestAgentResult', + 'get_guest_agent', + 'get_guest_agent_output', +] + +@pulumi.output_type +class GetGuestAgentResult: + """ + Defines the GuestAgent. + """ + def __init__(__self__, credentials=None, id=None, name=None, provisioning_action=None, provisioning_state=None, status=None, system_data=None, type=None): + if credentials and not isinstance(credentials, dict): + raise TypeError("Expected argument 'credentials' to be a dict") + pulumi.set(__self__, "credentials", credentials) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_action and not isinstance(provisioning_action, str): + raise TypeError("Expected argument 'provisioning_action' to be a str") + pulumi.set(__self__, "provisioning_action", provisioning_action) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def credentials(self) -> Optional['outputs.GuestCredentialResponse']: + """ + Username / Password Credentials to provision guest agent. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningAction") + def provisioning_action(self) -> Optional[str]: + """ + The guest agent provisioning action. + """ + return pulumi.get(self, "provisioning_action") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the virtual machine instance. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> str: + """ + The guest agent status. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetGuestAgentResult(GetGuestAgentResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetGuestAgentResult( + credentials=self.credentials, + id=self.id, + name=self.name, + provisioning_action=self.provisioning_action, + provisioning_state=self.provisioning_state, + status=self.status, + system_data=self.system_data, + type=self.type) + + +def get_guest_agent(resource_uri: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGuestAgentResult: + """ + Implements GuestAgent GET method. + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the resource. + """ + __args__ = dict() + __args__['resourceUri'] = resource_uri + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getGuestAgent', __args__, opts=opts, typ=GetGuestAgentResult).value + + return AwaitableGetGuestAgentResult( + credentials=pulumi.get(__ret__, 'credentials'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + provisioning_action=pulumi.get(__ret__, 'provisioning_action'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) +def get_guest_agent_output(resource_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGuestAgentResult]: + """ + Implements GuestAgent GET method. + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the resource. + """ + __args__ = dict() + __args__['resourceUri'] = resource_uri + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getGuestAgent', __args__, opts=opts, typ=GetGuestAgentResult) + return __ret__.apply(lambda __response__: GetGuestAgentResult( + credentials=pulumi.get(__response__, 'credentials'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + provisioning_action=pulumi.get(__response__, 'provisioning_action'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + status=pulumi.get(__response__, 'status'), + system_data=pulumi.get(__response__, 'system_data'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_logical_network.py new file mode 100644 index 000000000000..3d086cd71516 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_logical_network.py @@ -0,0 +1,241 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetLogicalNetworkResult', + 'AwaitableGetLogicalNetworkResult', + 'get_logical_network', + 'get_logical_network_output', +] + +@pulumi.output_type +class GetLogicalNetworkResult: + """ + The logical network resource definition. + """ + def __init__(__self__, dhcp_options=None, extended_location=None, id=None, location=None, name=None, provisioning_state=None, status=None, subnets=None, system_data=None, tags=None, type=None, vm_switch_name=None): + if dhcp_options and not isinstance(dhcp_options, dict): + raise TypeError("Expected argument 'dhcp_options' to be a dict") + pulumi.set(__self__, "dhcp_options", dhcp_options) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if subnets and not isinstance(subnets, list): + raise TypeError("Expected argument 'subnets' to be a list") + pulumi.set(__self__, "subnets", subnets) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if vm_switch_name and not isinstance(vm_switch_name, str): + raise TypeError("Expected argument 'vm_switch_name' to be a str") + pulumi.set(__self__, "vm_switch_name", vm_switch_name) + + @property + @pulumi.getter(name="dhcpOptions") + def dhcp_options(self) -> Optional['outputs.LogicalNetworkPropertiesDhcpOptionsResponse']: + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + """ + return pulumi.get(self, "dhcp_options") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the logical network. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> 'outputs.LogicalNetworkStatusResponse': + """ + The observed state of logical networks + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def subnets(self) -> Optional[Sequence['outputs.SubnetResponse']]: + """ + Subnet - list of subnets under the logical network + """ + return pulumi.get(self, "subnets") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vmSwitchName") + def vm_switch_name(self) -> Optional[str]: + """ + name of the network switch to be used for VMs + """ + return pulumi.get(self, "vm_switch_name") + + +class AwaitableGetLogicalNetworkResult(GetLogicalNetworkResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetLogicalNetworkResult( + dhcp_options=self.dhcp_options, + extended_location=self.extended_location, + id=self.id, + location=self.location, + name=self.name, + provisioning_state=self.provisioning_state, + status=self.status, + subnets=self.subnets, + system_data=self.system_data, + tags=self.tags, + type=self.type, + vm_switch_name=self.vm_switch_name) + + +def get_logical_network(logical_network_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetLogicalNetworkResult: + """ + The operation to get a logical network. + + + :param str logical_network_name: Name of the logical network + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['logicalNetworkName'] = logical_network_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getLogicalNetwork', __args__, opts=opts, typ=GetLogicalNetworkResult).value + + return AwaitableGetLogicalNetworkResult( + dhcp_options=pulumi.get(__ret__, 'dhcp_options'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + subnets=pulumi.get(__ret__, 'subnets'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + vm_switch_name=pulumi.get(__ret__, 'vm_switch_name')) +def get_logical_network_output(logical_network_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogicalNetworkResult]: + """ + The operation to get a logical network. + + + :param str logical_network_name: Name of the logical network + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['logicalNetworkName'] = logical_network_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getLogicalNetwork', __args__, opts=opts, typ=GetLogicalNetworkResult) + return __ret__.apply(lambda __response__: GetLogicalNetworkResult( + dhcp_options=pulumi.get(__response__, 'dhcp_options'), + extended_location=pulumi.get(__response__, 'extended_location'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + status=pulumi.get(__response__, 'status'), + subnets=pulumi.get(__response__, 'subnets'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + vm_switch_name=pulumi.get(__response__, 'vm_switch_name'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_marketplace_gallery_image.py new file mode 100644 index 000000000000..01dd0e090377 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_marketplace_gallery_image.py @@ -0,0 +1,283 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetMarketplaceGalleryImageResult', + 'AwaitableGetMarketplaceGalleryImageResult', + 'get_marketplace_gallery_image', + 'get_marketplace_gallery_image_output', +] + +@pulumi.output_type +class GetMarketplaceGalleryImageResult: + """ + The marketplace gallery image resource definition. + """ + def __init__(__self__, cloud_init_data_source=None, container_id=None, extended_location=None, hyper_v_generation=None, id=None, identifier=None, location=None, name=None, os_type=None, provisioning_state=None, status=None, system_data=None, tags=None, type=None, version=None): + if cloud_init_data_source and not isinstance(cloud_init_data_source, str): + raise TypeError("Expected argument 'cloud_init_data_source' to be a str") + pulumi.set(__self__, "cloud_init_data_source", cloud_init_data_source) + if container_id and not isinstance(container_id, str): + raise TypeError("Expected argument 'container_id' to be a str") + pulumi.set(__self__, "container_id", container_id) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if hyper_v_generation and not isinstance(hyper_v_generation, str): + raise TypeError("Expected argument 'hyper_v_generation' to be a str") + pulumi.set(__self__, "hyper_v_generation", hyper_v_generation) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identifier and not isinstance(identifier, dict): + raise TypeError("Expected argument 'identifier' to be a dict") + pulumi.set(__self__, "identifier", identifier) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if os_type and not isinstance(os_type, str): + raise TypeError("Expected argument 'os_type' to be a str") + pulumi.set(__self__, "os_type", os_type) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if version and not isinstance(version, dict): + raise TypeError("Expected argument 'version' to be a dict") + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="cloudInitDataSource") + def cloud_init_data_source(self) -> Optional[str]: + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + return pulumi.get(self, "cloud_init_data_source") + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[str]: + """ + Storage ContainerID of the storage container to be used for marketplace gallery image + """ + return pulumi.get(self, "container_id") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> Optional[str]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identifier(self) -> Optional['outputs.GalleryImageIdentifierResponse']: + """ + This is the gallery image definition identifier. + """ + return pulumi.get(self, "identifier") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> str: + """ + Operating system type that the gallery image uses [Windows, Linux] + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the marketplace gallery image. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> 'outputs.MarketplaceGalleryImageStatusResponse': + """ + The observed state of marketplace gallery images + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> Optional['outputs.GalleryImageVersionResponse']: + """ + Specifies information about the gallery image version that you want to create or update. + """ + return pulumi.get(self, "version") + + +class AwaitableGetMarketplaceGalleryImageResult(GetMarketplaceGalleryImageResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetMarketplaceGalleryImageResult( + cloud_init_data_source=self.cloud_init_data_source, + container_id=self.container_id, + extended_location=self.extended_location, + hyper_v_generation=self.hyper_v_generation, + id=self.id, + identifier=self.identifier, + location=self.location, + name=self.name, + os_type=self.os_type, + provisioning_state=self.provisioning_state, + status=self.status, + system_data=self.system_data, + tags=self.tags, + type=self.type, + version=self.version) + + +def get_marketplace_gallery_image(marketplace_gallery_image_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMarketplaceGalleryImageResult: + """ + Gets a marketplace gallery image + + + :param str marketplace_gallery_image_name: Name of the marketplace gallery image + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['marketplaceGalleryImageName'] = marketplace_gallery_image_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage', __args__, opts=opts, typ=GetMarketplaceGalleryImageResult).value + + return AwaitableGetMarketplaceGalleryImageResult( + cloud_init_data_source=pulumi.get(__ret__, 'cloud_init_data_source'), + container_id=pulumi.get(__ret__, 'container_id'), + extended_location=pulumi.get(__ret__, 'extended_location'), + hyper_v_generation=pulumi.get(__ret__, 'hyper_v_generation'), + id=pulumi.get(__ret__, 'id'), + identifier=pulumi.get(__ret__, 'identifier'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + os_type=pulumi.get(__ret__, 'os_type'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + version=pulumi.get(__ret__, 'version')) +def get_marketplace_gallery_image_output(marketplace_gallery_image_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMarketplaceGalleryImageResult]: + """ + Gets a marketplace gallery image + + + :param str marketplace_gallery_image_name: Name of the marketplace gallery image + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['marketplaceGalleryImageName'] = marketplace_gallery_image_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getMarketplaceGalleryImage', __args__, opts=opts, typ=GetMarketplaceGalleryImageResult) + return __ret__.apply(lambda __response__: GetMarketplaceGalleryImageResult( + cloud_init_data_source=pulumi.get(__response__, 'cloud_init_data_source'), + container_id=pulumi.get(__response__, 'container_id'), + extended_location=pulumi.get(__response__, 'extended_location'), + hyper_v_generation=pulumi.get(__response__, 'hyper_v_generation'), + id=pulumi.get(__response__, 'id'), + identifier=pulumi.get(__response__, 'identifier'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + os_type=pulumi.get(__response__, 'os_type'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + status=pulumi.get(__response__, 'status'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + version=pulumi.get(__response__, 'version'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_network_interface.py new file mode 100644 index 000000000000..6446a26adef7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_network_interface.py @@ -0,0 +1,255 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetNetworkInterfaceResult', + 'AwaitableGetNetworkInterfaceResult', + 'get_network_interface', + 'get_network_interface_output', +] + +@pulumi.output_type +class GetNetworkInterfaceResult: + """ + The network interface resource definition. + """ + def __init__(__self__, dns_settings=None, extended_location=None, id=None, ip_configurations=None, location=None, mac_address=None, name=None, network_security_group=None, provisioning_state=None, status=None, system_data=None, tags=None, type=None): + if dns_settings and not isinstance(dns_settings, dict): + raise TypeError("Expected argument 'dns_settings' to be a dict") + pulumi.set(__self__, "dns_settings", dns_settings) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if ip_configurations and not isinstance(ip_configurations, list): + raise TypeError("Expected argument 'ip_configurations' to be a list") + pulumi.set(__self__, "ip_configurations", ip_configurations) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if mac_address and not isinstance(mac_address, str): + raise TypeError("Expected argument 'mac_address' to be a str") + pulumi.set(__self__, "mac_address", mac_address) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_security_group and not isinstance(network_security_group, dict): + raise TypeError("Expected argument 'network_security_group' to be a dict") + pulumi.set(__self__, "network_security_group", network_security_group) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="dnsSettings") + def dns_settings(self) -> Optional['outputs.InterfaceDNSSettingsResponse']: + """ + DNS Settings for the interface + """ + return pulumi.get(self, "dns_settings") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="ipConfigurations") + def ip_configurations(self) -> Optional[Sequence['outputs.IPConfigurationResponse']]: + """ + IPConfigurations - A list of IPConfigurations of the network interface. + """ + return pulumi.get(self, "ip_configurations") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="macAddress") + def mac_address(self) -> Optional[str]: + """ + MacAddress - The MAC address of the network interface. + """ + return pulumi.get(self, "mac_address") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkSecurityGroup") + def network_security_group(self) -> Optional['outputs.NetworkSecurityGroupArmReferenceResponse']: + """ + NetworkSecurityGroup - Network Security Group attached to the network interface. + """ + return pulumi.get(self, "network_security_group") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the network interface. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> 'outputs.NetworkInterfaceStatusResponse': + """ + The observed state of network interfaces + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetNetworkInterfaceResult(GetNetworkInterfaceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNetworkInterfaceResult( + dns_settings=self.dns_settings, + extended_location=self.extended_location, + id=self.id, + ip_configurations=self.ip_configurations, + location=self.location, + mac_address=self.mac_address, + name=self.name, + network_security_group=self.network_security_group, + provisioning_state=self.provisioning_state, + status=self.status, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_network_interface(network_interface_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkInterfaceResult: + """ + Gets a network interface + + + :param str network_interface_name: Name of the network interface + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['networkInterfaceName'] = network_interface_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getNetworkInterface', __args__, opts=opts, typ=GetNetworkInterfaceResult).value + + return AwaitableGetNetworkInterfaceResult( + dns_settings=pulumi.get(__ret__, 'dns_settings'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + ip_configurations=pulumi.get(__ret__, 'ip_configurations'), + location=pulumi.get(__ret__, 'location'), + mac_address=pulumi.get(__ret__, 'mac_address'), + name=pulumi.get(__ret__, 'name'), + network_security_group=pulumi.get(__ret__, 'network_security_group'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) +def get_network_interface_output(network_interface_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkInterfaceResult]: + """ + Gets a network interface + + + :param str network_interface_name: Name of the network interface + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['networkInterfaceName'] = network_interface_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getNetworkInterface', __args__, opts=opts, typ=GetNetworkInterfaceResult) + return __ret__.apply(lambda __response__: GetNetworkInterfaceResult( + dns_settings=pulumi.get(__response__, 'dns_settings'), + extended_location=pulumi.get(__response__, 'extended_location'), + id=pulumi.get(__response__, 'id'), + ip_configurations=pulumi.get(__response__, 'ip_configurations'), + location=pulumi.get(__response__, 'location'), + mac_address=pulumi.get(__response__, 'mac_address'), + name=pulumi.get(__response__, 'name'), + network_security_group=pulumi.get(__response__, 'network_security_group'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + status=pulumi.get(__response__, 'status'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_network_security_group.py new file mode 100644 index 000000000000..35c53ffd0239 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_network_security_group.py @@ -0,0 +1,227 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetNetworkSecurityGroupResult', + 'AwaitableGetNetworkSecurityGroupResult', + 'get_network_security_group', + 'get_network_security_group_output', +] + +@pulumi.output_type +class GetNetworkSecurityGroupResult: + """ + NetworkSecurityGroup resource. + """ + def __init__(__self__, e_tag=None, extended_location=None, id=None, location=None, name=None, network_interfaces=None, provisioning_state=None, subnets=None, system_data=None, tags=None, type=None): + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_interfaces and not isinstance(network_interfaces, list): + raise TypeError("Expected argument 'network_interfaces' to be a list") + pulumi.set(__self__, "network_interfaces", network_interfaces) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if subnets and not isinstance(subnets, list): + raise TypeError("Expected argument 'subnets' to be a list") + pulumi.set(__self__, "subnets", subnets) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> Sequence['outputs.NetworkInterfaceArmReferenceResponse']: + """ + A collection of references to network interfaces that are currently using this NSG. + """ + return pulumi.get(self, "network_interfaces") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The provisioning state of the network security group resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def subnets(self) -> Sequence['outputs.LogicalNetworkArmReferenceResponse']: + """ + A collection of references to logical networks that are currently using this NSG + """ + return pulumi.get(self, "subnets") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetNetworkSecurityGroupResult(GetNetworkSecurityGroupResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetNetworkSecurityGroupResult( + e_tag=self.e_tag, + extended_location=self.extended_location, + id=self.id, + location=self.location, + name=self.name, + network_interfaces=self.network_interfaces, + provisioning_state=self.provisioning_state, + subnets=self.subnets, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_network_security_group(network_security_group_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkSecurityGroupResult: + """ + Gets the specified network security group. + + + :param str network_security_group_name: Name of the network security group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['networkSecurityGroupName'] = network_security_group_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup', __args__, opts=opts, typ=GetNetworkSecurityGroupResult).value + + return AwaitableGetNetworkSecurityGroupResult( + e_tag=pulumi.get(__ret__, 'e_tag'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + network_interfaces=pulumi.get(__ret__, 'network_interfaces'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + subnets=pulumi.get(__ret__, 'subnets'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) +def get_network_security_group_output(network_security_group_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkSecurityGroupResult]: + """ + Gets the specified network security group. + + + :param str network_security_group_name: Name of the network security group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + """ + __args__ = dict() + __args__['networkSecurityGroupName'] = network_security_group_name + __args__['resourceGroupName'] = resource_group_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getNetworkSecurityGroup', __args__, opts=opts, typ=GetNetworkSecurityGroupResult) + return __ret__.apply(lambda __response__: GetNetworkSecurityGroupResult( + e_tag=pulumi.get(__response__, 'e_tag'), + extended_location=pulumi.get(__response__, 'extended_location'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + network_interfaces=pulumi.get(__response__, 'network_interfaces'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + subnets=pulumi.get(__response__, 'subnets'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_security_rule.py new file mode 100644 index 000000000000..9deacbfbc381 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_security_rule.py @@ -0,0 +1,289 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSecurityRuleResult', + 'AwaitableGetSecurityRuleResult', + 'get_security_rule', + 'get_security_rule_output', +] + +@pulumi.output_type +class GetSecurityRuleResult: + """ + Security Rule resource. + """ + def __init__(__self__, access=None, description=None, destination_address_prefixes=None, destination_port_ranges=None, direction=None, extended_location=None, id=None, name=None, priority=None, protocol=None, provisioning_state=None, source_address_prefixes=None, source_port_ranges=None, system_data=None, type=None): + if access and not isinstance(access, str): + raise TypeError("Expected argument 'access' to be a str") + pulumi.set(__self__, "access", access) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if destination_address_prefixes and not isinstance(destination_address_prefixes, list): + raise TypeError("Expected argument 'destination_address_prefixes' to be a list") + pulumi.set(__self__, "destination_address_prefixes", destination_address_prefixes) + if destination_port_ranges and not isinstance(destination_port_ranges, list): + raise TypeError("Expected argument 'destination_port_ranges' to be a list") + pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) + if direction and not isinstance(direction, str): + raise TypeError("Expected argument 'direction' to be a str") + pulumi.set(__self__, "direction", direction) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if priority and not isinstance(priority, int): + raise TypeError("Expected argument 'priority' to be a int") + pulumi.set(__self__, "priority", priority) + if protocol and not isinstance(protocol, str): + raise TypeError("Expected argument 'protocol' to be a str") + pulumi.set(__self__, "protocol", protocol) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if source_address_prefixes and not isinstance(source_address_prefixes, list): + raise TypeError("Expected argument 'source_address_prefixes' to be a list") + pulumi.set(__self__, "source_address_prefixes", source_address_prefixes) + if source_port_ranges and not isinstance(source_port_ranges, list): + raise TypeError("Expected argument 'source_port_ranges' to be a list") + pulumi.set(__self__, "source_port_ranges", source_port_ranges) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def access(self) -> str: + """ + The network traffic is allowed or denied. + """ + return pulumi.get(self, "access") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + A description for this rule. Restricted to 140 chars. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="destinationAddressPrefixes") + def destination_address_prefixes(self) -> Optional[Sequence[str]]: + """ + The destination address prefixes. CIDR or destination IP ranges. + """ + return pulumi.get(self, "destination_address_prefixes") + + @property + @pulumi.getter(name="destinationPortRanges") + def destination_port_ranges(self) -> Optional[Sequence[str]]: + """ + The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + return pulumi.get(self, "destination_port_ranges") + + @property + @pulumi.getter + def direction(self) -> str: + """ + The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + """ + return pulumi.get(self, "direction") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def priority(self) -> int: + """ + 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. + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter + def protocol(self) -> str: + """ + Network protocol this rule applies to. + """ + return pulumi.get(self, "protocol") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the SR + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceAddressPrefixes") + def source_address_prefixes(self) -> Optional[Sequence[str]]: + """ + The CIDR or source IP ranges. + """ + return pulumi.get(self, "source_address_prefixes") + + @property + @pulumi.getter(name="sourcePortRanges") + def source_port_ranges(self) -> Optional[Sequence[str]]: + """ + The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + return pulumi.get(self, "source_port_ranges") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetSecurityRuleResult(GetSecurityRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSecurityRuleResult( + access=self.access, + description=self.description, + destination_address_prefixes=self.destination_address_prefixes, + destination_port_ranges=self.destination_port_ranges, + direction=self.direction, + extended_location=self.extended_location, + id=self.id, + name=self.name, + priority=self.priority, + protocol=self.protocol, + provisioning_state=self.provisioning_state, + source_address_prefixes=self.source_address_prefixes, + source_port_ranges=self.source_port_ranges, + system_data=self.system_data, + type=self.type) + + +def get_security_rule(network_security_group_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + security_rule_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecurityRuleResult: + """ + Gets the specified security rule. + + + :param str network_security_group_name: Name of the network security group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str security_rule_name: Name of the security rule. + """ + __args__ = dict() + __args__['networkSecurityGroupName'] = network_security_group_name + __args__['resourceGroupName'] = resource_group_name + __args__['securityRuleName'] = security_rule_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getSecurityRule', __args__, opts=opts, typ=GetSecurityRuleResult).value + + return AwaitableGetSecurityRuleResult( + access=pulumi.get(__ret__, 'access'), + description=pulumi.get(__ret__, 'description'), + destination_address_prefixes=pulumi.get(__ret__, 'destination_address_prefixes'), + destination_port_ranges=pulumi.get(__ret__, 'destination_port_ranges'), + direction=pulumi.get(__ret__, 'direction'), + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + priority=pulumi.get(__ret__, 'priority'), + protocol=pulumi.get(__ret__, 'protocol'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + source_address_prefixes=pulumi.get(__ret__, 'source_address_prefixes'), + source_port_ranges=pulumi.get(__ret__, 'source_port_ranges'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type')) +def get_security_rule_output(network_security_group_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + security_rule_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityRuleResult]: + """ + Gets the specified security rule. + + + :param str network_security_group_name: Name of the network security group + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str security_rule_name: Name of the security rule. + """ + __args__ = dict() + __args__['networkSecurityGroupName'] = network_security_group_name + __args__['resourceGroupName'] = resource_group_name + __args__['securityRuleName'] = security_rule_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getSecurityRule', __args__, opts=opts, typ=GetSecurityRuleResult) + return __ret__.apply(lambda __response__: GetSecurityRuleResult( + access=pulumi.get(__response__, 'access'), + description=pulumi.get(__response__, 'description'), + destination_address_prefixes=pulumi.get(__response__, 'destination_address_prefixes'), + destination_port_ranges=pulumi.get(__response__, 'destination_port_ranges'), + direction=pulumi.get(__response__, 'direction'), + extended_location=pulumi.get(__response__, 'extended_location'), + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + priority=pulumi.get(__response__, 'priority'), + protocol=pulumi.get(__response__, 'protocol'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + source_address_prefixes=pulumi.get(__response__, 'source_address_prefixes'), + source_port_ranges=pulumi.get(__response__, 'source_port_ranges'), + system_data=pulumi.get(__response__, 'system_data'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_storage_container.py new file mode 100644 index 000000000000..923e6e9d1458 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_storage_container.py @@ -0,0 +1,213 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetStorageContainerResult', + 'AwaitableGetStorageContainerResult', + 'get_storage_container', + 'get_storage_container_output', +] + +@pulumi.output_type +class GetStorageContainerResult: + """ + The storage container resource definition. + """ + def __init__(__self__, extended_location=None, id=None, location=None, name=None, path=None, provisioning_state=None, status=None, system_data=None, tags=None, type=None): + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if path and not isinstance(path, str): + raise TypeError("Expected argument 'path' to be a str") + pulumi.set(__self__, "path", path) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def path(self) -> str: + """ + Path of the storage container on the disk + """ + return pulumi.get(self, "path") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the storage container. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> 'outputs.StorageContainerStatusResponse': + """ + The observed state of storage containers + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetStorageContainerResult(GetStorageContainerResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetStorageContainerResult( + extended_location=self.extended_location, + id=self.id, + location=self.location, + name=self.name, + path=self.path, + provisioning_state=self.provisioning_state, + status=self.status, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_storage_container(resource_group_name: Optional[str] = None, + storage_container_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageContainerResult: + """ + Gets a storage container + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str storage_container_name: Name of the storage container + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['storageContainerName'] = storage_container_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getStorageContainer', __args__, opts=opts, typ=GetStorageContainerResult).value + + return AwaitableGetStorageContainerResult( + extended_location=pulumi.get(__ret__, 'extended_location'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + path=pulumi.get(__ret__, 'path'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) +def get_storage_container_output(resource_group_name: Optional[pulumi.Input[str]] = None, + storage_container_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageContainerResult]: + """ + Gets a storage container + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str storage_container_name: Name of the storage container + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['storageContainerName'] = storage_container_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getStorageContainer', __args__, opts=opts, typ=GetStorageContainerResult) + return __ret__.apply(lambda __response__: GetStorageContainerResult( + extended_location=pulumi.get(__response__, 'extended_location'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + path=pulumi.get(__response__, 'path'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + status=pulumi.get(__response__, 'status'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_virtual_hard_disk.py new file mode 100644 index 000000000000..fd328fce9135 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_virtual_hard_disk.py @@ -0,0 +1,325 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVirtualHardDiskResult', + 'AwaitableGetVirtualHardDiskResult', + 'get_virtual_hard_disk', + 'get_virtual_hard_disk_output', +] + +@pulumi.output_type +class GetVirtualHardDiskResult: + """ + The virtual hard disk resource definition. + """ + def __init__(__self__, block_size_bytes=None, container_id=None, disk_file_format=None, disk_size_gb=None, download_url=None, dynamic=None, extended_location=None, hyper_v_generation=None, id=None, location=None, logical_sector_bytes=None, name=None, physical_sector_bytes=None, provisioning_state=None, status=None, system_data=None, tags=None, type=None): + if block_size_bytes and not isinstance(block_size_bytes, int): + raise TypeError("Expected argument 'block_size_bytes' to be a int") + pulumi.set(__self__, "block_size_bytes", block_size_bytes) + if container_id and not isinstance(container_id, str): + raise TypeError("Expected argument 'container_id' to be a str") + pulumi.set(__self__, "container_id", container_id) + if disk_file_format and not isinstance(disk_file_format, str): + raise TypeError("Expected argument 'disk_file_format' to be a str") + pulumi.set(__self__, "disk_file_format", disk_file_format) + if disk_size_gb and not isinstance(disk_size_gb, float): + raise TypeError("Expected argument 'disk_size_gb' to be a float") + pulumi.set(__self__, "disk_size_gb", disk_size_gb) + if download_url and not isinstance(download_url, str): + raise TypeError("Expected argument 'download_url' to be a str") + pulumi.set(__self__, "download_url", download_url) + if dynamic and not isinstance(dynamic, bool): + raise TypeError("Expected argument 'dynamic' to be a bool") + pulumi.set(__self__, "dynamic", dynamic) + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if hyper_v_generation and not isinstance(hyper_v_generation, str): + raise TypeError("Expected argument 'hyper_v_generation' to be a str") + pulumi.set(__self__, "hyper_v_generation", hyper_v_generation) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if logical_sector_bytes and not isinstance(logical_sector_bytes, int): + raise TypeError("Expected argument 'logical_sector_bytes' to be a int") + pulumi.set(__self__, "logical_sector_bytes", logical_sector_bytes) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if physical_sector_bytes and not isinstance(physical_sector_bytes, int): + raise TypeError("Expected argument 'physical_sector_bytes' to be a int") + pulumi.set(__self__, "physical_sector_bytes", physical_sector_bytes) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="blockSizeBytes") + def block_size_bytes(self) -> Optional[int]: + """ + Block size in bytes + """ + return pulumi.get(self, "block_size_bytes") + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[str]: + """ + Storage ContainerID of the storage container to be used for VHD + """ + return pulumi.get(self, "container_id") + + @property + @pulumi.getter(name="diskFileFormat") + def disk_file_format(self) -> Optional[str]: + """ + The format of the actual VHD file [vhd, vhdx] + """ + return pulumi.get(self, "disk_file_format") + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> Optional[float]: + """ + Size of the disk in GB + """ + return pulumi.get(self, "disk_size_gb") + + @property + @pulumi.getter(name="downloadUrl") + def download_url(self) -> Optional[str]: + """ + URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + """ + return pulumi.get(self, "download_url") + + @property + @pulumi.getter + def dynamic(self) -> Optional[bool]: + """ + Boolean for enabling dynamic sizing on the virtual hard disk + """ + return pulumi.get(self, "dynamic") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> Optional[str]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="logicalSectorBytes") + def logical_sector_bytes(self) -> Optional[int]: + """ + Logical sector in bytes + """ + return pulumi.get(self, "logical_sector_bytes") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="physicalSectorBytes") + def physical_sector_bytes(self) -> Optional[int]: + """ + Physical sector in bytes + """ + return pulumi.get(self, "physical_sector_bytes") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the virtual hard disk. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> 'outputs.VirtualHardDiskStatusResponse': + """ + The observed state of virtual hard disks + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetVirtualHardDiskResult(GetVirtualHardDiskResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVirtualHardDiskResult( + block_size_bytes=self.block_size_bytes, + container_id=self.container_id, + disk_file_format=self.disk_file_format, + disk_size_gb=self.disk_size_gb, + download_url=self.download_url, + dynamic=self.dynamic, + extended_location=self.extended_location, + hyper_v_generation=self.hyper_v_generation, + id=self.id, + location=self.location, + logical_sector_bytes=self.logical_sector_bytes, + name=self.name, + physical_sector_bytes=self.physical_sector_bytes, + provisioning_state=self.provisioning_state, + status=self.status, + system_data=self.system_data, + tags=self.tags, + type=self.type) + + +def get_virtual_hard_disk(resource_group_name: Optional[str] = None, + virtual_hard_disk_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualHardDiskResult: + """ + Gets a virtual hard disk + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str virtual_hard_disk_name: Name of the virtual hard disk + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['virtualHardDiskName'] = virtual_hard_disk_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getVirtualHardDisk', __args__, opts=opts, typ=GetVirtualHardDiskResult).value + + return AwaitableGetVirtualHardDiskResult( + block_size_bytes=pulumi.get(__ret__, 'block_size_bytes'), + container_id=pulumi.get(__ret__, 'container_id'), + disk_file_format=pulumi.get(__ret__, 'disk_file_format'), + disk_size_gb=pulumi.get(__ret__, 'disk_size_gb'), + download_url=pulumi.get(__ret__, 'download_url'), + dynamic=pulumi.get(__ret__, 'dynamic'), + extended_location=pulumi.get(__ret__, 'extended_location'), + hyper_v_generation=pulumi.get(__ret__, 'hyper_v_generation'), + id=pulumi.get(__ret__, 'id'), + location=pulumi.get(__ret__, 'location'), + logical_sector_bytes=pulumi.get(__ret__, 'logical_sector_bytes'), + name=pulumi.get(__ret__, 'name'), + physical_sector_bytes=pulumi.get(__ret__, 'physical_sector_bytes'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + status=pulumi.get(__ret__, 'status'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type')) +def get_virtual_hard_disk_output(resource_group_name: Optional[pulumi.Input[str]] = None, + virtual_hard_disk_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVirtualHardDiskResult]: + """ + Gets a virtual hard disk + + + :param str resource_group_name: The name of the resource group. The name is case insensitive. + :param str virtual_hard_disk_name: Name of the virtual hard disk + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['virtualHardDiskName'] = virtual_hard_disk_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getVirtualHardDisk', __args__, opts=opts, typ=GetVirtualHardDiskResult) + return __ret__.apply(lambda __response__: GetVirtualHardDiskResult( + block_size_bytes=pulumi.get(__response__, 'block_size_bytes'), + container_id=pulumi.get(__response__, 'container_id'), + disk_file_format=pulumi.get(__response__, 'disk_file_format'), + disk_size_gb=pulumi.get(__response__, 'disk_size_gb'), + download_url=pulumi.get(__response__, 'download_url'), + dynamic=pulumi.get(__response__, 'dynamic'), + extended_location=pulumi.get(__response__, 'extended_location'), + hyper_v_generation=pulumi.get(__response__, 'hyper_v_generation'), + id=pulumi.get(__response__, 'id'), + location=pulumi.get(__response__, 'location'), + logical_sector_bytes=pulumi.get(__response__, 'logical_sector_bytes'), + name=pulumi.get(__response__, 'name'), + physical_sector_bytes=pulumi.get(__response__, 'physical_sector_bytes'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + status=pulumi.get(__response__, 'status'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_virtual_machine_instance.py new file mode 100644 index 000000000000..4e5e97793241 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/get_virtual_machine_instance.py @@ -0,0 +1,319 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetVirtualMachineInstanceResult', + 'AwaitableGetVirtualMachineInstanceResult', + 'get_virtual_machine_instance', + 'get_virtual_machine_instance_output', +] + +@pulumi.output_type +class GetVirtualMachineInstanceResult: + """ + The virtual machine instance resource definition. + """ + def __init__(__self__, extended_location=None, guest_agent_install_status=None, hardware_profile=None, http_proxy_config=None, id=None, identity=None, instance_view=None, name=None, network_profile=None, os_profile=None, provisioning_state=None, resource_uid=None, security_profile=None, status=None, storage_profile=None, system_data=None, type=None, vm_id=None): + if extended_location and not isinstance(extended_location, dict): + raise TypeError("Expected argument 'extended_location' to be a dict") + pulumi.set(__self__, "extended_location", extended_location) + if guest_agent_install_status and not isinstance(guest_agent_install_status, dict): + raise TypeError("Expected argument 'guest_agent_install_status' to be a dict") + pulumi.set(__self__, "guest_agent_install_status", guest_agent_install_status) + if hardware_profile and not isinstance(hardware_profile, dict): + raise TypeError("Expected argument 'hardware_profile' to be a dict") + pulumi.set(__self__, "hardware_profile", hardware_profile) + if http_proxy_config and not isinstance(http_proxy_config, dict): + raise TypeError("Expected argument 'http_proxy_config' to be a dict") + pulumi.set(__self__, "http_proxy_config", http_proxy_config) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if instance_view and not isinstance(instance_view, dict): + raise TypeError("Expected argument 'instance_view' to be a dict") + pulumi.set(__self__, "instance_view", instance_view) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_profile and not isinstance(network_profile, dict): + raise TypeError("Expected argument 'network_profile' to be a dict") + pulumi.set(__self__, "network_profile", network_profile) + if os_profile and not isinstance(os_profile, dict): + raise TypeError("Expected argument 'os_profile' to be a dict") + pulumi.set(__self__, "os_profile", os_profile) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if resource_uid and not isinstance(resource_uid, str): + raise TypeError("Expected argument 'resource_uid' to be a str") + pulumi.set(__self__, "resource_uid", resource_uid) + if security_profile and not isinstance(security_profile, dict): + raise TypeError("Expected argument 'security_profile' to be a dict") + pulumi.set(__self__, "security_profile", security_profile) + if status and not isinstance(status, dict): + raise TypeError("Expected argument 'status' to be a dict") + pulumi.set(__self__, "status", status) + if storage_profile and not isinstance(storage_profile, dict): + raise TypeError("Expected argument 'storage_profile' to be a dict") + pulumi.set(__self__, "storage_profile", storage_profile) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if vm_id and not isinstance(vm_id, str): + raise TypeError("Expected argument 'vm_id' to be a str") + pulumi.set(__self__, "vm_id", vm_id) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional['outputs.ExtendedLocationResponse']: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="guestAgentInstallStatus") + def guest_agent_install_status(self) -> Optional['outputs.GuestAgentInstallStatusResponse']: + """ + Guest agent install status. + """ + return pulumi.get(self, "guest_agent_install_status") + + @property + @pulumi.getter(name="hardwareProfile") + def hardware_profile(self) -> Optional['outputs.VirtualMachineInstancePropertiesHardwareProfileResponse']: + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + """ + return pulumi.get(self, "hardware_profile") + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> Optional['outputs.HttpProxyConfigurationResponse']: + """ + HTTP Proxy configuration for the VM. + """ + return pulumi.get(self, "http_proxy_config") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.ManagedServiceIdentityResponse']: + """ + The managed service identities assigned to this resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="instanceView") + def instance_view(self) -> 'outputs.VirtualMachineInstanceViewResponse': + """ + The virtual machine instance view. + """ + return pulumi.get(self, "instance_view") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional['outputs.VirtualMachineInstancePropertiesNetworkProfileResponse']: + """ + NetworkProfile - describes the network configuration the virtual machine instance + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="osProfile") + def os_profile(self) -> Optional['outputs.VirtualMachineInstancePropertiesOsProfileResponse']: + """ + OsProfile - describes the configuration of the operating system and sets login data + """ + return pulumi.get(self, "os_profile") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + Provisioning state of the virtual machine instance. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceUid") + def resource_uid(self) -> Optional[str]: + """ + Unique identifier defined by ARC to identify the guest of the VM. + """ + return pulumi.get(self, "resource_uid") + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional['outputs.VirtualMachineInstancePropertiesSecurityProfileResponse']: + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + """ + return pulumi.get(self, "security_profile") + + @property + @pulumi.getter + def status(self) -> 'outputs.VirtualMachineInstanceStatusResponse': + """ + The observed state of virtual machine instances + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> Optional['outputs.VirtualMachineInstancePropertiesStorageProfileResponse']: + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vmId") + def vm_id(self) -> str: + """ + Unique identifier for the vm resource. + """ + return pulumi.get(self, "vm_id") + + +class AwaitableGetVirtualMachineInstanceResult(GetVirtualMachineInstanceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetVirtualMachineInstanceResult( + extended_location=self.extended_location, + guest_agent_install_status=self.guest_agent_install_status, + hardware_profile=self.hardware_profile, + http_proxy_config=self.http_proxy_config, + id=self.id, + identity=self.identity, + instance_view=self.instance_view, + name=self.name, + network_profile=self.network_profile, + os_profile=self.os_profile, + provisioning_state=self.provisioning_state, + resource_uid=self.resource_uid, + security_profile=self.security_profile, + status=self.status, + storage_profile=self.storage_profile, + system_data=self.system_data, + type=self.type, + vm_id=self.vm_id) + + +def get_virtual_machine_instance(resource_uri: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVirtualMachineInstanceResult: + """ + Gets a virtual machine instance + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the resource. + """ + __args__ = dict() + __args__['resourceUri'] = resource_uri + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance', __args__, opts=opts, typ=GetVirtualMachineInstanceResult).value + + return AwaitableGetVirtualMachineInstanceResult( + extended_location=pulumi.get(__ret__, 'extended_location'), + guest_agent_install_status=pulumi.get(__ret__, 'guest_agent_install_status'), + hardware_profile=pulumi.get(__ret__, 'hardware_profile'), + http_proxy_config=pulumi.get(__ret__, 'http_proxy_config'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + instance_view=pulumi.get(__ret__, 'instance_view'), + name=pulumi.get(__ret__, 'name'), + network_profile=pulumi.get(__ret__, 'network_profile'), + os_profile=pulumi.get(__ret__, 'os_profile'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + resource_uid=pulumi.get(__ret__, 'resource_uid'), + security_profile=pulumi.get(__ret__, 'security_profile'), + status=pulumi.get(__ret__, 'status'), + storage_profile=pulumi.get(__ret__, 'storage_profile'), + system_data=pulumi.get(__ret__, 'system_data'), + type=pulumi.get(__ret__, 'type'), + vm_id=pulumi.get(__ret__, 'vm_id')) +def get_virtual_machine_instance_output(resource_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVirtualMachineInstanceResult]: + """ + Gets a virtual machine instance + + + :param str resource_uri: The fully qualified Azure Resource manager identifier of the resource. + """ + __args__ = dict() + __args__['resourceUri'] = resource_uri + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:azurestackhci/v20241001preview:getVirtualMachineInstance', __args__, opts=opts, typ=GetVirtualMachineInstanceResult) + return __ret__.apply(lambda __response__: GetVirtualMachineInstanceResult( + extended_location=pulumi.get(__response__, 'extended_location'), + guest_agent_install_status=pulumi.get(__response__, 'guest_agent_install_status'), + hardware_profile=pulumi.get(__response__, 'hardware_profile'), + http_proxy_config=pulumi.get(__response__, 'http_proxy_config'), + id=pulumi.get(__response__, 'id'), + identity=pulumi.get(__response__, 'identity'), + instance_view=pulumi.get(__response__, 'instance_view'), + name=pulumi.get(__response__, 'name'), + network_profile=pulumi.get(__response__, 'network_profile'), + os_profile=pulumi.get(__response__, 'os_profile'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + resource_uid=pulumi.get(__response__, 'resource_uid'), + security_profile=pulumi.get(__response__, 'security_profile'), + status=pulumi.get(__response__, 'status'), + storage_profile=pulumi.get(__response__, 'storage_profile'), + system_data=pulumi.get(__response__, 'system_data'), + type=pulumi.get(__response__, 'type'), + vm_id=pulumi.get(__response__, 'vm_id'))) diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/guest_agent.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/guest_agent.py new file mode 100644 index 000000000000..461b38a1472f --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/guest_agent.py @@ -0,0 +1,229 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['GuestAgentArgs', 'GuestAgent'] + +@pulumi.input_type +class GuestAgentArgs: + def __init__(__self__, *, + resource_uri: pulumi.Input[str], + credentials: Optional[pulumi.Input['GuestCredentialArgs']] = None, + provisioning_action: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]] = None): + """ + The set of arguments for constructing a GuestAgent resource. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the resource. + :param pulumi.Input['GuestCredentialArgs'] credentials: Username / Password Credentials to provision guest agent. + :param pulumi.Input[Union[str, 'ProvisioningAction']] provisioning_action: The guest agent provisioning action. + """ + pulumi.set(__self__, "resource_uri", resource_uri) + if credentials is not None: + pulumi.set(__self__, "credentials", credentials) + if provisioning_action is not None: + pulumi.set(__self__, "provisioning_action", provisioning_action) + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> pulumi.Input[str]: + """ + The fully qualified Azure Resource manager identifier of the resource. + """ + return pulumi.get(self, "resource_uri") + + @resource_uri.setter + def resource_uri(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_uri", value) + + @property + @pulumi.getter + def credentials(self) -> Optional[pulumi.Input['GuestCredentialArgs']]: + """ + Username / Password Credentials to provision guest agent. + """ + return pulumi.get(self, "credentials") + + @credentials.setter + def credentials(self, value: Optional[pulumi.Input['GuestCredentialArgs']]): + pulumi.set(self, "credentials", value) + + @property + @pulumi.getter(name="provisioningAction") + def provisioning_action(self) -> Optional[pulumi.Input[Union[str, 'ProvisioningAction']]]: + """ + The guest agent provisioning action. + """ + return pulumi.get(self, "provisioning_action") + + @provisioning_action.setter + def provisioning_action(self, value: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]]): + pulumi.set(self, "provisioning_action", value) + + +class GuestAgent(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[Union['GuestCredentialArgs', 'GuestCredentialArgsDict']]] = None, + provisioning_action: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Defines the GuestAgent. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['GuestCredentialArgs', 'GuestCredentialArgsDict']] credentials: Username / Password Credentials to provision guest agent. + :param pulumi.Input[Union[str, 'ProvisioningAction']] provisioning_action: The guest agent provisioning action. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the resource. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: GuestAgentArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Defines the GuestAgent. + + :param str resource_name: The name of the resource. + :param GuestAgentArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(GuestAgentArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + credentials: Optional[pulumi.Input[Union['GuestCredentialArgs', 'GuestCredentialArgsDict']]] = None, + provisioning_action: Optional[pulumi.Input[Union[str, 'ProvisioningAction']]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = GuestAgentArgs.__new__(GuestAgentArgs) + + __props__.__dict__["credentials"] = credentials + __props__.__dict__["provisioning_action"] = provisioning_action + if resource_uri is None and not opts.urn: + raise TypeError("Missing required property 'resource_uri'") + __props__.__dict__["resource_uri"] = resource_uri + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:GuestAgent"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:GuestAgent")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(GuestAgent, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:GuestAgent', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'GuestAgent': + """ + Get an existing GuestAgent resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = GuestAgentArgs.__new__(GuestAgentArgs) + + __props__.__dict__["credentials"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_action"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return GuestAgent(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def credentials(self) -> pulumi.Output[Optional['outputs.GuestCredentialResponse']]: + """ + Username / Password Credentials to provision guest agent. + """ + return pulumi.get(self, "credentials") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningAction") + def provisioning_action(self) -> pulumi.Output[Optional[str]]: + """ + The guest agent provisioning action. + """ + return pulumi.get(self, "provisioning_action") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the virtual machine instance. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + The guest agent status. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/logical_network.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/logical_network.py new file mode 100644 index 000000000000..133725f10006 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/logical_network.py @@ -0,0 +1,365 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['LogicalNetworkArgs', 'LogicalNetwork'] + +@pulumi.input_type +class LogicalNetworkArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + dhcp_options: Optional[pulumi.Input['LogicalNetworkPropertiesDhcpOptionsArgs']] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + logical_network_name: Optional[pulumi.Input[str]] = None, + subnets: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetArgs']]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vm_switch_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a LogicalNetwork resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['LogicalNetworkPropertiesDhcpOptionsArgs'] dhcp_options: DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] logical_network_name: Name of the logical network + :param pulumi.Input[Sequence[pulumi.Input['SubnetArgs']]] subnets: Subnet - list of subnets under the logical network + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] vm_switch_name: name of the network switch to be used for VMs + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if dhcp_options is not None: + pulumi.set(__self__, "dhcp_options", dhcp_options) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if location is not None: + pulumi.set(__self__, "location", location) + if logical_network_name is not None: + pulumi.set(__self__, "logical_network_name", logical_network_name) + if subnets is not None: + pulumi.set(__self__, "subnets", subnets) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if vm_switch_name is not None: + pulumi.set(__self__, "vm_switch_name", vm_switch_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="dhcpOptions") + def dhcp_options(self) -> Optional[pulumi.Input['LogicalNetworkPropertiesDhcpOptionsArgs']]: + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + """ + return pulumi.get(self, "dhcp_options") + + @dhcp_options.setter + def dhcp_options(self, value: Optional[pulumi.Input['LogicalNetworkPropertiesDhcpOptionsArgs']]): + pulumi.set(self, "dhcp_options", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="logicalNetworkName") + def logical_network_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the logical network + """ + return pulumi.get(self, "logical_network_name") + + @logical_network_name.setter + def logical_network_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "logical_network_name", value) + + @property + @pulumi.getter + def subnets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SubnetArgs']]]]: + """ + Subnet - list of subnets under the logical network + """ + return pulumi.get(self, "subnets") + + @subnets.setter + def subnets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['SubnetArgs']]]]): + pulumi.set(self, "subnets", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="vmSwitchName") + def vm_switch_name(self) -> Optional[pulumi.Input[str]]: + """ + name of the network switch to be used for VMs + """ + return pulumi.get(self, "vm_switch_name") + + @vm_switch_name.setter + def vm_switch_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vm_switch_name", value) + + +class LogicalNetwork(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dhcp_options: Optional[pulumi.Input[Union['LogicalNetworkPropertiesDhcpOptionsArgs', 'LogicalNetworkPropertiesDhcpOptionsArgsDict']]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + logical_network_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SubnetArgs', 'SubnetArgsDict']]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vm_switch_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The logical network resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['LogicalNetworkPropertiesDhcpOptionsArgs', 'LogicalNetworkPropertiesDhcpOptionsArgsDict']] dhcp_options: DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] logical_network_name: Name of the logical network + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Sequence[pulumi.Input[Union['SubnetArgs', 'SubnetArgsDict']]]] subnets: Subnet - list of subnets under the logical network + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] vm_switch_name: name of the network switch to be used for VMs + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: LogicalNetworkArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The logical network resource definition. + + :param str resource_name: The name of the resource. + :param LogicalNetworkArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(LogicalNetworkArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dhcp_options: Optional[pulumi.Input[Union['LogicalNetworkPropertiesDhcpOptionsArgs', 'LogicalNetworkPropertiesDhcpOptionsArgsDict']]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + logical_network_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['SubnetArgs', 'SubnetArgsDict']]]]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + vm_switch_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = LogicalNetworkArgs.__new__(LogicalNetworkArgs) + + __props__.__dict__["dhcp_options"] = dhcp_options + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["location"] = location + __props__.__dict__["logical_network_name"] = logical_network_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["subnets"] = subnets + __props__.__dict__["tags"] = tags + __props__.__dict__["vm_switch_name"] = vm_switch_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:LogicalNetwork"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:LogicalNetwork")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(LogicalNetwork, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:LogicalNetwork', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'LogicalNetwork': + """ + Get an existing LogicalNetwork resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = LogicalNetworkArgs.__new__(LogicalNetworkArgs) + + __props__.__dict__["dhcp_options"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["subnets"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["vm_switch_name"] = None + return LogicalNetwork(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dhcpOptions") + def dhcp_options(self) -> pulumi.Output[Optional['outputs.LogicalNetworkPropertiesDhcpOptionsResponse']]: + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + """ + return pulumi.get(self, "dhcp_options") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the logical network. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.LogicalNetworkStatusResponse']: + """ + The observed state of logical networks + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter + def subnets(self) -> pulumi.Output[Optional[Sequence['outputs.SubnetResponse']]]: + """ + Subnet - list of subnets under the logical network + """ + return pulumi.get(self, "subnets") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vmSwitchName") + def vm_switch_name(self) -> pulumi.Output[Optional[str]]: + """ + name of the network switch to be used for VMs + """ + return pulumi.get(self, "vm_switch_name") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/marketplace_gallery_image.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/marketplace_gallery_image.py new file mode 100644 index 000000000000..b16bf724ca0a --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/marketplace_gallery_image.py @@ -0,0 +1,453 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['MarketplaceGalleryImageArgs', 'MarketplaceGalleryImage'] + +@pulumi.input_type +class MarketplaceGalleryImageArgs: + def __init__(__self__, *, + os_type: pulumi.Input[Union[str, 'OperatingSystemTypes']], + resource_group_name: pulumi.Input[str], + cloud_init_data_source: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]] = None, + container_id: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + identifier: Optional[pulumi.Input['GalleryImageIdentifierArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + marketplace_gallery_image_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input['GalleryImageVersionArgs']] = None): + """ + The set of arguments for constructing a MarketplaceGalleryImage resource. + :param pulumi.Input[Union[str, 'OperatingSystemTypes']] os_type: Operating system type that the gallery image uses [Windows, Linux] + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Union[str, 'CloudInitDataSource']] cloud_init_data_source: Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + :param pulumi.Input[str] container_id: Storage ContainerID of the storage container to be used for marketplace gallery image + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Union[str, 'HyperVGeneration']] hyper_v_generation: The hypervisor generation of the Virtual Machine [V1, V2] + :param pulumi.Input['GalleryImageIdentifierArgs'] identifier: This is the gallery image definition identifier. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] marketplace_gallery_image_name: Name of the marketplace gallery image + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input['GalleryImageVersionArgs'] version: Specifies information about the gallery image version that you want to create or update. + """ + pulumi.set(__self__, "os_type", os_type) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if cloud_init_data_source is not None: + pulumi.set(__self__, "cloud_init_data_source", cloud_init_data_source) + if container_id is not None: + pulumi.set(__self__, "container_id", container_id) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if hyper_v_generation is not None: + pulumi.set(__self__, "hyper_v_generation", hyper_v_generation) + if identifier is not None: + pulumi.set(__self__, "identifier", identifier) + if location is not None: + pulumi.set(__self__, "location", location) + if marketplace_gallery_image_name is not None: + pulumi.set(__self__, "marketplace_gallery_image_name", marketplace_gallery_image_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Input[Union[str, 'OperatingSystemTypes']]: + """ + Operating system type that the gallery image uses [Windows, Linux] + """ + return pulumi.get(self, "os_type") + + @os_type.setter + def os_type(self, value: pulumi.Input[Union[str, 'OperatingSystemTypes']]): + pulumi.set(self, "os_type", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="cloudInitDataSource") + def cloud_init_data_source(self) -> Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]]: + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + return pulumi.get(self, "cloud_init_data_source") + + @cloud_init_data_source.setter + def cloud_init_data_source(self, value: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]]): + pulumi.set(self, "cloud_init_data_source", value) + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[pulumi.Input[str]]: + """ + Storage ContainerID of the storage container to be used for marketplace gallery image + """ + return pulumi.get(self, "container_id") + + @container_id.setter + def container_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_id", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> Optional[pulumi.Input[Union[str, 'HyperVGeneration']]]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @hyper_v_generation.setter + def hyper_v_generation(self, value: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]]): + pulumi.set(self, "hyper_v_generation", value) + + @property + @pulumi.getter + def identifier(self) -> Optional[pulumi.Input['GalleryImageIdentifierArgs']]: + """ + This is the gallery image definition identifier. + """ + return pulumi.get(self, "identifier") + + @identifier.setter + def identifier(self, value: Optional[pulumi.Input['GalleryImageIdentifierArgs']]): + pulumi.set(self, "identifier", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="marketplaceGalleryImageName") + def marketplace_gallery_image_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the marketplace gallery image + """ + return pulumi.get(self, "marketplace_gallery_image_name") + + @marketplace_gallery_image_name.setter + def marketplace_gallery_image_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "marketplace_gallery_image_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter + def version(self) -> Optional[pulumi.Input['GalleryImageVersionArgs']]: + """ + Specifies information about the gallery image version that you want to create or update. + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional[pulumi.Input['GalleryImageVersionArgs']]): + pulumi.set(self, "version", value) + + +class MarketplaceGalleryImage(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cloud_init_data_source: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]] = None, + container_id: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + identifier: Optional[pulumi.Input[Union['GalleryImageIdentifierArgs', 'GalleryImageIdentifierArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + marketplace_gallery_image_name: Optional[pulumi.Input[str]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union['GalleryImageVersionArgs', 'GalleryImageVersionArgsDict']]] = None, + __props__=None): + """ + The marketplace gallery image resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'CloudInitDataSource']] cloud_init_data_source: Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + :param pulumi.Input[str] container_id: Storage ContainerID of the storage container to be used for marketplace gallery image + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Union[str, 'HyperVGeneration']] hyper_v_generation: The hypervisor generation of the Virtual Machine [V1, V2] + :param pulumi.Input[Union['GalleryImageIdentifierArgs', 'GalleryImageIdentifierArgsDict']] identifier: This is the gallery image definition identifier. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] marketplace_gallery_image_name: Name of the marketplace gallery image + :param pulumi.Input[Union[str, 'OperatingSystemTypes']] os_type: Operating system type that the gallery image uses [Windows, Linux] + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[Union['GalleryImageVersionArgs', 'GalleryImageVersionArgsDict']] version: Specifies information about the gallery image version that you want to create or update. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: MarketplaceGalleryImageArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The marketplace gallery image resource definition. + + :param str resource_name: The name of the resource. + :param MarketplaceGalleryImageArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(MarketplaceGalleryImageArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + cloud_init_data_source: Optional[pulumi.Input[Union[str, 'CloudInitDataSource']]] = None, + container_id: Optional[pulumi.Input[str]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + identifier: Optional[pulumi.Input[Union['GalleryImageIdentifierArgs', 'GalleryImageIdentifierArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + marketplace_gallery_image_name: Optional[pulumi.Input[str]] = None, + os_type: Optional[pulumi.Input[Union[str, 'OperatingSystemTypes']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[Union['GalleryImageVersionArgs', 'GalleryImageVersionArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = MarketplaceGalleryImageArgs.__new__(MarketplaceGalleryImageArgs) + + __props__.__dict__["cloud_init_data_source"] = cloud_init_data_source + __props__.__dict__["container_id"] = container_id + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["hyper_v_generation"] = hyper_v_generation + __props__.__dict__["identifier"] = identifier + __props__.__dict__["location"] = location + __props__.__dict__["marketplace_gallery_image_name"] = marketplace_gallery_image_name + if os_type is None and not opts.urn: + raise TypeError("Missing required property 'os_type'") + __props__.__dict__["os_type"] = os_type + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["version"] = version + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:MarketplaceGalleryImage"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:MarketplaceGalleryImage")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(MarketplaceGalleryImage, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:MarketplaceGalleryImage', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'MarketplaceGalleryImage': + """ + Get an existing MarketplaceGalleryImage resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = MarketplaceGalleryImageArgs.__new__(MarketplaceGalleryImageArgs) + + __props__.__dict__["cloud_init_data_source"] = None + __props__.__dict__["container_id"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["hyper_v_generation"] = None + __props__.__dict__["identifier"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["os_type"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["version"] = None + return MarketplaceGalleryImage(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cloudInitDataSource") + def cloud_init_data_source(self) -> pulumi.Output[Optional[str]]: + """ + Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure] + """ + return pulumi.get(self, "cloud_init_data_source") + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> pulumi.Output[Optional[str]]: + """ + Storage ContainerID of the storage container to be used for marketplace gallery image + """ + return pulumi.get(self, "container_id") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> pulumi.Output[Optional[str]]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @property + @pulumi.getter + def identifier(self) -> pulumi.Output[Optional['outputs.GalleryImageIdentifierResponse']]: + """ + This is the gallery image definition identifier. + """ + return pulumi.get(self, "identifier") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> pulumi.Output[str]: + """ + Operating system type that the gallery image uses [Windows, Linux] + """ + return pulumi.get(self, "os_type") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the marketplace gallery image. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.MarketplaceGalleryImageStatusResponse']: + """ + The observed state of marketplace gallery images + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def version(self) -> pulumi.Output[Optional['outputs.GalleryImageVersionResponse']]: + """ + Specifies information about the gallery image version that you want to create or update. + """ + return pulumi.get(self, "version") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/network_interface.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/network_interface.py new file mode 100644 index 000000000000..c77fae134f14 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/network_interface.py @@ -0,0 +1,394 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['NetworkInterfaceArgs', 'NetworkInterface'] + +@pulumi.input_type +class NetworkInterfaceArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + dns_settings: Optional[pulumi.Input['InterfaceDNSSettingsArgs']] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + ip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['IPConfigurationArgs']]]] = None, + location: Optional[pulumi.Input[str]] = None, + mac_address: Optional[pulumi.Input[str]] = None, + network_interface_name: Optional[pulumi.Input[str]] = None, + network_security_group: Optional[pulumi.Input['NetworkSecurityGroupArmReferenceArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a NetworkInterface resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['InterfaceDNSSettingsArgs'] dns_settings: DNS Settings for the interface + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Sequence[pulumi.Input['IPConfigurationArgs']]] ip_configurations: IPConfigurations - A list of IPConfigurations of the network interface. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] mac_address: MacAddress - The MAC address of the network interface. + :param pulumi.Input[str] network_interface_name: Name of the network interface + :param pulumi.Input['NetworkSecurityGroupArmReferenceArgs'] network_security_group: NetworkSecurityGroup - Network Security Group attached to the network interface. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if dns_settings is not None: + pulumi.set(__self__, "dns_settings", dns_settings) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if ip_configurations is not None: + pulumi.set(__self__, "ip_configurations", ip_configurations) + if location is not None: + pulumi.set(__self__, "location", location) + if mac_address is not None: + pulumi.set(__self__, "mac_address", mac_address) + if network_interface_name is not None: + pulumi.set(__self__, "network_interface_name", network_interface_name) + if network_security_group is not None: + pulumi.set(__self__, "network_security_group", network_security_group) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="dnsSettings") + def dns_settings(self) -> Optional[pulumi.Input['InterfaceDNSSettingsArgs']]: + """ + DNS Settings for the interface + """ + return pulumi.get(self, "dns_settings") + + @dns_settings.setter + def dns_settings(self, value: Optional[pulumi.Input['InterfaceDNSSettingsArgs']]): + pulumi.set(self, "dns_settings", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="ipConfigurations") + def ip_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IPConfigurationArgs']]]]: + """ + IPConfigurations - A list of IPConfigurations of the network interface. + """ + return pulumi.get(self, "ip_configurations") + + @ip_configurations.setter + def ip_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IPConfigurationArgs']]]]): + pulumi.set(self, "ip_configurations", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="macAddress") + def mac_address(self) -> Optional[pulumi.Input[str]]: + """ + MacAddress - The MAC address of the network interface. + """ + return pulumi.get(self, "mac_address") + + @mac_address.setter + def mac_address(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mac_address", value) + + @property + @pulumi.getter(name="networkInterfaceName") + def network_interface_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the network interface + """ + return pulumi.get(self, "network_interface_name") + + @network_interface_name.setter + def network_interface_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_interface_name", value) + + @property + @pulumi.getter(name="networkSecurityGroup") + def network_security_group(self) -> Optional[pulumi.Input['NetworkSecurityGroupArmReferenceArgs']]: + """ + NetworkSecurityGroup - Network Security Group attached to the network interface. + """ + return pulumi.get(self, "network_security_group") + + @network_security_group.setter + def network_security_group(self, value: Optional[pulumi.Input['NetworkSecurityGroupArmReferenceArgs']]): + pulumi.set(self, "network_security_group", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +class NetworkInterface(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dns_settings: Optional[pulumi.Input[Union['InterfaceDNSSettingsArgs', 'InterfaceDNSSettingsArgsDict']]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + ip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IPConfigurationArgs', 'IPConfigurationArgsDict']]]]] = None, + location: Optional[pulumi.Input[str]] = None, + mac_address: Optional[pulumi.Input[str]] = None, + network_interface_name: Optional[pulumi.Input[str]] = None, + network_security_group: Optional[pulumi.Input[Union['NetworkSecurityGroupArmReferenceArgs', 'NetworkSecurityGroupArmReferenceArgsDict']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + The network interface resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['InterfaceDNSSettingsArgs', 'InterfaceDNSSettingsArgsDict']] dns_settings: DNS Settings for the interface + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['IPConfigurationArgs', 'IPConfigurationArgsDict']]]] ip_configurations: IPConfigurations - A list of IPConfigurations of the network interface. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] mac_address: MacAddress - The MAC address of the network interface. + :param pulumi.Input[str] network_interface_name: Name of the network interface + :param pulumi.Input[Union['NetworkSecurityGroupArmReferenceArgs', 'NetworkSecurityGroupArmReferenceArgsDict']] network_security_group: NetworkSecurityGroup - Network Security Group attached to the network interface. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NetworkInterfaceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The network interface resource definition. + + :param str resource_name: The name of the resource. + :param NetworkInterfaceArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(NetworkInterfaceArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + dns_settings: Optional[pulumi.Input[Union['InterfaceDNSSettingsArgs', 'InterfaceDNSSettingsArgsDict']]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + ip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['IPConfigurationArgs', 'IPConfigurationArgsDict']]]]] = None, + location: Optional[pulumi.Input[str]] = None, + mac_address: Optional[pulumi.Input[str]] = None, + network_interface_name: Optional[pulumi.Input[str]] = None, + network_security_group: Optional[pulumi.Input[Union['NetworkSecurityGroupArmReferenceArgs', 'NetworkSecurityGroupArmReferenceArgsDict']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = NetworkInterfaceArgs.__new__(NetworkInterfaceArgs) + + __props__.__dict__["dns_settings"] = dns_settings + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["ip_configurations"] = ip_configurations + __props__.__dict__["location"] = location + __props__.__dict__["mac_address"] = mac_address + __props__.__dict__["network_interface_name"] = network_interface_name + __props__.__dict__["network_security_group"] = network_security_group + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkInterface"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkInterface")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(NetworkInterface, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:NetworkInterface', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'NetworkInterface': + """ + Get an existing NetworkInterface resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = NetworkInterfaceArgs.__new__(NetworkInterfaceArgs) + + __props__.__dict__["dns_settings"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["ip_configurations"] = None + __props__.__dict__["location"] = None + __props__.__dict__["mac_address"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_security_group"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return NetworkInterface(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="dnsSettings") + def dns_settings(self) -> pulumi.Output[Optional['outputs.InterfaceDNSSettingsResponse']]: + """ + DNS Settings for the interface + """ + return pulumi.get(self, "dns_settings") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="ipConfigurations") + def ip_configurations(self) -> pulumi.Output[Optional[Sequence['outputs.IPConfigurationResponse']]]: + """ + IPConfigurations - A list of IPConfigurations of the network interface. + """ + return pulumi.get(self, "ip_configurations") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="macAddress") + def mac_address(self) -> pulumi.Output[Optional[str]]: + """ + MacAddress - The MAC address of the network interface. + """ + return pulumi.get(self, "mac_address") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkSecurityGroup") + def network_security_group(self) -> pulumi.Output[Optional['outputs.NetworkSecurityGroupArmReferenceResponse']]: + """ + NetworkSecurityGroup - Network Security Group attached to the network interface. + """ + return pulumi.get(self, "network_security_group") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the network interface. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.NetworkInterfaceStatusResponse']: + """ + The observed state of network interfaces + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/network_security_group.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/network_security_group.py new file mode 100644 index 000000000000..1384c114032c --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/network_security_group.py @@ -0,0 +1,298 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['NetworkSecurityGroupArgs', 'NetworkSecurityGroup'] + +@pulumi.input_type +class NetworkSecurityGroupArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + network_security_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a NetworkSecurityGroup resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] network_security_group_name: Name of the network security group + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if location is not None: + pulumi.set(__self__, "location", location) + if network_security_group_name is not None: + pulumi.set(__self__, "network_security_group_name", network_security_group_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="networkSecurityGroupName") + def network_security_group_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the network security group + """ + return pulumi.get(self, "network_security_group_name") + + @network_security_group_name.setter + def network_security_group_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "network_security_group_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +class NetworkSecurityGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_security_group_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + NetworkSecurityGroup resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] network_security_group_name: Name of the network security group + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: NetworkSecurityGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + NetworkSecurityGroup resource. + + :param str resource_name: The name of the resource. + :param NetworkSecurityGroupArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(NetworkSecurityGroupArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_security_group_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = NetworkSecurityGroupArgs.__new__(NetworkSecurityGroupArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["location"] = location + __props__.__dict__["network_security_group_name"] = network_security_group_name + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_interfaces"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["subnets"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:NetworkSecurityGroup"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:NetworkSecurityGroup")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(NetworkSecurityGroup, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:NetworkSecurityGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'NetworkSecurityGroup': + """ + Get an existing NetworkSecurityGroup resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = NetworkSecurityGroupArgs.__new__(NetworkSecurityGroupArgs) + + __props__.__dict__["e_tag"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_interfaces"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["subnets"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return NetworkSecurityGroup(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + If eTag is provided in the response body, it may also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> pulumi.Output[Sequence['outputs.NetworkInterfaceArmReferenceResponse']]: + """ + A collection of references to network interfaces that are currently using this NSG. + """ + return pulumi.get(self, "network_interfaces") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The provisioning state of the network security group resource. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def subnets(self) -> pulumi.Output[Sequence['outputs.LogicalNetworkArmReferenceResponse']]: + """ + A collection of references to logical networks that are currently using this NSG + """ + return pulumi.get(self, "subnets") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/outputs.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/outputs.py new file mode 100644 index 000000000000..55a4a8f9b07e --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/outputs.py @@ -0,0 +1,3941 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'ErrorAdditionalInfoResponse', + 'ErrorDetailResponse', + 'ExtendedLocationResponse', + 'GalleryImageIdentifierResponse', + 'GalleryImageStatusDownloadStatusResponse', + 'GalleryImageStatusProvisioningStatusResponse', + 'GalleryImageStatusResponse', + 'GalleryImageVersionResponse', + 'GalleryImageVersionStorageProfileResponse', + 'GalleryOSDiskImageResponse', + 'GuestAgentInstallStatusResponse', + 'GuestCredentialResponse', + 'HttpProxyConfigurationResponse', + 'IPConfigurationPropertiesResponse', + 'IPConfigurationResponse', + 'IPPoolInfoResponse', + 'IPPoolResponse', + 'ImageArmReferenceResponse', + 'InstanceViewStatusResponse', + 'InterfaceDNSSettingsResponse', + 'LogicalNetworkArmReferenceResponse', + 'LogicalNetworkPropertiesDhcpOptionsResponse', + 'LogicalNetworkStatusProvisioningStatusResponse', + 'LogicalNetworkStatusResponse', + 'ManagedServiceIdentityResponse', + 'MarketplaceGalleryImageStatusDownloadStatusResponse', + 'MarketplaceGalleryImageStatusProvisioningStatusResponse', + 'MarketplaceGalleryImageStatusResponse', + 'NetworkInterfaceArmReferenceResponse', + 'NetworkInterfaceStatusProvisioningStatusResponse', + 'NetworkInterfaceStatusResponse', + 'NetworkSecurityGroupArmReferenceResponse', + 'RouteResponse', + 'RouteTableResponse', + 'SshConfigurationResponse', + 'SshPublicKeyResponse', + 'StorageContainerStatusProvisioningStatusResponse', + 'StorageContainerStatusResponse', + 'SubnetIpConfigurationReferenceResponse', + 'SubnetResponse', + 'SystemDataResponse', + 'UserAssignedIdentityResponse', + 'VMDiskSecurityProfileResponse', + 'VirtualHardDiskArmReferenceResponse', + 'VirtualHardDiskDownloadStatusResponse', + 'VirtualHardDiskStatusProvisioningStatusResponse', + 'VirtualHardDiskStatusResponse', + 'VirtualHardDiskUploadStatusResponse', + 'VirtualMachineConfigAgentInstanceViewResponse', + 'VirtualMachineInstanceManagedDiskParametersResponse', + 'VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse', + 'VirtualMachineInstancePropertiesHardwareProfileResponse', + 'VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse', + 'VirtualMachineInstancePropertiesNetworkProfileResponse', + 'VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse', + 'VirtualMachineInstancePropertiesOsProfileResponse', + 'VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse', + 'VirtualMachineInstancePropertiesSecurityProfileResponse', + 'VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse', + 'VirtualMachineInstancePropertiesStorageProfileOsDiskResponse', + 'VirtualMachineInstancePropertiesStorageProfileResponse', + 'VirtualMachineInstanceStatusProvisioningStatusResponse', + 'VirtualMachineInstanceStatusResponse', + 'VirtualMachineInstanceViewResponse', + 'VmImageRepositoryCredentialsResponse', +] + +@pulumi.output_type +class ErrorAdditionalInfoResponse(dict): + """ + The resource management error additional info. + """ + def __init__(__self__, *, + info: Any, + type: str): + """ + The resource management error additional info. + :param Any info: The additional info. + :param str type: The additional info type. + """ + pulumi.set(__self__, "info", info) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def info(self) -> Any: + """ + The additional info. + """ + return pulumi.get(self, "info") + + @property + @pulumi.getter + def type(self) -> str: + """ + The additional info type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class ErrorDetailResponse(dict): + """ + The error detail. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalInfo": + suggest = "additional_info" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ErrorDetailResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ErrorDetailResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ErrorDetailResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_info: Sequence['outputs.ErrorAdditionalInfoResponse'], + code: str, + details: Sequence['outputs.ErrorDetailResponse'], + message: str, + target: str): + """ + The error detail. + :param Sequence['ErrorAdditionalInfoResponse'] additional_info: The error additional info. + :param str code: The error code. + :param Sequence['ErrorDetailResponse'] details: The error details. + :param str message: The error message. + :param str target: The error target. + """ + pulumi.set(__self__, "additional_info", additional_info) + pulumi.set(__self__, "code", code) + pulumi.set(__self__, "details", details) + pulumi.set(__self__, "message", message) + pulumi.set(__self__, "target", target) + + @property + @pulumi.getter(name="additionalInfo") + def additional_info(self) -> Sequence['outputs.ErrorAdditionalInfoResponse']: + """ + The error additional info. + """ + return pulumi.get(self, "additional_info") + + @property + @pulumi.getter + def code(self) -> str: + """ + The error code. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter + def details(self) -> Sequence['outputs.ErrorDetailResponse']: + """ + The error details. + """ + return pulumi.get(self, "details") + + @property + @pulumi.getter + def message(self) -> str: + """ + The error message. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def target(self) -> str: + """ + The error target. + """ + return pulumi.get(self, "target") + + +@pulumi.output_type +class ExtendedLocationResponse(dict): + """ + The complex type of the extended location. + """ + def __init__(__self__, *, + name: Optional[str] = None, + type: Optional[str] = None): + """ + The complex type of the extended location. + :param str name: The name of the extended location. + :param str type: The type of the extended location. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if type is not None: + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The name of the extended location. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> Optional[str]: + """ + The type of the extended location. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GalleryImageIdentifierResponse(dict): + """ + This is the gallery image definition identifier. + """ + def __init__(__self__, *, + offer: str, + publisher: str, + sku: str): + """ + This is the gallery image definition identifier. + :param str offer: The name of the gallery image definition offer. + :param str publisher: The name of the gallery image definition publisher. + :param str sku: The name of the gallery image definition SKU. + """ + pulumi.set(__self__, "offer", offer) + pulumi.set(__self__, "publisher", publisher) + pulumi.set(__self__, "sku", sku) + + @property + @pulumi.getter + def offer(self) -> str: + """ + The name of the gallery image definition offer. + """ + return pulumi.get(self, "offer") + + @property + @pulumi.getter + def publisher(self) -> str: + """ + The name of the gallery image definition publisher. + """ + return pulumi.get(self, "publisher") + + @property + @pulumi.getter + def sku(self) -> str: + """ + The name of the gallery image definition SKU. + """ + return pulumi.get(self, "sku") + + +@pulumi.output_type +class GalleryImageStatusDownloadStatusResponse(dict): + """ + The download status of the gallery image + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "downloadSizeInMB": + suggest = "download_size_in_mb" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GalleryImageStatusDownloadStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GalleryImageStatusDownloadStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GalleryImageStatusDownloadStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + download_size_in_mb: Optional[float] = None): + """ + The download status of the gallery image + :param float download_size_in_mb: The downloaded sized of the image in MB + """ + if download_size_in_mb is not None: + pulumi.set(__self__, "download_size_in_mb", download_size_in_mb) + + @property + @pulumi.getter(name="downloadSizeInMB") + def download_size_in_mb(self) -> Optional[float]: + """ + The downloaded sized of the image in MB + """ + return pulumi.get(self, "download_size_in_mb") + + +@pulumi.output_type +class GalleryImageStatusProvisioningStatusResponse(dict): + """ + The status of the operation performed on the gallery image + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GalleryImageStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GalleryImageStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GalleryImageStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + The status of the operation performed on the gallery image + :param str status: The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the gallery image + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the gallery image + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class GalleryImageStatusResponse(dict): + """ + The observed state of gallery images + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "downloadStatus": + suggest = "download_status" + elif key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "progressPercentage": + suggest = "progress_percentage" + elif key == "provisioningStatus": + suggest = "provisioning_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GalleryImageStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GalleryImageStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GalleryImageStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + download_status: Optional['outputs.GalleryImageStatusDownloadStatusResponse'] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + progress_percentage: Optional[float] = None, + provisioning_status: Optional['outputs.GalleryImageStatusProvisioningStatusResponse'] = None): + """ + The observed state of gallery images + :param 'GalleryImageStatusDownloadStatusResponse' download_status: The download status of the gallery image + :param str error_code: GalleryImage provisioning error code + :param str error_message: Descriptive error message + :param float progress_percentage: The progress of the operation in percentage + :param 'GalleryImageStatusProvisioningStatusResponse' provisioning_status: provisioning status of the gallery image + """ + if download_status is not None: + pulumi.set(__self__, "download_status", download_status) + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if progress_percentage is not None: + pulumi.set(__self__, "progress_percentage", progress_percentage) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + + @property + @pulumi.getter(name="downloadStatus") + def download_status(self) -> Optional['outputs.GalleryImageStatusDownloadStatusResponse']: + """ + The download status of the gallery image + """ + return pulumi.get(self, "download_status") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + GalleryImage provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="progressPercentage") + def progress_percentage(self) -> Optional[float]: + """ + The progress of the operation in percentage + """ + return pulumi.get(self, "progress_percentage") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.GalleryImageStatusProvisioningStatusResponse']: + """ + provisioning status of the gallery image + """ + return pulumi.get(self, "provisioning_status") + + +@pulumi.output_type +class GalleryImageVersionResponse(dict): + """ + Specifies information about the gallery image version that you want to create or update. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "storageProfile": + suggest = "storage_profile" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GalleryImageVersionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GalleryImageVersionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GalleryImageVersionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + storage_profile: 'outputs.GalleryImageVersionStorageProfileResponse', + name: Optional[str] = None): + """ + Specifies information about the gallery image version that you want to create or update. + :param 'GalleryImageVersionStorageProfileResponse' storage_profile: This is the storage profile of a Gallery Image Version. + :param str name: This is the version of the gallery image. + """ + pulumi.set(__self__, "storage_profile", storage_profile) + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> 'outputs.GalleryImageVersionStorageProfileResponse': + """ + This is the storage profile of a Gallery Image Version. + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + This is the version of the gallery image. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GalleryImageVersionStorageProfileResponse(dict): + """ + This is the storage profile of a Gallery Image Version. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "osDiskImage": + suggest = "os_disk_image" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GalleryImageVersionStorageProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GalleryImageVersionStorageProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GalleryImageVersionStorageProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + os_disk_image: Optional['outputs.GalleryOSDiskImageResponse'] = None): + """ + This is the storage profile of a Gallery Image Version. + :param 'GalleryOSDiskImageResponse' os_disk_image: This is the OS disk image. + """ + if os_disk_image is not None: + pulumi.set(__self__, "os_disk_image", os_disk_image) + + @property + @pulumi.getter(name="osDiskImage") + def os_disk_image(self) -> Optional['outputs.GalleryOSDiskImageResponse']: + """ + This is the OS disk image. + """ + return pulumi.get(self, "os_disk_image") + + +@pulumi.output_type +class GalleryOSDiskImageResponse(dict): + """ + This is the OS disk image. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sizeInMB": + suggest = "size_in_mb" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GalleryOSDiskImageResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GalleryOSDiskImageResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GalleryOSDiskImageResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + size_in_mb: float): + """ + This is the OS disk image. + :param float size_in_mb: This property indicates the size of the VHD to be created. + """ + pulumi.set(__self__, "size_in_mb", size_in_mb) + + @property + @pulumi.getter(name="sizeInMB") + def size_in_mb(self) -> float: + """ + This property indicates the size of the VHD to be created. + """ + return pulumi.get(self, "size_in_mb") + + +@pulumi.output_type +class GuestAgentInstallStatusResponse(dict): + """ + Defines the status of a guest agent installation. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "agentVersion": + suggest = "agent_version" + elif key == "errorDetails": + suggest = "error_details" + elif key == "lastStatusChange": + suggest = "last_status_change" + elif key == "vmUuid": + suggest = "vm_uuid" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in GuestAgentInstallStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + GuestAgentInstallStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + GuestAgentInstallStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + agent_version: str, + error_details: Sequence['outputs.ErrorDetailResponse'], + last_status_change: str, + status: str, + vm_uuid: str): + """ + Defines the status of a guest agent installation. + :param str agent_version: The hybrid machine agent full version. + :param Sequence['ErrorDetailResponse'] error_details: Details about the error state. + :param str last_status_change: The time of the last status change. + :param str status: The installation status of the hybrid machine agent installation. + :param str vm_uuid: Specifies the VM's unique SMBIOS ID. + """ + pulumi.set(__self__, "agent_version", agent_version) + pulumi.set(__self__, "error_details", error_details) + pulumi.set(__self__, "last_status_change", last_status_change) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "vm_uuid", vm_uuid) + + @property + @pulumi.getter(name="agentVersion") + def agent_version(self) -> str: + """ + The hybrid machine agent full version. + """ + return pulumi.get(self, "agent_version") + + @property + @pulumi.getter(name="errorDetails") + def error_details(self) -> Sequence['outputs.ErrorDetailResponse']: + """ + Details about the error state. + """ + return pulumi.get(self, "error_details") + + @property + @pulumi.getter(name="lastStatusChange") + def last_status_change(self) -> str: + """ + The time of the last status change. + """ + return pulumi.get(self, "last_status_change") + + @property + @pulumi.getter + def status(self) -> str: + """ + The installation status of the hybrid machine agent installation. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="vmUuid") + def vm_uuid(self) -> str: + """ + Specifies the VM's unique SMBIOS ID. + """ + return pulumi.get(self, "vm_uuid") + + +@pulumi.output_type +class GuestCredentialResponse(dict): + """ + Username / Password Credentials to connect to guest. + """ + def __init__(__self__, *, + username: Optional[str] = None): + """ + Username / Password Credentials to connect to guest. + :param str username: The username to connect with the guest. + """ + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + The username to connect with the guest. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class HttpProxyConfigurationResponse(dict): + """ + HTTP Proxy configuration for the VM. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "httpProxy": + suggest = "http_proxy" + elif key == "httpsProxy": + suggest = "https_proxy" + elif key == "noProxy": + suggest = "no_proxy" + elif key == "trustedCa": + suggest = "trusted_ca" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in HttpProxyConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + HttpProxyConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + HttpProxyConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + http_proxy: Optional[str] = None, + https_proxy: Optional[str] = None, + no_proxy: Optional[Sequence[str]] = None, + trusted_ca: Optional[str] = None): + """ + HTTP Proxy configuration for the VM. + :param str http_proxy: The HTTP proxy server endpoint to use. + :param str https_proxy: The HTTPS proxy server endpoint to use. + :param Sequence[str] no_proxy: The endpoints that should not go through proxy. + :param str trusted_ca: Alternative CA cert to use for connecting to proxy servers. + """ + if http_proxy is not None: + pulumi.set(__self__, "http_proxy", http_proxy) + if https_proxy is not None: + pulumi.set(__self__, "https_proxy", https_proxy) + if no_proxy is not None: + pulumi.set(__self__, "no_proxy", no_proxy) + if trusted_ca is not None: + pulumi.set(__self__, "trusted_ca", trusted_ca) + + @property + @pulumi.getter(name="httpProxy") + def http_proxy(self) -> Optional[str]: + """ + The HTTP proxy server endpoint to use. + """ + return pulumi.get(self, "http_proxy") + + @property + @pulumi.getter(name="httpsProxy") + def https_proxy(self) -> Optional[str]: + """ + The HTTPS proxy server endpoint to use. + """ + return pulumi.get(self, "https_proxy") + + @property + @pulumi.getter(name="noProxy") + def no_proxy(self) -> Optional[Sequence[str]]: + """ + The endpoints that should not go through proxy. + """ + return pulumi.get(self, "no_proxy") + + @property + @pulumi.getter(name="trustedCa") + def trusted_ca(self) -> Optional[str]: + """ + Alternative CA cert to use for connecting to proxy servers. + """ + return pulumi.get(self, "trusted_ca") + + +@pulumi.output_type +class IPConfigurationPropertiesResponse(dict): + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "prefixLength": + suggest = "prefix_length" + elif key == "privateIPAddress": + suggest = "private_ip_address" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IPConfigurationPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IPConfigurationPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IPConfigurationPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + gateway: str, + prefix_length: str, + private_ip_address: Optional[str] = None, + subnet: Optional['outputs.LogicalNetworkArmReferenceResponse'] = None): + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + :param str gateway: Gateway for network interface + :param str prefix_length: prefixLength for network interface + :param str private_ip_address: PrivateIPAddress - Private IP address of the IP configuration. + :param 'LogicalNetworkArmReferenceResponse' subnet: Subnet - Name of Subnet bound to the IP configuration. + """ + pulumi.set(__self__, "gateway", gateway) + pulumi.set(__self__, "prefix_length", prefix_length) + if private_ip_address is not None: + pulumi.set(__self__, "private_ip_address", private_ip_address) + if subnet is not None: + pulumi.set(__self__, "subnet", subnet) + + @property + @pulumi.getter + def gateway(self) -> str: + """ + Gateway for network interface + """ + return pulumi.get(self, "gateway") + + @property + @pulumi.getter(name="prefixLength") + def prefix_length(self) -> str: + """ + prefixLength for network interface + """ + return pulumi.get(self, "prefix_length") + + @property + @pulumi.getter(name="privateIPAddress") + def private_ip_address(self) -> Optional[str]: + """ + PrivateIPAddress - Private IP address of the IP configuration. + """ + return pulumi.get(self, "private_ip_address") + + @property + @pulumi.getter + def subnet(self) -> Optional['outputs.LogicalNetworkArmReferenceResponse']: + """ + Subnet - Name of Subnet bound to the IP configuration. + """ + return pulumi.get(self, "subnet") + + +@pulumi.output_type +class IPConfigurationResponse(dict): + """ + InterfaceIPConfiguration IPConfiguration in a network interface. + """ + def __init__(__self__, *, + name: Optional[str] = None, + properties: Optional['outputs.IPConfigurationPropertiesResponse'] = None): + """ + InterfaceIPConfiguration IPConfiguration in a network interface. + :param str name: Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + :param 'IPConfigurationPropertiesResponse' properties: InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> Optional['outputs.IPConfigurationPropertiesResponse']: + """ + InterfaceIPConfigurationPropertiesFormat properties of IP configuration. + """ + return pulumi.get(self, "properties") + + +@pulumi.output_type +class IPPoolInfoResponse(dict): + """ + IP Pool info + """ + def __init__(__self__, *, + available: str, + used: str): + """ + IP Pool info + :param str available: Number of IP addresses available in the IP Pool + :param str used: Number of IP addresses allocated from the IP Pool + """ + pulumi.set(__self__, "available", available) + pulumi.set(__self__, "used", used) + + @property + @pulumi.getter + def available(self) -> str: + """ + Number of IP addresses available in the IP Pool + """ + return pulumi.get(self, "available") + + @property + @pulumi.getter + def used(self) -> str: + """ + Number of IP addresses allocated from the IP Pool + """ + return pulumi.get(self, "used") + + +@pulumi.output_type +class IPPoolResponse(dict): + """ + Describes IPPool + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipPoolType": + suggest = "ip_pool_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IPPoolResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IPPoolResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IPPoolResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + end: Optional[str] = None, + info: Optional['outputs.IPPoolInfoResponse'] = None, + ip_pool_type: Optional[str] = None, + name: Optional[str] = None, + start: Optional[str] = None): + """ + Describes IPPool + :param str end: End of the IP address pool + :param 'IPPoolInfoResponse' info: IPPool info + :param str ip_pool_type: Type of the IP Pool [vm, vippool] + :param str name: Name of the IP-Pool + :param str start: Start of the IP address pool + """ + if end is not None: + pulumi.set(__self__, "end", end) + if info is not None: + pulumi.set(__self__, "info", info) + if ip_pool_type is not None: + pulumi.set(__self__, "ip_pool_type", ip_pool_type) + if name is not None: + pulumi.set(__self__, "name", name) + if start is not None: + pulumi.set(__self__, "start", start) + + @property + @pulumi.getter + def end(self) -> Optional[str]: + """ + End of the IP address pool + """ + return pulumi.get(self, "end") + + @property + @pulumi.getter + def info(self) -> Optional['outputs.IPPoolInfoResponse']: + """ + IPPool info + """ + return pulumi.get(self, "info") + + @property + @pulumi.getter(name="ipPoolType") + def ip_pool_type(self) -> Optional[str]: + """ + Type of the IP Pool [vm, vippool] + """ + return pulumi.get(self, "ip_pool_type") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name of the IP-Pool + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def start(self) -> Optional[str]: + """ + Start of the IP address pool + """ + return pulumi.get(self, "start") + + +@pulumi.output_type +class ImageArmReferenceResponse(dict): + """ + The ARM ID for a Gallery Image. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The ARM ID for a Gallery Image. + :param str id: The ARM ID for an image resource used by the virtual machine instance. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for an image resource used by the virtual machine instance. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class InstanceViewStatusResponse(dict): + """ + Instance view status. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "displayStatus": + suggest = "display_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InstanceViewStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InstanceViewStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InstanceViewStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + code: Optional[str] = None, + display_status: Optional[str] = None, + level: Optional[str] = None, + message: Optional[str] = None, + time: Optional[str] = None): + """ + Instance view status. + :param str code: The status code. + :param str display_status: The short localizable label for the status. + :param str level: The level code. + :param str message: The detailed status message, including for alerts and error messages. + :param str time: The time of the status. + """ + if code is not None: + pulumi.set(__self__, "code", code) + if display_status is not None: + pulumi.set(__self__, "display_status", display_status) + if level is not None: + pulumi.set(__self__, "level", level) + if message is not None: + pulumi.set(__self__, "message", message) + if time is not None: + pulumi.set(__self__, "time", time) + + @property + @pulumi.getter + def code(self) -> Optional[str]: + """ + The status code. + """ + return pulumi.get(self, "code") + + @property + @pulumi.getter(name="displayStatus") + def display_status(self) -> Optional[str]: + """ + The short localizable label for the status. + """ + return pulumi.get(self, "display_status") + + @property + @pulumi.getter + def level(self) -> Optional[str]: + """ + The level code. + """ + return pulumi.get(self, "level") + + @property + @pulumi.getter + def message(self) -> Optional[str]: + """ + The detailed status message, including for alerts and error messages. + """ + return pulumi.get(self, "message") + + @property + @pulumi.getter + def time(self) -> Optional[str]: + """ + The time of the status. + """ + return pulumi.get(self, "time") + + +@pulumi.output_type +class InterfaceDNSSettingsResponse(dict): + """ + DNS Settings of the interface + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dnsServers": + suggest = "dns_servers" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in InterfaceDNSSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + InterfaceDNSSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + InterfaceDNSSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dns_servers: Optional[Sequence[str]] = None): + """ + DNS Settings of the interface + :param Sequence[str] dns_servers: List of DNS server IP Addresses for the interface + """ + if dns_servers is not None: + pulumi.set(__self__, "dns_servers", dns_servers) + + @property + @pulumi.getter(name="dnsServers") + def dns_servers(self) -> Optional[Sequence[str]]: + """ + List of DNS server IP Addresses for the interface + """ + return pulumi.get(self, "dns_servers") + + +@pulumi.output_type +class LogicalNetworkArmReferenceResponse(dict): + """ + The ARM ID for a Logical Network. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The ARM ID for a Logical Network. + :param str id: The ARM ID for a Logical Network. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for a Logical Network. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class LogicalNetworkPropertiesDhcpOptionsResponse(dict): + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dnsServers": + suggest = "dns_servers" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LogicalNetworkPropertiesDhcpOptionsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LogicalNetworkPropertiesDhcpOptionsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LogicalNetworkPropertiesDhcpOptionsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dns_servers: Optional[Sequence[str]] = None): + """ + DhcpOptions contains an array of DNS servers available to VMs deployed in the logical network. Standard DHCP option for a subnet overrides logical network DHCP options. + :param Sequence[str] dns_servers: The list of DNS servers IP addresses. + """ + if dns_servers is not None: + pulumi.set(__self__, "dns_servers", dns_servers) + + @property + @pulumi.getter(name="dnsServers") + def dns_servers(self) -> Optional[Sequence[str]]: + """ + The list of DNS servers IP addresses. + """ + return pulumi.get(self, "dns_servers") + + +@pulumi.output_type +class LogicalNetworkStatusProvisioningStatusResponse(dict): + """ + Describes the status of the provisioning. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LogicalNetworkStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LogicalNetworkStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LogicalNetworkStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + Describes the status of the provisioning. + :param str status: The status of the operation performed on the logical network [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the logical network + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the logical network [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the logical network + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class LogicalNetworkStatusResponse(dict): + """ + The observed state of logical networks + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "provisioningStatus": + suggest = "provisioning_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LogicalNetworkStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LogicalNetworkStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LogicalNetworkStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + provisioning_status: Optional['outputs.LogicalNetworkStatusProvisioningStatusResponse'] = None): + """ + The observed state of logical networks + :param str error_code: LogicalNetwork provisioning error code + :param str error_message: Descriptive error message + :param 'LogicalNetworkStatusProvisioningStatusResponse' provisioning_status: Logical network provisioning status + """ + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + LogicalNetwork provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.LogicalNetworkStatusProvisioningStatusResponse']: + """ + Logical network provisioning status + """ + return pulumi.get(self, "provisioning_status") + + +@pulumi.output_type +class ManagedServiceIdentityResponse(dict): + """ + Managed service identity (system assigned and/or user assigned identities) + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedServiceIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedServiceIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']] = None): + """ + Managed service identity (system assigned and/or user assigned identities) + :param str principal_id: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str tenant_id: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + :param str type: Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + :param Mapping[str, 'UserAssignedIdentityResponse'] user_assigned_identities: The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedIdentityResponse']]: + """ + The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class MarketplaceGalleryImageStatusDownloadStatusResponse(dict): + """ + The download status of the gallery image + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "downloadSizeInMB": + suggest = "download_size_in_mb" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MarketplaceGalleryImageStatusDownloadStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MarketplaceGalleryImageStatusDownloadStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MarketplaceGalleryImageStatusDownloadStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + download_size_in_mb: Optional[float] = None): + """ + The download status of the gallery image + :param float download_size_in_mb: The downloaded sized of the image in MB + """ + if download_size_in_mb is not None: + pulumi.set(__self__, "download_size_in_mb", download_size_in_mb) + + @property + @pulumi.getter(name="downloadSizeInMB") + def download_size_in_mb(self) -> Optional[float]: + """ + The downloaded sized of the image in MB + """ + return pulumi.get(self, "download_size_in_mb") + + +@pulumi.output_type +class MarketplaceGalleryImageStatusProvisioningStatusResponse(dict): + """ + Marketplace GalleryImage provisioning status + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MarketplaceGalleryImageStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MarketplaceGalleryImageStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MarketplaceGalleryImageStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + Marketplace GalleryImage provisioning status + :param str status: The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the gallery image + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the gallery image [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the gallery image + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class MarketplaceGalleryImageStatusResponse(dict): + """ + The observed state of marketplace gallery images + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "downloadStatus": + suggest = "download_status" + elif key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "progressPercentage": + suggest = "progress_percentage" + elif key == "provisioningStatus": + suggest = "provisioning_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MarketplaceGalleryImageStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MarketplaceGalleryImageStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MarketplaceGalleryImageStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + download_status: Optional['outputs.MarketplaceGalleryImageStatusDownloadStatusResponse'] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + progress_percentage: Optional[float] = None, + provisioning_status: Optional['outputs.MarketplaceGalleryImageStatusProvisioningStatusResponse'] = None): + """ + The observed state of marketplace gallery images + :param 'MarketplaceGalleryImageStatusDownloadStatusResponse' download_status: The download status of the gallery image + :param str error_code: MarketplaceGalleryImage provisioning error code + :param str error_message: Descriptive error message + :param float progress_percentage: The progress of the operation in percentage + :param 'MarketplaceGalleryImageStatusProvisioningStatusResponse' provisioning_status: Provisioning status of marketplace gallery image + """ + if download_status is not None: + pulumi.set(__self__, "download_status", download_status) + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if progress_percentage is not None: + pulumi.set(__self__, "progress_percentage", progress_percentage) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + + @property + @pulumi.getter(name="downloadStatus") + def download_status(self) -> Optional['outputs.MarketplaceGalleryImageStatusDownloadStatusResponse']: + """ + The download status of the gallery image + """ + return pulumi.get(self, "download_status") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + MarketplaceGalleryImage provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="progressPercentage") + def progress_percentage(self) -> Optional[float]: + """ + The progress of the operation in percentage + """ + return pulumi.get(self, "progress_percentage") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.MarketplaceGalleryImageStatusProvisioningStatusResponse']: + """ + Provisioning status of marketplace gallery image + """ + return pulumi.get(self, "provisioning_status") + + +@pulumi.output_type +class NetworkInterfaceArmReferenceResponse(dict): + """ + The ARM ID for a Network Interface. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The ARM ID for a Network Interface. + :param str id: The ARM ID for a Network Interface. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for a Network Interface. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class NetworkInterfaceStatusProvisioningStatusResponse(dict): + """ + Network interface provisioning status + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkInterfaceStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkInterfaceStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkInterfaceStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + Network interface provisioning status + :param str status: The status of the operation performed on the network interface [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the network interface + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the network interface [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the network interface + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class NetworkInterfaceStatusResponse(dict): + """ + The observed state of network interfaces + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "provisioningStatus": + suggest = "provisioning_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkInterfaceStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkInterfaceStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkInterfaceStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + provisioning_status: Optional['outputs.NetworkInterfaceStatusProvisioningStatusResponse'] = None): + """ + The observed state of network interfaces + :param str error_code: NetworkInterface provisioning error code + :param str error_message: Descriptive error message + :param 'NetworkInterfaceStatusProvisioningStatusResponse' provisioning_status: Network interface provisioning status + """ + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + NetworkInterface provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.NetworkInterfaceStatusProvisioningStatusResponse']: + """ + Network interface provisioning status + """ + return pulumi.get(self, "provisioning_status") + + +@pulumi.output_type +class NetworkSecurityGroupArmReferenceResponse(dict): + """ + The ARM ID for a Network Security Group. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The ARM ID for a Network Security Group. + :param str id: The ARM ID for a Network Security Group. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for a Network Security Group. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class RouteResponse(dict): + """ + Route - Route resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "addressPrefix": + suggest = "address_prefix" + elif key == "nextHopIpAddress": + suggest = "next_hop_ip_address" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RouteResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RouteResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RouteResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + address_prefix: Optional[str] = None, + name: Optional[str] = None, + next_hop_ip_address: Optional[str] = None): + """ + Route - Route resource. + :param str address_prefix: The destination CIDR to which the route applies. + :param str name: Name - name of the subnet + :param str next_hop_ip_address: The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + """ + if address_prefix is not None: + pulumi.set(__self__, "address_prefix", address_prefix) + if name is not None: + pulumi.set(__self__, "name", name) + if next_hop_ip_address is not None: + pulumi.set(__self__, "next_hop_ip_address", next_hop_ip_address) + + @property + @pulumi.getter(name="addressPrefix") + def address_prefix(self) -> Optional[str]: + """ + The destination CIDR to which the route applies. + """ + return pulumi.get(self, "address_prefix") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name - name of the subnet + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="nextHopIpAddress") + def next_hop_ip_address(self) -> Optional[str]: + """ + The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. + """ + return pulumi.get(self, "next_hop_ip_address") + + +@pulumi.output_type +class RouteTableResponse(dict): + """ + Route table resource. + """ + def __init__(__self__, *, + etag: str, + name: str, + type: str, + routes: Optional[Sequence['outputs.RouteResponse']] = None): + """ + Route table resource. + :param str etag: A unique read-only string that changes whenever the resource is updated. + :param str name: Resource name. + :param str type: Resource type. + :param Sequence['RouteResponse'] routes: Collection of routes contained within a route table. + """ + pulumi.set(__self__, "etag", etag) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + if routes is not None: + pulumi.set(__self__, "routes", routes) + + @property + @pulumi.getter + def etag(self) -> str: + """ + A unique read-only string that changes whenever the resource is updated. + """ + return pulumi.get(self, "etag") + + @property + @pulumi.getter + def name(self) -> str: + """ + Resource name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + """ + Resource type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def routes(self) -> Optional[Sequence['outputs.RouteResponse']]: + """ + Collection of routes contained within a route table. + """ + return pulumi.get(self, "routes") + + +@pulumi.output_type +class SshConfigurationResponse(dict): + """ + SSH configuration for Linux based VMs running on Azure + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "publicKeys": + suggest = "public_keys" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SshConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SshConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SshConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + public_keys: Optional[Sequence['outputs.SshPublicKeyResponse']] = None): + """ + SSH configuration for Linux based VMs running on Azure + :param Sequence['SshPublicKeyResponse'] public_keys: The list of SSH public keys used to authenticate with linux based VMs. + """ + if public_keys is not None: + pulumi.set(__self__, "public_keys", public_keys) + + @property + @pulumi.getter(name="publicKeys") + def public_keys(self) -> Optional[Sequence['outputs.SshPublicKeyResponse']]: + """ + The list of SSH public keys used to authenticate with linux based VMs. + """ + return pulumi.get(self, "public_keys") + + +@pulumi.output_type +class SshPublicKeyResponse(dict): + """ + Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "keyData": + suggest = "key_data" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SshPublicKeyResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SshPublicKeyResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SshPublicKeyResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + key_data: Optional[str] = None, + path: Optional[str] = None): + """ + Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed. + :param str key_data: 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + :param str path: 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 + """ + if key_data is not None: + pulumi.set(__self__, "key_data", key_data) + if path is not None: + pulumi.set(__self__, "path", path) + + @property + @pulumi.getter(name="keyData") + def key_data(self) -> Optional[str]: + """ + 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.

For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://learn.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + """ + return pulumi.get(self, "key_data") + + @property + @pulumi.getter + def path(self) -> Optional[str]: + """ + 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 + """ + return pulumi.get(self, "path") + + +@pulumi.output_type +class StorageContainerStatusProvisioningStatusResponse(dict): + """ + Storage container provisioning status + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StorageContainerStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StorageContainerStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StorageContainerStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + Storage container provisioning status + :param str status: The status of the operation performed on the storage container [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the storage container + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the storage container [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the storage container + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class StorageContainerStatusResponse(dict): + """ + The observed state of storage containers + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "availableSizeMB": + suggest = "available_size_mb" + elif key == "containerSizeMB": + suggest = "container_size_mb" + elif key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "provisioningStatus": + suggest = "provisioning_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in StorageContainerStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + StorageContainerStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + StorageContainerStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + available_size_mb: Optional[float] = None, + container_size_mb: Optional[float] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + provisioning_status: Optional['outputs.StorageContainerStatusProvisioningStatusResponse'] = None): + """ + The observed state of storage containers + :param float available_size_mb: Amount of space available on the disk in MB + :param float container_size_mb: Total size of the disk in MB + :param str error_code: StorageContainer provisioning error code + :param str error_message: Descriptive error message + :param 'StorageContainerStatusProvisioningStatusResponse' provisioning_status: Storage container's provisioning status + """ + if available_size_mb is not None: + pulumi.set(__self__, "available_size_mb", available_size_mb) + if container_size_mb is not None: + pulumi.set(__self__, "container_size_mb", container_size_mb) + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + + @property + @pulumi.getter(name="availableSizeMB") + def available_size_mb(self) -> Optional[float]: + """ + Amount of space available on the disk in MB + """ + return pulumi.get(self, "available_size_mb") + + @property + @pulumi.getter(name="containerSizeMB") + def container_size_mb(self) -> Optional[float]: + """ + Total size of the disk in MB + """ + return pulumi.get(self, "container_size_mb") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + StorageContainer provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.StorageContainerStatusProvisioningStatusResponse']: + """ + Storage container's provisioning status + """ + return pulumi.get(self, "provisioning_status") + + +@pulumi.output_type +class SubnetIpConfigurationReferenceResponse(dict): + """ + The ARM ID for a Network Interface. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The ARM ID for a Network Interface. + :param str id: The ARM ID for a Network Interface. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for a Network Interface. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class SubnetResponse(dict): + """ + Properties of the subnet. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "addressPrefix": + suggest = "address_prefix" + elif key == "addressPrefixes": + suggest = "address_prefixes" + elif key == "ipAllocationMethod": + suggest = "ip_allocation_method" + elif key == "ipConfigurationReferences": + suggest = "ip_configuration_references" + elif key == "ipPools": + suggest = "ip_pools" + elif key == "networkSecurityGroup": + suggest = "network_security_group" + elif key == "routeTable": + suggest = "route_table" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SubnetResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SubnetResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SubnetResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + address_prefix: Optional[str] = None, + address_prefixes: Optional[Sequence[str]] = None, + ip_allocation_method: Optional[str] = None, + ip_configuration_references: Optional[Sequence['outputs.SubnetIpConfigurationReferenceResponse']] = None, + ip_pools: Optional[Sequence['outputs.IPPoolResponse']] = None, + name: Optional[str] = None, + network_security_group: Optional['outputs.NetworkSecurityGroupArmReferenceResponse'] = None, + route_table: Optional['outputs.RouteTableResponse'] = None, + vlan: Optional[int] = None): + """ + Properties of the subnet. + :param str address_prefix: The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + :param Sequence[str] address_prefixes: List of address prefixes for the subnet. + :param str ip_allocation_method: IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + :param Sequence['SubnetIpConfigurationReferenceResponse'] ip_configuration_references: IPConfigurationReferences - list of IPConfigurationReferences + :param Sequence['IPPoolResponse'] ip_pools: network associated pool of IP Addresses + :param str name: Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + :param 'NetworkSecurityGroupArmReferenceResponse' network_security_group: NetworkSecurityGroup - Network Security Group attached to the logical network. + :param 'RouteTableResponse' route_table: Route table resource. + :param int vlan: Vlan to use for the subnet + """ + if address_prefix is not None: + pulumi.set(__self__, "address_prefix", address_prefix) + if address_prefixes is not None: + pulumi.set(__self__, "address_prefixes", address_prefixes) + if ip_allocation_method is not None: + pulumi.set(__self__, "ip_allocation_method", ip_allocation_method) + if ip_configuration_references is not None: + pulumi.set(__self__, "ip_configuration_references", ip_configuration_references) + if ip_pools is not None: + pulumi.set(__self__, "ip_pools", ip_pools) + if name is not None: + pulumi.set(__self__, "name", name) + if network_security_group is not None: + pulumi.set(__self__, "network_security_group", network_security_group) + if route_table is not None: + pulumi.set(__self__, "route_table", route_table) + if vlan is not None: + pulumi.set(__self__, "vlan", vlan) + + @property + @pulumi.getter(name="addressPrefix") + def address_prefix(self) -> Optional[str]: + """ + The address prefix for the subnet: Cidr for this subnet - IPv4, IPv6. + """ + return pulumi.get(self, "address_prefix") + + @property + @pulumi.getter(name="addressPrefixes") + def address_prefixes(self) -> Optional[Sequence[str]]: + """ + List of address prefixes for the subnet. + """ + return pulumi.get(self, "address_prefixes") + + @property + @pulumi.getter(name="ipAllocationMethod") + def ip_allocation_method(self) -> Optional[str]: + """ + IPAllocationMethod - The IP address allocation method. Possible values include: 'Static', 'Dynamic' + """ + return pulumi.get(self, "ip_allocation_method") + + @property + @pulumi.getter(name="ipConfigurationReferences") + def ip_configuration_references(self) -> Optional[Sequence['outputs.SubnetIpConfigurationReferenceResponse']]: + """ + IPConfigurationReferences - list of IPConfigurationReferences + """ + return pulumi.get(self, "ip_configuration_references") + + @property + @pulumi.getter(name="ipPools") + def ip_pools(self) -> Optional[Sequence['outputs.IPPoolResponse']]: + """ + network associated pool of IP Addresses + """ + return pulumi.get(self, "ip_pools") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Name - The name of the resource that is unique within a resource group. This name can be used to access the resource. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkSecurityGroup") + def network_security_group(self) -> Optional['outputs.NetworkSecurityGroupArmReferenceResponse']: + """ + NetworkSecurityGroup - Network Security Group attached to the logical network. + """ + return pulumi.get(self, "network_security_group") + + @property + @pulumi.getter(name="routeTable") + def route_table(self) -> Optional['outputs.RouteTableResponse']: + """ + Route table resource. + """ + return pulumi.get(self, "route_table") + + @property + @pulumi.getter + def vlan(self) -> Optional[int]: + """ + Vlan to use for the subnet + """ + return pulumi.get(self, "vlan") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UserAssignedIdentityResponse(dict): + """ + User assigned identity properties + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + User assigned identity properties + :param str client_id: The client ID of the assigned identity. + :param str principal_id: The principal ID of the assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of the assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the assigned identity. + """ + return pulumi.get(self, "principal_id") + + +@pulumi.output_type +class VMDiskSecurityProfileResponse(dict): + """ + Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "securityEncryptionType": + suggest = "security_encryption_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VMDiskSecurityProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VMDiskSecurityProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VMDiskSecurityProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + security_encryption_type: Optional[str] = None): + """ + Specifies the security profile settings for the managed disk. NOTE: It can only be set for Confidential VMs + :param str security_encryption_type: Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + """ + if security_encryption_type is not None: + pulumi.set(__self__, "security_encryption_type", security_encryption_type) + + @property + @pulumi.getter(name="securityEncryptionType") + def security_encryption_type(self) -> Optional[str]: + """ + Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs. + """ + return pulumi.get(self, "security_encryption_type") + + +@pulumi.output_type +class VirtualHardDiskArmReferenceResponse(dict): + """ + The ARM ID for a Virtual Hard Disk. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The ARM ID for a Virtual Hard Disk. + :param str id: The ARM ID for a Virtual Hard Disk. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for a Virtual Hard Disk. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class VirtualHardDiskDownloadStatusResponse(dict): + """ + The download status of the virtual hard disk + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "downloadedSizeInMB": + suggest = "downloaded_size_in_mb" + elif key == "progressPercentage": + suggest = "progress_percentage" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualHardDiskDownloadStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualHardDiskDownloadStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualHardDiskDownloadStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + downloaded_size_in_mb: Optional[float] = None, + progress_percentage: Optional[float] = None): + """ + The download status of the virtual hard disk + :param str status: The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + :param float downloaded_size_in_mb: The downloaded sized of the virtual hard disk in MB + :param float progress_percentage: The progress of the operation in percentage + """ + pulumi.set(__self__, "status", status) + if downloaded_size_in_mb is not None: + pulumi.set(__self__, "downloaded_size_in_mb", downloaded_size_in_mb) + if progress_percentage is not None: + pulumi.set(__self__, "progress_percentage", progress_percentage) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="downloadedSizeInMB") + def downloaded_size_in_mb(self) -> Optional[float]: + """ + The downloaded sized of the virtual hard disk in MB + """ + return pulumi.get(self, "downloaded_size_in_mb") + + @property + @pulumi.getter(name="progressPercentage") + def progress_percentage(self) -> Optional[float]: + """ + The progress of the operation in percentage + """ + return pulumi.get(self, "progress_percentage") + + +@pulumi.output_type +class VirtualHardDiskStatusProvisioningStatusResponse(dict): + """ + VHD Status provisioning status + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualHardDiskStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualHardDiskStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualHardDiskStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + VHD Status provisioning status + :param str status: The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the virtual hard disk + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the virtual hard disk [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the virtual hard disk + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class VirtualHardDiskStatusResponse(dict): + """ + The observed state of virtual hard disks + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "downloadStatus": + suggest = "download_status" + elif key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "provisioningStatus": + suggest = "provisioning_status" + elif key == "uploadStatus": + suggest = "upload_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualHardDiskStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualHardDiskStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualHardDiskStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + download_status: Optional['outputs.VirtualHardDiskDownloadStatusResponse'] = None, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + provisioning_status: Optional['outputs.VirtualHardDiskStatusProvisioningStatusResponse'] = None, + upload_status: Optional['outputs.VirtualHardDiskUploadStatusResponse'] = None): + """ + The observed state of virtual hard disks + :param 'VirtualHardDiskDownloadStatusResponse' download_status: The download status of the virtual hard disk + :param str error_code: VirtualHardDisk provisioning error code + :param str error_message: Descriptive error message + :param 'VirtualHardDiskStatusProvisioningStatusResponse' provisioning_status: Provisioning status of the vhd + :param 'VirtualHardDiskUploadStatusResponse' upload_status: The upload status of the virtual hard disk + """ + if download_status is not None: + pulumi.set(__self__, "download_status", download_status) + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + if upload_status is not None: + pulumi.set(__self__, "upload_status", upload_status) + + @property + @pulumi.getter(name="downloadStatus") + def download_status(self) -> Optional['outputs.VirtualHardDiskDownloadStatusResponse']: + """ + The download status of the virtual hard disk + """ + return pulumi.get(self, "download_status") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + VirtualHardDisk provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.VirtualHardDiskStatusProvisioningStatusResponse']: + """ + Provisioning status of the vhd + """ + return pulumi.get(self, "provisioning_status") + + @property + @pulumi.getter(name="uploadStatus") + def upload_status(self) -> Optional['outputs.VirtualHardDiskUploadStatusResponse']: + """ + The upload status of the virtual hard disk + """ + return pulumi.get(self, "upload_status") + + +@pulumi.output_type +class VirtualHardDiskUploadStatusResponse(dict): + """ + The upload status of the virtual hard disk + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "progressPercentage": + suggest = "progress_percentage" + elif key == "uploadedSizeInMB": + suggest = "uploaded_size_in_mb" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualHardDiskUploadStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualHardDiskUploadStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualHardDiskUploadStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + progress_percentage: Optional[float] = None, + uploaded_size_in_mb: Optional[float] = None): + """ + The upload status of the virtual hard disk + :param str status: The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + :param str error_code: VirtualHardDisk upload error code + :param str error_message: Descriptive upload error message + :param float progress_percentage: The progress of the operation in percentage + :param float uploaded_size_in_mb: The uploaded sized of the virtual hard disk in MB + """ + pulumi.set(__self__, "status", status) + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if progress_percentage is not None: + pulumi.set(__self__, "progress_percentage", progress_percentage) + if uploaded_size_in_mb is not None: + pulumi.set(__self__, "uploaded_size_in_mb", uploaded_size_in_mb) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of Uploading virtual hard disk [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + VirtualHardDisk upload error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive upload error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="progressPercentage") + def progress_percentage(self) -> Optional[float]: + """ + The progress of the operation in percentage + """ + return pulumi.get(self, "progress_percentage") + + @property + @pulumi.getter(name="uploadedSizeInMB") + def uploaded_size_in_mb(self) -> Optional[float]: + """ + The uploaded sized of the virtual hard disk in MB + """ + return pulumi.get(self, "uploaded_size_in_mb") + + +@pulumi.output_type +class VirtualMachineConfigAgentInstanceViewResponse(dict): + """ + The instance view of the VM Config Agent running on the virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "vmConfigAgentVersion": + suggest = "vm_config_agent_version" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineConfigAgentInstanceViewResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineConfigAgentInstanceViewResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineConfigAgentInstanceViewResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + statuses: Optional[Sequence['outputs.InstanceViewStatusResponse']] = None, + vm_config_agent_version: Optional[str] = None): + """ + The instance view of the VM Config Agent running on the virtual machine. + :param Sequence['InstanceViewStatusResponse'] statuses: The resource status information. + :param str vm_config_agent_version: The VM Config Agent full version. + """ + if statuses is not None: + pulumi.set(__self__, "statuses", statuses) + if vm_config_agent_version is not None: + pulumi.set(__self__, "vm_config_agent_version", vm_config_agent_version) + + @property + @pulumi.getter + def statuses(self) -> Optional[Sequence['outputs.InstanceViewStatusResponse']]: + """ + The resource status information. + """ + return pulumi.get(self, "statuses") + + @property + @pulumi.getter(name="vmConfigAgentVersion") + def vm_config_agent_version(self) -> Optional[str]: + """ + The VM Config Agent full version. + """ + return pulumi.get(self, "vm_config_agent_version") + + +@pulumi.output_type +class VirtualMachineInstanceManagedDiskParametersResponse(dict): + """ + The parameters of a managed disk. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "securityProfile": + suggest = "security_profile" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstanceManagedDiskParametersResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstanceManagedDiskParametersResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstanceManagedDiskParametersResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + security_profile: Optional['outputs.VMDiskSecurityProfileResponse'] = None): + """ + The parameters of a managed disk. + :param 'VMDiskSecurityProfileResponse' security_profile: Specifies the security profile for the managed disk. + """ + if security_profile is not None: + pulumi.set(__self__, "security_profile", security_profile) + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional['outputs.VMDiskSecurityProfileResponse']: + """ + Specifies the security profile for the managed disk. + """ + return pulumi.get(self, "security_profile") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse(dict): + """ + Dynamic memory config + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "maximumMemoryMB": + suggest = "maximum_memory_mb" + elif key == "minimumMemoryMB": + suggest = "minimum_memory_mb" + elif key == "targetMemoryBuffer": + suggest = "target_memory_buffer" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + maximum_memory_mb: Optional[float] = None, + minimum_memory_mb: Optional[float] = None, + target_memory_buffer: Optional[int] = None): + """ + Dynamic memory config + :param float maximum_memory_mb: Maximum memory in MB + :param float minimum_memory_mb: Minimum memory in MB + :param int target_memory_buffer: Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + """ + if maximum_memory_mb is not None: + pulumi.set(__self__, "maximum_memory_mb", maximum_memory_mb) + if minimum_memory_mb is not None: + pulumi.set(__self__, "minimum_memory_mb", minimum_memory_mb) + if target_memory_buffer is not None: + pulumi.set(__self__, "target_memory_buffer", target_memory_buffer) + + @property + @pulumi.getter(name="maximumMemoryMB") + def maximum_memory_mb(self) -> Optional[float]: + """ + Maximum memory in MB + """ + return pulumi.get(self, "maximum_memory_mb") + + @property + @pulumi.getter(name="minimumMemoryMB") + def minimum_memory_mb(self) -> Optional[float]: + """ + Minimum memory in MB + """ + return pulumi.get(self, "minimum_memory_mb") + + @property + @pulumi.getter(name="targetMemoryBuffer") + def target_memory_buffer(self) -> Optional[int]: + """ + Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000. + """ + return pulumi.get(self, "target_memory_buffer") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesHardwareProfileResponse(dict): + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dynamicMemoryConfig": + suggest = "dynamic_memory_config" + elif key == "memoryMB": + suggest = "memory_mb" + elif key == "virtualMachineGPUs": + suggest = "virtual_machine_gpus" + elif key == "vmSize": + suggest = "vm_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesHardwareProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesHardwareProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesHardwareProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dynamic_memory_config: Optional['outputs.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse'] = None, + memory_mb: Optional[float] = None, + processors: Optional[int] = None, + virtual_machine_gpus: Optional[Sequence['outputs.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse']] = None, + vm_size: Optional[str] = None): + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + :param 'VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse' dynamic_memory_config: Dynamic memory config + :param float memory_mb: RAM in MB for the virtual machine instance + :param int processors: number of processors for the virtual machine instance + :param Sequence['VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse'] virtual_machine_gpus: virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + :param str vm_size: Enum of VM Sizes + """ + if dynamic_memory_config is not None: + pulumi.set(__self__, "dynamic_memory_config", dynamic_memory_config) + if memory_mb is not None: + pulumi.set(__self__, "memory_mb", memory_mb) + if processors is not None: + pulumi.set(__self__, "processors", processors) + if virtual_machine_gpus is not None: + pulumi.set(__self__, "virtual_machine_gpus", virtual_machine_gpus) + if vm_size is None: + vm_size = 'Default' + if vm_size is not None: + pulumi.set(__self__, "vm_size", vm_size) + + @property + @pulumi.getter(name="dynamicMemoryConfig") + def dynamic_memory_config(self) -> Optional['outputs.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse']: + """ + Dynamic memory config + """ + return pulumi.get(self, "dynamic_memory_config") + + @property + @pulumi.getter(name="memoryMB") + def memory_mb(self) -> Optional[float]: + """ + RAM in MB for the virtual machine instance + """ + return pulumi.get(self, "memory_mb") + + @property + @pulumi.getter + def processors(self) -> Optional[int]: + """ + number of processors for the virtual machine instance + """ + return pulumi.get(self, "processors") + + @property + @pulumi.getter(name="virtualMachineGPUs") + def virtual_machine_gpus(self) -> Optional[Sequence['outputs.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse']]: + """ + virtualMachineGPUs - list of gpus to be attached to the virtual machine instance + """ + return pulumi.get(self, "virtual_machine_gpus") + + @property + @pulumi.getter(name="vmSize") + def vm_size(self) -> Optional[str]: + """ + Enum of VM Sizes + """ + return pulumi.get(self, "vm_size") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse(dict): + """ + GPU properties - describes the GPU configuration. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "assignmentType": + suggest = "assignment_type" + elif key == "gpuName": + suggest = "gpu_name" + elif key == "partitionSizeMB": + suggest = "partition_size_mb" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + assignment_type: str, + gpu_name: Optional[str] = None, + partition_size_mb: Optional[float] = None): + """ + GPU properties - describes the GPU configuration. + :param str assignment_type: GPU assignment type + :param str gpu_name: Name of the GPU + :param float partition_size_mb: Size of gpu partition in MB for GPU-P + """ + pulumi.set(__self__, "assignment_type", assignment_type) + if gpu_name is not None: + pulumi.set(__self__, "gpu_name", gpu_name) + if partition_size_mb is not None: + pulumi.set(__self__, "partition_size_mb", partition_size_mb) + + @property + @pulumi.getter(name="assignmentType") + def assignment_type(self) -> str: + """ + GPU assignment type + """ + return pulumi.get(self, "assignment_type") + + @property + @pulumi.getter(name="gpuName") + def gpu_name(self) -> Optional[str]: + """ + Name of the GPU + """ + return pulumi.get(self, "gpu_name") + + @property + @pulumi.getter(name="partitionSizeMB") + def partition_size_mb(self) -> Optional[float]: + """ + Size of gpu partition in MB for GPU-P + """ + return pulumi.get(self, "partition_size_mb") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesNetworkProfileResponse(dict): + """ + NetworkProfile - describes the network configuration the virtual machine instance + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "networkInterfaces": + suggest = "network_interfaces" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesNetworkProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesNetworkProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesNetworkProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + network_interfaces: Optional[Sequence['outputs.NetworkInterfaceArmReferenceResponse']] = None): + """ + NetworkProfile - describes the network configuration the virtual machine instance + :param Sequence['NetworkInterfaceArmReferenceResponse'] network_interfaces: NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + """ + if network_interfaces is not None: + pulumi.set(__self__, "network_interfaces", network_interfaces) + + @property + @pulumi.getter(name="networkInterfaces") + def network_interfaces(self) -> Optional[Sequence['outputs.NetworkInterfaceArmReferenceResponse']]: + """ + NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance + """ + return pulumi.get(self, "network_interfaces") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse(dict): + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "disablePasswordAuthentication": + suggest = "disable_password_authentication" + elif key == "provisionVMAgent": + suggest = "provision_vm_agent" + elif key == "provisionVMConfigAgent": + suggest = "provision_vm_config_agent" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + disable_password_authentication: Optional[bool] = None, + provision_vm_agent: Optional[bool] = None, + provision_vm_config_agent: Optional[bool] = None, + ssh: Optional['outputs.SshConfigurationResponse'] = None): + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + :param bool disable_password_authentication: DisablePasswordAuthentication - whether password authentication should be disabled + :param bool provision_vm_agent: Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + :param bool provision_vm_config_agent: Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + :param 'SshConfigurationResponse' ssh: Specifies the ssh key configuration for a Linux OS. + """ + if disable_password_authentication is not None: + pulumi.set(__self__, "disable_password_authentication", disable_password_authentication) + if provision_vm_agent is None: + provision_vm_agent = True + if provision_vm_agent is not None: + pulumi.set(__self__, "provision_vm_agent", provision_vm_agent) + if provision_vm_config_agent is None: + provision_vm_config_agent = True + if provision_vm_config_agent is not None: + pulumi.set(__self__, "provision_vm_config_agent", provision_vm_config_agent) + if ssh is not None: + pulumi.set(__self__, "ssh", ssh) + + @property + @pulumi.getter(name="disablePasswordAuthentication") + def disable_password_authentication(self) -> Optional[bool]: + """ + DisablePasswordAuthentication - whether password authentication should be disabled + """ + return pulumi.get(self, "disable_password_authentication") + + @property + @pulumi.getter(name="provisionVMAgent") + def provision_vm_agent(self) -> Optional[bool]: + """ + Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + """ + return pulumi.get(self, "provision_vm_agent") + + @property + @pulumi.getter(name="provisionVMConfigAgent") + def provision_vm_config_agent(self) -> Optional[bool]: + """ + Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + """ + return pulumi.get(self, "provision_vm_config_agent") + + @property + @pulumi.getter + def ssh(self) -> Optional['outputs.SshConfigurationResponse']: + """ + Specifies the ssh key configuration for a Linux OS. + """ + return pulumi.get(self, "ssh") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesOsProfileResponse(dict): + """ + OsProfile - describes the configuration of the operating system and sets login data + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "adminUsername": + suggest = "admin_username" + elif key == "computerName": + suggest = "computer_name" + elif key == "linuxConfiguration": + suggest = "linux_configuration" + elif key == "windowsConfiguration": + suggest = "windows_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesOsProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesOsProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesOsProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + admin_username: Optional[str] = None, + computer_name: Optional[str] = None, + linux_configuration: Optional['outputs.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse'] = None, + windows_configuration: Optional['outputs.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse'] = None): + """ + OsProfile - describes the configuration of the operating system and sets login data + :param str admin_username: AdminUsername - admin username + :param str computer_name: ComputerName - name of the compute + :param 'VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse' linux_configuration: LinuxConfiguration - linux specific configuration values for the virtual machine instance + :param 'VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse' windows_configuration: Windows Configuration for the virtual machine instance + """ + if admin_username is not None: + pulumi.set(__self__, "admin_username", admin_username) + if computer_name is not None: + pulumi.set(__self__, "computer_name", computer_name) + if linux_configuration is not None: + pulumi.set(__self__, "linux_configuration", linux_configuration) + if windows_configuration is not None: + pulumi.set(__self__, "windows_configuration", windows_configuration) + + @property + @pulumi.getter(name="adminUsername") + def admin_username(self) -> Optional[str]: + """ + AdminUsername - admin username + """ + return pulumi.get(self, "admin_username") + + @property + @pulumi.getter(name="computerName") + def computer_name(self) -> Optional[str]: + """ + ComputerName - name of the compute + """ + return pulumi.get(self, "computer_name") + + @property + @pulumi.getter(name="linuxConfiguration") + def linux_configuration(self) -> Optional['outputs.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse']: + """ + LinuxConfiguration - linux specific configuration values for the virtual machine instance + """ + return pulumi.get(self, "linux_configuration") + + @property + @pulumi.getter(name="windowsConfiguration") + def windows_configuration(self) -> Optional['outputs.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse']: + """ + Windows Configuration for the virtual machine instance + """ + return pulumi.get(self, "windows_configuration") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse(dict): + """ + Windows Configuration for the virtual machine instance + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "enableAutomaticUpdates": + suggest = "enable_automatic_updates" + elif key == "provisionVMAgent": + suggest = "provision_vm_agent" + elif key == "provisionVMConfigAgent": + suggest = "provision_vm_config_agent" + elif key == "timeZone": + suggest = "time_zone" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enable_automatic_updates: Optional[bool] = None, + provision_vm_agent: Optional[bool] = None, + provision_vm_config_agent: Optional[bool] = None, + ssh: Optional['outputs.SshConfigurationResponse'] = None, + time_zone: Optional[str] = None): + """ + Windows Configuration for the virtual machine instance + :param bool enable_automatic_updates: Whether to EnableAutomaticUpdates on the machine + :param bool provision_vm_agent: Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + :param bool provision_vm_config_agent: Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + :param 'SshConfigurationResponse' ssh: Specifies the ssh key configuration for Windows OS. + :param str time_zone: TimeZone for the virtual machine instance + """ + if enable_automatic_updates is not None: + pulumi.set(__self__, "enable_automatic_updates", enable_automatic_updates) + if provision_vm_agent is None: + provision_vm_agent = True + if provision_vm_agent is not None: + pulumi.set(__self__, "provision_vm_agent", provision_vm_agent) + if provision_vm_config_agent is None: + provision_vm_config_agent = True + if provision_vm_config_agent is not None: + pulumi.set(__self__, "provision_vm_config_agent", provision_vm_config_agent) + if ssh is not None: + pulumi.set(__self__, "ssh", ssh) + if time_zone is not None: + pulumi.set(__self__, "time_zone", time_zone) + + @property + @pulumi.getter(name="enableAutomaticUpdates") + def enable_automatic_updates(self) -> Optional[bool]: + """ + Whether to EnableAutomaticUpdates on the machine + """ + return pulumi.get(self, "enable_automatic_updates") + + @property + @pulumi.getter(name="provisionVMAgent") + def provision_vm_agent(self) -> Optional[bool]: + """ + Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process. + """ + return pulumi.get(self, "provision_vm_agent") + + @property + @pulumi.getter(name="provisionVMConfigAgent") + def provision_vm_config_agent(self) -> Optional[bool]: + """ + Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process. + """ + return pulumi.get(self, "provision_vm_config_agent") + + @property + @pulumi.getter + def ssh(self) -> Optional['outputs.SshConfigurationResponse']: + """ + Specifies the ssh key configuration for Windows OS. + """ + return pulumi.get(self, "ssh") + + @property + @pulumi.getter(name="timeZone") + def time_zone(self) -> Optional[str]: + """ + TimeZone for the virtual machine instance + """ + return pulumi.get(self, "time_zone") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesSecurityProfileResponse(dict): + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "enableTPM": + suggest = "enable_tpm" + elif key == "securityType": + suggest = "security_type" + elif key == "uefiSettings": + suggest = "uefi_settings" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesSecurityProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesSecurityProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesSecurityProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + enable_tpm: Optional[bool] = None, + security_type: Optional[str] = None, + uefi_settings: Optional['outputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse'] = None): + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + :param bool enable_tpm: Enable TPM flag + :param str security_type: Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + :param 'VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse' uefi_settings: Uefi settings of the virtual machine instance + """ + if enable_tpm is None: + enable_tpm = False + if enable_tpm is not None: + pulumi.set(__self__, "enable_tpm", enable_tpm) + if security_type is not None: + pulumi.set(__self__, "security_type", security_type) + if uefi_settings is not None: + pulumi.set(__self__, "uefi_settings", uefi_settings) + + @property + @pulumi.getter(name="enableTPM") + def enable_tpm(self) -> Optional[bool]: + """ + Enable TPM flag + """ + return pulumi.get(self, "enable_tpm") + + @property + @pulumi.getter(name="securityType") + def security_type(self) -> Optional[str]: + """ + Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function. + """ + return pulumi.get(self, "security_type") + + @property + @pulumi.getter(name="uefiSettings") + def uefi_settings(self) -> Optional['outputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse']: + """ + Uefi settings of the virtual machine instance + """ + return pulumi.get(self, "uefi_settings") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse(dict): + """ + Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "secureBootEnabled": + suggest = "secure_boot_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + secure_boot_enabled: Optional[bool] = None): + """ + Uefi settings - Specifies whether secure boot should be enabled on the virtual machine instance. + :param bool secure_boot_enabled: Specifies whether secure boot should be enabled on the virtual machine instance. + """ + if secure_boot_enabled is None: + secure_boot_enabled = False + if secure_boot_enabled is not None: + pulumi.set(__self__, "secure_boot_enabled", secure_boot_enabled) + + @property + @pulumi.getter(name="secureBootEnabled") + def secure_boot_enabled(self) -> Optional[bool]: + """ + Specifies whether secure boot should be enabled on the virtual machine instance. + """ + return pulumi.get(self, "secure_boot_enabled") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesStorageProfileOsDiskResponse(dict): + """ + VHD to attach as OS disk + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "managedDisk": + suggest = "managed_disk" + elif key == "osType": + suggest = "os_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesStorageProfileOsDiskResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesStorageProfileOsDiskResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesStorageProfileOsDiskResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + id: Optional[str] = None, + managed_disk: Optional['outputs.VirtualMachineInstanceManagedDiskParametersResponse'] = None, + os_type: Optional[str] = None): + """ + VHD to attach as OS disk + :param str id: The ARM ID for a Virtual Hard Disk. + :param 'VirtualMachineInstanceManagedDiskParametersResponse' managed_disk: The managed disk parameters. + :param str os_type: 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. Possible values are: Windows, Linux. + """ + if id is not None: + pulumi.set(__self__, "id", id) + if managed_disk is not None: + pulumi.set(__self__, "managed_disk", managed_disk) + if os_type is not None: + pulumi.set(__self__, "os_type", os_type) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The ARM ID for a Virtual Hard Disk. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="managedDisk") + def managed_disk(self) -> Optional['outputs.VirtualMachineInstanceManagedDiskParametersResponse']: + """ + The managed disk parameters. + """ + return pulumi.get(self, "managed_disk") + + @property + @pulumi.getter(name="osType") + def os_type(self) -> Optional[str]: + """ + 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. Possible values are: Windows, Linux. + """ + return pulumi.get(self, "os_type") + + +@pulumi.output_type +class VirtualMachineInstancePropertiesStorageProfileResponse(dict): + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dataDisks": + suggest = "data_disks" + elif key == "imageReference": + suggest = "image_reference" + elif key == "osDisk": + suggest = "os_disk" + elif key == "vmConfigStoragePathId": + suggest = "vm_config_storage_path_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstancePropertiesStorageProfileResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstancePropertiesStorageProfileResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstancePropertiesStorageProfileResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + data_disks: Optional[Sequence['outputs.VirtualHardDiskArmReferenceResponse']] = None, + image_reference: Optional['outputs.ImageArmReferenceResponse'] = None, + os_disk: Optional['outputs.VirtualMachineInstancePropertiesStorageProfileOsDiskResponse'] = None, + vm_config_storage_path_id: Optional[str] = None): + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + :param Sequence['VirtualHardDiskArmReferenceResponse'] data_disks: adds data disks to the virtual machine instance + :param 'ImageArmReferenceResponse' image_reference: Which Image to use for the virtual machine instance + :param 'VirtualMachineInstancePropertiesStorageProfileOsDiskResponse' os_disk: VHD to attach as OS disk + :param str vm_config_storage_path_id: Id of the storage container that hosts the VM configuration file + """ + if data_disks is not None: + pulumi.set(__self__, "data_disks", data_disks) + if image_reference is not None: + pulumi.set(__self__, "image_reference", image_reference) + if os_disk is not None: + pulumi.set(__self__, "os_disk", os_disk) + if vm_config_storage_path_id is not None: + pulumi.set(__self__, "vm_config_storage_path_id", vm_config_storage_path_id) + + @property + @pulumi.getter(name="dataDisks") + def data_disks(self) -> Optional[Sequence['outputs.VirtualHardDiskArmReferenceResponse']]: + """ + adds data disks to the virtual machine instance + """ + return pulumi.get(self, "data_disks") + + @property + @pulumi.getter(name="imageReference") + def image_reference(self) -> Optional['outputs.ImageArmReferenceResponse']: + """ + Which Image to use for the virtual machine instance + """ + return pulumi.get(self, "image_reference") + + @property + @pulumi.getter(name="osDisk") + def os_disk(self) -> Optional['outputs.VirtualMachineInstancePropertiesStorageProfileOsDiskResponse']: + """ + VHD to attach as OS disk + """ + return pulumi.get(self, "os_disk") + + @property + @pulumi.getter(name="vmConfigStoragePathId") + def vm_config_storage_path_id(self) -> Optional[str]: + """ + Id of the storage container that hosts the VM configuration file + """ + return pulumi.get(self, "vm_config_storage_path_id") + + +@pulumi.output_type +class VirtualMachineInstanceStatusProvisioningStatusResponse(dict): + """ + Virtual machine instance provisioning status. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "operationId": + suggest = "operation_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstanceStatusProvisioningStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstanceStatusProvisioningStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstanceStatusProvisioningStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + status: str, + operation_id: Optional[str] = None): + """ + Virtual machine instance provisioning status. + :param str status: The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress] + :param str operation_id: The ID of the operation performed on the virtual machine instance + """ + pulumi.set(__self__, "status", status) + if operation_id is not None: + pulumi.set(__self__, "operation_id", operation_id) + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress] + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="operationId") + def operation_id(self) -> Optional[str]: + """ + The ID of the operation performed on the virtual machine instance + """ + return pulumi.get(self, "operation_id") + + +@pulumi.output_type +class VirtualMachineInstanceStatusResponse(dict): + """ + The observed state of virtual machine instances + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "errorCode": + suggest = "error_code" + elif key == "errorMessage": + suggest = "error_message" + elif key == "powerState": + suggest = "power_state" + elif key == "provisioningStatus": + suggest = "provisioning_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstanceStatusResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstanceStatusResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstanceStatusResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + error_code: Optional[str] = None, + error_message: Optional[str] = None, + power_state: Optional[str] = None, + provisioning_status: Optional['outputs.VirtualMachineInstanceStatusProvisioningStatusResponse'] = None): + """ + The observed state of virtual machine instances + :param str error_code: VirtualMachine provisioning error code + :param str error_message: Descriptive error message + :param str power_state: The power state of the virtual machine instance + :param 'VirtualMachineInstanceStatusProvisioningStatusResponse' provisioning_status: Provisioning status of the virtual machine instance + """ + if error_code is not None: + pulumi.set(__self__, "error_code", error_code) + if error_message is not None: + pulumi.set(__self__, "error_message", error_message) + if power_state is not None: + pulumi.set(__self__, "power_state", power_state) + if provisioning_status is not None: + pulumi.set(__self__, "provisioning_status", provisioning_status) + + @property + @pulumi.getter(name="errorCode") + def error_code(self) -> Optional[str]: + """ + VirtualMachine provisioning error code + """ + return pulumi.get(self, "error_code") + + @property + @pulumi.getter(name="errorMessage") + def error_message(self) -> Optional[str]: + """ + Descriptive error message + """ + return pulumi.get(self, "error_message") + + @property + @pulumi.getter(name="powerState") + def power_state(self) -> Optional[str]: + """ + The power state of the virtual machine instance + """ + return pulumi.get(self, "power_state") + + @property + @pulumi.getter(name="provisioningStatus") + def provisioning_status(self) -> Optional['outputs.VirtualMachineInstanceStatusProvisioningStatusResponse']: + """ + Provisioning status of the virtual machine instance + """ + return pulumi.get(self, "provisioning_status") + + +@pulumi.output_type +class VirtualMachineInstanceViewResponse(dict): + """ + The instance view of a virtual machine. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "vmAgent": + suggest = "vm_agent" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VirtualMachineInstanceViewResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VirtualMachineInstanceViewResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VirtualMachineInstanceViewResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + vm_agent: Optional['outputs.VirtualMachineConfigAgentInstanceViewResponse'] = None): + """ + The instance view of a virtual machine. + :param 'VirtualMachineConfigAgentInstanceViewResponse' vm_agent: The VM Config Agent running on the virtual machine. + """ + if vm_agent is not None: + pulumi.set(__self__, "vm_agent", vm_agent) + + @property + @pulumi.getter(name="vmAgent") + def vm_agent(self) -> Optional['outputs.VirtualMachineConfigAgentInstanceViewResponse']: + """ + The VM Config Agent running on the virtual machine. + """ + return pulumi.get(self, "vm_agent") + + +@pulumi.output_type +class VmImageRepositoryCredentialsResponse(dict): + """ + The credentials used to login to the image repository that has access to the specified image + """ + def __init__(__self__, *, + password: str, + username: str): + """ + The credentials used to login to the image repository that has access to the specified image + :param str password: Password for accessing image repository + :param str username: Username for accessing image repository + """ + pulumi.set(__self__, "password", password) + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter + def password(self) -> str: + """ + Password for accessing image repository + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter + def username(self) -> str: + """ + Username for accessing image repository + """ + return pulumi.get(self, "username") + + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/security_rule.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/security_rule.py new file mode 100644 index 000000000000..c4075ae3d109 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/security_rule.py @@ -0,0 +1,496 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SecurityRuleArgs', 'SecurityRule'] + +@pulumi.input_type +class SecurityRuleArgs: + def __init__(__self__, *, + access: pulumi.Input[Union[str, 'SecurityRuleAccess']], + direction: pulumi.Input[Union[str, 'SecurityRuleDirection']], + network_security_group_name: pulumi.Input[str], + priority: pulumi.Input[int], + protocol: pulumi.Input[Union[str, 'SecurityRuleProtocol']], + resource_group_name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + destination_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + destination_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + security_rule_name: Optional[pulumi.Input[str]] = None, + source_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a SecurityRule resource. + :param pulumi.Input[Union[str, 'SecurityRuleAccess']] access: The network traffic is allowed or denied. + :param pulumi.Input[Union[str, 'SecurityRuleDirection']] direction: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + :param pulumi.Input[str] network_security_group_name: Name of the network security group + :param pulumi.Input[int] priority: 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. + :param pulumi.Input[Union[str, 'SecurityRuleProtocol']] protocol: Network protocol this rule applies to. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] description: A description for this rule. Restricted to 140 chars. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destination_address_prefixes: The destination address prefixes. CIDR or destination IP ranges. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destination_port_ranges: The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] security_rule_name: Name of the security rule. + :param pulumi.Input[Sequence[pulumi.Input[str]]] source_address_prefixes: The CIDR or source IP ranges. + :param pulumi.Input[Sequence[pulumi.Input[str]]] source_port_ranges: The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + pulumi.set(__self__, "access", access) + pulumi.set(__self__, "direction", direction) + pulumi.set(__self__, "network_security_group_name", network_security_group_name) + pulumi.set(__self__, "priority", priority) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if description is not None: + pulumi.set(__self__, "description", description) + if destination_address_prefixes is not None: + pulumi.set(__self__, "destination_address_prefixes", destination_address_prefixes) + if destination_port_ranges is not None: + pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if security_rule_name is not None: + pulumi.set(__self__, "security_rule_name", security_rule_name) + if source_address_prefixes is not None: + pulumi.set(__self__, "source_address_prefixes", source_address_prefixes) + if source_port_ranges is not None: + pulumi.set(__self__, "source_port_ranges", source_port_ranges) + + @property + @pulumi.getter + def access(self) -> pulumi.Input[Union[str, 'SecurityRuleAccess']]: + """ + The network traffic is allowed or denied. + """ + return pulumi.get(self, "access") + + @access.setter + def access(self, value: pulumi.Input[Union[str, 'SecurityRuleAccess']]): + pulumi.set(self, "access", value) + + @property + @pulumi.getter + def direction(self) -> pulumi.Input[Union[str, 'SecurityRuleDirection']]: + """ + The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + """ + return pulumi.get(self, "direction") + + @direction.setter + def direction(self, value: pulumi.Input[Union[str, 'SecurityRuleDirection']]): + pulumi.set(self, "direction", value) + + @property + @pulumi.getter(name="networkSecurityGroupName") + def network_security_group_name(self) -> pulumi.Input[str]: + """ + Name of the network security group + """ + return pulumi.get(self, "network_security_group_name") + + @network_security_group_name.setter + def network_security_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "network_security_group_name", value) + + @property + @pulumi.getter + def priority(self) -> pulumi.Input[int]: + """ + 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. + """ + return pulumi.get(self, "priority") + + @priority.setter + def priority(self, value: pulumi.Input[int]): + pulumi.set(self, "priority", value) + + @property + @pulumi.getter + def protocol(self) -> pulumi.Input[Union[str, 'SecurityRuleProtocol']]: + """ + Network protocol this rule applies to. + """ + return pulumi.get(self, "protocol") + + @protocol.setter + def protocol(self, value: pulumi.Input[Union[str, 'SecurityRuleProtocol']]): + pulumi.set(self, "protocol", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + A description for this rule. Restricted to 140 chars. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="destinationAddressPrefixes") + def destination_address_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The destination address prefixes. CIDR or destination IP ranges. + """ + return pulumi.get(self, "destination_address_prefixes") + + @destination_address_prefixes.setter + def destination_address_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "destination_address_prefixes", value) + + @property + @pulumi.getter(name="destinationPortRanges") + def destination_port_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + return pulumi.get(self, "destination_port_ranges") + + @destination_port_ranges.setter + def destination_port_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "destination_port_ranges", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="securityRuleName") + def security_rule_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the security rule. + """ + return pulumi.get(self, "security_rule_name") + + @security_rule_name.setter + def security_rule_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "security_rule_name", value) + + @property + @pulumi.getter(name="sourceAddressPrefixes") + def source_address_prefixes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The CIDR or source IP ranges. + """ + return pulumi.get(self, "source_address_prefixes") + + @source_address_prefixes.setter + def source_address_prefixes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "source_address_prefixes", value) + + @property + @pulumi.getter(name="sourcePortRanges") + def source_port_ranges(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + return pulumi.get(self, "source_port_ranges") + + @source_port_ranges.setter + def source_port_ranges(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "source_port_ranges", value) + + +class SecurityRule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + access: Optional[pulumi.Input[Union[str, 'SecurityRuleAccess']]] = None, + description: Optional[pulumi.Input[str]] = None, + destination_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + destination_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + direction: Optional[pulumi.Input[Union[str, 'SecurityRuleDirection']]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + network_security_group_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[Union[str, 'SecurityRuleProtocol']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + security_rule_name: Optional[pulumi.Input[str]] = None, + source_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + """ + Security Rule resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union[str, 'SecurityRuleAccess']] access: The network traffic is allowed or denied. + :param pulumi.Input[str] description: A description for this rule. Restricted to 140 chars. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destination_address_prefixes: The destination address prefixes. CIDR or destination IP ranges. + :param pulumi.Input[Sequence[pulumi.Input[str]]] destination_port_ranges: The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + :param pulumi.Input[Union[str, 'SecurityRuleDirection']] direction: The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] network_security_group_name: Name of the network security group + :param pulumi.Input[int] priority: 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. + :param pulumi.Input[Union[str, 'SecurityRuleProtocol']] protocol: Network protocol this rule applies to. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] security_rule_name: Name of the security rule. + :param pulumi.Input[Sequence[pulumi.Input[str]]] source_address_prefixes: The CIDR or source IP ranges. + :param pulumi.Input[Sequence[pulumi.Input[str]]] source_port_ranges: The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SecurityRuleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Security Rule resource. + + :param str resource_name: The name of the resource. + :param SecurityRuleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SecurityRuleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + access: Optional[pulumi.Input[Union[str, 'SecurityRuleAccess']]] = None, + description: Optional[pulumi.Input[str]] = None, + destination_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + destination_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + direction: Optional[pulumi.Input[Union[str, 'SecurityRuleDirection']]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + network_security_group_name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[Union[str, 'SecurityRuleProtocol']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + security_rule_name: Optional[pulumi.Input[str]] = None, + source_address_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_port_ranges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SecurityRuleArgs.__new__(SecurityRuleArgs) + + if access is None and not opts.urn: + raise TypeError("Missing required property 'access'") + __props__.__dict__["access"] = access + __props__.__dict__["description"] = description + __props__.__dict__["destination_address_prefixes"] = destination_address_prefixes + __props__.__dict__["destination_port_ranges"] = destination_port_ranges + if direction is None and not opts.urn: + raise TypeError("Missing required property 'direction'") + __props__.__dict__["direction"] = direction + __props__.__dict__["extended_location"] = extended_location + if network_security_group_name is None and not opts.urn: + raise TypeError("Missing required property 'network_security_group_name'") + __props__.__dict__["network_security_group_name"] = network_security_group_name + if priority is None and not opts.urn: + raise TypeError("Missing required property 'priority'") + __props__.__dict__["priority"] = priority + if protocol is None and not opts.urn: + raise TypeError("Missing required property 'protocol'") + __props__.__dict__["protocol"] = protocol + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["security_rule_name"] = security_rule_name + __props__.__dict__["source_address_prefixes"] = source_address_prefixes + __props__.__dict__["source_port_ranges"] = source_port_ranges + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:SecurityRule"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:SecurityRule")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SecurityRule, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:SecurityRule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SecurityRule': + """ + Get an existing SecurityRule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SecurityRuleArgs.__new__(SecurityRuleArgs) + + __props__.__dict__["access"] = None + __props__.__dict__["description"] = None + __props__.__dict__["destination_address_prefixes"] = None + __props__.__dict__["destination_port_ranges"] = None + __props__.__dict__["direction"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["priority"] = None + __props__.__dict__["protocol"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["source_address_prefixes"] = None + __props__.__dict__["source_port_ranges"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + return SecurityRule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def access(self) -> pulumi.Output[str]: + """ + The network traffic is allowed or denied. + """ + return pulumi.get(self, "access") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[Optional[str]]: + """ + A description for this rule. Restricted to 140 chars. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="destinationAddressPrefixes") + def destination_address_prefixes(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The destination address prefixes. CIDR or destination IP ranges. + """ + return pulumi.get(self, "destination_address_prefixes") + + @property + @pulumi.getter(name="destinationPortRanges") + def destination_port_ranges(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The destination port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + return pulumi.get(self, "destination_port_ranges") + + @property + @pulumi.getter + def direction(self) -> pulumi.Output[str]: + """ + The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. + """ + return pulumi.get(self, "direction") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def priority(self) -> pulumi.Output[int]: + """ + 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. + """ + return pulumi.get(self, "priority") + + @property + @pulumi.getter + def protocol(self) -> pulumi.Output[str]: + """ + Network protocol this rule applies to. + """ + return pulumi.get(self, "protocol") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the SR + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="sourceAddressPrefixes") + def source_address_prefixes(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The CIDR or source IP ranges. + """ + return pulumi.get(self, "source_address_prefixes") + + @property + @pulumi.getter(name="sourcePortRanges") + def source_port_ranges(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + The source port ranges. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. + """ + return pulumi.get(self, "source_port_ranges") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/storage_container.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/storage_container.py new file mode 100644 index 000000000000..ec9dbbce03a2 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/storage_container.py @@ -0,0 +1,308 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['StorageContainerArgs', 'StorageContainer'] + +@pulumi.input_type +class StorageContainerArgs: + def __init__(__self__, *, + path: pulumi.Input[str], + resource_group_name: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + storage_container_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a StorageContainer resource. + :param pulumi.Input[str] path: Path of the storage container on the disk + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] storage_container_name: Name of the storage container + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "path", path) + pulumi.set(__self__, "resource_group_name", resource_group_name) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if location is not None: + pulumi.set(__self__, "location", location) + if storage_container_name is not None: + pulumi.set(__self__, "storage_container_name", storage_container_name) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter + def path(self) -> pulumi.Input[str]: + """ + Path of the storage container on the disk + """ + return pulumi.get(self, "path") + + @path.setter + def path(self, value: pulumi.Input[str]): + pulumi.set(self, "path", value) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="storageContainerName") + def storage_container_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the storage container + """ + return pulumi.get(self, "storage_container_name") + + @storage_container_name.setter + def storage_container_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_container_name", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +class StorageContainer(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_container_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + The storage container resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[str] path: Path of the storage container on the disk + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[str] storage_container_name: Name of the storage container + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: StorageContainerArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The storage container resource definition. + + :param str resource_name: The name of the resource. + :param StorageContainerArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(StorageContainerArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + storage_container_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = StorageContainerArgs.__new__(StorageContainerArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["location"] = location + if path is None and not opts.urn: + raise TypeError("Missing required property 'path'") + __props__.__dict__["path"] = path + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["storage_container_name"] = storage_container_name + __props__.__dict__["tags"] = tags + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:StorageContainer"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:StorageContainer")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(StorageContainer, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:StorageContainer', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'StorageContainer': + """ + Get an existing StorageContainer resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = StorageContainerArgs.__new__(StorageContainerArgs) + + __props__.__dict__["extended_location"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["path"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return StorageContainer(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def path(self) -> pulumi.Output[str]: + """ + Path of the storage container on the disk + """ + return pulumi.get(self, "path") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the storage container. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.StorageContainerStatusResponse']: + """ + The observed state of storage containers + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/virtual_hard_disk.py new file mode 100644 index 000000000000..5f27554306b3 --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/virtual_hard_disk.py @@ -0,0 +1,539 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VirtualHardDiskArgs', 'VirtualHardDisk'] + +@pulumi.input_type +class VirtualHardDiskArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + block_size_bytes: Optional[pulumi.Input[int]] = None, + container_id: Optional[pulumi.Input[str]] = None, + disk_file_format: Optional[pulumi.Input[Union[str, 'DiskFileFormat']]] = None, + disk_size_gb: Optional[pulumi.Input[float]] = None, + download_url: Optional[pulumi.Input[str]] = None, + dynamic: Optional[pulumi.Input[bool]] = None, + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + location: Optional[pulumi.Input[str]] = None, + logical_sector_bytes: Optional[pulumi.Input[int]] = None, + physical_sector_bytes: Optional[pulumi.Input[int]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_hard_disk_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a VirtualHardDisk resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[int] block_size_bytes: Block size in bytes + :param pulumi.Input[str] container_id: Storage ContainerID of the storage container to be used for VHD + :param pulumi.Input[Union[str, 'DiskFileFormat']] disk_file_format: The format of the actual VHD file [vhd, vhdx] + :param pulumi.Input[float] disk_size_gb: Size of the disk in GB + :param pulumi.Input[str] download_url: URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + :param pulumi.Input[bool] dynamic: Boolean for enabling dynamic sizing on the virtual hard disk + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Union[str, 'HyperVGeneration']] hyper_v_generation: The hypervisor generation of the Virtual Machine [V1, V2] + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[int] logical_sector_bytes: Logical sector in bytes + :param pulumi.Input[int] physical_sector_bytes: Physical sector in bytes + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] virtual_hard_disk_name: Name of the virtual hard disk + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if block_size_bytes is not None: + pulumi.set(__self__, "block_size_bytes", block_size_bytes) + if container_id is not None: + pulumi.set(__self__, "container_id", container_id) + if disk_file_format is not None: + pulumi.set(__self__, "disk_file_format", disk_file_format) + if disk_size_gb is not None: + pulumi.set(__self__, "disk_size_gb", disk_size_gb) + if download_url is not None: + pulumi.set(__self__, "download_url", download_url) + if dynamic is not None: + pulumi.set(__self__, "dynamic", dynamic) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if hyper_v_generation is not None: + pulumi.set(__self__, "hyper_v_generation", hyper_v_generation) + if location is not None: + pulumi.set(__self__, "location", location) + if logical_sector_bytes is not None: + pulumi.set(__self__, "logical_sector_bytes", logical_sector_bytes) + if physical_sector_bytes is not None: + pulumi.set(__self__, "physical_sector_bytes", physical_sector_bytes) + if tags is not None: + pulumi.set(__self__, "tags", tags) + if virtual_hard_disk_name is not None: + pulumi.set(__self__, "virtual_hard_disk_name", virtual_hard_disk_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group. The name is case insensitive. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="blockSizeBytes") + def block_size_bytes(self) -> Optional[pulumi.Input[int]]: + """ + Block size in bytes + """ + return pulumi.get(self, "block_size_bytes") + + @block_size_bytes.setter + def block_size_bytes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "block_size_bytes", value) + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> Optional[pulumi.Input[str]]: + """ + Storage ContainerID of the storage container to be used for VHD + """ + return pulumi.get(self, "container_id") + + @container_id.setter + def container_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "container_id", value) + + @property + @pulumi.getter(name="diskFileFormat") + def disk_file_format(self) -> Optional[pulumi.Input[Union[str, 'DiskFileFormat']]]: + """ + The format of the actual VHD file [vhd, vhdx] + """ + return pulumi.get(self, "disk_file_format") + + @disk_file_format.setter + def disk_file_format(self, value: Optional[pulumi.Input[Union[str, 'DiskFileFormat']]]): + pulumi.set(self, "disk_file_format", value) + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> Optional[pulumi.Input[float]]: + """ + Size of the disk in GB + """ + return pulumi.get(self, "disk_size_gb") + + @disk_size_gb.setter + def disk_size_gb(self, value: Optional[pulumi.Input[float]]): + pulumi.set(self, "disk_size_gb", value) + + @property + @pulumi.getter(name="downloadUrl") + def download_url(self) -> Optional[pulumi.Input[str]]: + """ + URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + """ + return pulumi.get(self, "download_url") + + @download_url.setter + def download_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "download_url", value) + + @property + @pulumi.getter + def dynamic(self) -> Optional[pulumi.Input[bool]]: + """ + Boolean for enabling dynamic sizing on the virtual hard disk + """ + return pulumi.get(self, "dynamic") + + @dynamic.setter + def dynamic(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "dynamic", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> Optional[pulumi.Input[Union[str, 'HyperVGeneration']]]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @hyper_v_generation.setter + def hyper_v_generation(self, value: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]]): + pulumi.set(self, "hyper_v_generation", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="logicalSectorBytes") + def logical_sector_bytes(self) -> Optional[pulumi.Input[int]]: + """ + Logical sector in bytes + """ + return pulumi.get(self, "logical_sector_bytes") + + @logical_sector_bytes.setter + def logical_sector_bytes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "logical_sector_bytes", value) + + @property + @pulumi.getter(name="physicalSectorBytes") + def physical_sector_bytes(self) -> Optional[pulumi.Input[int]]: + """ + Physical sector in bytes + """ + return pulumi.get(self, "physical_sector_bytes") + + @physical_sector_bytes.setter + def physical_sector_bytes(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "physical_sector_bytes", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + @property + @pulumi.getter(name="virtualHardDiskName") + def virtual_hard_disk_name(self) -> Optional[pulumi.Input[str]]: + """ + Name of the virtual hard disk + """ + return pulumi.get(self, "virtual_hard_disk_name") + + @virtual_hard_disk_name.setter + def virtual_hard_disk_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "virtual_hard_disk_name", value) + + +class VirtualHardDisk(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + block_size_bytes: Optional[pulumi.Input[int]] = None, + container_id: Optional[pulumi.Input[str]] = None, + disk_file_format: Optional[pulumi.Input[Union[str, 'DiskFileFormat']]] = None, + disk_size_gb: Optional[pulumi.Input[float]] = None, + download_url: Optional[pulumi.Input[str]] = None, + dynamic: Optional[pulumi.Input[bool]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + location: Optional[pulumi.Input[str]] = None, + logical_sector_bytes: Optional[pulumi.Input[int]] = None, + physical_sector_bytes: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_hard_disk_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + The virtual hard disk resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[int] block_size_bytes: Block size in bytes + :param pulumi.Input[str] container_id: Storage ContainerID of the storage container to be used for VHD + :param pulumi.Input[Union[str, 'DiskFileFormat']] disk_file_format: The format of the actual VHD file [vhd, vhdx] + :param pulumi.Input[float] disk_size_gb: Size of the disk in GB + :param pulumi.Input[str] download_url: URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + :param pulumi.Input[bool] dynamic: Boolean for enabling dynamic sizing on the virtual hard disk + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Union[str, 'HyperVGeneration']] hyper_v_generation: The hypervisor generation of the Virtual Machine [V1, V2] + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[int] logical_sector_bytes: Logical sector in bytes + :param pulumi.Input[int] physical_sector_bytes: Physical sector in bytes + :param pulumi.Input[str] resource_group_name: The name of the resource group. The name is case insensitive. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + :param pulumi.Input[str] virtual_hard_disk_name: Name of the virtual hard disk + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VirtualHardDiskArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The virtual hard disk resource definition. + + :param str resource_name: The name of the resource. + :param VirtualHardDiskArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(VirtualHardDiskArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + block_size_bytes: Optional[pulumi.Input[int]] = None, + container_id: Optional[pulumi.Input[str]] = None, + disk_file_format: Optional[pulumi.Input[Union[str, 'DiskFileFormat']]] = None, + disk_size_gb: Optional[pulumi.Input[float]] = None, + download_url: Optional[pulumi.Input[str]] = None, + dynamic: Optional[pulumi.Input[bool]] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + hyper_v_generation: Optional[pulumi.Input[Union[str, 'HyperVGeneration']]] = None, + location: Optional[pulumi.Input[str]] = None, + logical_sector_bytes: Optional[pulumi.Input[int]] = None, + physical_sector_bytes: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + virtual_hard_disk_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VirtualHardDiskArgs.__new__(VirtualHardDiskArgs) + + __props__.__dict__["block_size_bytes"] = block_size_bytes + __props__.__dict__["container_id"] = container_id + __props__.__dict__["disk_file_format"] = disk_file_format + __props__.__dict__["disk_size_gb"] = disk_size_gb + __props__.__dict__["download_url"] = download_url + __props__.__dict__["dynamic"] = dynamic + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["hyper_v_generation"] = hyper_v_generation + __props__.__dict__["location"] = location + __props__.__dict__["logical_sector_bytes"] = logical_sector_bytes + __props__.__dict__["physical_sector_bytes"] = physical_sector_bytes + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["tags"] = tags + __props__.__dict__["virtual_hard_disk_name"] = virtual_hard_disk_name + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VirtualHardDisk, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:VirtualHardDisk', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VirtualHardDisk': + """ + Get an existing VirtualHardDisk resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VirtualHardDiskArgs.__new__(VirtualHardDiskArgs) + + __props__.__dict__["block_size_bytes"] = None + __props__.__dict__["container_id"] = None + __props__.__dict__["disk_file_format"] = None + __props__.__dict__["disk_size_gb"] = None + __props__.__dict__["download_url"] = None + __props__.__dict__["dynamic"] = None + __props__.__dict__["extended_location"] = None + __props__.__dict__["hyper_v_generation"] = None + __props__.__dict__["location"] = None + __props__.__dict__["logical_sector_bytes"] = None + __props__.__dict__["name"] = None + __props__.__dict__["physical_sector_bytes"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + return VirtualHardDisk(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="blockSizeBytes") + def block_size_bytes(self) -> pulumi.Output[Optional[int]]: + """ + Block size in bytes + """ + return pulumi.get(self, "block_size_bytes") + + @property + @pulumi.getter(name="containerId") + def container_id(self) -> pulumi.Output[Optional[str]]: + """ + Storage ContainerID of the storage container to be used for VHD + """ + return pulumi.get(self, "container_id") + + @property + @pulumi.getter(name="diskFileFormat") + def disk_file_format(self) -> pulumi.Output[Optional[str]]: + """ + The format of the actual VHD file [vhd, vhdx] + """ + return pulumi.get(self, "disk_file_format") + + @property + @pulumi.getter(name="diskSizeGB") + def disk_size_gb(self) -> pulumi.Output[Optional[float]]: + """ + Size of the disk in GB + """ + return pulumi.get(self, "disk_size_gb") + + @property + @pulumi.getter(name="downloadUrl") + def download_url(self) -> pulumi.Output[Optional[str]]: + """ + URL for downloading or accessing the virtual hard disk. This URL points to a secure link from where the VHD can be downloaded or accessed directly. + """ + return pulumi.get(self, "download_url") + + @property + @pulumi.getter + def dynamic(self) -> pulumi.Output[Optional[bool]]: + """ + Boolean for enabling dynamic sizing on the virtual hard disk + """ + return pulumi.get(self, "dynamic") + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="hyperVGeneration") + def hyper_v_generation(self) -> pulumi.Output[Optional[str]]: + """ + The hypervisor generation of the Virtual Machine [V1, V2] + """ + return pulumi.get(self, "hyper_v_generation") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter(name="logicalSectorBytes") + def logical_sector_bytes(self) -> pulumi.Output[Optional[int]]: + """ + Logical sector in bytes + """ + return pulumi.get(self, "logical_sector_bytes") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="physicalSectorBytes") + def physical_sector_bytes(self) -> pulumi.Output[Optional[int]]: + """ + Physical sector in bytes + """ + return pulumi.get(self, "physical_sector_bytes") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the virtual hard disk. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.VirtualHardDiskStatusResponse']: + """ + The observed state of virtual hard disks + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/virtual_machine_instance.py new file mode 100644 index 000000000000..ed4aa47c794f --- /dev/null +++ b/sdk/python/pulumi_azure_native/azurestackhci/v20241001preview/virtual_machine_instance.py @@ -0,0 +1,462 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['VirtualMachineInstanceArgs', 'VirtualMachineInstance'] + +@pulumi.input_type +class VirtualMachineInstanceArgs: + def __init__(__self__, *, + resource_uri: pulumi.Input[str], + extended_location: Optional[pulumi.Input['ExtendedLocationArgs']] = None, + hardware_profile: Optional[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileArgs']] = None, + http_proxy_config: Optional[pulumi.Input['HttpProxyConfigurationArgs']] = None, + identity: Optional[pulumi.Input['ManagedServiceIdentityArgs']] = None, + network_profile: Optional[pulumi.Input['VirtualMachineInstancePropertiesNetworkProfileArgs']] = None, + os_profile: Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileArgs']] = None, + resource_uid: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileArgs']] = None, + storage_profile: Optional[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileArgs']] = None): + """ + The set of arguments for constructing a VirtualMachineInstance resource. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the resource. + :param pulumi.Input['ExtendedLocationArgs'] extended_location: The extendedLocation of the resource. + :param pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileArgs'] hardware_profile: HardwareProfile - Specifies the hardware settings for the virtual machine instance. + :param pulumi.Input['HttpProxyConfigurationArgs'] http_proxy_config: HTTP Proxy configuration for the VM. + :param pulumi.Input['ManagedServiceIdentityArgs'] identity: The managed service identities assigned to this resource. + :param pulumi.Input['VirtualMachineInstancePropertiesNetworkProfileArgs'] network_profile: NetworkProfile - describes the network configuration the virtual machine instance + :param pulumi.Input['VirtualMachineInstancePropertiesOsProfileArgs'] os_profile: OsProfile - describes the configuration of the operating system and sets login data + :param pulumi.Input[str] resource_uid: Unique identifier defined by ARC to identify the guest of the VM. + :param pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileArgs'] security_profile: SecurityProfile - Specifies the security settings for the virtual machine instance. + :param pulumi.Input['VirtualMachineInstancePropertiesStorageProfileArgs'] storage_profile: StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + pulumi.set(__self__, "resource_uri", resource_uri) + if extended_location is not None: + pulumi.set(__self__, "extended_location", extended_location) + if hardware_profile is not None: + pulumi.set(__self__, "hardware_profile", hardware_profile) + if http_proxy_config is not None: + pulumi.set(__self__, "http_proxy_config", http_proxy_config) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if network_profile is not None: + pulumi.set(__self__, "network_profile", network_profile) + if os_profile is not None: + pulumi.set(__self__, "os_profile", os_profile) + if resource_uid is not None: + pulumi.set(__self__, "resource_uid", resource_uid) + if security_profile is not None: + pulumi.set(__self__, "security_profile", security_profile) + if storage_profile is not None: + pulumi.set(__self__, "storage_profile", storage_profile) + + @property + @pulumi.getter(name="resourceUri") + def resource_uri(self) -> pulumi.Input[str]: + """ + The fully qualified Azure Resource manager identifier of the resource. + """ + return pulumi.get(self, "resource_uri") + + @resource_uri.setter + def resource_uri(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_uri", value) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> Optional[pulumi.Input['ExtendedLocationArgs']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @extended_location.setter + def extended_location(self, value: Optional[pulumi.Input['ExtendedLocationArgs']]): + pulumi.set(self, "extended_location", value) + + @property + @pulumi.getter(name="hardwareProfile") + def hardware_profile(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileArgs']]: + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + """ + return pulumi.get(self, "hardware_profile") + + @hardware_profile.setter + def hardware_profile(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesHardwareProfileArgs']]): + pulumi.set(self, "hardware_profile", value) + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> Optional[pulumi.Input['HttpProxyConfigurationArgs']]: + """ + HTTP Proxy configuration for the VM. + """ + return pulumi.get(self, "http_proxy_config") + + @http_proxy_config.setter + def http_proxy_config(self, value: Optional[pulumi.Input['HttpProxyConfigurationArgs']]): + pulumi.set(self, "http_proxy_config", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['ManagedServiceIdentityArgs']]: + """ + The managed service identities assigned to this resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['ManagedServiceIdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesNetworkProfileArgs']]: + """ + NetworkProfile - describes the network configuration the virtual machine instance + """ + return pulumi.get(self, "network_profile") + + @network_profile.setter + def network_profile(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesNetworkProfileArgs']]): + pulumi.set(self, "network_profile", value) + + @property + @pulumi.getter(name="osProfile") + def os_profile(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileArgs']]: + """ + OsProfile - describes the configuration of the operating system and sets login data + """ + return pulumi.get(self, "os_profile") + + @os_profile.setter + def os_profile(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesOsProfileArgs']]): + pulumi.set(self, "os_profile", value) + + @property + @pulumi.getter(name="resourceUid") + def resource_uid(self) -> Optional[pulumi.Input[str]]: + """ + Unique identifier defined by ARC to identify the guest of the VM. + """ + return pulumi.get(self, "resource_uid") + + @resource_uid.setter + def resource_uid(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_uid", value) + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileArgs']]: + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + """ + return pulumi.get(self, "security_profile") + + @security_profile.setter + def security_profile(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesSecurityProfileArgs']]): + pulumi.set(self, "security_profile", value) + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> Optional[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileArgs']]: + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + return pulumi.get(self, "storage_profile") + + @storage_profile.setter + def storage_profile(self, value: Optional[pulumi.Input['VirtualMachineInstancePropertiesStorageProfileArgs']]): + pulumi.set(self, "storage_profile", value) + + +class VirtualMachineInstance(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + hardware_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesHardwareProfileArgs', 'VirtualMachineInstancePropertiesHardwareProfileArgsDict']]] = None, + http_proxy_config: Optional[pulumi.Input[Union['HttpProxyConfigurationArgs', 'HttpProxyConfigurationArgsDict']]] = None, + identity: Optional[pulumi.Input[Union['ManagedServiceIdentityArgs', 'ManagedServiceIdentityArgsDict']]] = None, + network_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesNetworkProfileArgs', 'VirtualMachineInstancePropertiesNetworkProfileArgsDict']]] = None, + os_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesOsProfileArgs', 'VirtualMachineInstancePropertiesOsProfileArgsDict']]] = None, + resource_uid: Optional[pulumi.Input[str]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesSecurityProfileArgs', 'VirtualMachineInstancePropertiesSecurityProfileArgsDict']]] = None, + storage_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesStorageProfileArgs', 'VirtualMachineInstancePropertiesStorageProfileArgsDict']]] = None, + __props__=None): + """ + The virtual machine instance resource definition. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']] extended_location: The extendedLocation of the resource. + :param pulumi.Input[Union['VirtualMachineInstancePropertiesHardwareProfileArgs', 'VirtualMachineInstancePropertiesHardwareProfileArgsDict']] hardware_profile: HardwareProfile - Specifies the hardware settings for the virtual machine instance. + :param pulumi.Input[Union['HttpProxyConfigurationArgs', 'HttpProxyConfigurationArgsDict']] http_proxy_config: HTTP Proxy configuration for the VM. + :param pulumi.Input[Union['ManagedServiceIdentityArgs', 'ManagedServiceIdentityArgsDict']] identity: The managed service identities assigned to this resource. + :param pulumi.Input[Union['VirtualMachineInstancePropertiesNetworkProfileArgs', 'VirtualMachineInstancePropertiesNetworkProfileArgsDict']] network_profile: NetworkProfile - describes the network configuration the virtual machine instance + :param pulumi.Input[Union['VirtualMachineInstancePropertiesOsProfileArgs', 'VirtualMachineInstancePropertiesOsProfileArgsDict']] os_profile: OsProfile - describes the configuration of the operating system and sets login data + :param pulumi.Input[str] resource_uid: Unique identifier defined by ARC to identify the guest of the VM. + :param pulumi.Input[str] resource_uri: The fully qualified Azure Resource manager identifier of the resource. + :param pulumi.Input[Union['VirtualMachineInstancePropertiesSecurityProfileArgs', 'VirtualMachineInstancePropertiesSecurityProfileArgsDict']] security_profile: SecurityProfile - Specifies the security settings for the virtual machine instance. + :param pulumi.Input[Union['VirtualMachineInstancePropertiesStorageProfileArgs', 'VirtualMachineInstancePropertiesStorageProfileArgsDict']] storage_profile: StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: VirtualMachineInstanceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + The virtual machine instance resource definition. + + :param str resource_name: The name of the resource. + :param VirtualMachineInstanceArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(VirtualMachineInstanceArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + extended_location: Optional[pulumi.Input[Union['ExtendedLocationArgs', 'ExtendedLocationArgsDict']]] = None, + hardware_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesHardwareProfileArgs', 'VirtualMachineInstancePropertiesHardwareProfileArgsDict']]] = None, + http_proxy_config: Optional[pulumi.Input[Union['HttpProxyConfigurationArgs', 'HttpProxyConfigurationArgsDict']]] = None, + identity: Optional[pulumi.Input[Union['ManagedServiceIdentityArgs', 'ManagedServiceIdentityArgsDict']]] = None, + network_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesNetworkProfileArgs', 'VirtualMachineInstancePropertiesNetworkProfileArgsDict']]] = None, + os_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesOsProfileArgs', 'VirtualMachineInstancePropertiesOsProfileArgsDict']]] = None, + resource_uid: Optional[pulumi.Input[str]] = None, + resource_uri: Optional[pulumi.Input[str]] = None, + security_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesSecurityProfileArgs', 'VirtualMachineInstancePropertiesSecurityProfileArgsDict']]] = None, + storage_profile: Optional[pulumi.Input[Union['VirtualMachineInstancePropertiesStorageProfileArgs', 'VirtualMachineInstancePropertiesStorageProfileArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = VirtualMachineInstanceArgs.__new__(VirtualMachineInstanceArgs) + + __props__.__dict__["extended_location"] = extended_location + __props__.__dict__["hardware_profile"] = hardware_profile + __props__.__dict__["http_proxy_config"] = http_proxy_config + __props__.__dict__["identity"] = identity + __props__.__dict__["network_profile"] = network_profile + __props__.__dict__["os_profile"] = os_profile + __props__.__dict__["resource_uid"] = resource_uid + if resource_uri is None and not opts.urn: + raise TypeError("Missing required property 'resource_uri'") + __props__.__dict__["resource_uri"] = resource_uri + __props__.__dict__["security_profile"] = security_profile + __props__.__dict__["storage_profile"] = storage_profile + __props__.__dict__["guest_agent_install_status"] = None + __props__.__dict__["instance_view"] = None + __props__.__dict__["name"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["status"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["vm_id"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(VirtualMachineInstance, __self__).__init__( + 'azure-native:azurestackhci/v20241001preview:VirtualMachineInstance', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'VirtualMachineInstance': + """ + Get an existing VirtualMachineInstance resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = VirtualMachineInstanceArgs.__new__(VirtualMachineInstanceArgs) + + __props__.__dict__["extended_location"] = None + __props__.__dict__["guest_agent_install_status"] = None + __props__.__dict__["hardware_profile"] = None + __props__.__dict__["http_proxy_config"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["instance_view"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_profile"] = None + __props__.__dict__["os_profile"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["resource_uid"] = None + __props__.__dict__["security_profile"] = None + __props__.__dict__["status"] = None + __props__.__dict__["storage_profile"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["vm_id"] = None + return VirtualMachineInstance(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="extendedLocation") + def extended_location(self) -> pulumi.Output[Optional['outputs.ExtendedLocationResponse']]: + """ + The extendedLocation of the resource. + """ + return pulumi.get(self, "extended_location") + + @property + @pulumi.getter(name="guestAgentInstallStatus") + def guest_agent_install_status(self) -> pulumi.Output[Optional['outputs.GuestAgentInstallStatusResponse']]: + """ + Guest agent install status. + """ + return pulumi.get(self, "guest_agent_install_status") + + @property + @pulumi.getter(name="hardwareProfile") + def hardware_profile(self) -> pulumi.Output[Optional['outputs.VirtualMachineInstancePropertiesHardwareProfileResponse']]: + """ + HardwareProfile - Specifies the hardware settings for the virtual machine instance. + """ + return pulumi.get(self, "hardware_profile") + + @property + @pulumi.getter(name="httpProxyConfig") + def http_proxy_config(self) -> pulumi.Output[Optional['outputs.HttpProxyConfigurationResponse']]: + """ + HTTP Proxy configuration for the VM. + """ + return pulumi.get(self, "http_proxy_config") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.ManagedServiceIdentityResponse']]: + """ + The managed service identities assigned to this resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter(name="instanceView") + def instance_view(self) -> pulumi.Output['outputs.VirtualMachineInstanceViewResponse']: + """ + The virtual machine instance view. + """ + return pulumi.get(self, "instance_view") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkProfile") + def network_profile(self) -> pulumi.Output[Optional['outputs.VirtualMachineInstancePropertiesNetworkProfileResponse']]: + """ + NetworkProfile - describes the network configuration the virtual machine instance + """ + return pulumi.get(self, "network_profile") + + @property + @pulumi.getter(name="osProfile") + def os_profile(self) -> pulumi.Output[Optional['outputs.VirtualMachineInstancePropertiesOsProfileResponse']]: + """ + OsProfile - describes the configuration of the operating system and sets login data + """ + return pulumi.get(self, "os_profile") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + Provisioning state of the virtual machine instance. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="resourceUid") + def resource_uid(self) -> pulumi.Output[Optional[str]]: + """ + Unique identifier defined by ARC to identify the guest of the VM. + """ + return pulumi.get(self, "resource_uid") + + @property + @pulumi.getter(name="securityProfile") + def security_profile(self) -> pulumi.Output[Optional['outputs.VirtualMachineInstancePropertiesSecurityProfileResponse']]: + """ + SecurityProfile - Specifies the security settings for the virtual machine instance. + """ + return pulumi.get(self, "security_profile") + + @property + @pulumi.getter + def status(self) -> pulumi.Output['outputs.VirtualMachineInstanceStatusResponse']: + """ + The observed state of virtual machine instances + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="storageProfile") + def storage_profile(self) -> pulumi.Output[Optional['outputs.VirtualMachineInstancePropertiesStorageProfileResponse']]: + """ + StorageProfile - contains information about the disks and storage information for the virtual machine instance + """ + return pulumi.get(self, "storage_profile") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="vmId") + def vm_id(self) -> pulumi.Output[str]: + """ + Unique identifier for the vm resource. + """ + return pulumi.get(self, "vm_id") + diff --git a/sdk/python/pulumi_azure_native/azurestackhci/virtual_hard_disk.py b/sdk/python/pulumi_azure_native/azurestackhci/virtual_hard_disk.py index f226a75cf5f9..4a7342e25ed9 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/virtual_hard_disk.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/virtual_hard_disk.py @@ -245,7 +245,7 @@ def __init__(__self__, The virtual hard disk resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -270,7 +270,7 @@ def __init__(__self__, The virtual hard disk resource definition. Azure REST API version: 2022-12-15-preview. - Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param VirtualHardDiskArgs args: The arguments to use to populate this resource's properties. @@ -329,7 +329,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20210701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20210901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20221215preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualHardDisk"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualHardDisk")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualHardDisk, __self__).__init__( 'azure-native:azurestackhci:VirtualHardDisk', diff --git a/sdk/python/pulumi_azure_native/azurestackhci/virtual_machine_instance.py b/sdk/python/pulumi_azure_native/azurestackhci/virtual_machine_instance.py index 749b48906846..4e100329f1bd 100644 --- a/sdk/python/pulumi_azure_native/azurestackhci/virtual_machine_instance.py +++ b/sdk/python/pulumi_azure_native/azurestackhci/virtual_machine_instance.py @@ -189,7 +189,7 @@ def __init__(__self__, The virtual machine instance resource definition. Azure REST API version: 2023-07-01-preview. - Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -213,7 +213,7 @@ def __init__(__self__, The virtual machine instance resource definition. Azure REST API version: 2023-07-01-preview. - Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview. + Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview. :param str resource_name: The name of the resource. :param VirtualMachineInstanceArgs args: The arguments to use to populate this resource's properties. @@ -267,7 +267,7 @@ def _internal_init(__self__, __props__.__dict__["system_data"] = None __props__.__dict__["type"] = None __props__.__dict__["vm_id"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:azurestackhci/v20230701preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20230901preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240101:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240201preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240501preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240715preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20240801preview:VirtualMachineInstance"), pulumi.Alias(type_="azure-native:azurestackhci/v20241001preview:VirtualMachineInstance")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(VirtualMachineInstance, __self__).__init__( 'azure-native:azurestackhci:VirtualMachineInstance', diff --git a/sdk/python/pulumi_azure_native/network/ipam_pool.py b/sdk/python/pulumi_azure_native/network/ipam_pool.py index 048788d82c4c..e3aae478597d 100644 --- a/sdk/python/pulumi_azure_native/network/ipam_pool.py +++ b/sdk/python/pulumi_azure_native/network/ipam_pool.py @@ -22,28 +22,27 @@ class IpamPoolArgs: def __init__(__self__, *, network_manager_name: pulumi.Input[str], + properties: pulumi.Input['IpamPoolPropertiesArgs'], resource_group_name: pulumi.Input[str], location: Optional[pulumi.Input[str]] = None, pool_name: Optional[pulumi.Input[str]] = None, - properties: Optional[pulumi.Input['IpamPoolPropertiesArgs']] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a IpamPool resource. :param pulumi.Input[str] network_manager_name: The name of the network manager. + :param pulumi.Input['IpamPoolPropertiesArgs'] properties: Properties of IpamPool resource properties which are specific to the Pool resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[str] pool_name: IP Address Manager Pool resource name. - :param pulumi.Input['IpamPoolPropertiesArgs'] properties: Properties of IpamPool resource properties which are specific to the Pool resource. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. """ pulumi.set(__self__, "network_manager_name", network_manager_name) + pulumi.set(__self__, "properties", properties) pulumi.set(__self__, "resource_group_name", resource_group_name) if location is not None: pulumi.set(__self__, "location", location) if pool_name is not None: pulumi.set(__self__, "pool_name", pool_name) - if properties is not None: - pulumi.set(__self__, "properties", properties) if tags is not None: pulumi.set(__self__, "tags", tags) @@ -59,6 +58,18 @@ def network_manager_name(self) -> pulumi.Input[str]: def network_manager_name(self, value: pulumi.Input[str]): pulumi.set(self, "network_manager_name", value) + @property + @pulumi.getter + def properties(self) -> pulumi.Input['IpamPoolPropertiesArgs']: + """ + Properties of IpamPool resource properties which are specific to the Pool resource. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: pulumi.Input['IpamPoolPropertiesArgs']): + pulumi.set(self, "properties", value) + @property @pulumi.getter(name="resourceGroupName") def resource_group_name(self) -> pulumi.Input[str]: @@ -95,18 +106,6 @@ def pool_name(self) -> Optional[pulumi.Input[str]]: def pool_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pool_name", value) - @property - @pulumi.getter - def properties(self) -> Optional[pulumi.Input['IpamPoolPropertiesArgs']]: - """ - Properties of IpamPool resource properties which are specific to the Pool resource. - """ - return pulumi.get(self, "properties") - - @properties.setter - def properties(self, value: Optional[pulumi.Input['IpamPoolPropertiesArgs']]): - pulumi.set(self, "properties", value) - @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -194,6 +193,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'network_manager_name'") __props__.__dict__["network_manager_name"] = network_manager_name __props__.__dict__["pool_name"] = pool_name + if properties is None and not opts.urn: + raise TypeError("Missing required property 'properties'") __props__.__dict__["properties"] = properties if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") diff --git a/sdk/python/pulumi_azure_native/network/v20240101preview/ipam_pool.py b/sdk/python/pulumi_azure_native/network/v20240101preview/ipam_pool.py index 8bb0e1c74d64..a46748f785d2 100644 --- a/sdk/python/pulumi_azure_native/network/v20240101preview/ipam_pool.py +++ b/sdk/python/pulumi_azure_native/network/v20240101preview/ipam_pool.py @@ -22,28 +22,27 @@ class IpamPoolArgs: def __init__(__self__, *, network_manager_name: pulumi.Input[str], + properties: pulumi.Input['IpamPoolPropertiesArgs'], resource_group_name: pulumi.Input[str], location: Optional[pulumi.Input[str]] = None, pool_name: Optional[pulumi.Input[str]] = None, - properties: Optional[pulumi.Input['IpamPoolPropertiesArgs']] = None, tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ The set of arguments for constructing a IpamPool resource. :param pulumi.Input[str] network_manager_name: The name of the network manager. + :param pulumi.Input['IpamPoolPropertiesArgs'] properties: Properties of IpamPool resource properties which are specific to the Pool resource. :param pulumi.Input[str] resource_group_name: The name of the resource group. :param pulumi.Input[str] location: The geo-location where the resource lives :param pulumi.Input[str] pool_name: IP Address Manager Pool resource name. - :param pulumi.Input['IpamPoolPropertiesArgs'] properties: Properties of IpamPool resource properties which are specific to the Pool resource. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. """ pulumi.set(__self__, "network_manager_name", network_manager_name) + pulumi.set(__self__, "properties", properties) pulumi.set(__self__, "resource_group_name", resource_group_name) if location is not None: pulumi.set(__self__, "location", location) if pool_name is not None: pulumi.set(__self__, "pool_name", pool_name) - if properties is not None: - pulumi.set(__self__, "properties", properties) if tags is not None: pulumi.set(__self__, "tags", tags) @@ -59,6 +58,18 @@ def network_manager_name(self) -> pulumi.Input[str]: def network_manager_name(self, value: pulumi.Input[str]): pulumi.set(self, "network_manager_name", value) + @property + @pulumi.getter + def properties(self) -> pulumi.Input['IpamPoolPropertiesArgs']: + """ + Properties of IpamPool resource properties which are specific to the Pool resource. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: pulumi.Input['IpamPoolPropertiesArgs']): + pulumi.set(self, "properties", value) + @property @pulumi.getter(name="resourceGroupName") def resource_group_name(self) -> pulumi.Input[str]: @@ -95,18 +106,6 @@ def pool_name(self) -> Optional[pulumi.Input[str]]: def pool_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "pool_name", value) - @property - @pulumi.getter - def properties(self) -> Optional[pulumi.Input['IpamPoolPropertiesArgs']]: - """ - Properties of IpamPool resource properties which are specific to the Pool resource. - """ - return pulumi.get(self, "properties") - - @properties.setter - def properties(self, value: Optional[pulumi.Input['IpamPoolPropertiesArgs']]): - pulumi.set(self, "properties", value) - @property @pulumi.getter def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -188,6 +187,8 @@ def _internal_init(__self__, raise TypeError("Missing required property 'network_manager_name'") __props__.__dict__["network_manager_name"] = network_manager_name __props__.__dict__["pool_name"] = pool_name + if properties is None and not opts.urn: + raise TypeError("Missing required property 'properties'") __props__.__dict__["properties"] = properties if resource_group_name is None and not opts.urn: raise TypeError("Missing required property 'resource_group_name'") diff --git a/sdk/python/pulumi_azure_native/search/__init__.py b/sdk/python/pulumi_azure_native/search/__init__.py index fac3c4b9ede8..b858e7af3610 100644 --- a/sdk/python/pulumi_azure_native/search/__init__.py +++ b/sdk/python/pulumi_azure_native/search/__init__.py @@ -29,10 +29,13 @@ v20240301preview = __v20240301preview import pulumi_azure_native.search.v20240601preview as __v20240601preview v20240601preview = __v20240601preview + import pulumi_azure_native.search.v20250201preview as __v20250201preview + v20250201preview = __v20250201preview else: v20210401preview = _utilities.lazy_import('pulumi_azure_native.search.v20210401preview') v20220901 = _utilities.lazy_import('pulumi_azure_native.search.v20220901') v20231101 = _utilities.lazy_import('pulumi_azure_native.search.v20231101') v20240301preview = _utilities.lazy_import('pulumi_azure_native.search.v20240301preview') v20240601preview = _utilities.lazy_import('pulumi_azure_native.search.v20240601preview') + v20250201preview = _utilities.lazy_import('pulumi_azure_native.search.v20250201preview') diff --git a/sdk/python/pulumi_azure_native/search/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/get_private_endpoint_connection.py index b46a954c8cbc..cfaa7540489a 100644 --- a/sdk/python/pulumi_azure_native/search/get_private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/search/get_private_endpoint_connection.py @@ -94,7 +94,7 @@ def get_private_endpoint_connection(private_endpoint_connection_name: Optional[s Gets the details of the private endpoint connection to the search service in the given resource group. Azure REST API version: 2022-09-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str private_endpoint_connection_name: The name of the private endpoint connection to the Azure Cognitive Search service with the specified resource group. @@ -121,7 +121,7 @@ def get_private_endpoint_connection_output(private_endpoint_connection_name: Opt Gets the details of the private endpoint connection to the search service in the given resource group. Azure REST API version: 2022-09-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str private_endpoint_connection_name: The name of the private endpoint connection to the Azure Cognitive Search service with the specified resource group. diff --git a/sdk/python/pulumi_azure_native/search/get_service.py b/sdk/python/pulumi_azure_native/search/get_service.py index 2b40771f4f74..b063e9dbc088 100644 --- a/sdk/python/pulumi_azure_native/search/get_service.py +++ b/sdk/python/pulumi_azure_native/search/get_service.py @@ -285,7 +285,7 @@ def get_service(resource_group_name: Optional[str] = None, Gets the search service with the given name in the given resource group. Azure REST API version: 2022-09-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. @@ -325,7 +325,7 @@ def get_service_output(resource_group_name: Optional[pulumi.Input[str]] = None, Gets the search service with the given name in the given resource group. Azure REST API version: 2022-09-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. diff --git a/sdk/python/pulumi_azure_native/search/get_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/get_shared_private_link_resource.py index 49c32e18d453..407d53afeded 100644 --- a/sdk/python/pulumi_azure_native/search/get_shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/search/get_shared_private_link_resource.py @@ -94,7 +94,7 @@ def get_shared_private_link_resource(resource_group_name: Optional[str] = None, Gets the details of the shared private link resource managed by the search service in the given resource group. Azure REST API version: 2022-09-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. @@ -121,7 +121,7 @@ def get_shared_private_link_resource_output(resource_group_name: Optional[pulumi Gets the details of the shared private link resource managed by the search service in the given resource group. Azure REST API version: 2022-09-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. diff --git a/sdk/python/pulumi_azure_native/search/list_admin_key.py b/sdk/python/pulumi_azure_native/search/list_admin_key.py index de825b8da431..9d0e8fe81278 100644 --- a/sdk/python/pulumi_azure_native/search/list_admin_key.py +++ b/sdk/python/pulumi_azure_native/search/list_admin_key.py @@ -68,7 +68,7 @@ def list_admin_key(resource_group_name: Optional[str] = None, Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. Azure REST API version: 2022-09-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. @@ -90,7 +90,7 @@ def list_admin_key_output(resource_group_name: Optional[pulumi.Input[str]] = Non Gets the primary and secondary admin API keys for the specified Azure Cognitive Search service. Azure REST API version: 2022-09-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. diff --git a/sdk/python/pulumi_azure_native/search/list_query_key_by_search_service.py b/sdk/python/pulumi_azure_native/search/list_query_key_by_search_service.py index 17391a964932..2dc0e6ba3e89 100644 --- a/sdk/python/pulumi_azure_native/search/list_query_key_by_search_service.py +++ b/sdk/python/pulumi_azure_native/search/list_query_key_by_search_service.py @@ -69,7 +69,7 @@ def list_query_key_by_search_service(resource_group_name: Optional[str] = None, Returns the list of query API keys for the given Azure Cognitive Search service. Azure REST API version: 2022-09-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. @@ -91,7 +91,7 @@ def list_query_key_by_search_service_output(resource_group_name: Optional[pulumi Returns the list of query API keys for the given Azure Cognitive Search service. Azure REST API version: 2022-09-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. diff --git a/sdk/python/pulumi_azure_native/search/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/private_endpoint_connection.py index 8abbc1ededee..541205680538 100644 --- a/sdk/python/pulumi_azure_native/search/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/search/private_endpoint_connection.py @@ -103,7 +103,7 @@ def __init__(__self__, Describes an existing Private Endpoint connection to the Azure Cognitive Search service. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -122,7 +122,7 @@ def __init__(__self__, Describes an existing Private Endpoint connection to the Azure Cognitive Search service. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_name: The name of the resource. :param PrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties. @@ -162,7 +162,7 @@ def _internal_init(__self__, __props__.__dict__["search_service_name"] = search_service_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20250201preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:search:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/search/service.py b/sdk/python/pulumi_azure_native/search/service.py index d1e39eee1b05..95048e7a3573 100644 --- a/sdk/python/pulumi_azure_native/search/service.py +++ b/sdk/python/pulumi_azure_native/search/service.py @@ -282,7 +282,7 @@ def __init__(__self__, Describes an Azure Cognitive Search service and its current state. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -311,7 +311,7 @@ def __init__(__self__, Describes an Azure Cognitive Search service and its current state. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. - Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2021-04-01-preview, 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_name: The name of the resource. :param ServiceArgs args: The arguments to use to populate this resource's properties. @@ -382,7 +382,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["status_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:search:Service', diff --git a/sdk/python/pulumi_azure_native/search/shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/shared_private_link_resource.py index 80799e2f3312..edd4496465b2 100644 --- a/sdk/python/pulumi_azure_native/search/shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/search/shared_private_link_resource.py @@ -103,7 +103,7 @@ def __init__(__self__, Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. @@ -122,7 +122,7 @@ def __init__(__self__, Describes a Shared Private Link Resource managed by the Azure Cognitive Search service. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2020-08-01. - Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview. + Other available API versions: 2023-11-01, 2024-03-01-preview, 2024-06-01-preview, 2025-02-01-preview. :param str resource_name: The name of the resource. :param SharedPrivateLinkResourceArgs args: The arguments to use to populate this resource's properties. @@ -162,7 +162,7 @@ def _internal_init(__self__, __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20250201preview:SharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SharedPrivateLinkResource, __self__).__init__( 'azure-native:search:SharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/search/v20210401preview/service.py b/sdk/python/pulumi_azure_native/search/v20210401preview/service.py index 707ead784963..c888afb8a0a1 100644 --- a/sdk/python/pulumi_azure_native/search/v20210401preview/service.py +++ b/sdk/python/pulumi_azure_native/search/v20210401preview/service.py @@ -417,7 +417,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["status_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:search/v20210401preview:Service', diff --git a/sdk/python/pulumi_azure_native/search/v20220901/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/v20220901/private_endpoint_connection.py index 54378449f4d2..52ce038ee523 100644 --- a/sdk/python/pulumi_azure_native/search/v20220901/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/search/v20220901/private_endpoint_connection.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["search_service_name"] = search_service_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20250201preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:search/v20220901:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/search/v20220901/service.py b/sdk/python/pulumi_azure_native/search/v20220901/service.py index fe4de6bcbaee..88dcc343d2d8 100644 --- a/sdk/python/pulumi_azure_native/search/v20220901/service.py +++ b/sdk/python/pulumi_azure_native/search/v20220901/service.py @@ -376,7 +376,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["status_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:search/v20220901:Service', diff --git a/sdk/python/pulumi_azure_native/search/v20220901/shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/v20220901/shared_private_link_resource.py index 22d888c2387f..7e953d25fa61 100644 --- a/sdk/python/pulumi_azure_native/search/v20220901/shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/search/v20220901/shared_private_link_resource.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20250201preview:SharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SharedPrivateLinkResource, __self__).__init__( 'azure-native:search/v20220901:SharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/search/v20231101/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/v20231101/private_endpoint_connection.py index 7c5209bd75ae..61f0f4548d97 100644 --- a/sdk/python/pulumi_azure_native/search/v20231101/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/search/v20231101/private_endpoint_connection.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["search_service_name"] = search_service_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20250201preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:search/v20231101:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/search/v20231101/service.py b/sdk/python/pulumi_azure_native/search/v20231101/service.py index db78ad53362d..5249935277a6 100644 --- a/sdk/python/pulumi_azure_native/search/v20231101/service.py +++ b/sdk/python/pulumi_azure_native/search/v20231101/service.py @@ -396,7 +396,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["status_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:search/v20231101:Service', diff --git a/sdk/python/pulumi_azure_native/search/v20231101/shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/v20231101/shared_private_link_resource.py index 03a57c0ad9e9..611ed4d74254 100644 --- a/sdk/python/pulumi_azure_native/search/v20231101/shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/search/v20231101/shared_private_link_resource.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20250201preview:SharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SharedPrivateLinkResource, __self__).__init__( 'azure-native:search/v20231101:SharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/search/v20240301preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/v20240301preview/private_endpoint_connection.py index a7746b64ab65..03a713392362 100644 --- a/sdk/python/pulumi_azure_native/search/v20240301preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/search/v20240301preview/private_endpoint_connection.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["search_service_name"] = search_service_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20250201preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:search/v20240301preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/search/v20240301preview/service.py b/sdk/python/pulumi_azure_native/search/v20240301preview/service.py index 50f8f23a3bb9..148cb8be9558 100644 --- a/sdk/python/pulumi_azure_native/search/v20240301preview/service.py +++ b/sdk/python/pulumi_azure_native/search/v20240301preview/service.py @@ -417,7 +417,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["status_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:search/v20240301preview:Service', diff --git a/sdk/python/pulumi_azure_native/search/v20240301preview/shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/v20240301preview/shared_private_link_resource.py index fa7763a76f38..75b0b068b615 100644 --- a/sdk/python/pulumi_azure_native/search/v20240301preview/shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/search/v20240301preview/shared_private_link_resource.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20250201preview:SharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SharedPrivateLinkResource, __self__).__init__( 'azure-native:search/v20240301preview:SharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/search/v20240601preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/v20240601preview/private_endpoint_connection.py index fe3200afcca3..0ab94b00d4ad 100644 --- a/sdk/python/pulumi_azure_native/search/v20240601preview/private_endpoint_connection.py +++ b/sdk/python/pulumi_azure_native/search/v20240601preview/private_endpoint_connection.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["search_service_name"] = search_service_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20250201preview:PrivateEndpointConnection")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(PrivateEndpointConnection, __self__).__init__( 'azure-native:search/v20240601preview:PrivateEndpointConnection', diff --git a/sdk/python/pulumi_azure_native/search/v20240601preview/service.py b/sdk/python/pulumi_azure_native/search/v20240601preview/service.py index f4fa27b9919e..417c7bf71f40 100644 --- a/sdk/python/pulumi_azure_native/search/v20240601preview/service.py +++ b/sdk/python/pulumi_azure_native/search/v20240601preview/service.py @@ -417,7 +417,7 @@ def _internal_init(__self__, __props__.__dict__["status"] = None __props__.__dict__["status_details"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20250201preview:Service")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(Service, __self__).__init__( 'azure-native:search/v20240601preview:Service', diff --git a/sdk/python/pulumi_azure_native/search/v20240601preview/shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/v20240601preview/shared_private_link_resource.py index b0f9cd19a4f5..7900c03079fc 100644 --- a/sdk/python/pulumi_azure_native/search/v20240601preview/shared_private_link_resource.py +++ b/sdk/python/pulumi_azure_native/search/v20240601preview/shared_private_link_resource.py @@ -156,7 +156,7 @@ def _internal_init(__self__, __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name __props__.__dict__["name"] = None __props__.__dict__["type"] = None - alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource")]) + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20250201preview:SharedPrivateLinkResource")]) opts = pulumi.ResourceOptions.merge(opts, alias_opts) super(SharedPrivateLinkResource, __self__).__init__( 'azure-native:search/v20240601preview:SharedPrivateLinkResource', diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/__init__.py b/sdk/python/pulumi_azure_native/search/v20250201preview/__init__.py new file mode 100644 index 000000000000..3da7d89a29ee --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from ... import _utilities +import typing +# Export this package's modules as members: +from ._enums import * +from .get_private_endpoint_connection import * +from .get_service import * +from .get_shared_private_link_resource import * +from .list_admin_key import * +from .list_query_key_by_search_service import * +from .private_endpoint_connection import * +from .service import * +from .shared_private_link_resource import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/_enums.py b/sdk/python/pulumi_azure_native/search/v20250201preview/_enums.py new file mode 100644 index 000000000000..3d3828f76ca6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/_enums.py @@ -0,0 +1,298 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from enum import Enum + +__all__ = [ + 'AadAuthFailureMode', + 'ComputeType', + 'HostingMode', + 'IdentityType', + 'PrivateLinkServiceConnectionProvisioningState', + 'PrivateLinkServiceConnectionStatus', + 'PublicNetworkAccess', + 'SearchBypass', + 'SearchDisabledDataExfiltrationOption', + 'SearchEncryptionWithCmk', + 'SearchSemanticSearch', + 'SharedPrivateLinkResourceProvisioningState', + 'SharedPrivateLinkResourceStatus', + 'SkuName', +] + + +class AadAuthFailureMode(str, Enum): + """ + Describes what response the data plane API of a search service would send for requests that failed authentication. + """ + HTTP403 = "http403" + """ + Indicates that requests that failed authentication should be presented with an HTTP status code of 403 (Forbidden). + """ + HTTP401_WITH_BEARER_CHALLENGE = "http401WithBearerChallenge" + """ + Indicates that requests that failed authentication should be presented with an HTTP status code of 401 (Unauthorized) and present a Bearer Challenge. + """ + + +class ComputeType(str, Enum): + """ + Configure this property to support the search service using either the default compute or Azure Confidential Compute. + """ + DEFAULT = "default" + """ + Create the service with the default compute. + """ + CONFIDENTIAL = "confidential" + """ + Create the service with Azure Confidential Compute. + """ + + +class HostingMode(str, Enum): + """ + Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + """ + DEFAULT = "default" + """ + The limit on number of indexes is determined by the default limits for the SKU. + """ + HIGH_DENSITY = "highDensity" + """ + Only application for standard3 SKU, where the search service can have up to 1000 indexes. + """ + + +class IdentityType(str, Enum): + """ + The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + """ + NONE = "None" + """ + Indicates that any identity associated with the search service needs to be removed. + """ + SYSTEM_ASSIGNED = "SystemAssigned" + """ + Indicates that system-assigned identity for the search service will be enabled. + """ + USER_ASSIGNED = "UserAssigned" + """ + Indicates that one or more user assigned identities will be assigned to the search service. + """ + SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned" + """ + Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities. + """ + + +class PrivateLinkServiceConnectionProvisioningState(str, Enum): + """ + The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + """ + UPDATING = "Updating" + """ + The private link service connection is in the process of being created along with other resources for it to be fully functional. + """ + DELETING = "Deleting" + """ + The private link service connection is in the process of being deleted. + """ + FAILED = "Failed" + """ + The private link service connection has failed to be provisioned or deleted. + """ + SUCCEEDED = "Succeeded" + """ + The private link service connection has finished provisioning and is ready for approval. + """ + INCOMPLETE = "Incomplete" + """ + Provisioning request for the private link service connection resource has been accepted but the process of creation has not commenced yet. + """ + CANCELED = "Canceled" + """ + Provisioning request for the private link service connection resource has been canceled. + """ + + +class PrivateLinkServiceConnectionStatus(str, Enum): + """ + Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + """ + PENDING = "Pending" + """ + The private endpoint connection has been created and is pending approval. + """ + APPROVED = "Approved" + """ + The private endpoint connection is approved and is ready for use. + """ + REJECTED = "Rejected" + """ + The private endpoint connection has been rejected and cannot be used. + """ + DISCONNECTED = "Disconnected" + """ + The private endpoint connection has been removed from the service. + """ + + +class PublicNetworkAccess(str, Enum): + """ + This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + """ + ENABLED = "enabled" + """ + The search service is accessible from traffic originating from the public internet. + """ + DISABLED = "disabled" + """ + The search service is not accessible from traffic originating from the public internet. Access is only permitted over approved private endpoint connections. + """ + + +class SearchBypass(str, Enum): + """ + Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + """ + NONE = "None" + """ + Indicates that no origin can bypass the rules defined in the 'ipRules' section. This is the default. + """ + AZURE_PORTAL = "AzurePortal" + """ + Indicates that requests originating from the Azure portal can bypass the rules defined in the 'ipRules' section. + """ + AZURE_SERVICES = "AzureServices" + """ + Indicates that requests originating from Azure trusted services can bypass the rules defined in the 'ipRules' section. + """ + + +class SearchDisabledDataExfiltrationOption(str, Enum): + """ + A specific data exfiltration scenario that is disabled for the service. + """ + ALL = "All" + """ + Indicates that all data exfiltration scenarios are disabled. + """ + + +class SearchEncryptionWithCmk(str, Enum): + """ + Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + """ + DISABLED = "Disabled" + """ + No enforcement of customer-managed key encryption will be made. Only the built-in service-managed encryption is used. + """ + ENABLED = "Enabled" + """ + Search service will be marked as non-compliant if one or more objects aren't encrypted with a customer-managed key. + """ + UNSPECIFIED = "Unspecified" + """ + Enforcement policy is not explicitly specified, with the behavior being the same as if it were set to 'Disabled'. + """ + + +class SearchSemanticSearch(str, Enum): + """ + Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + """ + DISABLED = "disabled" + """ + Indicates that semantic reranker is disabled for the search service. This is the default. + """ + FREE = "free" + """ + Enables semantic reranker on a search service and indicates that it is to be used within the limits of the free plan. The free plan would cap the volume of semantic ranking requests and is offered at no extra charge. This is the default for newly provisioned search services. + """ + STANDARD = "standard" + """ + Enables semantic reranker on a search service as a billable feature, with higher throughput and volume of semantically reranked queries. + """ + + +class SharedPrivateLinkResourceProvisioningState(str, Enum): + """ + The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + """ + UPDATING = "Updating" + """ + The shared private link resource is in the process of being created along with other resources for it to be fully functional. + """ + DELETING = "Deleting" + """ + The shared private link resource is in the process of being deleted. + """ + FAILED = "Failed" + """ + The shared private link resource has failed to be provisioned or deleted. + """ + SUCCEEDED = "Succeeded" + """ + The shared private link resource has finished provisioning and is ready for approval. + """ + INCOMPLETE = "Incomplete" + """ + Provisioning request for the shared private link resource has been accepted but the process of creation has not commenced yet. + """ + + +class SharedPrivateLinkResourceStatus(str, Enum): + """ + Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + """ + PENDING = "Pending" + """ + The shared private link resource has been created and is pending approval. + """ + APPROVED = "Approved" + """ + The shared private link resource is approved and is ready for use. + """ + REJECTED = "Rejected" + """ + The shared private link resource has been rejected and cannot be used. + """ + DISCONNECTED = "Disconnected" + """ + The shared private link resource has been removed from the service. + """ + + +class SkuName(str, Enum): + """ + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + """ + FREE = "free" + """ + Free tier, with no SLA guarantees and a subset of the features offered on billable tiers. + """ + BASIC = "basic" + """ + Billable tier for a dedicated service having up to 3 replicas. + """ + STANDARD = "standard" + """ + Billable tier for a dedicated service having up to 12 partitions and 12 replicas. + """ + STANDARD2 = "standard2" + """ + Similar to 'standard', but with more capacity per search unit. + """ + STANDARD3 = "standard3" + """ + The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). + """ + STORAGE_OPTIMIZED_L1 = "storage_optimized_l1" + """ + Billable tier for a dedicated service that supports 1TB per partition, up to 12 partitions. + """ + STORAGE_OPTIMIZED_L2 = "storage_optimized_l2" + """ + Billable tier for a dedicated service that supports 2TB per partition, up to 12 partitions. + """ diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/_inputs.py b/sdk/python/pulumi_azure_native/search/v20250201preview/_inputs.py new file mode 100644 index 000000000000..0578a0125f3b --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/_inputs.py @@ -0,0 +1,701 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from ._enums import * + +__all__ = [ + 'DataPlaneAadOrApiKeyAuthOptionArgs', + 'DataPlaneAadOrApiKeyAuthOptionArgsDict', + 'DataPlaneAuthOptionsArgs', + 'DataPlaneAuthOptionsArgsDict', + 'EncryptionWithCmkArgs', + 'EncryptionWithCmkArgsDict', + 'IdentityArgs', + 'IdentityArgsDict', + 'IpRuleArgs', + 'IpRuleArgsDict', + 'NetworkRuleSetArgs', + 'NetworkRuleSetArgsDict', + 'PrivateEndpointConnectionPropertiesPrivateEndpointArgs', + 'PrivateEndpointConnectionPropertiesPrivateEndpointArgsDict', + 'PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs', + 'PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsDict', + 'PrivateEndpointConnectionPropertiesArgs', + 'PrivateEndpointConnectionPropertiesArgsDict', + 'SharedPrivateLinkResourcePropertiesArgs', + 'SharedPrivateLinkResourcePropertiesArgsDict', + 'SkuArgs', + 'SkuArgsDict', +] + +MYPY = False + +if not MYPY: + class DataPlaneAadOrApiKeyAuthOptionArgsDict(TypedDict): + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + """ + aad_auth_failure_mode: NotRequired[pulumi.Input['AadAuthFailureMode']] + """ + Describes what response the data plane API of a search service would send for requests that failed authentication. + """ +elif False: + DataPlaneAadOrApiKeyAuthOptionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DataPlaneAadOrApiKeyAuthOptionArgs: + def __init__(__self__, *, + aad_auth_failure_mode: Optional[pulumi.Input['AadAuthFailureMode']] = None): + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + :param pulumi.Input['AadAuthFailureMode'] aad_auth_failure_mode: Describes what response the data plane API of a search service would send for requests that failed authentication. + """ + if aad_auth_failure_mode is not None: + pulumi.set(__self__, "aad_auth_failure_mode", aad_auth_failure_mode) + + @property + @pulumi.getter(name="aadAuthFailureMode") + def aad_auth_failure_mode(self) -> Optional[pulumi.Input['AadAuthFailureMode']]: + """ + Describes what response the data plane API of a search service would send for requests that failed authentication. + """ + return pulumi.get(self, "aad_auth_failure_mode") + + @aad_auth_failure_mode.setter + def aad_auth_failure_mode(self, value: Optional[pulumi.Input['AadAuthFailureMode']]): + pulumi.set(self, "aad_auth_failure_mode", value) + + +if not MYPY: + class DataPlaneAuthOptionsArgsDict(TypedDict): + """ + Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + """ + aad_or_api_key: NotRequired[pulumi.Input['DataPlaneAadOrApiKeyAuthOptionArgsDict']] + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + """ + api_key_only: NotRequired[Any] + """ + Indicates that only the API key can be used for authentication. + """ +elif False: + DataPlaneAuthOptionsArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class DataPlaneAuthOptionsArgs: + def __init__(__self__, *, + aad_or_api_key: Optional[pulumi.Input['DataPlaneAadOrApiKeyAuthOptionArgs']] = None, + api_key_only: Optional[Any] = None): + """ + Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + :param pulumi.Input['DataPlaneAadOrApiKeyAuthOptionArgs'] aad_or_api_key: Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + :param Any api_key_only: Indicates that only the API key can be used for authentication. + """ + if aad_or_api_key is not None: + pulumi.set(__self__, "aad_or_api_key", aad_or_api_key) + if api_key_only is not None: + pulumi.set(__self__, "api_key_only", api_key_only) + + @property + @pulumi.getter(name="aadOrApiKey") + def aad_or_api_key(self) -> Optional[pulumi.Input['DataPlaneAadOrApiKeyAuthOptionArgs']]: + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + """ + return pulumi.get(self, "aad_or_api_key") + + @aad_or_api_key.setter + def aad_or_api_key(self, value: Optional[pulumi.Input['DataPlaneAadOrApiKeyAuthOptionArgs']]): + pulumi.set(self, "aad_or_api_key", value) + + @property + @pulumi.getter(name="apiKeyOnly") + def api_key_only(self) -> Optional[Any]: + """ + Indicates that only the API key can be used for authentication. + """ + return pulumi.get(self, "api_key_only") + + @api_key_only.setter + def api_key_only(self, value: Optional[Any]): + pulumi.set(self, "api_key_only", value) + + +if not MYPY: + class EncryptionWithCmkArgsDict(TypedDict): + """ + Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + """ + enforcement: NotRequired[pulumi.Input['SearchEncryptionWithCmk']] + """ + Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + """ +elif False: + EncryptionWithCmkArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class EncryptionWithCmkArgs: + def __init__(__self__, *, + enforcement: Optional[pulumi.Input['SearchEncryptionWithCmk']] = None): + """ + Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + :param pulumi.Input['SearchEncryptionWithCmk'] enforcement: Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + """ + if enforcement is not None: + pulumi.set(__self__, "enforcement", enforcement) + + @property + @pulumi.getter + def enforcement(self) -> Optional[pulumi.Input['SearchEncryptionWithCmk']]: + """ + Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + """ + return pulumi.get(self, "enforcement") + + @enforcement.setter + def enforcement(self, value: Optional[pulumi.Input['SearchEncryptionWithCmk']]): + pulumi.set(self, "enforcement", value) + + +if not MYPY: + class IdentityArgsDict(TypedDict): + """ + Details about the search service identity. A null value indicates that the search service has no identity assigned. + """ + type: pulumi.Input[Union[str, 'IdentityType']] + """ + The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + """ + user_assigned_identities: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] + """ + The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ +elif False: + IdentityArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class IdentityArgs: + def __init__(__self__, *, + type: pulumi.Input[Union[str, 'IdentityType']], + user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + """ + Details about the search service identity. A null value indicates that the search service has no identity assigned. + :param pulumi.Input[Union[str, 'IdentityType']] type: The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + :param pulumi.Input[Sequence[pulumi.Input[str]]] user_assigned_identities: The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[Union[str, 'IdentityType']]: + """ + The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Union[str, 'IdentityType']]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + @user_assigned_identities.setter + def user_assigned_identities(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "user_assigned_identities", value) + + +if not MYPY: + class IpRuleArgsDict(TypedDict): + """ + The IP restriction rule of the Azure AI Search service. + """ + value: NotRequired[pulumi.Input[str]] + """ + Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + """ +elif False: + IpRuleArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class IpRuleArgs: + def __init__(__self__, *, + value: Optional[pulumi.Input[str]] = None): + """ + The IP restriction rule of the Azure AI Search service. + :param pulumi.Input[str] value: Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[pulumi.Input[str]]: + """ + Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "value", value) + + +if not MYPY: + class NetworkRuleSetArgsDict(TypedDict): + """ + Network specific rules that determine how the Azure AI Search service may be reached. + """ + bypass: NotRequired[pulumi.Input[Union[str, 'SearchBypass']]] + """ + Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + """ + ip_rules: NotRequired[pulumi.Input[Sequence[pulumi.Input['IpRuleArgsDict']]]] + """ + A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + """ +elif False: + NetworkRuleSetArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class NetworkRuleSetArgs: + def __init__(__self__, *, + bypass: Optional[pulumi.Input[Union[str, 'SearchBypass']]] = None, + ip_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IpRuleArgs']]]] = None): + """ + Network specific rules that determine how the Azure AI Search service may be reached. + :param pulumi.Input[Union[str, 'SearchBypass']] bypass: Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + :param pulumi.Input[Sequence[pulumi.Input['IpRuleArgs']]] ip_rules: A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + """ + if bypass is not None: + pulumi.set(__self__, "bypass", bypass) + if ip_rules is not None: + pulumi.set(__self__, "ip_rules", ip_rules) + + @property + @pulumi.getter + def bypass(self) -> Optional[pulumi.Input[Union[str, 'SearchBypass']]]: + """ + Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + """ + return pulumi.get(self, "bypass") + + @bypass.setter + def bypass(self, value: Optional[pulumi.Input[Union[str, 'SearchBypass']]]): + pulumi.set(self, "bypass", value) + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['IpRuleArgs']]]]: + """ + A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + """ + return pulumi.get(self, "ip_rules") + + @ip_rules.setter + def ip_rules(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['IpRuleArgs']]]]): + pulumi.set(self, "ip_rules", value) + + +if not MYPY: + class PrivateEndpointConnectionPropertiesPrivateEndpointArgsDict(TypedDict): + """ + The private endpoint resource from Microsoft.Network provider. + """ + id: NotRequired[pulumi.Input[str]] + """ + The resource ID of the private endpoint resource from Microsoft.Network provider. + """ +elif False: + PrivateEndpointConnectionPropertiesPrivateEndpointArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PrivateEndpointConnectionPropertiesPrivateEndpointArgs: + def __init__(__self__, *, + id: Optional[pulumi.Input[str]] = None): + """ + The private endpoint resource from Microsoft.Network provider. + :param pulumi.Input[str] id: The resource ID of the private endpoint resource from Microsoft.Network provider. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of the private endpoint resource from Microsoft.Network provider. + """ + return pulumi.get(self, "id") + + @id.setter + def id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "id", value) + + +if not MYPY: + class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsDict(TypedDict): + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + """ + actions_required: NotRequired[pulumi.Input[str]] + """ + A description of any extra actions that may be required. + """ + description: NotRequired[pulumi.Input[str]] + """ + The description for the private link service connection state. + """ + status: NotRequired[pulumi.Input['PrivateLinkServiceConnectionStatus']] + """ + Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + """ +elif False: + PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs: + def __init__(__self__, *, + actions_required: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input['PrivateLinkServiceConnectionStatus']] = None): + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + :param pulumi.Input[str] actions_required: A description of any extra actions that may be required. + :param pulumi.Input[str] description: The description for the private link service connection state. + :param pulumi.Input['PrivateLinkServiceConnectionStatus'] status: Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + """ + if actions_required is None: + actions_required = 'None' + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[pulumi.Input[str]]: + """ + A description of any extra actions that may be required. + """ + return pulumi.get(self, "actions_required") + + @actions_required.setter + def actions_required(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "actions_required", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + The description for the private link service connection state. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input['PrivateLinkServiceConnectionStatus']]: + """ + Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input['PrivateLinkServiceConnectionStatus']]): + pulumi.set(self, "status", value) + + +if not MYPY: + class PrivateEndpointConnectionPropertiesArgsDict(TypedDict): + """ + Describes the properties of an existing private endpoint connection to the search service. + """ + group_id: NotRequired[pulumi.Input[str]] + """ + The group ID of the Azure resource for which the private link service is for. + """ + private_endpoint: NotRequired[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateEndpointArgsDict']] + """ + The private endpoint resource from Microsoft.Network provider. + """ + private_link_service_connection_state: NotRequired[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgsDict']] + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + """ + provisioning_state: NotRequired[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionProvisioningState']]] + """ + The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + """ +elif False: + PrivateEndpointConnectionPropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class PrivateEndpointConnectionPropertiesArgs: + def __init__(__self__, *, + group_id: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateEndpointArgs']] = None, + private_link_service_connection_state: Optional[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs']] = None, + provisioning_state: Optional[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionProvisioningState']]] = None): + """ + Describes the properties of an existing private endpoint connection to the search service. + :param pulumi.Input[str] group_id: The group ID of the Azure resource for which the private link service is for. + :param pulumi.Input['PrivateEndpointConnectionPropertiesPrivateEndpointArgs'] private_endpoint: The private endpoint resource from Microsoft.Network provider. + :param pulumi.Input['PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs'] private_link_service_connection_state: Describes the current state of an existing Azure Private Link service connection to the private endpoint. + :param pulumi.Input[Union[str, 'PrivateLinkServiceConnectionProvisioningState']] provisioning_state: The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state is not None: + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + The group ID of the Azure resource for which the private link service is for. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateEndpointArgs']]: + """ + The private endpoint resource from Microsoft.Network provider. + """ + return pulumi.get(self, "private_endpoint") + + @private_endpoint.setter + def private_endpoint(self, value: Optional[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateEndpointArgs']]): + pulumi.set(self, "private_endpoint", value) + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs']]: + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @private_link_service_connection_state.setter + def private_link_service_connection_state(self, value: Optional[pulumi.Input['PrivateEndpointConnectionPropertiesPrivateLinkServiceConnectionStateArgs']]): + pulumi.set(self, "private_link_service_connection_state", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionProvisioningState']]]: + """ + The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[Union[str, 'PrivateLinkServiceConnectionProvisioningState']]]): + pulumi.set(self, "provisioning_state", value) + + +if not MYPY: + class SharedPrivateLinkResourcePropertiesArgsDict(TypedDict): + """ + Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + """ + group_id: NotRequired[pulumi.Input[str]] + """ + The group ID from the provider of resource the shared private link resource is for. + """ + private_link_resource_id: NotRequired[pulumi.Input[str]] + """ + The resource ID of the resource the shared private link resource is for. + """ + provisioning_state: NotRequired[pulumi.Input[Union[str, 'SharedPrivateLinkResourceProvisioningState']]] + """ + The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + """ + request_message: NotRequired[pulumi.Input[str]] + """ + The message for requesting approval of the shared private link resource. + """ + resource_region: NotRequired[pulumi.Input[str]] + """ + Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + """ + status: NotRequired[pulumi.Input[Union[str, 'SharedPrivateLinkResourceStatus']]] + """ + Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + """ +elif False: + SharedPrivateLinkResourcePropertiesArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SharedPrivateLinkResourcePropertiesArgs: + def __init__(__self__, *, + group_id: Optional[pulumi.Input[str]] = None, + private_link_resource_id: Optional[pulumi.Input[str]] = None, + provisioning_state: Optional[pulumi.Input[Union[str, 'SharedPrivateLinkResourceProvisioningState']]] = None, + request_message: Optional[pulumi.Input[str]] = None, + resource_region: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[Union[str, 'SharedPrivateLinkResourceStatus']]] = None): + """ + Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + :param pulumi.Input[str] group_id: The group ID from the provider of resource the shared private link resource is for. + :param pulumi.Input[str] private_link_resource_id: The resource ID of the resource the shared private link resource is for. + :param pulumi.Input[Union[str, 'SharedPrivateLinkResourceProvisioningState']] provisioning_state: The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + :param pulumi.Input[str] request_message: The message for requesting approval of the shared private link resource. + :param pulumi.Input[str] resource_region: Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + :param pulumi.Input[Union[str, 'SharedPrivateLinkResourceStatus']] status: Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_link_resource_id is not None: + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if request_message is not None: + pulumi.set(__self__, "request_message", request_message) + if resource_region is not None: + pulumi.set(__self__, "resource_region", resource_region) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[pulumi.Input[str]]: + """ + The group ID from the provider of resource the shared private link resource is for. + """ + return pulumi.get(self, "group_id") + + @group_id.setter + def group_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "group_id", value) + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> Optional[pulumi.Input[str]]: + """ + The resource ID of the resource the shared private link resource is for. + """ + return pulumi.get(self, "private_link_resource_id") + + @private_link_resource_id.setter + def private_link_resource_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_link_resource_id", value) + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[pulumi.Input[Union[str, 'SharedPrivateLinkResourceProvisioningState']]]: + """ + The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + """ + return pulumi.get(self, "provisioning_state") + + @provisioning_state.setter + def provisioning_state(self, value: Optional[pulumi.Input[Union[str, 'SharedPrivateLinkResourceProvisioningState']]]): + pulumi.set(self, "provisioning_state", value) + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> Optional[pulumi.Input[str]]: + """ + The message for requesting approval of the shared private link resource. + """ + return pulumi.get(self, "request_message") + + @request_message.setter + def request_message(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "request_message", value) + + @property + @pulumi.getter(name="resourceRegion") + def resource_region(self) -> Optional[pulumi.Input[str]]: + """ + Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + """ + return pulumi.get(self, "resource_region") + + @resource_region.setter + def resource_region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_region", value) + + @property + @pulumi.getter + def status(self) -> Optional[pulumi.Input[Union[str, 'SharedPrivateLinkResourceStatus']]]: + """ + Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: Optional[pulumi.Input[Union[str, 'SharedPrivateLinkResourceStatus']]]): + pulumi.set(self, "status", value) + + +if not MYPY: + class SkuArgsDict(TypedDict): + """ + Defines the SKU of a search service, which determines billing rate and capacity limits. + """ + name: NotRequired[pulumi.Input[Union[str, 'SkuName']]] + """ + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + """ +elif False: + SkuArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SkuArgs: + def __init__(__self__, *, + name: Optional[pulumi.Input[Union[str, 'SkuName']]] = None): + """ + Defines the SKU of a search service, which determines billing rate and capacity limits. + :param pulumi.Input[Union[str, 'SkuName']] name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[Union[str, 'SkuName']]]: + """ + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[Union[str, 'SkuName']]]): + pulumi.set(self, "name", value) + + diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/get_private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/v20250201preview/get_private_endpoint_connection.py new file mode 100644 index 000000000000..3534fdfbb82e --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/get_private_endpoint_connection.py @@ -0,0 +1,135 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetPrivateEndpointConnectionResult', + 'AwaitableGetPrivateEndpointConnectionResult', + 'get_private_endpoint_connection', + 'get_private_endpoint_connection_output', +] + +@pulumi.output_type +class GetPrivateEndpointConnectionResult: + """ + Describes an existing private endpoint connection to the Azure AI Search service. + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.PrivateEndpointConnectionPropertiesResponse': + """ + Describes the properties of an existing private endpoint connection to the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetPrivateEndpointConnectionResult(GetPrivateEndpointConnectionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointConnectionResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_private_endpoint_connection(private_endpoint_connection_name: Optional[str] = None, + resource_group_name: Optional[str] = None, + search_service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointConnectionResult: + """ + Gets the details of the private endpoint connection to the search service in the given resource group. + + + :param str private_endpoint_connection_name: The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:search/v20250201preview:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult).value + + return AwaitableGetPrivateEndpointConnectionResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + type=pulumi.get(__ret__, 'type')) +def get_private_endpoint_connection_output(private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPrivateEndpointConnectionResult]: + """ + Gets the details of the private endpoint connection to the search service in the given resource group. + + + :param str private_endpoint_connection_name: The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['privateEndpointConnectionName'] = private_endpoint_connection_name + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:search/v20250201preview:getPrivateEndpointConnection', __args__, opts=opts, typ=GetPrivateEndpointConnectionResult) + return __ret__.apply(lambda __response__: GetPrivateEndpointConnectionResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + properties=pulumi.get(__response__, 'properties'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/get_service.py b/sdk/python/pulumi_azure_native/search/v20250201preview/get_service.py new file mode 100644 index 000000000000..46e076c0087b --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/get_service.py @@ -0,0 +1,465 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetServiceResult', + 'AwaitableGetServiceResult', + 'get_service', + 'get_service_output', +] + +@pulumi.output_type +class GetServiceResult: + """ + Describes an Azure AI Search service and its current state. + """ + def __init__(__self__, auth_options=None, compute_type=None, disable_local_auth=None, disabled_data_exfiltration_options=None, e_tag=None, encryption_with_cmk=None, endpoint=None, hosting_mode=None, id=None, identity=None, location=None, name=None, network_rule_set=None, partition_count=None, private_endpoint_connections=None, provisioning_state=None, public_network_access=None, replica_count=None, semantic_search=None, service_upgrade_date=None, shared_private_link_resources=None, sku=None, status=None, status_details=None, system_data=None, tags=None, type=None, upgrade_available=None): + if auth_options and not isinstance(auth_options, dict): + raise TypeError("Expected argument 'auth_options' to be a dict") + pulumi.set(__self__, "auth_options", auth_options) + if compute_type and not isinstance(compute_type, str): + raise TypeError("Expected argument 'compute_type' to be a str") + pulumi.set(__self__, "compute_type", compute_type) + if disable_local_auth and not isinstance(disable_local_auth, bool): + raise TypeError("Expected argument 'disable_local_auth' to be a bool") + pulumi.set(__self__, "disable_local_auth", disable_local_auth) + if disabled_data_exfiltration_options and not isinstance(disabled_data_exfiltration_options, list): + raise TypeError("Expected argument 'disabled_data_exfiltration_options' to be a list") + pulumi.set(__self__, "disabled_data_exfiltration_options", disabled_data_exfiltration_options) + if e_tag and not isinstance(e_tag, str): + raise TypeError("Expected argument 'e_tag' to be a str") + pulumi.set(__self__, "e_tag", e_tag) + if encryption_with_cmk and not isinstance(encryption_with_cmk, dict): + raise TypeError("Expected argument 'encryption_with_cmk' to be a dict") + pulumi.set(__self__, "encryption_with_cmk", encryption_with_cmk) + if endpoint and not isinstance(endpoint, str): + raise TypeError("Expected argument 'endpoint' to be a str") + pulumi.set(__self__, "endpoint", endpoint) + if hosting_mode and not isinstance(hosting_mode, str): + raise TypeError("Expected argument 'hosting_mode' to be a str") + pulumi.set(__self__, "hosting_mode", hosting_mode) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity and not isinstance(identity, dict): + raise TypeError("Expected argument 'identity' to be a dict") + pulumi.set(__self__, "identity", identity) + if location and not isinstance(location, str): + raise TypeError("Expected argument 'location' to be a str") + pulumi.set(__self__, "location", location) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if network_rule_set and not isinstance(network_rule_set, dict): + raise TypeError("Expected argument 'network_rule_set' to be a dict") + pulumi.set(__self__, "network_rule_set", network_rule_set) + if partition_count and not isinstance(partition_count, int): + raise TypeError("Expected argument 'partition_count' to be a int") + pulumi.set(__self__, "partition_count", partition_count) + if private_endpoint_connections and not isinstance(private_endpoint_connections, list): + raise TypeError("Expected argument 'private_endpoint_connections' to be a list") + pulumi.set(__self__, "private_endpoint_connections", private_endpoint_connections) + if provisioning_state and not isinstance(provisioning_state, str): + raise TypeError("Expected argument 'provisioning_state' to be a str") + pulumi.set(__self__, "provisioning_state", provisioning_state) + if public_network_access and not isinstance(public_network_access, str): + raise TypeError("Expected argument 'public_network_access' to be a str") + pulumi.set(__self__, "public_network_access", public_network_access) + if replica_count and not isinstance(replica_count, int): + raise TypeError("Expected argument 'replica_count' to be a int") + pulumi.set(__self__, "replica_count", replica_count) + if semantic_search and not isinstance(semantic_search, str): + raise TypeError("Expected argument 'semantic_search' to be a str") + pulumi.set(__self__, "semantic_search", semantic_search) + if service_upgrade_date and not isinstance(service_upgrade_date, str): + raise TypeError("Expected argument 'service_upgrade_date' to be a str") + pulumi.set(__self__, "service_upgrade_date", service_upgrade_date) + if shared_private_link_resources and not isinstance(shared_private_link_resources, list): + raise TypeError("Expected argument 'shared_private_link_resources' to be a list") + pulumi.set(__self__, "shared_private_link_resources", shared_private_link_resources) + if sku and not isinstance(sku, dict): + raise TypeError("Expected argument 'sku' to be a dict") + pulumi.set(__self__, "sku", sku) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if status_details and not isinstance(status_details, str): + raise TypeError("Expected argument 'status_details' to be a str") + pulumi.set(__self__, "status_details", status_details) + if system_data and not isinstance(system_data, dict): + raise TypeError("Expected argument 'system_data' to be a dict") + pulumi.set(__self__, "system_data", system_data) + if tags and not isinstance(tags, dict): + raise TypeError("Expected argument 'tags' to be a dict") + pulumi.set(__self__, "tags", tags) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + if upgrade_available and not isinstance(upgrade_available, bool): + raise TypeError("Expected argument 'upgrade_available' to be a bool") + pulumi.set(__self__, "upgrade_available", upgrade_available) + + @property + @pulumi.getter(name="authOptions") + def auth_options(self) -> Optional['outputs.DataPlaneAuthOptionsResponse']: + """ + Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + """ + return pulumi.get(self, "auth_options") + + @property + @pulumi.getter(name="computeType") + def compute_type(self) -> Optional[str]: + """ + Configure this property to support the search service using either the default compute or Azure Confidential Compute. + """ + return pulumi.get(self, "compute_type") + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> Optional[bool]: + """ + When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + """ + return pulumi.get(self, "disable_local_auth") + + @property + @pulumi.getter(name="disabledDataExfiltrationOptions") + def disabled_data_exfiltration_options(self) -> Optional[Sequence[str]]: + """ + A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + """ + return pulumi.get(self, "disabled_data_exfiltration_options") + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> str: + """ + A system generated property representing the service's etag that can be for optimistic concurrency control during updates. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="encryptionWithCmk") + def encryption_with_cmk(self) -> Optional['outputs.EncryptionWithCmkResponse']: + """ + Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + """ + return pulumi.get(self, "encryption_with_cmk") + + @property + @pulumi.getter + def endpoint(self) -> Optional[str]: + """ + The endpoint of the Azure AI Search service. + """ + return pulumi.get(self, "endpoint") + + @property + @pulumi.getter(name="hostingMode") + def hosting_mode(self) -> Optional[str]: + """ + Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + """ + return pulumi.get(self, "hosting_mode") + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def identity(self) -> Optional['outputs.IdentityResponse']: + """ + The identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> str: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkRuleSet") + def network_rule_set(self) -> Optional['outputs.NetworkRuleSetResponse']: + """ + Network specific rules that determine how the Azure AI Search service may be reached. + """ + return pulumi.get(self, "network_rule_set") + + @property + @pulumi.getter(name="partitionCount") + def partition_count(self) -> Optional[int]: + """ + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + """ + return pulumi.get(self, "partition_count") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> Sequence['outputs.PrivateEndpointConnectionResponse']: + """ + The list of private endpoint connections to the Azure AI Search service. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> str: + """ + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[str]: + """ + This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="replicaCount") + def replica_count(self) -> Optional[int]: + """ + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + """ + return pulumi.get(self, "replica_count") + + @property + @pulumi.getter(name="semanticSearch") + def semantic_search(self) -> Optional[str]: + """ + Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + """ + return pulumi.get(self, "semantic_search") + + @property + @pulumi.getter(name="serviceUpgradeDate") + def service_upgrade_date(self) -> str: + """ + The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. + """ + return pulumi.get(self, "service_upgrade_date") + + @property + @pulumi.getter(name="sharedPrivateLinkResources") + def shared_private_link_resources(self) -> Sequence['outputs.SharedPrivateLinkResourceResponse']: + """ + The list of shared private link resources managed by the Azure AI Search service. + """ + return pulumi.get(self, "shared_private_link_resources") + + @property + @pulumi.getter + def sku(self) -> Optional['outputs.SkuResponse']: + """ + The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def status(self) -> str: + """ + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="statusDetails") + def status_details(self) -> str: + """ + The details of the search service status. + """ + return pulumi.get(self, "status_details") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> 'outputs.SystemDataResponse': + """ + Azure Resource Manager metadata of the search service containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> Optional[Mapping[str, str]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeAvailable") + def upgrade_available(self) -> bool: + """ + Indicates whether or not the search service has an upgrade available. + """ + return pulumi.get(self, "upgrade_available") + + +class AwaitableGetServiceResult(GetServiceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceResult( + auth_options=self.auth_options, + compute_type=self.compute_type, + disable_local_auth=self.disable_local_auth, + disabled_data_exfiltration_options=self.disabled_data_exfiltration_options, + e_tag=self.e_tag, + encryption_with_cmk=self.encryption_with_cmk, + endpoint=self.endpoint, + hosting_mode=self.hosting_mode, + id=self.id, + identity=self.identity, + location=self.location, + name=self.name, + network_rule_set=self.network_rule_set, + partition_count=self.partition_count, + private_endpoint_connections=self.private_endpoint_connections, + provisioning_state=self.provisioning_state, + public_network_access=self.public_network_access, + replica_count=self.replica_count, + semantic_search=self.semantic_search, + service_upgrade_date=self.service_upgrade_date, + shared_private_link_resources=self.shared_private_link_resources, + sku=self.sku, + status=self.status, + status_details=self.status_details, + system_data=self.system_data, + tags=self.tags, + type=self.type, + upgrade_available=self.upgrade_available) + + +def get_service(resource_group_name: Optional[str] = None, + search_service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceResult: + """ + Gets the search service with the given name in the given resource group. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:search/v20250201preview:getService', __args__, opts=opts, typ=GetServiceResult).value + + return AwaitableGetServiceResult( + auth_options=pulumi.get(__ret__, 'auth_options'), + compute_type=pulumi.get(__ret__, 'compute_type'), + disable_local_auth=pulumi.get(__ret__, 'disable_local_auth'), + disabled_data_exfiltration_options=pulumi.get(__ret__, 'disabled_data_exfiltration_options'), + e_tag=pulumi.get(__ret__, 'e_tag'), + encryption_with_cmk=pulumi.get(__ret__, 'encryption_with_cmk'), + endpoint=pulumi.get(__ret__, 'endpoint'), + hosting_mode=pulumi.get(__ret__, 'hosting_mode'), + id=pulumi.get(__ret__, 'id'), + identity=pulumi.get(__ret__, 'identity'), + location=pulumi.get(__ret__, 'location'), + name=pulumi.get(__ret__, 'name'), + network_rule_set=pulumi.get(__ret__, 'network_rule_set'), + partition_count=pulumi.get(__ret__, 'partition_count'), + private_endpoint_connections=pulumi.get(__ret__, 'private_endpoint_connections'), + provisioning_state=pulumi.get(__ret__, 'provisioning_state'), + public_network_access=pulumi.get(__ret__, 'public_network_access'), + replica_count=pulumi.get(__ret__, 'replica_count'), + semantic_search=pulumi.get(__ret__, 'semantic_search'), + service_upgrade_date=pulumi.get(__ret__, 'service_upgrade_date'), + shared_private_link_resources=pulumi.get(__ret__, 'shared_private_link_resources'), + sku=pulumi.get(__ret__, 'sku'), + status=pulumi.get(__ret__, 'status'), + status_details=pulumi.get(__ret__, 'status_details'), + system_data=pulumi.get(__ret__, 'system_data'), + tags=pulumi.get(__ret__, 'tags'), + type=pulumi.get(__ret__, 'type'), + upgrade_available=pulumi.get(__ret__, 'upgrade_available')) +def get_service_output(resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceResult]: + """ + Gets the search service with the given name in the given resource group. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:search/v20250201preview:getService', __args__, opts=opts, typ=GetServiceResult) + return __ret__.apply(lambda __response__: GetServiceResult( + auth_options=pulumi.get(__response__, 'auth_options'), + compute_type=pulumi.get(__response__, 'compute_type'), + disable_local_auth=pulumi.get(__response__, 'disable_local_auth'), + disabled_data_exfiltration_options=pulumi.get(__response__, 'disabled_data_exfiltration_options'), + e_tag=pulumi.get(__response__, 'e_tag'), + encryption_with_cmk=pulumi.get(__response__, 'encryption_with_cmk'), + endpoint=pulumi.get(__response__, 'endpoint'), + hosting_mode=pulumi.get(__response__, 'hosting_mode'), + id=pulumi.get(__response__, 'id'), + identity=pulumi.get(__response__, 'identity'), + location=pulumi.get(__response__, 'location'), + name=pulumi.get(__response__, 'name'), + network_rule_set=pulumi.get(__response__, 'network_rule_set'), + partition_count=pulumi.get(__response__, 'partition_count'), + private_endpoint_connections=pulumi.get(__response__, 'private_endpoint_connections'), + provisioning_state=pulumi.get(__response__, 'provisioning_state'), + public_network_access=pulumi.get(__response__, 'public_network_access'), + replica_count=pulumi.get(__response__, 'replica_count'), + semantic_search=pulumi.get(__response__, 'semantic_search'), + service_upgrade_date=pulumi.get(__response__, 'service_upgrade_date'), + shared_private_link_resources=pulumi.get(__response__, 'shared_private_link_resources'), + sku=pulumi.get(__response__, 'sku'), + status=pulumi.get(__response__, 'status'), + status_details=pulumi.get(__response__, 'status_details'), + system_data=pulumi.get(__response__, 'system_data'), + tags=pulumi.get(__response__, 'tags'), + type=pulumi.get(__response__, 'type'), + upgrade_available=pulumi.get(__response__, 'upgrade_available'))) diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/get_shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/v20250201preview/get_shared_private_link_resource.py new file mode 100644 index 000000000000..1a6e01605350 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/get_shared_private_link_resource.py @@ -0,0 +1,135 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'GetSharedPrivateLinkResourceResult', + 'AwaitableGetSharedPrivateLinkResourceResult', + 'get_shared_private_link_resource', + 'get_shared_private_link_resource_output', +] + +@pulumi.output_type +class GetSharedPrivateLinkResourceResult: + """ + Describes a shared private link resource managed by the Azure AI Search service. + """ + def __init__(__self__, id=None, name=None, properties=None, type=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, dict): + raise TypeError("Expected argument 'properties' to be a dict") + pulumi.set(__self__, "properties", properties) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> 'outputs.SharedPrivateLinkResourcePropertiesResponse': + """ + Describes the properties of a shared private link resource managed by the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + +class AwaitableGetSharedPrivateLinkResourceResult(GetSharedPrivateLinkResourceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSharedPrivateLinkResourceResult( + id=self.id, + name=self.name, + properties=self.properties, + type=self.type) + + +def get_shared_private_link_resource(resource_group_name: Optional[str] = None, + search_service_name: Optional[str] = None, + shared_private_link_resource_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSharedPrivateLinkResourceResult: + """ + Gets the details of the shared private link resource managed by the search service in the given resource group. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + :param str shared_private_link_resource_name: The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + __args__['sharedPrivateLinkResourceName'] = shared_private_link_resource_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:search/v20250201preview:getSharedPrivateLinkResource', __args__, opts=opts, typ=GetSharedPrivateLinkResourceResult).value + + return AwaitableGetSharedPrivateLinkResourceResult( + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + type=pulumi.get(__ret__, 'type')) +def get_shared_private_link_resource_output(resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + shared_private_link_resource_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSharedPrivateLinkResourceResult]: + """ + Gets the details of the shared private link resource managed by the search service in the given resource group. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + :param str shared_private_link_resource_name: The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + __args__['sharedPrivateLinkResourceName'] = shared_private_link_resource_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:search/v20250201preview:getSharedPrivateLinkResource', __args__, opts=opts, typ=GetSharedPrivateLinkResourceResult) + return __ret__.apply(lambda __response__: GetSharedPrivateLinkResourceResult( + id=pulumi.get(__response__, 'id'), + name=pulumi.get(__response__, 'name'), + properties=pulumi.get(__response__, 'properties'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/list_admin_key.py b/sdk/python/pulumi_azure_native/search/v20250201preview/list_admin_key.py new file mode 100644 index 000000000000..42a1c1db5375 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/list_admin_key.py @@ -0,0 +1,100 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities + +__all__ = [ + 'ListAdminKeyResult', + 'AwaitableListAdminKeyResult', + 'list_admin_key', + 'list_admin_key_output', +] + +@pulumi.output_type +class ListAdminKeyResult: + """ + Response containing the primary and secondary admin API keys for a given Azure AI Search service. + """ + def __init__(__self__, primary_key=None, secondary_key=None): + if primary_key and not isinstance(primary_key, str): + raise TypeError("Expected argument 'primary_key' to be a str") + pulumi.set(__self__, "primary_key", primary_key) + if secondary_key and not isinstance(secondary_key, str): + raise TypeError("Expected argument 'secondary_key' to be a str") + pulumi.set(__self__, "secondary_key", secondary_key) + + @property + @pulumi.getter(name="primaryKey") + def primary_key(self) -> str: + """ + The primary admin API key of the search service. + """ + return pulumi.get(self, "primary_key") + + @property + @pulumi.getter(name="secondaryKey") + def secondary_key(self) -> str: + """ + The secondary admin API key of the search service. + """ + return pulumi.get(self, "secondary_key") + + +class AwaitableListAdminKeyResult(ListAdminKeyResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListAdminKeyResult( + primary_key=self.primary_key, + secondary_key=self.secondary_key) + + +def list_admin_key(resource_group_name: Optional[str] = None, + search_service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListAdminKeyResult: + """ + Gets the primary and secondary admin API keys for the specified Azure AI Search service. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:search/v20250201preview:listAdminKey', __args__, opts=opts, typ=ListAdminKeyResult).value + + return AwaitableListAdminKeyResult( + primary_key=pulumi.get(__ret__, 'primary_key'), + secondary_key=pulumi.get(__ret__, 'secondary_key')) +def list_admin_key_output(resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListAdminKeyResult]: + """ + Gets the primary and secondary admin API keys for the specified Azure AI Search service. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:search/v20250201preview:listAdminKey', __args__, opts=opts, typ=ListAdminKeyResult) + return __ret__.apply(lambda __response__: ListAdminKeyResult( + primary_key=pulumi.get(__response__, 'primary_key'), + secondary_key=pulumi.get(__response__, 'secondary_key'))) diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/list_query_key_by_search_service.py b/sdk/python/pulumi_azure_native/search/v20250201preview/list_query_key_by_search_service.py new file mode 100644 index 000000000000..6b6e29a1479d --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/list_query_key_by_search_service.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs + +__all__ = [ + 'ListQueryKeyBySearchServiceResult', + 'AwaitableListQueryKeyBySearchServiceResult', + 'list_query_key_by_search_service', + 'list_query_key_by_search_service_output', +] + +@pulumi.output_type +class ListQueryKeyBySearchServiceResult: + """ + Response containing the query API keys for a given Azure AI Search service. + """ + def __init__(__self__, next_link=None, value=None): + if next_link and not isinstance(next_link, str): + raise TypeError("Expected argument 'next_link' to be a str") + pulumi.set(__self__, "next_link", next_link) + if value and not isinstance(value, list): + raise TypeError("Expected argument 'value' to be a list") + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter(name="nextLink") + def next_link(self) -> str: + """ + Request URL that can be used to query next page of query keys. Returned when the total number of requested query keys exceed maximum page size. + """ + return pulumi.get(self, "next_link") + + @property + @pulumi.getter + def value(self) -> Sequence['outputs.QueryKeyResponse']: + """ + The query keys for the Azure AI Search service. + """ + return pulumi.get(self, "value") + + +class AwaitableListQueryKeyBySearchServiceResult(ListQueryKeyBySearchServiceResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return ListQueryKeyBySearchServiceResult( + next_link=self.next_link, + value=self.value) + + +def list_query_key_by_search_service(resource_group_name: Optional[str] = None, + search_service_name: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListQueryKeyBySearchServiceResult: + """ + Returns the list of query API keys for the given Azure AI Search service. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('azure-native:search/v20250201preview:listQueryKeyBySearchService', __args__, opts=opts, typ=ListQueryKeyBySearchServiceResult).value + + return AwaitableListQueryKeyBySearchServiceResult( + next_link=pulumi.get(__ret__, 'next_link'), + value=pulumi.get(__ret__, 'value')) +def list_query_key_by_search_service_output(resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[ListQueryKeyBySearchServiceResult]: + """ + Returns the list of query API keys for the given Azure AI Search service. + + + :param str resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param str search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + __args__ = dict() + __args__['resourceGroupName'] = resource_group_name + __args__['searchServiceName'] = search_service_name + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('azure-native:search/v20250201preview:listQueryKeyBySearchService', __args__, opts=opts, typ=ListQueryKeyBySearchServiceResult) + return __ret__.apply(lambda __response__: ListQueryKeyBySearchServiceResult( + next_link=pulumi.get(__response__, 'next_link'), + value=pulumi.get(__response__, 'value'))) diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/outputs.py b/sdk/python/pulumi_azure_native/search/v20250201preview/outputs.py new file mode 100644 index 000000000000..63e1ff5f6fc7 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/outputs.py @@ -0,0 +1,943 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * + +__all__ = [ + 'DataPlaneAadOrApiKeyAuthOptionResponse', + 'DataPlaneAuthOptionsResponse', + 'EncryptionWithCmkResponse', + 'IdentityResponse', + 'IpRuleResponse', + 'NetworkRuleSetResponse', + 'PrivateEndpointConnectionPropertiesResponse', + 'PrivateEndpointConnectionPropertiesResponsePrivateEndpoint', + 'PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState', + 'PrivateEndpointConnectionResponse', + 'QueryKeyResponse', + 'SharedPrivateLinkResourcePropertiesResponse', + 'SharedPrivateLinkResourceResponse', + 'SkuResponse', + 'SystemDataResponse', + 'UserAssignedManagedIdentityResponse', +] + +@pulumi.output_type +class DataPlaneAadOrApiKeyAuthOptionResponse(dict): + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "aadAuthFailureMode": + suggest = "aad_auth_failure_mode" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataPlaneAadOrApiKeyAuthOptionResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataPlaneAadOrApiKeyAuthOptionResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataPlaneAadOrApiKeyAuthOptionResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + aad_auth_failure_mode: Optional[str] = None): + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + :param str aad_auth_failure_mode: Describes what response the data plane API of a search service would send for requests that failed authentication. + """ + if aad_auth_failure_mode is not None: + pulumi.set(__self__, "aad_auth_failure_mode", aad_auth_failure_mode) + + @property + @pulumi.getter(name="aadAuthFailureMode") + def aad_auth_failure_mode(self) -> Optional[str]: + """ + Describes what response the data plane API of a search service would send for requests that failed authentication. + """ + return pulumi.get(self, "aad_auth_failure_mode") + + +@pulumi.output_type +class DataPlaneAuthOptionsResponse(dict): + """ + Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "aadOrApiKey": + suggest = "aad_or_api_key" + elif key == "apiKeyOnly": + suggest = "api_key_only" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DataPlaneAuthOptionsResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DataPlaneAuthOptionsResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DataPlaneAuthOptionsResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + aad_or_api_key: Optional['outputs.DataPlaneAadOrApiKeyAuthOptionResponse'] = None, + api_key_only: Optional[Any] = None): + """ + Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true. + :param 'DataPlaneAadOrApiKeyAuthOptionResponse' aad_or_api_key: Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + :param Any api_key_only: Indicates that only the API key can be used for authentication. + """ + if aad_or_api_key is not None: + pulumi.set(__self__, "aad_or_api_key", aad_or_api_key) + if api_key_only is not None: + pulumi.set(__self__, "api_key_only", api_key_only) + + @property + @pulumi.getter(name="aadOrApiKey") + def aad_or_api_key(self) -> Optional['outputs.DataPlaneAadOrApiKeyAuthOptionResponse']: + """ + Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication. + """ + return pulumi.get(self, "aad_or_api_key") + + @property + @pulumi.getter(name="apiKeyOnly") + def api_key_only(self) -> Optional[Any]: + """ + Indicates that only the API key can be used for authentication. + """ + return pulumi.get(self, "api_key_only") + + +@pulumi.output_type +class EncryptionWithCmkResponse(dict): + """ + Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "encryptionComplianceStatus": + suggest = "encryption_compliance_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in EncryptionWithCmkResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + EncryptionWithCmkResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + EncryptionWithCmkResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + encryption_compliance_status: str, + enforcement: Optional[str] = None): + """ + Describes a policy that determines how resources within the search service are to be encrypted with customer managed keys. + :param str encryption_compliance_status: Returns the status of search service compliance with respect to non-CMK-encrypted objects. If a service has more than one unencrypted object, and enforcement is enabled, the service is marked as noncompliant. + :param str enforcement: Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + """ + pulumi.set(__self__, "encryption_compliance_status", encryption_compliance_status) + if enforcement is not None: + pulumi.set(__self__, "enforcement", enforcement) + + @property + @pulumi.getter(name="encryptionComplianceStatus") + def encryption_compliance_status(self) -> str: + """ + Returns the status of search service compliance with respect to non-CMK-encrypted objects. If a service has more than one unencrypted object, and enforcement is enabled, the service is marked as noncompliant. + """ + return pulumi.get(self, "encryption_compliance_status") + + @property + @pulumi.getter + def enforcement(self) -> Optional[str]: + """ + Describes how a search service should enforce compliance if it finds objects that aren't encrypted with the customer-managed key. + """ + return pulumi.get(self, "enforcement") + + +@pulumi.output_type +class IdentityResponse(dict): + """ + Details about the search service identity. A null value indicates that the search service has no identity assigned. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "principalId": + suggest = "principal_id" + elif key == "tenantId": + suggest = "tenant_id" + elif key == "userAssignedIdentities": + suggest = "user_assigned_identities" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + principal_id: str, + tenant_id: str, + type: str, + user_assigned_identities: Optional[Mapping[str, 'outputs.UserAssignedManagedIdentityResponse']] = None): + """ + Details about the search service identity. A null value indicates that the search service has no identity assigned. + :param str principal_id: The principal ID of the system-assigned identity of the search service. + :param str tenant_id: The tenant ID of the system-assigned identity of the search service. + :param str type: The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + :param Mapping[str, 'UserAssignedManagedIdentityResponse'] user_assigned_identities: The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + pulumi.set(__self__, "principal_id", principal_id) + pulumi.set(__self__, "tenant_id", tenant_id) + pulumi.set(__self__, "type", type) + if user_assigned_identities is not None: + pulumi.set(__self__, "user_assigned_identities", user_assigned_identities) + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of the system-assigned identity of the search service. + """ + return pulumi.get(self, "principal_id") + + @property + @pulumi.getter(name="tenantId") + def tenant_id(self) -> str: + """ + The tenant ID of the system-assigned identity of the search service. + """ + return pulumi.get(self, "tenant_id") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="userAssignedIdentities") + def user_assigned_identities(self) -> Optional[Mapping[str, 'outputs.UserAssignedManagedIdentityResponse']]: + """ + The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource IDs in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + """ + return pulumi.get(self, "user_assigned_identities") + + +@pulumi.output_type +class IpRuleResponse(dict): + """ + The IP restriction rule of the Azure AI Search service. + """ + def __init__(__self__, *, + value: Optional[str] = None): + """ + The IP restriction rule of the Azure AI Search service. + :param str value: Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + """ + if value is not None: + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def value(self) -> Optional[str]: + """ + Value corresponding to a single IPv4 address (eg., 123.1.2.3) or an IP range in CIDR format (eg., 123.1.2.3/24) to be allowed. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class NetworkRuleSetResponse(dict): + """ + Network specific rules that determine how the Azure AI Search service may be reached. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "ipRules": + suggest = "ip_rules" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in NetworkRuleSetResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + NetworkRuleSetResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + NetworkRuleSetResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + bypass: Optional[str] = None, + ip_rules: Optional[Sequence['outputs.IpRuleResponse']] = None): + """ + Network specific rules that determine how the Azure AI Search service may be reached. + :param str bypass: Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + :param Sequence['IpRuleResponse'] ip_rules: A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + """ + if bypass is not None: + pulumi.set(__self__, "bypass", bypass) + if ip_rules is not None: + pulumi.set(__self__, "ip_rules", ip_rules) + + @property + @pulumi.getter + def bypass(self) -> Optional[str]: + """ + Possible origins of inbound traffic that can bypass the rules defined in the 'ipRules' section. + """ + return pulumi.get(self, "bypass") + + @property + @pulumi.getter(name="ipRules") + def ip_rules(self) -> Optional[Sequence['outputs.IpRuleResponse']]: + """ + A list of IP restriction rules that defines the inbound network(s) with allowing access to the search service endpoint. At the meantime, all other public IP networks are blocked by the firewall. These restriction rules are applied only when the 'publicNetworkAccess' of the search service is 'enabled'; otherwise, traffic over public interface is not allowed even with any public IP rules, and private endpoint connections would be the exclusive access method. + """ + return pulumi.get(self, "ip_rules") + + +@pulumi.output_type +class PrivateEndpointConnectionPropertiesResponse(dict): + """ + Describes the properties of an existing private endpoint connection to the search service. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupId": + suggest = "group_id" + elif key == "privateEndpoint": + suggest = "private_endpoint" + elif key == "privateLinkServiceConnectionState": + suggest = "private_link_service_connection_state" + elif key == "provisioningState": + suggest = "provisioning_state" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionPropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionPropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionPropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_id: Optional[str] = None, + private_endpoint: Optional['outputs.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint'] = None, + private_link_service_connection_state: Optional['outputs.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState'] = None, + provisioning_state: Optional[str] = None): + """ + Describes the properties of an existing private endpoint connection to the search service. + :param str group_id: The group ID of the Azure resource for which the private link service is for. + :param 'PrivateEndpointConnectionPropertiesResponsePrivateEndpoint' private_endpoint: The private endpoint resource from Microsoft.Network provider. + :param 'PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState' private_link_service_connection_state: Describes the current state of an existing Azure Private Link service connection to the private endpoint. + :param str provisioning_state: The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_endpoint is not None: + pulumi.set(__self__, "private_endpoint", private_endpoint) + if private_link_service_connection_state is not None: + pulumi.set(__self__, "private_link_service_connection_state", private_link_service_connection_state) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + The group ID of the Azure resource for which the private link service is for. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="privateEndpoint") + def private_endpoint(self) -> Optional['outputs.PrivateEndpointConnectionPropertiesResponsePrivateEndpoint']: + """ + The private endpoint resource from Microsoft.Network provider. + """ + return pulumi.get(self, "private_endpoint") + + @property + @pulumi.getter(name="privateLinkServiceConnectionState") + def private_link_service_connection_state(self) -> Optional['outputs.PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState']: + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + """ + return pulumi.get(self, "private_link_service_connection_state") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + The provisioning state of the private link service connection. Valid values are Updating, Deleting, Failed, Succeeded, Incomplete, or Canceled. + """ + return pulumi.get(self, "provisioning_state") + + +@pulumi.output_type +class PrivateEndpointConnectionPropertiesResponsePrivateEndpoint(dict): + """ + The private endpoint resource from Microsoft.Network provider. + """ + def __init__(__self__, *, + id: Optional[str] = None): + """ + The private endpoint resource from Microsoft.Network provider. + :param str id: The resource ID of the private endpoint resource from Microsoft.Network provider. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The resource ID of the private endpoint resource from Microsoft.Network provider. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState(dict): + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "actionsRequired": + suggest = "actions_required" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PrivateEndpointConnectionPropertiesResponsePrivateLinkServiceConnectionState.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + actions_required: Optional[str] = None, + description: Optional[str] = None, + status: Optional[str] = None): + """ + Describes the current state of an existing Azure Private Link service connection to the private endpoint. + :param str actions_required: A description of any extra actions that may be required. + :param str description: The description for the private link service connection state. + :param str status: Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + """ + if actions_required is None: + actions_required = 'None' + if actions_required is not None: + pulumi.set(__self__, "actions_required", actions_required) + if description is not None: + pulumi.set(__self__, "description", description) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="actionsRequired") + def actions_required(self) -> Optional[str]: + """ + A description of any extra actions that may be required. + """ + return pulumi.get(self, "actions_required") + + @property + @pulumi.getter + def description(self) -> Optional[str]: + """ + The description for the private link service connection state. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Status of the the private link service connection. Valid values are Pending, Approved, Rejected, or Disconnected. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class PrivateEndpointConnectionResponse(dict): + """ + Describes an existing private endpoint connection to the Azure AI Search service. + """ + def __init__(__self__, *, + id: str, + name: str, + type: str, + properties: Optional['outputs.PrivateEndpointConnectionPropertiesResponse'] = None): + """ + Describes an existing private endpoint connection to the Azure AI Search service. + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param 'PrivateEndpointConnectionPropertiesResponse' properties: Describes the properties of an existing private endpoint connection to the Azure AI Search service. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def properties(self) -> Optional['outputs.PrivateEndpointConnectionPropertiesResponse']: + """ + Describes the properties of an existing private endpoint connection to the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + +@pulumi.output_type +class QueryKeyResponse(dict): + """ + Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index. + """ + def __init__(__self__, *, + key: str, + name: str): + """ + Describes an API key for a given Azure AI Search service that conveys read-only permissions on the docs collection of an index. + :param str key: The value of the query API key. + :param str name: The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used. + """ + pulumi.set(__self__, "key", key) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def key(self) -> str: + """ + The value of the query API key. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the query API key. Query names are optional, but assigning a name can help you remember how it's used. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class SharedPrivateLinkResourcePropertiesResponse(dict): + """ + Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupId": + suggest = "group_id" + elif key == "privateLinkResourceId": + suggest = "private_link_resource_id" + elif key == "provisioningState": + suggest = "provisioning_state" + elif key == "requestMessage": + suggest = "request_message" + elif key == "resourceRegion": + suggest = "resource_region" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SharedPrivateLinkResourcePropertiesResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SharedPrivateLinkResourcePropertiesResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SharedPrivateLinkResourcePropertiesResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_id: Optional[str] = None, + private_link_resource_id: Optional[str] = None, + provisioning_state: Optional[str] = None, + request_message: Optional[str] = None, + resource_region: Optional[str] = None, + status: Optional[str] = None): + """ + Describes the properties of an existing shared private link resource managed by the Azure AI Search service. + :param str group_id: The group ID from the provider of resource the shared private link resource is for. + :param str private_link_resource_id: The resource ID of the resource the shared private link resource is for. + :param str provisioning_state: The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + :param str request_message: The message for requesting approval of the shared private link resource. + :param str resource_region: Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + :param str status: Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + """ + if group_id is not None: + pulumi.set(__self__, "group_id", group_id) + if private_link_resource_id is not None: + pulumi.set(__self__, "private_link_resource_id", private_link_resource_id) + if provisioning_state is not None: + pulumi.set(__self__, "provisioning_state", provisioning_state) + if request_message is not None: + pulumi.set(__self__, "request_message", request_message) + if resource_region is not None: + pulumi.set(__self__, "resource_region", resource_region) + if status is not None: + pulumi.set(__self__, "status", status) + + @property + @pulumi.getter(name="groupId") + def group_id(self) -> Optional[str]: + """ + The group ID from the provider of resource the shared private link resource is for. + """ + return pulumi.get(self, "group_id") + + @property + @pulumi.getter(name="privateLinkResourceId") + def private_link_resource_id(self) -> Optional[str]: + """ + The resource ID of the resource the shared private link resource is for. + """ + return pulumi.get(self, "private_link_resource_id") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> Optional[str]: + """ + The provisioning state of the shared private link resource. Valid values are Updating, Deleting, Failed, Succeeded or Incomplete. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="requestMessage") + def request_message(self) -> Optional[str]: + """ + The message for requesting approval of the shared private link resource. + """ + return pulumi.get(self, "request_message") + + @property + @pulumi.getter(name="resourceRegion") + def resource_region(self) -> Optional[str]: + """ + Optional. Can be used to specify the Azure Resource Manager location of the resource for which a shared private link is being created. This is only required for those resources whose DNS configuration are regional (such as Azure Kubernetes Service). + """ + return pulumi.get(self, "resource_region") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + Status of the shared private link resource. Valid values are Pending, Approved, Rejected or Disconnected. + """ + return pulumi.get(self, "status") + + +@pulumi.output_type +class SharedPrivateLinkResourceResponse(dict): + """ + Describes a shared private link resource managed by the Azure AI Search service. + """ + def __init__(__self__, *, + id: str, + name: str, + type: str, + properties: Optional['outputs.SharedPrivateLinkResourcePropertiesResponse'] = None): + """ + Describes a shared private link resource managed by the Azure AI Search service. + :param str id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :param str name: The name of the resource + :param str type: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + :param 'SharedPrivateLinkResourcePropertiesResponse' properties: Describes the properties of a shared private link resource managed by the Azure AI Search service. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "type", type) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter + def id(self) -> str: + """ + Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def type(self) -> str: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def properties(self) -> Optional['outputs.SharedPrivateLinkResourcePropertiesResponse']: + """ + Describes the properties of a shared private link resource managed by the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + +@pulumi.output_type +class SkuResponse(dict): + """ + Defines the SKU of a search service, which determines billing rate and capacity limits. + """ + def __init__(__self__, *, + name: Optional[str] = None): + """ + Defines the SKU of a search service, which determines billing rate and capacity limits. + :param str name: The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + """ + if name is not None: + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + The SKU of the search service. Valid values include: 'free': Shared service. 'basic': Dedicated service with up to 3 replicas. 'standard': Dedicated service with up to 12 partitions and 12 replicas. 'standard2': Similar to standard, but with more capacity per search unit. 'standard3': The largest Standard offering with up to 12 partitions and 12 replicas (or up to 3 partitions with more indexes if you also set the hostingMode property to 'highDensity'). 'storage_optimized_l1': Supports 1TB per partition, up to 12 partitions. 'storage_optimized_l2': Supports 2TB per partition, up to 12 partitions.' + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class SystemDataResponse(dict): + """ + Metadata pertaining to creation and last modification of the resource. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "createdAt": + suggest = "created_at" + elif key == "createdBy": + suggest = "created_by" + elif key == "createdByType": + suggest = "created_by_type" + elif key == "lastModifiedAt": + suggest = "last_modified_at" + elif key == "lastModifiedBy": + suggest = "last_modified_by" + elif key == "lastModifiedByType": + suggest = "last_modified_by_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SystemDataResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SystemDataResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SystemDataResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + created_at: Optional[str] = None, + created_by: Optional[str] = None, + created_by_type: Optional[str] = None, + last_modified_at: Optional[str] = None, + last_modified_by: Optional[str] = None, + last_modified_by_type: Optional[str] = None): + """ + Metadata pertaining to creation and last modification of the resource. + :param str created_at: The timestamp of resource creation (UTC). + :param str created_by: The identity that created the resource. + :param str created_by_type: The type of identity that created the resource. + :param str last_modified_at: The timestamp of resource last modification (UTC) + :param str last_modified_by: The identity that last modified the resource. + :param str last_modified_by_type: The type of identity that last modified the resource. + """ + if created_at is not None: + pulumi.set(__self__, "created_at", created_at) + if created_by is not None: + pulumi.set(__self__, "created_by", created_by) + if created_by_type is not None: + pulumi.set(__self__, "created_by_type", created_by_type) + if last_modified_at is not None: + pulumi.set(__self__, "last_modified_at", last_modified_at) + if last_modified_by is not None: + pulumi.set(__self__, "last_modified_by", last_modified_by) + if last_modified_by_type is not None: + pulumi.set(__self__, "last_modified_by_type", last_modified_by_type) + + @property + @pulumi.getter(name="createdAt") + def created_at(self) -> Optional[str]: + """ + The timestamp of resource creation (UTC). + """ + return pulumi.get(self, "created_at") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The identity that created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="createdByType") + def created_by_type(self) -> Optional[str]: + """ + The type of identity that created the resource. + """ + return pulumi.get(self, "created_by_type") + + @property + @pulumi.getter(name="lastModifiedAt") + def last_modified_at(self) -> Optional[str]: + """ + The timestamp of resource last modification (UTC) + """ + return pulumi.get(self, "last_modified_at") + + @property + @pulumi.getter(name="lastModifiedBy") + def last_modified_by(self) -> Optional[str]: + """ + The identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by") + + @property + @pulumi.getter(name="lastModifiedByType") + def last_modified_by_type(self) -> Optional[str]: + """ + The type of identity that last modified the resource. + """ + return pulumi.get(self, "last_modified_by_type") + + +@pulumi.output_type +class UserAssignedManagedIdentityResponse(dict): + """ + The details of the user assigned managed identity assigned to the search service. + """ + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientId": + suggest = "client_id" + elif key == "principalId": + suggest = "principal_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in UserAssignedManagedIdentityResponse. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + UserAssignedManagedIdentityResponse.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + UserAssignedManagedIdentityResponse.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_id: str, + principal_id: str): + """ + The details of the user assigned managed identity assigned to the search service. + :param str client_id: The client ID of user assigned identity. + :param str principal_id: The principal ID of user assigned identity. + """ + pulumi.set(__self__, "client_id", client_id) + pulumi.set(__self__, "principal_id", principal_id) + + @property + @pulumi.getter(name="clientId") + def client_id(self) -> str: + """ + The client ID of user assigned identity. + """ + return pulumi.get(self, "client_id") + + @property + @pulumi.getter(name="principalId") + def principal_id(self) -> str: + """ + The principal ID of user assigned identity. + """ + return pulumi.get(self, "principal_id") + + diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/private_endpoint_connection.py b/sdk/python/pulumi_azure_native/search/v20250201preview/private_endpoint_connection.py new file mode 100644 index 000000000000..4ef013b78118 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/private_endpoint_connection.py @@ -0,0 +1,211 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['PrivateEndpointConnectionArgs', 'PrivateEndpointConnection'] + +@pulumi.input_type +class PrivateEndpointConnectionArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + search_service_name: pulumi.Input[str], + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input['PrivateEndpointConnectionPropertiesArgs']] = None): + """ + The set of arguments for constructing a PrivateEndpointConnection resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] search_service_name: The name of the Azure AI Search service associated with the specified resource group. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + :param pulumi.Input['PrivateEndpointConnectionPropertiesArgs'] properties: Describes the properties of an existing private endpoint connection to the Azure AI Search service. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "search_service_name", search_service_name) + if private_endpoint_connection_name is not None: + pulumi.set(__self__, "private_endpoint_connection_name", private_endpoint_connection_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="searchServiceName") + def search_service_name(self) -> pulumi.Input[str]: + """ + The name of the Azure AI Search service associated with the specified resource group. + """ + return pulumi.get(self, "search_service_name") + + @search_service_name.setter + def search_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "search_service_name", value) + + @property + @pulumi.getter(name="privateEndpointConnectionName") + def private_endpoint_connection_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + """ + return pulumi.get(self, "private_endpoint_connection_name") + + @private_endpoint_connection_name.setter + def private_endpoint_connection_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_connection_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['PrivateEndpointConnectionPropertiesArgs']]: + """ + Describes the properties of an existing private endpoint connection to the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['PrivateEndpointConnectionPropertiesArgs']]): + pulumi.set(self, "properties", value) + + +class PrivateEndpointConnection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Union['PrivateEndpointConnectionPropertiesArgs', 'PrivateEndpointConnectionPropertiesArgsDict']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Describes an existing private endpoint connection to the Azure AI Search service. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] private_endpoint_connection_name: The name of the private endpoint connection to the Azure AI Search service with the specified resource group. + :param pulumi.Input[Union['PrivateEndpointConnectionPropertiesArgs', 'PrivateEndpointConnectionPropertiesArgsDict']] properties: Describes the properties of an existing private endpoint connection to the Azure AI Search service. + :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] search_service_name: The name of the Azure AI Search service associated with the specified resource group. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointConnectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Describes an existing private endpoint connection to the Azure AI Search service. + + :param str resource_name: The name of the resource. + :param PrivateEndpointConnectionArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(PrivateEndpointConnectionArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + private_endpoint_connection_name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Union['PrivateEndpointConnectionPropertiesArgs', 'PrivateEndpointConnectionPropertiesArgsDict']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["private_endpoint_connection_name"] = private_endpoint_connection_name + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if search_service_name is None and not opts.urn: + raise TypeError("Missing required property 'search_service_name'") + __props__.__dict__["search_service_name"] = search_service_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20191001preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200313:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20200801preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20210401preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20220901:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20231101:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240301preview:PrivateEndpointConnection"), pulumi.Alias(type_="azure-native:search/v20240601preview:PrivateEndpointConnection")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(PrivateEndpointConnection, __self__).__init__( + 'azure-native:search/v20250201preview:PrivateEndpointConnection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'PrivateEndpointConnection': + """ + Get an existing PrivateEndpointConnection resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = PrivateEndpointConnectionArgs.__new__(PrivateEndpointConnectionArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return PrivateEndpointConnection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.PrivateEndpointConnectionPropertiesResponse']: + """ + Describes the properties of an existing private endpoint connection to the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/service.py b/sdk/python/pulumi_azure_native/search/v20250201preview/service.py new file mode 100644 index 000000000000..c3bffa009578 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/service.py @@ -0,0 +1,731 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['ServiceArgs', 'Service'] + +@pulumi.input_type +class ServiceArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + auth_options: Optional[pulumi.Input['DataPlaneAuthOptionsArgs']] = None, + compute_type: Optional[pulumi.Input[Union[str, 'ComputeType']]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + disabled_data_exfiltration_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]]] = None, + encryption_with_cmk: Optional[pulumi.Input['EncryptionWithCmkArgs']] = None, + endpoint: Optional[pulumi.Input[str]] = None, + hosting_mode: Optional[pulumi.Input['HostingMode']] = None, + identity: Optional[pulumi.Input['IdentityArgs']] = None, + location: Optional[pulumi.Input[str]] = None, + network_rule_set: Optional[pulumi.Input['NetworkRuleSetArgs']] = None, + partition_count: Optional[pulumi.Input[int]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + replica_count: Optional[pulumi.Input[int]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + semantic_search: Optional[pulumi.Input[Union[str, 'SearchSemanticSearch']]] = None, + sku: Optional[pulumi.Input['SkuArgs']] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): + """ + The set of arguments for constructing a Service resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input['DataPlaneAuthOptionsArgs'] auth_options: Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + :param pulumi.Input[Union[str, 'ComputeType']] compute_type: Configure this property to support the search service using either the default compute or Azure Confidential Compute. + :param pulumi.Input[bool] disable_local_auth: When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]] disabled_data_exfiltration_options: A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + :param pulumi.Input['EncryptionWithCmkArgs'] encryption_with_cmk: Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + :param pulumi.Input[str] endpoint: The endpoint of the Azure AI Search service. + :param pulumi.Input['HostingMode'] hosting_mode: Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + :param pulumi.Input['IdentityArgs'] identity: The identity of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input['NetworkRuleSetArgs'] network_rule_set: Network specific rules that determine how the Azure AI Search service may be reached. + :param pulumi.Input[int] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + :param pulumi.Input[int] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + :param pulumi.Input[str] search_service_name: The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. + :param pulumi.Input[Union[str, 'SearchSemanticSearch']] semantic_search: Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + :param pulumi.Input['SkuArgs'] sku: The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + if auth_options is not None: + pulumi.set(__self__, "auth_options", auth_options) + if compute_type is not None: + pulumi.set(__self__, "compute_type", compute_type) + if disable_local_auth is not None: + pulumi.set(__self__, "disable_local_auth", disable_local_auth) + if disabled_data_exfiltration_options is not None: + pulumi.set(__self__, "disabled_data_exfiltration_options", disabled_data_exfiltration_options) + if encryption_with_cmk is not None: + pulumi.set(__self__, "encryption_with_cmk", encryption_with_cmk) + if endpoint is not None: + pulumi.set(__self__, "endpoint", endpoint) + if hosting_mode is None: + hosting_mode = 'default' + if hosting_mode is not None: + pulumi.set(__self__, "hosting_mode", hosting_mode) + if identity is not None: + pulumi.set(__self__, "identity", identity) + if location is not None: + pulumi.set(__self__, "location", location) + if network_rule_set is not None: + pulumi.set(__self__, "network_rule_set", network_rule_set) + if partition_count is None: + partition_count = 1 + if partition_count is not None: + pulumi.set(__self__, "partition_count", partition_count) + if public_network_access is None: + public_network_access = 'enabled' + if public_network_access is not None: + pulumi.set(__self__, "public_network_access", public_network_access) + if replica_count is None: + replica_count = 1 + if replica_count is not None: + pulumi.set(__self__, "replica_count", replica_count) + if search_service_name is not None: + pulumi.set(__self__, "search_service_name", search_service_name) + if semantic_search is not None: + pulumi.set(__self__, "semantic_search", semantic_search) + if sku is not None: + pulumi.set(__self__, "sku", sku) + if tags is not None: + pulumi.set(__self__, "tags", tags) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="authOptions") + def auth_options(self) -> Optional[pulumi.Input['DataPlaneAuthOptionsArgs']]: + """ + Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + """ + return pulumi.get(self, "auth_options") + + @auth_options.setter + def auth_options(self, value: Optional[pulumi.Input['DataPlaneAuthOptionsArgs']]): + pulumi.set(self, "auth_options", value) + + @property + @pulumi.getter(name="computeType") + def compute_type(self) -> Optional[pulumi.Input[Union[str, 'ComputeType']]]: + """ + Configure this property to support the search service using either the default compute or Azure Confidential Compute. + """ + return pulumi.get(self, "compute_type") + + @compute_type.setter + def compute_type(self, value: Optional[pulumi.Input[Union[str, 'ComputeType']]]): + pulumi.set(self, "compute_type", value) + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> Optional[pulumi.Input[bool]]: + """ + When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + """ + return pulumi.get(self, "disable_local_auth") + + @disable_local_auth.setter + def disable_local_auth(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable_local_auth", value) + + @property + @pulumi.getter(name="disabledDataExfiltrationOptions") + def disabled_data_exfiltration_options(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]]]: + """ + A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + """ + return pulumi.get(self, "disabled_data_exfiltration_options") + + @disabled_data_exfiltration_options.setter + def disabled_data_exfiltration_options(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]]]): + pulumi.set(self, "disabled_data_exfiltration_options", value) + + @property + @pulumi.getter(name="encryptionWithCmk") + def encryption_with_cmk(self) -> Optional[pulumi.Input['EncryptionWithCmkArgs']]: + """ + Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + """ + return pulumi.get(self, "encryption_with_cmk") + + @encryption_with_cmk.setter + def encryption_with_cmk(self, value: Optional[pulumi.Input['EncryptionWithCmkArgs']]): + pulumi.set(self, "encryption_with_cmk", value) + + @property + @pulumi.getter + def endpoint(self) -> Optional[pulumi.Input[str]]: + """ + The endpoint of the Azure AI Search service. + """ + return pulumi.get(self, "endpoint") + + @endpoint.setter + def endpoint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "endpoint", value) + + @property + @pulumi.getter(name="hostingMode") + def hosting_mode(self) -> Optional[pulumi.Input['HostingMode']]: + """ + Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + """ + return pulumi.get(self, "hosting_mode") + + @hosting_mode.setter + def hosting_mode(self, value: Optional[pulumi.Input['HostingMode']]): + pulumi.set(self, "hosting_mode", value) + + @property + @pulumi.getter + def identity(self) -> Optional[pulumi.Input['IdentityArgs']]: + """ + The identity of the resource. + """ + return pulumi.get(self, "identity") + + @identity.setter + def identity(self, value: Optional[pulumi.Input['IdentityArgs']]): + pulumi.set(self, "identity", value) + + @property + @pulumi.getter + def location(self) -> Optional[pulumi.Input[str]]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @location.setter + def location(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "location", value) + + @property + @pulumi.getter(name="networkRuleSet") + def network_rule_set(self) -> Optional[pulumi.Input['NetworkRuleSetArgs']]: + """ + Network specific rules that determine how the Azure AI Search service may be reached. + """ + return pulumi.get(self, "network_rule_set") + + @network_rule_set.setter + def network_rule_set(self, value: Optional[pulumi.Input['NetworkRuleSetArgs']]): + pulumi.set(self, "network_rule_set", value) + + @property + @pulumi.getter(name="partitionCount") + def partition_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + """ + return pulumi.get(self, "partition_count") + + @partition_count.setter + def partition_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "partition_count", value) + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]: + """ + This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + """ + return pulumi.get(self, "public_network_access") + + @public_network_access.setter + def public_network_access(self, value: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]]): + pulumi.set(self, "public_network_access", value) + + @property + @pulumi.getter(name="replicaCount") + def replica_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + """ + return pulumi.get(self, "replica_count") + + @replica_count.setter + def replica_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "replica_count", value) + + @property + @pulumi.getter(name="searchServiceName") + def search_service_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. + """ + return pulumi.get(self, "search_service_name") + + @search_service_name.setter + def search_service_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "search_service_name", value) + + @property + @pulumi.getter(name="semanticSearch") + def semantic_search(self) -> Optional[pulumi.Input[Union[str, 'SearchSemanticSearch']]]: + """ + Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + """ + return pulumi.get(self, "semantic_search") + + @semantic_search.setter + def semantic_search(self, value: Optional[pulumi.Input[Union[str, 'SearchSemanticSearch']]]): + pulumi.set(self, "semantic_search", value) + + @property + @pulumi.getter + def sku(self) -> Optional[pulumi.Input['SkuArgs']]: + """ + The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + """ + return pulumi.get(self, "sku") + + @sku.setter + def sku(self, value: Optional[pulumi.Input['SkuArgs']]): + pulumi.set(self, "sku", value) + + @property + @pulumi.getter + def tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @tags.setter + def tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "tags", value) + + +class Service(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + auth_options: Optional[pulumi.Input[Union['DataPlaneAuthOptionsArgs', 'DataPlaneAuthOptionsArgsDict']]] = None, + compute_type: Optional[pulumi.Input[Union[str, 'ComputeType']]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + disabled_data_exfiltration_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]]] = None, + encryption_with_cmk: Optional[pulumi.Input[Union['EncryptionWithCmkArgs', 'EncryptionWithCmkArgsDict']]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + hosting_mode: Optional[pulumi.Input['HostingMode']] = None, + identity: Optional[pulumi.Input[Union['IdentityArgs', 'IdentityArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_rule_set: Optional[pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']]] = None, + partition_count: Optional[pulumi.Input[int]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + replica_count: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + semantic_search: Optional[pulumi.Input[Union[str, 'SearchSemanticSearch']]] = None, + sku: Optional[pulumi.Input[Union['SkuArgs', 'SkuArgsDict']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + """ + Describes an Azure AI Search service and its current state. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['DataPlaneAuthOptionsArgs', 'DataPlaneAuthOptionsArgsDict']] auth_options: Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + :param pulumi.Input[Union[str, 'ComputeType']] compute_type: Configure this property to support the search service using either the default compute or Azure Confidential Compute. + :param pulumi.Input[bool] disable_local_auth: When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + :param pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]] disabled_data_exfiltration_options: A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + :param pulumi.Input[Union['EncryptionWithCmkArgs', 'EncryptionWithCmkArgsDict']] encryption_with_cmk: Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + :param pulumi.Input[str] endpoint: The endpoint of the Azure AI Search service. + :param pulumi.Input['HostingMode'] hosting_mode: Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + :param pulumi.Input[Union['IdentityArgs', 'IdentityArgsDict']] identity: The identity of the resource. + :param pulumi.Input[str] location: The geo-location where the resource lives + :param pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']] network_rule_set: Network specific rules that determine how the Azure AI Search service may be reached. + :param pulumi.Input[int] partition_count: The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + :param pulumi.Input[Union[str, 'PublicNetworkAccess']] public_network_access: This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + :param pulumi.Input[int] replica_count: The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] search_service_name: The name of the Azure AI Search service to create or update. Search service names must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and must be between 2 and 60 characters in length. Search service names must be globally unique since they are part of the service URI (https://.search.windows.net). You cannot change the service name after the service is created. + :param pulumi.Input[Union[str, 'SearchSemanticSearch']] semantic_search: Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + :param pulumi.Input[Union['SkuArgs', 'SkuArgsDict']] sku: The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] tags: Resource tags. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: ServiceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Describes an Azure AI Search service and its current state. + + :param str resource_name: The name of the resource. + :param ServiceArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(ServiceArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + auth_options: Optional[pulumi.Input[Union['DataPlaneAuthOptionsArgs', 'DataPlaneAuthOptionsArgsDict']]] = None, + compute_type: Optional[pulumi.Input[Union[str, 'ComputeType']]] = None, + disable_local_auth: Optional[pulumi.Input[bool]] = None, + disabled_data_exfiltration_options: Optional[pulumi.Input[Sequence[pulumi.Input[Union[str, 'SearchDisabledDataExfiltrationOption']]]]] = None, + encryption_with_cmk: Optional[pulumi.Input[Union['EncryptionWithCmkArgs', 'EncryptionWithCmkArgsDict']]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + hosting_mode: Optional[pulumi.Input['HostingMode']] = None, + identity: Optional[pulumi.Input[Union['IdentityArgs', 'IdentityArgsDict']]] = None, + location: Optional[pulumi.Input[str]] = None, + network_rule_set: Optional[pulumi.Input[Union['NetworkRuleSetArgs', 'NetworkRuleSetArgsDict']]] = None, + partition_count: Optional[pulumi.Input[int]] = None, + public_network_access: Optional[pulumi.Input[Union[str, 'PublicNetworkAccess']]] = None, + replica_count: Optional[pulumi.Input[int]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + semantic_search: Optional[pulumi.Input[Union[str, 'SearchSemanticSearch']]] = None, + sku: Optional[pulumi.Input[Union['SkuArgs', 'SkuArgsDict']]] = None, + tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = ServiceArgs.__new__(ServiceArgs) + + __props__.__dict__["auth_options"] = auth_options + __props__.__dict__["compute_type"] = compute_type + __props__.__dict__["disable_local_auth"] = disable_local_auth + __props__.__dict__["disabled_data_exfiltration_options"] = disabled_data_exfiltration_options + __props__.__dict__["encryption_with_cmk"] = encryption_with_cmk + __props__.__dict__["endpoint"] = endpoint + if hosting_mode is None: + hosting_mode = 'default' + __props__.__dict__["hosting_mode"] = hosting_mode + __props__.__dict__["identity"] = identity + __props__.__dict__["location"] = location + __props__.__dict__["network_rule_set"] = network_rule_set + if partition_count is None: + partition_count = 1 + __props__.__dict__["partition_count"] = partition_count + if public_network_access is None: + public_network_access = 'enabled' + __props__.__dict__["public_network_access"] = public_network_access + if replica_count is None: + replica_count = 1 + __props__.__dict__["replica_count"] = replica_count + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + __props__.__dict__["search_service_name"] = search_service_name + __props__.__dict__["semantic_search"] = semantic_search + __props__.__dict__["sku"] = sku + __props__.__dict__["tags"] = tags + __props__.__dict__["e_tag"] = None + __props__.__dict__["name"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["service_upgrade_date"] = None + __props__.__dict__["shared_private_link_resources"] = None + __props__.__dict__["status"] = None + __props__.__dict__["status_details"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["type"] = None + __props__.__dict__["upgrade_available"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:Service"), pulumi.Alias(type_="azure-native:search/v20150819:Service"), pulumi.Alias(type_="azure-native:search/v20191001preview:Service"), pulumi.Alias(type_="azure-native:search/v20200313:Service"), pulumi.Alias(type_="azure-native:search/v20200801:Service"), pulumi.Alias(type_="azure-native:search/v20200801preview:Service"), pulumi.Alias(type_="azure-native:search/v20210401preview:Service"), pulumi.Alias(type_="azure-native:search/v20220901:Service"), pulumi.Alias(type_="azure-native:search/v20231101:Service"), pulumi.Alias(type_="azure-native:search/v20240301preview:Service"), pulumi.Alias(type_="azure-native:search/v20240601preview:Service")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(Service, __self__).__init__( + 'azure-native:search/v20250201preview:Service', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'Service': + """ + Get an existing Service resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = ServiceArgs.__new__(ServiceArgs) + + __props__.__dict__["auth_options"] = None + __props__.__dict__["compute_type"] = None + __props__.__dict__["disable_local_auth"] = None + __props__.__dict__["disabled_data_exfiltration_options"] = None + __props__.__dict__["e_tag"] = None + __props__.__dict__["encryption_with_cmk"] = None + __props__.__dict__["endpoint"] = None + __props__.__dict__["hosting_mode"] = None + __props__.__dict__["identity"] = None + __props__.__dict__["location"] = None + __props__.__dict__["name"] = None + __props__.__dict__["network_rule_set"] = None + __props__.__dict__["partition_count"] = None + __props__.__dict__["private_endpoint_connections"] = None + __props__.__dict__["provisioning_state"] = None + __props__.__dict__["public_network_access"] = None + __props__.__dict__["replica_count"] = None + __props__.__dict__["semantic_search"] = None + __props__.__dict__["service_upgrade_date"] = None + __props__.__dict__["shared_private_link_resources"] = None + __props__.__dict__["sku"] = None + __props__.__dict__["status"] = None + __props__.__dict__["status_details"] = None + __props__.__dict__["system_data"] = None + __props__.__dict__["tags"] = None + __props__.__dict__["type"] = None + __props__.__dict__["upgrade_available"] = None + return Service(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="authOptions") + def auth_options(self) -> pulumi.Output[Optional['outputs.DataPlaneAuthOptionsResponse']]: + """ + Defines the options for how the data plane API of a search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true. + """ + return pulumi.get(self, "auth_options") + + @property + @pulumi.getter(name="computeType") + def compute_type(self) -> pulumi.Output[Optional[str]]: + """ + Configure this property to support the search service using either the default compute or Azure Confidential Compute. + """ + return pulumi.get(self, "compute_type") + + @property + @pulumi.getter(name="disableLocalAuth") + def disable_local_auth(self) -> pulumi.Output[Optional[bool]]: + """ + When set to true, calls to the search service will not be permitted to utilize API keys for authentication. This cannot be set to true if 'dataPlaneAuthOptions' are defined. + """ + return pulumi.get(self, "disable_local_auth") + + @property + @pulumi.getter(name="disabledDataExfiltrationOptions") + def disabled_data_exfiltration_options(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A list of data exfiltration scenarios that are explicitly disallowed for the search service. Currently, the only supported value is 'All' to disable all possible data export scenarios with more fine grained controls planned for the future. + """ + return pulumi.get(self, "disabled_data_exfiltration_options") + + @property + @pulumi.getter(name="eTag") + def e_tag(self) -> pulumi.Output[str]: + """ + A system generated property representing the service's etag that can be for optimistic concurrency control during updates. + """ + return pulumi.get(self, "e_tag") + + @property + @pulumi.getter(name="encryptionWithCmk") + def encryption_with_cmk(self) -> pulumi.Output[Optional['outputs.EncryptionWithCmkResponse']]: + """ + Specifies any policy regarding encryption of resources (such as indexes) using customer manager keys within a search service. + """ + return pulumi.get(self, "encryption_with_cmk") + + @property + @pulumi.getter + def endpoint(self) -> pulumi.Output[Optional[str]]: + """ + The endpoint of the Azure AI Search service. + """ + return pulumi.get(self, "endpoint") + + @property + @pulumi.getter(name="hostingMode") + def hosting_mode(self) -> pulumi.Output[Optional[str]]: + """ + Applicable only for the standard3 SKU. You can set this property to enable up to 3 high density partitions that allow up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. For the standard3 SKU, the value is either 'default' or 'highDensity'. For all other SKUs, this value must be 'default'. + """ + return pulumi.get(self, "hosting_mode") + + @property + @pulumi.getter + def identity(self) -> pulumi.Output[Optional['outputs.IdentityResponse']]: + """ + The identity of the resource. + """ + return pulumi.get(self, "identity") + + @property + @pulumi.getter + def location(self) -> pulumi.Output[str]: + """ + The geo-location where the resource lives + """ + return pulumi.get(self, "location") + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="networkRuleSet") + def network_rule_set(self) -> pulumi.Output[Optional['outputs.NetworkRuleSetResponse']]: + """ + Network specific rules that determine how the Azure AI Search service may be reached. + """ + return pulumi.get(self, "network_rule_set") + + @property + @pulumi.getter(name="partitionCount") + def partition_count(self) -> pulumi.Output[Optional[int]]: + """ + The number of partitions in the search service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values greater than 1 are only valid for standard SKUs. For 'standard3' services with hostingMode set to 'highDensity', the allowed values are between 1 and 3. + """ + return pulumi.get(self, "partition_count") + + @property + @pulumi.getter(name="privateEndpointConnections") + def private_endpoint_connections(self) -> pulumi.Output[Sequence['outputs.PrivateEndpointConnectionResponse']]: + """ + The list of private endpoint connections to the Azure AI Search service. + """ + return pulumi.get(self, "private_endpoint_connections") + + @property + @pulumi.getter(name="provisioningState") + def provisioning_state(self) -> pulumi.Output[str]: + """ + The state of the last provisioning operation performed on the search service. Provisioning is an intermediate state that occurs while service capacity is being established. After capacity is set up, provisioningState changes to either 'Succeeded' or 'Failed'. Client applications can poll provisioning status (the recommended polling interval is from 30 seconds to one minute) by using the Get Search Service operation to see when an operation is completed. If you are using the free service, this value tends to come back as 'Succeeded' directly in the call to Create search service. This is because the free service uses capacity that is already set up. + """ + return pulumi.get(self, "provisioning_state") + + @property + @pulumi.getter(name="publicNetworkAccess") + def public_network_access(self) -> pulumi.Output[Optional[str]]: + """ + This value can be set to 'enabled' to avoid breaking changes on existing customer resources and templates. If set to 'disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method. + """ + return pulumi.get(self, "public_network_access") + + @property + @pulumi.getter(name="replicaCount") + def replica_count(self) -> pulumi.Output[Optional[int]]: + """ + The number of replicas in the search service. If specified, it must be a value between 1 and 12 inclusive for standard SKUs or between 1 and 3 inclusive for basic SKU. + """ + return pulumi.get(self, "replica_count") + + @property + @pulumi.getter(name="semanticSearch") + def semantic_search(self) -> pulumi.Output[Optional[str]]: + """ + Sets options that control the availability of semantic search. This configuration is only possible for certain Azure AI Search SKUs in certain locations. + """ + return pulumi.get(self, "semantic_search") + + @property + @pulumi.getter(name="serviceUpgradeDate") + def service_upgrade_date(self) -> pulumi.Output[str]: + """ + The date and time the search service was last upgraded. This field will be null until the service gets upgraded for the first time. + """ + return pulumi.get(self, "service_upgrade_date") + + @property + @pulumi.getter(name="sharedPrivateLinkResources") + def shared_private_link_resources(self) -> pulumi.Output[Sequence['outputs.SharedPrivateLinkResourceResponse']]: + """ + The list of shared private link resources managed by the Azure AI Search service. + """ + return pulumi.get(self, "shared_private_link_resources") + + @property + @pulumi.getter + def sku(self) -> pulumi.Output[Optional['outputs.SkuResponse']]: + """ + The SKU of the search service, which determines price tier and capacity limits. This property is required when creating a new search service. + """ + return pulumi.get(self, "sku") + + @property + @pulumi.getter + def status(self) -> pulumi.Output[str]: + """ + The status of the search service. Possible values include: 'running': The search service is running and no provisioning operations are underway. 'provisioning': The search service is being provisioned or scaled up or down. 'deleting': The search service is being deleted. 'degraded': The search service is degraded. This can occur when the underlying search units are not healthy. The search service is most likely operational, but performance might be slow and some requests might be dropped. 'disabled': The search service is disabled. In this state, the service will reject all API requests. 'error': The search service is in an error state. 'stopped': The search service is in a subscription that's disabled. If your service is in the degraded, disabled, or error states, it means the Azure AI Search team is actively investigating the underlying issue. Dedicated services in these states are still chargeable based on the number of search units provisioned. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="statusDetails") + def status_details(self) -> pulumi.Output[str]: + """ + The details of the search service status. + """ + return pulumi.get(self, "status_details") + + @property + @pulumi.getter(name="systemData") + def system_data(self) -> pulumi.Output['outputs.SystemDataResponse']: + """ + Azure Resource Manager metadata of the search service containing createdBy and modifiedBy information. + """ + return pulumi.get(self, "system_data") + + @property + @pulumi.getter + def tags(self) -> pulumi.Output[Optional[Mapping[str, str]]]: + """ + Resource tags. + """ + return pulumi.get(self, "tags") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="upgradeAvailable") + def upgrade_available(self) -> pulumi.Output[bool]: + """ + Indicates whether or not the search service has an upgrade available. + """ + return pulumi.get(self, "upgrade_available") + diff --git a/sdk/python/pulumi_azure_native/search/v20250201preview/shared_private_link_resource.py b/sdk/python/pulumi_azure_native/search/v20250201preview/shared_private_link_resource.py new file mode 100644 index 000000000000..190d7435bff6 --- /dev/null +++ b/sdk/python/pulumi_azure_native/search/v20250201preview/shared_private_link_resource.py @@ -0,0 +1,211 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from ... import _utilities +from . import outputs +from ._enums import * +from ._inputs import * + +__all__ = ['SharedPrivateLinkResourceArgs', 'SharedPrivateLinkResource'] + +@pulumi.input_type +class SharedPrivateLinkResourceArgs: + def __init__(__self__, *, + resource_group_name: pulumi.Input[str], + search_service_name: pulumi.Input[str], + properties: Optional[pulumi.Input['SharedPrivateLinkResourcePropertiesArgs']] = None, + shared_private_link_resource_name: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a SharedPrivateLinkResource resource. + :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] search_service_name: The name of the Azure AI Search service associated with the specified resource group. + :param pulumi.Input['SharedPrivateLinkResourcePropertiesArgs'] properties: Describes the properties of a shared private link resource managed by the Azure AI Search service. + :param pulumi.Input[str] shared_private_link_resource_name: The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + """ + pulumi.set(__self__, "resource_group_name", resource_group_name) + pulumi.set(__self__, "search_service_name", search_service_name) + if properties is not None: + pulumi.set(__self__, "properties", properties) + if shared_private_link_resource_name is not None: + pulumi.set(__self__, "shared_private_link_resource_name", shared_private_link_resource_name) + + @property + @pulumi.getter(name="resourceGroupName") + def resource_group_name(self) -> pulumi.Input[str]: + """ + The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + """ + return pulumi.get(self, "resource_group_name") + + @resource_group_name.setter + def resource_group_name(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_group_name", value) + + @property + @pulumi.getter(name="searchServiceName") + def search_service_name(self) -> pulumi.Input[str]: + """ + The name of the Azure AI Search service associated with the specified resource group. + """ + return pulumi.get(self, "search_service_name") + + @search_service_name.setter + def search_service_name(self, value: pulumi.Input[str]): + pulumi.set(self, "search_service_name", value) + + @property + @pulumi.getter + def properties(self) -> Optional[pulumi.Input['SharedPrivateLinkResourcePropertiesArgs']]: + """ + Describes the properties of a shared private link resource managed by the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + @properties.setter + def properties(self, value: Optional[pulumi.Input['SharedPrivateLinkResourcePropertiesArgs']]): + pulumi.set(self, "properties", value) + + @property + @pulumi.getter(name="sharedPrivateLinkResourceName") + def shared_private_link_resource_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + """ + return pulumi.get(self, "shared_private_link_resource_name") + + @shared_private_link_resource_name.setter + def shared_private_link_resource_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "shared_private_link_resource_name", value) + + +class SharedPrivateLinkResource(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[Union['SharedPrivateLinkResourcePropertiesArgs', 'SharedPrivateLinkResourcePropertiesArgsDict']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + shared_private_link_resource_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Describes a shared private link resource managed by the Azure AI Search service. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['SharedPrivateLinkResourcePropertiesArgs', 'SharedPrivateLinkResourcePropertiesArgsDict']] properties: Describes the properties of a shared private link resource managed by the Azure AI Search service. + :param pulumi.Input[str] resource_group_name: The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal. + :param pulumi.Input[str] search_service_name: The name of the Azure AI Search service associated with the specified resource group. + :param pulumi.Input[str] shared_private_link_resource_name: The name of the shared private link resource managed by the Azure AI Search service within the specified resource group. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SharedPrivateLinkResourceArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Describes a shared private link resource managed by the Azure AI Search service. + + :param str resource_name: The name of the resource. + :param SharedPrivateLinkResourceArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(SharedPrivateLinkResourceArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + properties: Optional[pulumi.Input[Union['SharedPrivateLinkResourcePropertiesArgs', 'SharedPrivateLinkResourcePropertiesArgsDict']]] = None, + resource_group_name: Optional[pulumi.Input[str]] = None, + search_service_name: Optional[pulumi.Input[str]] = None, + shared_private_link_resource_name: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = SharedPrivateLinkResourceArgs.__new__(SharedPrivateLinkResourceArgs) + + __props__.__dict__["properties"] = properties + if resource_group_name is None and not opts.urn: + raise TypeError("Missing required property 'resource_group_name'") + __props__.__dict__["resource_group_name"] = resource_group_name + if search_service_name is None and not opts.urn: + raise TypeError("Missing required property 'search_service_name'") + __props__.__dict__["search_service_name"] = search_service_name + __props__.__dict__["shared_private_link_resource_name"] = shared_private_link_resource_name + __props__.__dict__["name"] = None + __props__.__dict__["type"] = None + alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="azure-native:search:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20200801preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20210401preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20220901:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20231101:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240301preview:SharedPrivateLinkResource"), pulumi.Alias(type_="azure-native:search/v20240601preview:SharedPrivateLinkResource")]) + opts = pulumi.ResourceOptions.merge(opts, alias_opts) + super(SharedPrivateLinkResource, __self__).__init__( + 'azure-native:search/v20250201preview:SharedPrivateLinkResource', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None) -> 'SharedPrivateLinkResource': + """ + Get an existing SharedPrivateLinkResource resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = SharedPrivateLinkResourceArgs.__new__(SharedPrivateLinkResourceArgs) + + __props__.__dict__["name"] = None + __props__.__dict__["properties"] = None + __props__.__dict__["type"] = None + return SharedPrivateLinkResource(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter + def name(self) -> pulumi.Output[str]: + """ + The name of the resource + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> pulumi.Output['outputs.SharedPrivateLinkResourcePropertiesResponse']: + """ + Describes the properties of a shared private link resource managed by the Azure AI Search service. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter + def type(self) -> pulumi.Output[str]: + """ + The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" + """ + return pulumi.get(self, "type") + diff --git a/versions/az-provider-list.json b/versions/az-provider-list.json index 57872d2c3c23..a471d3624bd2 100644 --- a/versions/az-provider-list.json +++ b/versions/az-provider-list.json @@ -57367,6 +57367,59 @@ ], "resourceType": "locations/restorableDatabaseAccounts" }, + { + "apiVersions": [ + "2024-12-01-preview" + ], + "defaultApiVersion": "2024-12-01-preview", + "locations": [ + "West Central US", + "North Central US", + "Central US", + "Brazil South", + "Canada Central", + "West US 2", + "East US 2", + "France Central", + "Japan East", + "Southeast Asia", + "Central India", + "South Africa North", + "Switzerland North", + "UAE North", + "UK West", + "North Europe", + "West Europe", + "Norway East", + "Korea Central", + "Australia East", + "Canada East", + "East Asia", + "Germany West Central", + "UK South", + "Australia Central", + "Australia Southeast", + "Japan West", + "Korea South", + "South India", + "West India", + "West US", + "South Central US", + "East US", + "West US 3", + "Sweden Central", + "Qatar Central", + "Poland Central", + "Italy North", + "Israel Central", + "Spain Central", + "New Zealand North", + "Mexico Central", + "Central US EUAP", + "East US 2 EUAP" + ], + "resourceType": "managedResources" + }, { "apiVersions": [ "2024-10-01-preview", @@ -103516,7 +103569,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [ "East US", "West US", @@ -103534,7 +103587,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [ "West US", "West Europe", @@ -103552,7 +103605,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [ "East US", "West US", @@ -103570,7 +103623,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [], "resourceType": "checkNameAvailability" }, @@ -103581,7 +103634,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [], "resourceType": "locations" }, @@ -103592,7 +103645,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [ "East US", "West US", @@ -103612,7 +103665,7 @@ "2022-02-01", "2021-02-01-preview" ], - "defaultApiVersion": null, + "defaultApiVersion": "2022-02-01", "locations": [], "resourceType": "operations" }